Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MRBR02
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
MRBR02
Commits
5ce350d8
Commit
5ce350d8
authored
Apr 26, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
效果调整
parent
c7c9e3c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
554 additions
and
269 deletions
+554
-269
img_jili_03大.png
assets/MRBR02/img/其他元素/img_jili_03大.png
+0
-0
img_jili_03大.png.meta
assets/MRBR02/img/其他元素/img_jili_03大.png.meta
+37
-0
MRBR02.fire
assets/MRBR02/scene/MRBR02.fire
+488
-253
MRBR02.ts
assets/MRBR02/scene/MRBR02.ts
+29
-16
No files found.
assets/MRBR02/img/其他元素/img_jili_03大.png
0 → 100644
View file @
5ce350d8
125 KB
assets/MRBR02/img/其他元素/img_jili_03大.png.meta
0 → 100644
View file @
5ce350d8
{
"ver": "2.3.5",
"uuid": "63b857a9-da4c-47b7-bdc3-e4cd19b60f0b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 200,
"height": 142,
"platformSettings": {},
"subMetas": {
"img_jili_03大": {
"ver": "1.0.4",
"uuid": "5283c4c3-1c25-4d0a-b870-0feb5eaf51fc",
"rawTextureUuid": "63b857a9-da4c-47b7-bdc3-e4cd19b60f0b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 1,
"offsetY": -0.5,
"trimX": 4,
"trimY": 1,
"width": 194,
"height": 141,
"rawWidth": 200,
"rawHeight": 142,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/MRBR02/scene/MRBR02.fire
View file @
5ce350d8
...
...
@@ -78,31 +78,31 @@
"__id__": 25
},
{
"__id__": 7
3
"__id__": 7
7
},
{
"__id__":
98
"__id__":
104
},
{
"__id__": 10
3
"__id__": 10
9
},
{
"__id__": 1
17
"__id__": 1
23
},
{
"__id__": 1
29
"__id__": 1
35
}
],
"_active": true,
"_components": [
{
"__id__": 15
0
"__id__": 15
7
},
{
"__id__": 15
1
"__id__": 15
8
},
{
"__id__": 15
2
"__id__": 15
9
}
],
"_prefab": null,
...
...
@@ -1236,17 +1236,21 @@
"__id__": 26
},
{
"__id__": 2
8
"__id__": 2
9
},
{
"__id__":
69
"__id__":
70
},
{
"__id__": 7
1
"__id__": 7
3
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -1258,8 +1262,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width":
128
0,
"height":
72
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1307,6 +1311,9 @@
"_components": [
{
"__id__": 27
},
{
"__id__": 28
}
],
"_prefab": null,
...
...
@@ -1376,7 +1383,7 @@
"__uuid__": "c8abb90b-22a1-4b32-88b5-5cee6a2a0339"
},
"_type": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -1389,6 +1396,33 @@
"_atlas": null,
"_id": "c3F29Z7EhEzqPwUDSLsQRK"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "fdcdlhi7BPmpbhFc3IMeLR"
},
{
"__type__": "cc.Node",
"_name": "bg_card",
...
...
@@ -1398,34 +1432,34 @@
},
"_children": [
{
"__id__":
29
"__id__":
30
},
{
"__id__": 3
1
"__id__": 3
2
},
{
"__id__": 3
5
"__id__": 3
6
},
{
"__id__": 3
6
"__id__": 3
7
},
{
"__id__": 4
1
"__id__": 4
2
},
{
"__id__": 5
8
"__id__": 5
9
},
{
"__id__": 6
4
"__id__": 6
5
},
{
"__id__": 6
6
"__id__": 6
7
}
],
"_active": true,
"_components": [
{
"__id__": 6
8
"__id__": 6
9
}
],
"_prefab": null,
...
...
@@ -1481,13 +1515,13 @@
"_name": "mouse_out",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
0
"__id__": 3
1
}
],
"_prefab": null,
...
...
@@ -1543,7 +1577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
29
"__id__":
30
},
"_enabled": true,
"_materials": [
...
...
@@ -1575,17 +1609,17 @@
"_name": "page",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [
{
"__id__": 3
2
"__id__": 3
3
}
],
"_active": true,
"_components": [
{
"__id__": 3
4
"__id__": 3
5
}
],
"_prefab": null,
...
...
@@ -1641,13 +1675,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 3
1
"__id__": 3
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
3
"__id__": 3
4
}
],
"_prefab": null,
...
...
@@ -1703,7 +1737,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
2
"__id__": 3
3
},
"_enabled": true,
"_materials": [
...
...
@@ -1736,7 +1770,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
1
"__id__": 3
2
},
"_enabled": true,
"_materials": [
...
...
@@ -1768,7 +1802,7 @@
"_name": "layout_card",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [],
"_active": true,
...
...
@@ -1826,14 +1860,14 @@
"_name": "layout_card_result",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [
{
"__id__": 3
7
"__id__": 3
8
},
{
"__id__":
39
"__id__":
40
}
],
"_active": true,
...
...
@@ -1891,13 +1925,13 @@
"_name": "card_result",
"_objFlags": 0,
"_parent": {
"__id__": 3
6
"__id__": 3
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
8
"__id__": 3
9
}
],
"_prefab": null,
...
...
@@ -1953,7 +1987,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
7
"__id__": 3
8
},
"_enabled": true,
"_materials": [
...
...
@@ -1985,13 +2019,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 3
6
"__id__": 3
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
0
"__id__": 4
1
}
],
"_prefab": null,
...
...
@@ -2047,7 +2081,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
39
"__id__":
40
},
"_enabled": true,
"_materials": [
...
...
@@ -2079,29 +2113,29 @@
"_name": "card_up",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [
{
"__id__": 4
2
"__id__": 4
3
},
{
"__id__": 4
4
"__id__": 4
5
},
{
"__id__": 4
6
"__id__": 4
7
},
{
"__id__":
49
"__id__":
50
},
{
"__id__": 5
2
"__id__": 5
3
}
],
"_active": false,
"_components": [
{
"__id__": 5
7
"__id__": 5
8
}
],
"_prefab": null,
...
...
@@ -2157,13 +2191,13 @@
"_name": "light_blue",
"_objFlags": 0,
"_parent": {
"__id__": 4
1
"__id__": 4
2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 4
3
"__id__": 4
4
}
],
"_prefab": null,
...
...
@@ -2219,7 +2253,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
2
"__id__": 4
3
},
"_enabled": true,
"_materials": [
...
...
@@ -2251,13 +2285,13 @@
"_name": "light_orange",
"_objFlags": 0,
"_parent": {
"__id__": 4
1
"__id__": 4
2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 4
5
"__id__": 4
6
}
],
"_prefab": null,
...
...
@@ -2313,7 +2347,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
4
"__id__": 4
5
},
"_enabled": true,
"_materials": [
...
...
@@ -2345,11 +2379,11 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 4
1
"__id__": 4
2
},
"_children": [
{
"__id__": 4
7
"__id__": 4
8
}
],
"_active": true,
...
...
@@ -2407,13 +2441,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 4
6
"__id__": 4
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
8
"__id__": 4
9
}
],
"_prefab": null,
...
...
@@ -2469,7 +2503,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
8
},
"_enabled": true,
"_materials": [
...
...
@@ -2502,11 +2536,11 @@
"_name": "pic",
"_objFlags": 0,
"_parent": {
"__id__": 4
1
"__id__": 4
2
},
"_children": [
{
"__id__": 5
0
"__id__": 5
1
}
],
"_active": true,
...
...
@@ -2564,13 +2598,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__":
49
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
1
"__id__": 5
2
}
],
"_prefab": null,
...
...
@@ -2626,7 +2660,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
0
"__id__": 5
1
},
"_enabled": true,
"_materials": [
...
...
@@ -2658,14 +2692,14 @@
"_name": "picText",
"_objFlags": 0,
"_parent": {
"__id__": 4
1
"__id__": 4
2
},
"_children": [
{
"__id__": 5
3
"__id__": 5
4
},
{
"__id__": 5
5
"__id__": 5
6
}
],
"_active": true,
...
...
@@ -2723,13 +2757,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 5
2
"__id__": 5
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
4
"__id__": 5
5
}
],
"_prefab": null,
...
...
@@ -2785,7 +2819,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
4
},
"_enabled": true,
"_materials": [
...
...
@@ -2817,13 +2851,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 5
2
"__id__": 5
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
6
"__id__": 5
7
}
],
"_prefab": null,
...
...
@@ -2879,7 +2913,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
5
"__id__": 5
6
},
"_enabled": true,
"_materials": [
...
...
@@ -2912,7 +2946,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
1
"__id__": 4
2
},
"_enabled": true,
"_materials": [
...
...
@@ -2944,20 +2978,20 @@
"_name": "card_down",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [
{
"__id__":
59
"__id__":
60
},
{
"__id__": 6
1
"__id__": 6
2
}
],
"_active": false,
"_components": [
{
"__id__": 6
3
"__id__": 6
4
}
],
"_prefab": null,
...
...
@@ -3013,13 +3047,13 @@
"_name": "highlight_orange",
"_objFlags": 0,
"_parent": {
"__id__": 5
8
"__id__": 5
9
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 6
0
"__id__": 6
1
}
],
"_prefab": null,
...
...
@@ -3075,7 +3109,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
60
},
"_enabled": true,
"_materials": [
...
...
@@ -3107,13 +3141,13 @@
"_name": "highlight_blue",
"_objFlags": 0,
"_parent": {
"__id__": 5
8
"__id__": 5
9
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 6
2
"__id__": 6
3
}
],
"_prefab": null,
...
...
@@ -3169,7 +3203,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
1
"__id__": 6
2
},
"_enabled": true,
"_materials": [
...
...
@@ -3201,7 +3235,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
8
"__id__": 5
9
},
"_enabled": true,
"_materials": [
...
...
@@ -3233,13 +3267,13 @@
"_name": "btn_check_grey",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
5
"__id__": 6
6
}
],
"_prefab": null,
...
...
@@ -3295,7 +3329,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
4
"__id__": 6
5
},
"_enabled": true,
"_materials": [
...
...
@@ -3327,13 +3361,13 @@
"_name": "btn_check",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
9
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 6
7
"__id__": 6
8
}
],
"_prefab": null,
...
...
@@ -3389,7 +3423,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
6
"__id__": 6
7
},
"_enabled": true,
"_materials": [
...
...
@@ -3421,7 +3455,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
8
"__id__": 2
9
},
"_enabled": true,
"_materials": [
...
...
@@ -3459,7 +3493,10 @@
"_active": true,
"_components": [
{
"__id__": 70
"__id__": 71
},
{
"__id__": 72
}
],
"_prefab": null,
...
...
@@ -3486,7 +3523,7 @@
"ctor": "Float64Array",
"array": [
-447.593,
-239.307,
-239.307
00000000002
,
0,
0,
0,
...
...
@@ -3515,7 +3552,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
69
"__id__":
70
},
"_enabled": true,
"_materials": [
...
...
@@ -3542,6 +3579,33 @@
"_atlas": null,
"_id": "dfa7HV0HFGW44fqmG9IPPi"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 1.6929999999999836,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "41idbi+ZJE85x/UJn6vl65"
},
{
"__type__": "cc.Node",
"_name": "bg_flower_right",
...
...
@@ -3553,7 +3617,10 @@
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 74
},
{
"__id__": 75
}
],
"_prefab": null,
...
...
@@ -3609,7 +3676,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
3
},
"_enabled": true,
"_materials": [
...
...
@@ -3636,6 +3703,60 @@
"_atlas": null,
"_id": "ba+1O9NGtAl4sw5FX4lRO6"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 2.062999999999988,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "49Bmb+nkxJCrQ4InqUA6yA"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "90fVNdCJFFEJKEN9sQkt1E"
},
{
"__type__": "cc.Node",
"_name": "layout_lollipop",
...
...
@@ -3645,13 +3766,7 @@
},
"_children": [
{
"__id__": 74
},
{
"__id__": 76
},
{
"__id__": 78
"__id__": 78
},
{
"__id__": 80
...
...
@@ -3667,12 +3782,21 @@
},
{
"__id__": 88
},
{
"__id__": 90
},
{
"__id__": 92
},
{
"__id__": 101
}
],
"_active": false,
"_components": [
{
"__id__":
97
"__id__":
103
}
],
"_prefab": null,
...
...
@@ -3728,13 +3852,13 @@
"_name": "v1",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 7
5
"__id__": 7
9
}
],
"_prefab": null,
...
...
@@ -3790,7 +3914,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
4
"__id__": 7
8
},
"_enabled": true,
"_materials": [
...
...
@@ -3822,13 +3946,13 @@
"_name": "v2",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
77
"__id__":
81
}
],
"_prefab": null,
...
...
@@ -3884,7 +4008,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
76
"__id__":
80
},
"_enabled": true,
"_materials": [
...
...
@@ -3916,13 +4040,13 @@
"_name": "v3",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
79
"__id__":
83
}
],
"_prefab": null,
...
...
@@ -3978,7 +4102,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
78
"__id__":
82
},
"_enabled": true,
"_materials": [
...
...
@@ -4010,13 +4134,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
1
"__id__": 8
5
}
],
"_prefab": null,
...
...
@@ -4072,7 +4196,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
0
"__id__": 8
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4104,13 +4228,13 @@
"_name": "progressbar_grey",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 8
3
"__id__": 8
7
}
],
"_prefab": null,
...
...
@@ -4166,7 +4290,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
2
"__id__": 8
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4198,13 +4322,13 @@
"_name": "progressbar_red",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 8
5
"__id__": 8
9
}
],
"_prefab": null,
...
...
@@ -4260,7 +4384,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
4
"__id__": 8
8
},
"_enabled": true,
"_materials": [
...
...
@@ -4292,13 +4416,13 @@
"_name": "progressbar_highlight",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
87
"__id__":
91
}
],
"_prefab": null,
...
...
@@ -4354,7 +4478,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
86
"__id__":
90
},
"_enabled": true,
"_materials": [
...
...
@@ -4386,20 +4510,20 @@
"_name": "texts",
"_objFlags": 0,
"_parent": {
"__id__": 7
3
"__id__": 7
7
},
"_children": [
{
"__id__":
89
"__id__":
93
},
{
"__id__": 9
1
"__id__": 9
5
},
{
"__id__": 9
3
"__id__": 9
7
},
{
"__id__": 9
5
"__id__": 9
9
}
],
"_active": true,
...
...
@@ -4457,13 +4581,13 @@
"_name": "complate",
"_objFlags": 0,
"_parent": {
"__id__":
88
"__id__":
92
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 9
0
"__id__": 9
4
}
],
"_prefab": null,
...
...
@@ -4519,7 +4643,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
93
},
"_enabled": true,
"_materials": [
...
...
@@ -4551,13 +4675,13 @@
"_name": "well",
"_objFlags": 0,
"_parent": {
"__id__":
88
"__id__":
92
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 9
2
"__id__": 9
6
}
],
"_prefab": null,
...
...
@@ -4613,7 +4737,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
1
"__id__": 9
5
},
"_enabled": true,
"_materials": [
...
...
@@ -4645,13 +4769,13 @@
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__":
88
"__id__":
92
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 9
4
"__id__": 9
8
}
],
"_prefab": null,
...
...
@@ -4707,7 +4831,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
3
"__id__": 9
7
},
"_enabled": true,
"_materials": [
...
...
@@ -4739,13 +4863,13 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__":
88
"__id__":
92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
96
"__id__":
100
}
],
"_prefab": null,
...
...
@@ -4801,7 +4925,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
9
},
"_enabled": true,
"_clip": {
...
...
@@ -4815,12 +4939,93 @@
"preload": false,
"_id": "03YI0C/llETovJWsE2pOcl"
},
{
"__type__": "cc.Node",
"_name": "countdown",
"_objFlags": 0,
"_parent": {
"__id__": 77
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "97uPCW3DJP2aCkqd0CbIVd"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
},
"_enabled": true,
"_clip": {
"__uuid__": "11361b6c-6556-47e2-9e5c-306f9f77cbc8"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "4bCwjJUlJLV7ftmVQ/SKRg"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
3
"__id__": 7
7
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -4881,7 +5086,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 7
3
"__id__": 7
7
},
"_id": "72jfuMRoNA7oChyfiuRALY"
},
...
...
@@ -4894,13 +5099,13 @@
},
"_children": [
{
"__id__":
99
"__id__":
105
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 10
2
"__id__": 10
8
},
"_opacity": 255,
"_color": {
...
...
@@ -4954,17 +5159,17 @@
"_name": "particle_star",
"_objFlags": 0,
"_parent": {
"__id__":
98
"__id__":
104
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
0
"__id__": 10
6
}
],
"_prefab": {
"__id__": 10
1
"__id__": 10
7
},
"_opacity": 255,
"_color": {
...
...
@@ -5018,7 +5223,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
99
"__id__":
105
},
"_enabled": true,
"_materials": [
...
...
@@ -5119,7 +5324,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__":
98
"__id__":
104
},
"asset": {
"__uuid__": "d09bc553-5bcd-4ca6-a1f3-ac3c614315d2"
...
...
@@ -5130,7 +5335,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__":
98
"__id__":
104
},
"asset": {
"__uuid__": "d09bc553-5bcd-4ca6-a1f3-ac3c614315d2"
...
...
@@ -5147,17 +5352,17 @@
},
"_children": [
{
"__id__": 1
04
"__id__": 1
10
}
],
"_active": true,
"_components": [
{
"__id__": 1
15
"__id__": 1
21
}
],
"_prefab": {
"__id__": 1
16
"__id__": 1
22
},
"_opacity": 255,
"_color": {
...
...
@@ -5211,23 +5416,23 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
9
},
"_children": [
{
"__id__": 1
05
"__id__": 1
11
},
{
"__id__": 1
08
"__id__": 1
14
},
{
"__id__": 11
1
"__id__": 11
7
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 1
14
"__id__": 1
20
},
"_opacity": 255,
"_color": {
...
...
@@ -5281,17 +5486,17 @@
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 1
04
"__id__": 1
10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
06
"__id__": 1
12
}
],
"_prefab": {
"__id__": 1
07
"__id__": 1
13
},
"_opacity": 255,
"_color": {
...
...
@@ -5345,7 +5550,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
05
"__id__": 1
11
},
"_enabled": true,
"_materials": [
...
...
@@ -5375,7 +5580,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
9
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
...
...
@@ -5388,17 +5593,17 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 1
04
"__id__": 1
10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
09
"__id__": 1
15
}
],
"_prefab": {
"__id__": 11
0
"__id__": 11
6
},
"_opacity": 255,
"_color": {
...
...
@@ -5452,7 +5657,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
08
"__id__": 1
14
},
"_enabled": true,
"_materials": [
...
...
@@ -5482,7 +5687,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
9
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
...
...
@@ -5495,17 +5700,17 @@
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 1
04
"__id__": 1
10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
2
"__id__": 11
8
}
],
"_prefab": {
"__id__": 11
3
"__id__": 11
9
},
"_opacity": 255,
"_color": {
...
...
@@ -5517,8 +5722,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
59
,
"height":
42
"width":
194
,
"height":
141
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5559,7 +5764,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
1
"__id__": 11
7
},
"_enabled": true,
"_materials": [
...
...
@@ -5570,7 +5775,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
047bdd7d-6c4f-47dc-944a-12cf7a461f93
"
"__uuid__": "
5283c4c3-1c25-4d0a-b870-0feb5eaf51fc
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -5589,7 +5794,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
9
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
...
...
@@ -5600,7 +5805,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
9
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
...
...
@@ -5613,7 +5818,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
3
"__id__": 10
9
},
"_enabled": true,
"position": {
...
...
@@ -5632,7 +5837,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
9
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
...
...
@@ -5649,23 +5854,23 @@
},
"_children": [
{
"__id__": 1
18
"__id__": 1
24
},
{
"__id__": 12
1
"__id__": 12
7
},
{
"__id__": 1
24
"__id__": 1
30
}
],
"_active": false,
"_components": [
{
"__id__": 1
27
"__id__": 1
33
}
],
"_prefab": {
"__id__": 1
28
"__id__": 1
34
},
"_opacity": 255,
"_color": {
...
...
@@ -5719,17 +5924,17 @@
"_name": "ske_candy",
"_objFlags": 0,
"_parent": {
"__id__": 1
17
"__id__": 1
23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
19
"__id__": 1
25
}
],
"_prefab": {
"__id__": 12
0
"__id__": 12
6
},
"_opacity": 255,
"_color": {
...
...
@@ -5783,7 +5988,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
18
"__id__": 1
24
},
"_enabled": true,
"_materials": [
...
...
@@ -5821,7 +6026,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
17
"__id__": 1
23
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
...
...
@@ -5834,17 +6039,17 @@
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 1
17
"__id__": 1
23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
2
"__id__": 12
8
}
],
"_prefab": {
"__id__": 12
3
"__id__": 12
9
},
"_opacity": 255,
"_color": {
...
...
@@ -5898,7 +6103,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
1
"__id__": 12
7
},
"_enabled": true,
"_materials": [
...
...
@@ -5936,7 +6141,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
17
"__id__": 1
23
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
...
...
@@ -5949,17 +6154,17 @@
"_name": "block",
"_objFlags": 0,
"_parent": {
"__id__": 1
17
"__id__": 1
23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
25
"__id__": 1
31
}
],
"_prefab": {
"__id__": 1
26
"__id__": 1
32
},
"_opacity": 255,
"_color": {
...
...
@@ -6013,7 +6218,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
24
"__id__": 1
30
},
"_enabled": true,
"_id": "614Ol/VeZKyIbzJ5WMNHfT"
...
...
@@ -6021,7 +6226,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
17
"__id__": 1
23
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
...
...
@@ -6034,7 +6239,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
17
"__id__": 1
23
},
"_enabled": true,
"startPosition": {
...
...
@@ -6053,7 +6258,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
17
"__id__": 1
23
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
...
...
@@ -6070,26 +6275,29 @@
},
"_children": [
{
"__id__": 13
0
"__id__": 13
6
},
{
"__id__": 13
3
"__id__": 13
9
},
{
"__id__": 1
36
"__id__": 1
42
},
{
"__id__": 14
0
"__id__": 14
6
}
],
"_active": true,
"_components": [
{
"__id__": 148
"__id__": 154
},
{
"__id__": 155
}
],
"_prefab": {
"__id__": 1
49
"__id__": 1
56
},
"_opacity": 255,
"_color": {
...
...
@@ -6143,17 +6351,17 @@
"_name": "shadow",
"_objFlags": 0,
"_parent": {
"__id__": 1
29
"__id__": 1
35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
1
"__id__": 13
7
}
],
"_prefab": {
"__id__": 13
2
"__id__": 13
8
},
"_opacity": 255,
"_color": {
...
...
@@ -6207,7 +6415,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
0
"__id__": 13
6
},
"_enabled": true,
"_materials": [
...
...
@@ -6237,7 +6445,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
29
"__id__": 1
35
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
...
...
@@ -6250,17 +6458,17 @@
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 1
29
"__id__": 1
35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
34
"__id__": 1
40
}
],
"_prefab": {
"__id__": 1
35
"__id__": 1
41
},
"_opacity": 255,
"_color": {
...
...
@@ -6314,7 +6522,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
3
"__id__": 13
9
},
"_enabled": true,
"_materials": [
...
...
@@ -6352,7 +6560,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
29
"__id__": 1
35
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
...
...
@@ -6365,20 +6573,20 @@
"_name": "block",
"_objFlags": 512,
"_parent": {
"__id__": 1
29
"__id__": 1
35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
37
"__id__": 1
43
},
{
"__id__": 1
38
"__id__": 1
44
}
],
"_prefab": {
"__id__": 1
39
"__id__": 1
45
},
"_opacity": 100,
"_color": {
...
...
@@ -6432,7 +6640,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
36
"__id__": 1
42
},
"_enabled": true,
"_id": "9e5NQLsFlN9YT5gPreIgpl"
...
...
@@ -6442,7 +6650,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
36
"__id__": 1
42
},
"_enabled": false,
"_materials": [
...
...
@@ -6472,7 +6680,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
29
"__id__": 1
35
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
...
...
@@ -6485,20 +6693,20 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 1
29
"__id__": 1
35
},
"_children": [
{
"__id__": 14
1
"__id__": 14
7
},
{
"__id__": 1
44
"__id__": 1
50
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 1
47
"__id__": 1
53
},
"_opacity": 255,
"_color": {
...
...
@@ -6552,17 +6760,17 @@
"_name": "enter",
"_objFlags": 0,
"_parent": {
"__id__": 14
0
"__id__": 14
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
2
"__id__": 14
8
}
],
"_prefab": {
"__id__": 14
3
"__id__": 14
9
},
"_opacity": 255,
"_color": {
...
...
@@ -6616,7 +6824,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
1
"__id__": 14
7
},
"_enabled": true,
"_clip": {
...
...
@@ -6633,7 +6841,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
29
"__id__": 1
35
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
...
...
@@ -6646,17 +6854,17 @@
"_name": "leave",
"_objFlags": 0,
"_parent": {
"__id__": 14
0
"__id__": 14
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
45
"__id__": 1
51
}
],
"_prefab": {
"__id__": 1
46
"__id__": 1
52
},
"_opacity": 255,
"_color": {
...
...
@@ -6710,7 +6918,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
44
"__id__": 1
50
},
"_enabled": true,
"_clip": {
...
...
@@ -6727,7 +6935,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
29
"__id__": 1
35
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
...
...
@@ -6738,7 +6946,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
29
"__id__": 1
35
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
...
...
@@ -6751,7 +6959,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
29
"__id__": 1
35
},
"_enabled": true,
"startPosition": {
...
...
@@ -6767,10 +6975,37 @@
"moveInTime": 1,
"_id": "38u9Og0VVH17Sceciyh4dy"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 360,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "53KLVy4ylNkYyug6vDSEry"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
29
"__id__": 1
35
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
...
...
@@ -6831,22 +7066,22 @@
},
"_enabled": true,
"ani_flower": {
"__id__":
98
"__id__":
104
},
"layout_card": {
"__id__": 3
5
"__id__": 3
6
},
"layout_card_result": {
"__id__": 3
6
"__id__": 3
7
},
"node_card": {
"__id__": 4
1
"__id__": 4
2
},
"bg_card": {
"__id__": 5
8
"__id__": 5
9
},
"layout_lollipop": {
"__id__": 7
3
"__id__": 7
7
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
...
...
assets/MRBR02/scene/MRBR02.ts
View file @
5ce350d8
...
...
@@ -54,6 +54,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
event
.
emit
(
"
mouse_start_play
"
,
{
voice
:
Game
.
getIns
().
aniEnter
.
audioUrl
,
time
:
Game
.
getIns
().
aniEnter
.
time
});
}
initEvent
()
{
this
.
schedule
(
this
.
updateLoop
,
1
/
60
)
pg
.
view
.
touchOn
(
pg
.
view
.
find
(
this
,
'
bg/bg_card/btn_check
'
),
this
.
onTouchCheck
,
this
);
pg
.
event
.
on
(
"
startGame
"
,
()
=>
{
this
.
startGame
()
})
...
...
@@ -73,6 +74,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
nextPage
();
}
nextPage
()
{
this
.
checked
=
false
;
this
.
cards
=
[];
this
.
cardBgs
=
[];
this
.
currentCards
=
[];
...
...
@@ -242,7 +244,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
onItemTouchCancel
()
{
}
checked
:
boolean
;
updateCheckBtn
()
{
if
(
this
.
checked
)
{
pg
.
view
.
visible
(
pg
.
view
.
find
(
this
,
'
bg/bg_card/btn_check
'
),
false
)
pg
.
view
.
visible
(
pg
.
view
.
find
(
this
,
'
bg/bg_card/btn_check_grey
'
),
false
)
return
;
}
let
isFull
=
this
.
checkFull
();
pg
.
view
.
visible
(
pg
.
view
.
find
(
this
,
'
bg/bg_card/btn_check
'
),
isFull
)
pg
.
view
.
visible
(
pg
.
view
.
find
(
this
,
'
bg/bg_card/btn_check_grey
'
),
!
isFull
)
...
...
@@ -266,6 +274,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
return
;
}
this
.
onTouchCheckCantouch
=
true
;
this
.
checked
=
true
;
let
page
=
Game
.
getIns
().
getCurrentPage
();
if
(
!!
page
.
image
)
{
this
.
layout_card
.
active
=
false
;
...
...
@@ -274,20 +283,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
img
=
pg
.
view
.
find
(
this
.
layout_card_result
,
"
img
"
);
pg
.
view
.
setNetImg
(
img
,
page
.
image
,
{
w
:
340
,
h
:
150
})
}
pg
.
audio
.
playAudioByUrl
(
page
.
audio
).
then
(()
=>
{
pg
.
event
.
emit
(
"
mouse_add
"
);
setTimeout
(()
=>
{
this
.
updateCardResult
();
this
.
updateLollipop
().
then
(()
=>
{
if
(
!
Game
.
getIns
().
addPage
())
{
pg
.
event
.
emit
(
"
gameOver
"
)
}
else
{
pg
.
event
.
emit
(
"
nextPage
"
)
}
this
.
onTouchCheckCantouch
=
false
;
})
},
2000
);
})
if
(
!
page
.
audio
)
{
pg
.
event
.
emit
(
"
mouse_add
"
);
setTimeout
(()
=>
{
...
...
@@ -301,6 +296,21 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
onTouchCheckCantouch
=
false
;
})
},
2000
);
}
else
{
pg
.
audio
.
playAudioByUrl
(
page
.
audio
).
then
(()
=>
{
pg
.
event
.
emit
(
"
mouse_add
"
);
setTimeout
(()
=>
{
this
.
updateCardResult
();
this
.
updateLollipop
().
then
(()
=>
{
if
(
!
Game
.
getIns
().
addPage
())
{
pg
.
event
.
emit
(
"
gameOver
"
)
}
else
{
pg
.
event
.
emit
(
"
nextPage
"
)
}
this
.
onTouchCheckCantouch
=
false
;
})
},
2000
);
})
}
}
updateCardResult
()
{
...
...
@@ -350,8 +360,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
progressbar_red
=
pg
.
view
.
find
(
this
.
layout_lollipop
,
'
progressbar_red
'
);
let
sprite
=
progressbar_red
.
getComponent
(
cc
.
Sprite
);
sprite
.
fillRange
=
1
;
let
countdown
=
pg
.
view
.
find
(
this
.
layout_lollipop
,
'
countdown
'
);
pg
.
audio
.
playAudioByNode
(
countdown
);
let
i2
=
setInterval
(()
=>
{
sprite
.
fillRange
-=
0.0
09
;
sprite
.
fillRange
-=
0.0
1
;
},
30
)
setTimeout
(()
=>
{
...
...
@@ -388,7 +401,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
update
()
{
update
Loop
()
{
this
.
updateCheckBtn
();
this
.
updateProgress
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment