Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
Lwd
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
Lwd
Commits
a0fd46f2
Commit
a0fd46f2
authored
Mar 30, 2021
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aaaa
parent
8acdd228
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
748 additions
and
446 deletions
+748
-446
Game.fire
play/assets/tmpGame/scene/Game.fire
+534
-313
view.js
play/assets/tmpGame/script/common/view.js
+128
-125
game.js
play/assets/tmpGame/script/game/game.js
+3
-3
result.js
play/assets/tmpGame/script/game/result.js
+47
-5
frame_dragon.png
play/assets/tmpGame/textures/frame_dragon.png
+0
-0
frame_dragon.png.meta
play/assets/tmpGame/textures/frame_dragon.png.meta
+36
-0
No files found.
play/assets/tmpGame/scene/Game.fire
View file @
a0fd46f2
...
@@ -87,25 +87,25 @@
...
@@ -87,25 +87,25 @@
"__id__": 75
"__id__": 75
},
},
{
{
"__id__": 13
6
"__id__": 13
8
},
},
{
{
"__id__": 1
54
"__id__": 1
60
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
56
"__id__": 1
62
},
},
{
{
"__id__": 1
57
"__id__": 1
63
},
},
{
{
"__id__": 1
58
"__id__": 1
64
},
},
{
{
"__id__": 1
59
"__id__": 1
65
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
"array": [
"array": [
0,
0,
0,
0,
539.525
2766428575
,
539.525
9478511258
,
0,
0,
0,
0,
0,
0,
...
@@ -266,10 +266,7 @@
...
@@ -266,10 +266,7 @@
"__id__": 6
"__id__": 6
},
},
{
{
"__id__": 8
"__id__": 16
},
{
"__id__": 11
},
},
{
{
"__id__": 19
"__id__": 19
...
@@ -341,108 +338,15 @@
...
@@ -341,108 +338,15 @@
"_parent": {
"_parent": {
"__id__": 5
"__id__": 5
},
},
"_children": [],
"_children": [
"_active": true,
"_components": [
{
{
"__id__": 7
"__id__": 7
}
}
],
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_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": "cb44vGCjBCEai3LUYggvmx"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8a5a3573-755c-4a87-81da-94878a25da48"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cdG0DXG2FEI6RjMYVWdQGm"
},
{
"__type__": "cc.Node",
"_name": "bg_road",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
"__id__": 15
},
{
"__id__": 10
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -457,7 +361,7 @@
...
@@ -457,7 +361,7 @@
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1280,
"width": 1280,
"height":
563
"height":
720
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -469,7 +373,7 @@
...
@@ -469,7 +373,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
-78.5
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -491,89 +395,30 @@
...
@@ -491,89 +395,30 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "55hjWfJXRGVrUKU5bn44kk"
"_id": "cb44vGCjBCEai3LUYggvmx"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f32c4fbb-8522-43ac-b3be-846858217c39"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0878DpcTBC5qHDetXX/XTj"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 44,
"_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": 0,
"_id": "94E5Z6sbtLibzH70XmyEpp"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "bg_kate",
"_name": "bg_kate",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
"__id__":
6
},
},
"_children": [
"_children": [
{
{
"__id__":
12
"__id__":
8
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
5
"__id__": 1
1
},
},
{
{
"__id__": 1
6
"__id__": 1
2
},
},
{
{
"__id__": 1
7
"__id__": 1
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -629,16 +474,16 @@
...
@@ -629,16 +474,16 @@
"_name": "title",
"_name": "title",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
11
"__id__":
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
13
"__id__":
9
},
},
{
{
"__id__": 1
4
"__id__": 1
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -694,7 +539,7 @@
...
@@ -694,7 +539,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
12
"__id__":
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -729,7 +574,7 @@
...
@@ -729,7 +574,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
12
"__id__":
8
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -747,7 +592,7 @@
...
@@ -747,7 +592,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
11
"__id__":
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -779,7 +624,7 @@
...
@@ -779,7 +624,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
11
"__id__":
7
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -806,7 +651,7 @@
...
@@ -806,7 +651,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
11
"__id__":
7
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -815,7 +660,7 @@
...
@@ -815,7 +660,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 1
8
"__id__": 1
4
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -850,38 +695,194 @@
...
@@ -850,38 +695,194 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"hoverColor": {
"hoverColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g": 255,
"g": 255,
"b": 255,
"b": 255,
"a": 255
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "6cg20v+bZMBqjVrbW/w80P"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "8b0b7lMf15OlIK40chbxp64",
"handler": "playAudioTitle",
"customEventData": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8a5a3573-755c-4a87-81da-94878a25da48"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cdG0DXG2FEI6RjMYVWdQGm"
},
{
"__type__": "cc.Node",
"_name": "bg_road",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
},
{
"__id__": 18
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 563
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-78.5,
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": "55hjWfJXRGVrUKU5bn44kk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f32c4fbb-8522-43ac-b3be-846858217c39"
},
},
"_N$disabledColor": {
"_type": 0,
"__type__": "cc.Color",
"_sizeMode": 0,
"r": 124,
"_fillType": 0,
"g": 124,
"_fillCenter": {
"b": 124,
"__type__": "cc.Vec2",
"a": 255
"x": 0,
"y": 0
},
},
"_N$normalSprite": null,
"_fillStart": 0,
"_N$pressedSprite": null,
"_fillRange": 0,
"pressedSprite": null,
"_isTrimmedMode": true,
"_N$hoverSprite": null,
"_atlas": null,
"hoverSprite": null,
"_id": "0878DpcTBC5qHDetXX/XTj"
"_N$disabledSprite": null,
"_N$target": null,
"_id": "6cg20v+bZMBqjVrbW/w80P"
},
},
{
{
"__type__": "cc.ClickEvent",
"__type__": "cc.Widget",
"target": {
"_name": "",
"__id__": 2
"_objFlags": 0,
"node": {
"__id__": 16
},
},
"component": "",
"_enabled": true,
"_componentId": "8b0b7lMf15OlIK40chbxp64",
"alignMode": 1,
"handler": "",
"_target": null,
"customEventData": ""
"_alignFlags": 44,
"_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": 0,
"_id": "94E5Z6sbtLibzH70XmyEpp"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -3509,8 +3510,10 @@
...
@@ -3509,8 +3510,10 @@
"__id__": 72
"__id__": 72
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 2,
"_target": null,
"_target": {
"__id__": 2
},
"_alignFlags": 44,
"_alignFlags": 44,
"_left": 0,
"_left": 0,
"_right": 0,
"_right": 0,
...
@@ -3543,19 +3546,19 @@
...
@@ -3543,19 +3546,19 @@
"__id__": 79
"__id__": 79
},
},
{
{
"__id__": 9
1
"__id__": 9
3
},
},
{
{
"__id__":
99
"__id__":
101
},
},
{
{
"__id__": 10
3
"__id__": 10
5
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 13
5
"__id__": 13
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3780,7 +3783,7 @@
...
@@ -3780,7 +3783,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
0
"__id__": 9
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4122,14 +4125,18 @@
...
@@ -4122,14 +4125,18 @@
"_parent": {
"_parent": {
"__id__": 79
"__id__": 79
},
},
"_children": [],
"_children": [
"_active": true,
"_components": [
{
{
"__id__": 87
"__id__": 87
}
],
"_active": false,
"_components": [
{
"__id__": 89
},
},
{
{
"__id__":
88
"__id__":
90
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4143,8 +4150,8 @@
...
@@ -4143,8 +4150,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
30
0,
"width":
74
0,
"height":
3
00
"height":
4
00
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4180,6 +4187,100 @@
...
@@ -4180,6 +4187,100 @@
"groupIndex": 0,
"groupIndex": 0,
"_id": "49RK/Nq9dENKjdPTKv0GYm"
"_id": "49RK/Nq9dENKjdPTKv0GYm"
},
},
{
"__type__": "cc.Node",
"_name": "frame_dragon",
"_objFlags": 0,
"_parent": {
"__id__": 86
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 88
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 852,
"height": 516
},
"_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": "a0azumv9hEjKbJhMICDrSL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8c658fc0-c1e4-4993-bce4-b5cce324b69b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e0/mlj59pDz7T5XfjWCPPG"
},
{
{
"__type__": "dragonBones.ArmatureDisplay",
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_name": "",
...
@@ -4195,11 +4296,11 @@
...
@@ -4195,11 +4296,11 @@
],
],
"_armatureName": "",
"_armatureName": "",
"_animationName": "",
"_animationName": "",
"_preCacheMode":
-1
,
"_preCacheMode":
0
,
"_cacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"playTimes": -1,
"premultipliedAlpha": false,
"premultipliedAlpha": false,
"_armatureKey": "",
"_armatureKey": "
2ce7fa44-d75d-4caf-a9bf-67a07b3e995a#68a1f680-3f67-44af-a6fd-29494173dbe6
",
"_accTime": 0,
"_accTime": 0,
"_playCount": 0,
"_playCount": 0,
"_frameCache": null,
"_frameCache": null,
...
@@ -4230,7 +4331,7 @@
...
@@ -4230,7 +4331,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__":
89
"__id__":
91
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -4339,13 +4440,13 @@
...
@@ -4339,13 +4440,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 9
2
"__id__": 9
4
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
98
"__id__":
100
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4401,17 +4502,17 @@
...
@@ -4401,17 +4502,17 @@
"_name": "Layout",
"_name": "Layout",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [
"_children": [
{
{
"__id__": 9
3
"__id__": 9
5
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
7
"__id__": 9
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4467,25 +4568,25 @@
...
@@ -4467,25 +4568,25 @@
"_name": "lb_tip",
"_name": "lb_tip",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
2
"__id__": 9
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
4
"__id__": 9
6
},
},
{
{
"__id__": 9
5
"__id__": 9
7
}
}
],
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
113
,
"r":
46
,
"g":
7
,
"g":
110
,
"b":
7
,
"b":
238
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
...
@@ -4532,7 +4633,7 @@
...
@@ -4532,7 +4633,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
3
"__id__": 9
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4567,7 +4668,7 @@
...
@@ -4567,7 +4668,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
3
"__id__": 9
5
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4576,7 +4677,7 @@
...
@@ -4576,7 +4677,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 9
6
"__id__": 9
8
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -4641,7 +4742,7 @@
...
@@ -4641,7 +4742,7 @@
},
},
"component": "",
"component": "",
"_componentId": "b01b30rB85Exb1aIQxobbR8",
"_componentId": "b01b30rB85Exb1aIQxobbR8",
"handler": "
playAudio
",
"handler": "
onBtnText
",
"customEventData": ""
"customEventData": ""
},
},
{
{
...
@@ -4649,7 +4750,7 @@
...
@@ -4649,7 +4750,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
4
},
},
"_enabled": true,
"_enabled": true,
"_layoutSize": {
"_layoutSize": {
...
@@ -4681,7 +4782,7 @@
...
@@ -4681,7 +4782,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
1
"__id__": 9
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4719,10 +4820,10 @@
...
@@ -4719,10 +4820,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
0
"__id__": 10
2
},
},
{
{
"__id__": 10
1
"__id__": 10
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4778,7 +4879,7 @@
...
@@ -4778,7 +4879,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
99
"__id__":
101
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4810,7 +4911,7 @@
...
@@ -4810,7 +4911,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
99
"__id__":
101
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4819,7 +4920,7 @@
...
@@ -4819,7 +4920,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 10
2
"__id__": 10
4
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -4895,9 +4996,6 @@
...
@@ -4895,9 +4996,6 @@
"__id__": 75
"__id__": 75
},
},
"_children": [
"_children": [
{
"__id__": 104
},
{
{
"__id__": 106
"__id__": 106
},
},
...
@@ -4939,12 +5037,15 @@
...
@@ -4939,12 +5037,15 @@
},
},
{
{
"__id__": 132
"__id__": 132
},
{
"__id__": 134
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 13
4
"__id__": 13
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5000,13 +5101,13 @@
...
@@ -5000,13 +5101,13 @@
"_name": "1",
"_name": "1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
5
"__id__": 10
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5062,7 +5163,7 @@
...
@@ -5062,7 +5163,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
4
"__id__": 10
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5094,13 +5195,13 @@
...
@@ -5094,13 +5195,13 @@
"_name": "2",
"_name": "2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
7
"__id__": 10
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5156,7 +5257,7 @@
...
@@ -5156,7 +5257,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
6
"__id__": 10
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5188,13 +5289,13 @@
...
@@ -5188,13 +5289,13 @@
"_name": "3",
"_name": "3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
09
"__id__": 1
11
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5250,7 +5351,7 @@
...
@@ -5250,7 +5351,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
08
"__id__": 1
10
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5282,13 +5383,13 @@
...
@@ -5282,13 +5383,13 @@
"_name": "4",
"_name": "4",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
1
"__id__": 11
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5344,7 +5445,7 @@
...
@@ -5344,7 +5445,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
0
"__id__": 11
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5376,13 +5477,13 @@
...
@@ -5376,13 +5477,13 @@
"_name": "5",
"_name": "5",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
3
"__id__": 11
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5438,7 +5539,7 @@
...
@@ -5438,7 +5539,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
2
"__id__": 11
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5470,13 +5571,13 @@
...
@@ -5470,13 +5571,13 @@
"_name": "6",
"_name": "6",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
5
"__id__": 11
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5532,7 +5633,7 @@
...
@@ -5532,7 +5633,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
4
"__id__": 11
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5564,13 +5665,13 @@
...
@@ -5564,13 +5665,13 @@
"_name": "7",
"_name": "7",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
7
"__id__": 11
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5626,7 +5727,7 @@
...
@@ -5626,7 +5727,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
6
"__id__": 11
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5658,13 +5759,13 @@
...
@@ -5658,13 +5759,13 @@
"_name": "8",
"_name": "8",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
19
"__id__": 1
21
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5720,7 +5821,7 @@
...
@@ -5720,7 +5821,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
18
"__id__": 1
20
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5752,13 +5853,13 @@
...
@@ -5752,13 +5853,13 @@
"_name": "9",
"_name": "9",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
1
"__id__": 12
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5814,7 +5915,7 @@
...
@@ -5814,7 +5915,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
0
"__id__": 12
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5846,13 +5947,13 @@
...
@@ -5846,13 +5947,13 @@
"_name": "10",
"_name": "10",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
3
"__id__": 12
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5908,7 +6009,7 @@
...
@@ -5908,7 +6009,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
2
"__id__": 12
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5940,13 +6041,13 @@
...
@@ -5940,13 +6041,13 @@
"_name": "11",
"_name": "11",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
5
"__id__": 12
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6002,7 +6103,7 @@
...
@@ -6002,7 +6103,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
4
"__id__": 12
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6034,13 +6135,13 @@
...
@@ -6034,13 +6135,13 @@
"_name": "12",
"_name": "12",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
7
"__id__": 12
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6096,7 +6197,7 @@
...
@@ -6096,7 +6197,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
6
"__id__": 12
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6128,13 +6229,13 @@
...
@@ -6128,13 +6229,13 @@
"_name": "13",
"_name": "13",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
29
"__id__": 1
31
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6190,7 +6291,7 @@
...
@@ -6190,7 +6291,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
28
"__id__": 1
30
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6222,13 +6323,13 @@
...
@@ -6222,13 +6323,13 @@
"_name": "14",
"_name": "14",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
1
"__id__": 13
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6284,7 +6385,7 @@
...
@@ -6284,7 +6385,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
0
"__id__": 13
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6316,13 +6417,13 @@
...
@@ -6316,13 +6417,13 @@
"_name": "15",
"_name": "15",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
3
"__id__": 13
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6378,7 +6479,7 @@
...
@@ -6378,7 +6479,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
2
"__id__": 13
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6410,7 +6511,7 @@
...
@@ -6410,7 +6511,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
3
"__id__": 10
5
},
},
"_enabled": true,
"_enabled": true,
"_defaultClip": {
"_defaultClip": {
...
@@ -6439,19 +6540,19 @@
...
@@ -6439,19 +6540,19 @@
"__id__": 82
"__id__": 82
},
},
"frame_tips": {
"frame_tips": {
"__id__": 9
1
"__id__": 9
3
},
},
"lb_tips": {
"lb_tips": {
"__id__": 9
4
"__id__": 9
6
},
},
"eff_sahua": {
"eff_sahua": {
"__id__": 13
4
"__id__": 13
6
},
},
"Armature": {
"Armature": {
"__id__": 8
7
"__id__": 8
9
},
},
"layoutText": {
"layoutText": {
"__id__": 9
2
"__id__": 9
4
},
},
"_id": "aanl6eAfxD/IRkmdVyvj7C"
"_id": "aanl6eAfxD/IRkmdVyvj7C"
},
},
...
@@ -6464,22 +6565,22 @@
...
@@ -6464,22 +6565,22 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 13
7
"__id__": 13
9
},
},
{
{
"__id__": 14
1
"__id__": 14
4
},
},
{
{
"__id__": 14
5
"__id__": 14
9
},
},
{
{
"__id__": 1
49
"__id__": 1
54
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 15
3
"__id__": 15
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6535,16 +6636,19 @@
...
@@ -6535,16 +6636,19 @@
"_name": "btn_left",
"_name": "btn_left",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
6
"__id__": 13
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
38
"__id__": 1
40
},
},
{
{
"__id__": 139
"__id__": 141
},
{
"__id__": 143
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6570,7 +6674,7 @@
...
@@ -6570,7 +6674,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
43
9.432
,
43
7.5
,
30,
30,
0,
0,
0,
0,
...
@@ -6600,7 +6704,7 @@
...
@@ -6600,7 +6704,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
7
"__id__": 13
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6632,7 +6736,7 @@
...
@@ -6632,7 +6736,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
7
"__id__": 13
9
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -6641,7 +6745,7 @@
...
@@ -6641,7 +6745,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 14
0
"__id__": 14
2
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -6709,21 +6813,51 @@
...
@@ -6709,21 +6813,51 @@
"handler": "onBtnLastPage",
"handler": "onBtnLastPage",
"customEventData": ""
"customEventData": ""
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 180,
"_top": 0,
"_bottom": 7,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "a17QEf6yRABqIQh7RWPS9y"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "btn_start",
"_name": "btn_start",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
6
"__id__": 13
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 14
2
"__id__": 14
5
},
},
{
{
"__id__": 143
"__id__": 146
},
{
"__id__": 148
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6749,7 +6883,7 @@
...
@@ -6749,7 +6883,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
4
88
.5,
4
96
.5,
36,
36,
0,
0,
0,
0,
...
@@ -6779,7 +6913,7 @@
...
@@ -6779,7 +6913,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 14
1
"__id__": 14
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6811,7 +6945,7 @@
...
@@ -6811,7 +6945,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 14
1
"__id__": 14
4
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -6820,7 +6954,7 @@
...
@@ -6820,7 +6954,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 14
4
"__id__": 14
7
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -6888,21 +7022,51 @@
...
@@ -6888,21 +7022,51 @@
"handler": "onBtnReStart",
"handler": "onBtnReStart",
"customEventData": ""
"customEventData": ""
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 144
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 120,
"_top": 0,
"_bottom": 7.5,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "f8VMOCQlFEoYKYUJ6K7AXa"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "btn_right",
"_name": "btn_right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
6
"__id__": 13
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
46
"__id__": 1
50
},
},
{
{
"__id__": 147
"__id__": 151
},
{
"__id__": 153
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6928,7 +7092,7 @@
...
@@ -6928,7 +7092,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
5
39.096
,
5
48
,
30,
30,
0,
0,
0,
0,
...
@@ -6958,7 +7122,7 @@
...
@@ -6958,7 +7122,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 14
5
"__id__": 14
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6990,7 +7154,7 @@
...
@@ -6990,7 +7154,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 14
5
"__id__": 14
9
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -6999,7 +7163,7 @@
...
@@ -6999,7 +7163,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 1
48
"__id__": 1
52
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -7067,21 +7231,51 @@
...
@@ -7067,21 +7231,51 @@
"handler": "onBtnNextPage",
"handler": "onBtnNextPage",
"customEventData": ""
"customEventData": ""
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 149
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 70,
"_top": 0,
"_bottom": 7,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "13RC471TpKibV2E11E6ayK"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "btn_sound",
"_name": "btn_sound",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
6
"__id__": 13
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 15
0
"__id__": 15
5
},
},
{
{
"__id__": 151
"__id__": 156
},
{
"__id__": 158
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -7137,7 +7331,7 @@
...
@@ -7137,7 +7331,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
49
"__id__": 1
54
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -7169,7 +7363,7 @@
...
@@ -7169,7 +7363,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
49
"__id__": 1
54
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -7178,7 +7372,7 @@
...
@@ -7178,7 +7372,7 @@
"zoomScale": 1.2,
"zoomScale": 1.2,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 15
2
"__id__": 15
7
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -7251,7 +7445,34 @@
...
@@ -7251,7 +7445,34 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 136
"__id__": 154
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 12,
"_left": 24.5,
"_right": 0,
"_top": 0,
"_bottom": 14.5,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "291F9VBGpJyJH61D3eeYKL"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 138
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -7284,7 +7505,7 @@
...
@@ -7284,7 +7505,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
55
"__id__": 1
61
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -7340,7 +7561,7 @@
...
@@ -7340,7 +7561,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
54
"__id__": 1
60
},
},
"_enabled": true,
"_enabled": true,
"eff_btn": {
"eff_btn": {
...
@@ -7434,7 +7655,7 @@
...
@@ -7434,7 +7655,7 @@
"__id__": 75
"__id__": 75
},
},
"title": {
"title": {
"__id__":
13
"__id__":
9
},
},
"_id": "4eioQSfZdPna82l0qiAEEA"
"_id": "4eioQSfZdPna82l0qiAEEA"
},
},
...
@@ -7449,7 +7670,7 @@
...
@@ -7449,7 +7670,7 @@
"UIMax": [],
"UIMax": [],
"topUI": [],
"topUI": [],
"canvasView": {
"canvasView": {
"__id__": 1
56
"__id__": 1
62
},
},
"isCanvas": true,
"isCanvas": true,
"_id": "5eOVDDzARGnoMLcNXyk5ml"
"_id": "5eOVDDzARGnoMLcNXyk5ml"
...
...
play/assets/tmpGame/script/common/view.js
View file @
a0fd46f2
...
@@ -14,6 +14,7 @@ cc.Class({
...
@@ -14,6 +14,7 @@ cc.Class({
default
:
[],
default
:
[],
type
:
cc
.
Widget
,
type
:
cc
.
Widget
,
},
},
canvasView
:
{
canvasView
:
{
default
:
null
,
default
:
null
,
type
:
cc
.
Canvas
,
type
:
cc
.
Canvas
,
...
@@ -34,6 +35,7 @@ cc.Class({
...
@@ -34,6 +35,7 @@ cc.Class({
var
w
=
(
canvaSize
.
width
)
/
720
;
var
w
=
(
canvaSize
.
width
)
/
720
;
var
h
=
(
canvaSize
.
height
)
/
1280
;
var
h
=
(
canvaSize
.
height
)
/
1280
;
this
.
MaxSize
=
w
/
h
>
1
?
w
/
h
:
h
/
w
;
this
.
MaxSize
=
w
/
h
>
1
?
w
/
h
:
h
/
w
;
this
.
setUIMax
(
this
.
MaxSize
);
this
.
setUIMax
(
this
.
MaxSize
);
this
.
settopUI
(
this
.
MaxSize
);
this
.
settopUI
(
this
.
MaxSize
);
var
scene
=
cc
.
director
.
getScene
();
var
scene
=
cc
.
director
.
getScene
();
...
@@ -45,7 +47,6 @@ cc.Class({
...
@@ -45,7 +47,6 @@ cc.Class({
}
}
},
0
);
},
0
);
this
.
MaxSize
=
1
;
this
.
MaxSize
=
1
;
// if (window.addEventListener) {
// if (window.addEventListener) {
// window.addEventListener('resize', scaleEventCallBack, false)
// window.addEventListener('resize', scaleEventCallBack, false)
// } else if (window.attachEvent) {
// } else if (window.attachEvent) {
...
@@ -73,6 +74,7 @@ cc.Class({
...
@@ -73,6 +74,7 @@ cc.Class({
var
w
=
(
canvaSize
.
width
)
/
750
;
var
w
=
(
canvaSize
.
width
)
/
750
;
var
h
=
(
canvaSize
.
height
)
/
1334
;
var
h
=
(
canvaSize
.
height
)
/
1334
;
this
.
MaxSize
=
w
/
h
>
1
?
w
/
h
:
h
/
w
;
this
.
MaxSize
=
w
/
h
>
1
?
w
/
h
:
h
/
w
;
g
.
data_mgr
.
MaxSize
=
this
.
MaxSize
;
g
.
data_mgr
.
MaxSize
=
this
.
MaxSize
;
this
.
setUIMax
(
this
.
MaxSize
);
this
.
setUIMax
(
this
.
MaxSize
);
this
.
settopUI
(
this
.
MaxSize
);
this
.
settopUI
(
this
.
MaxSize
);
...
@@ -83,6 +85,7 @@ cc.Class({
...
@@ -83,6 +85,7 @@ cc.Class({
}
}
},
},
// //屏幕缩放事件
// //屏幕缩放事件
// scaleEventCallBack: function () {
// scaleEventCallBack: function () {
// //setTimeout(function () {
// //setTimeout(function () {
...
...
play/assets/tmpGame/script/game/game.js
View file @
a0fd46f2
...
@@ -84,7 +84,6 @@ var game = cc.Class({
...
@@ -84,7 +84,6 @@ var game = cc.Class({
console
.
log
(
"
游戏开始:
"
+
g
.
data_mgr
);
console
.
log
(
"
游戏开始:
"
+
g
.
data_mgr
);
//播放一个上面的音乐
//播放一个上面的音乐
this
.
setAudioInfo
(
1
);
this
.
setAudioInfo
(
1
);
this
.
PlayAudio
();
},
},
//获得随机播放的音乐并播放
//获得随机播放的音乐并播放
...
@@ -95,6 +94,7 @@ var game = cc.Class({
...
@@ -95,6 +94,7 @@ var game = cc.Class({
//设置播放信息
//设置播放信息
g
.
data_mgr
.
playId
=
num
;
g
.
data_mgr
.
playId
=
num
;
g
.
data_mgr
.
playType
=
type
;
g
.
data_mgr
.
playType
=
type
;
this
.
PlayAudio
();
},
},
//重新播放音乐
//重新播放音乐
...
@@ -121,6 +121,8 @@ var game = cc.Class({
...
@@ -121,6 +121,8 @@ var game = cc.Class({
g
.
data_mgr
.
addPreloadAudio
();
g
.
data_mgr
.
addPreloadAudio
();
g
.
data_mgr
.
addPreloadAnima
();
g
.
data_mgr
.
addPreloadAnima
();
g
.
result
.
inst
.
End
=
true
;
//初始化界面
//初始化界面
this
.
UpdataUi
();
this
.
UpdataUi
();
...
@@ -130,8 +132,6 @@ var game = cc.Class({
...
@@ -130,8 +132,6 @@ var game = cc.Class({
//游戏开始
//游戏开始
g
.
game
.
inst
.
gameStart
();
g
.
game
.
inst
.
gameStart
();
//清除线
//清除线
this
.
clearLine
();
this
.
clearLine
();
},
},
...
...
play/assets/tmpGame/script/game/result.js
View file @
a0fd46f2
/**
/**
* result
* result
*/
*/
const
Color_texts
=
[
'
#BE1AC1
'
,
'
#2
4C11A
'
,
'
#1A1DC1
'
,
'
#9F5307
'
];
const
Color_texts
=
[
'
#BE1AC1
'
,
'
#2
E6EEE
'
,
'
#1A1DC1
'
,
'
#770060
'
];
var
result
=
cc
.
Class
({
var
result
=
cc
.
Class
({
extends
:
cc
.
Component
,
extends
:
cc
.
Component
,
...
@@ -86,7 +86,37 @@ var result = cc.Class({
...
@@ -86,7 +86,37 @@ var result = cc.Class({
// 初始化文本
// 初始化文本
initRichText
(
text
)
{
initRichText
(
text
)
{
this
.
lb_tips
.
string
=
text
;
//this.lb_tips.string = text;
// text = 'I am flying';
this
.
layoutText
.
removeAllChildren
();
if
(
!
text
)
{
return
;
}
text
=
text
.
replace
(
/ /g
,
"
|
"
);
let
arr
=
text
.
split
(
'
|
'
);
if
(
arr
.
length
<=
0
)
{
return
;
}
this
.
layoutText
.
active
=
true
;
this
.
lb_tips
.
string
=
arr
[
0
];
this
.
lb_tips
.
_forceUpdateRenderData
(
true
)
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
if
(
arr
[
i
+
1
]
==
'
'
)
{
continue
;
}
let
node
=
cc
.
instantiate
(
this
.
lb_tips
.
node
);
let
label
=
node
.
getComponent
(
cc
.
Label
);
label
.
string
=
arr
[
i
];
node
.
parent
=
this
.
layoutText
;
label
.
_forceUpdateRenderData
(
true
);
}
this
.
layoutText
.
getComponent
(
cc
.
Layout
).
updateLayout
();
let
width
=
this
.
layoutText
.
width
;
if
(
width
>
1000
)
{
let
scale
=
1000
/
width
;
this
.
layoutText
.
scale
=
scale
;
}
},
},
//设置图片
//设置图片
...
@@ -113,7 +143,9 @@ var result = cc.Class({
...
@@ -113,7 +143,9 @@ var result = cc.Class({
},
},
playAudio
()
{
playAudio
()
{
cc
.
assetManager
.
loadRemote
(
this
.
itemInfo
.
group_audio_url
,
null
,
(
err
,
clip
)
=>
{
// this.itemInfo.group_audio_url
var
test
=
"
http://staging-teach.cdn.ireadabc.com/495324991838775e49e3ca6593d432c9.mp3
"
cc
.
assetManager
.
loadRemote
(
test
,
null
,
(
err
,
clip
)
=>
{
this
.
audioID
=
cc
.
audioEngine
.
play
(
clip
,
false
,
1
);
this
.
audioID
=
cc
.
audioEngine
.
play
(
clip
,
false
,
1
);
this
.
audioDuration
=
cc
.
audioEngine
.
getDuration
(
this
.
audioID
);
this
.
audioDuration
=
cc
.
audioEngine
.
getDuration
(
this
.
audioID
);
this
.
textDuration
=
this
.
audioDuration
/
this
.
layoutText
.
childrenCount
;
this
.
textDuration
=
this
.
audioDuration
/
this
.
layoutText
.
childrenCount
;
...
@@ -125,7 +157,7 @@ var result = cc.Class({
...
@@ -125,7 +157,7 @@ var result = cc.Class({
cc
.
audioEngine
.
stop
(
this
.
audioID
);
cc
.
audioEngine
.
stop
(
this
.
audioID
);
this
.
unschedule
(
this
.
chengeTextColor
);
this
.
unschedule
(
this
.
chengeTextColor
);
this
.
isPlaying
=
false
;
this
.
isPlaying
=
false
;
this
.
stopSpine
();
//
this.stopSpine();
},
},
chengeTextColor
()
{
chengeTextColor
()
{
...
@@ -139,17 +171,27 @@ var result = cc.Class({
...
@@ -139,17 +171,27 @@ var result = cc.Class({
},
},
clearTextColor
()
{
clearTextColor
()
{
for
(
let
i
=
0
;
i
<
this
.
layoutText
.
children
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
layoutText
.
children
.
length
;
i
++
)
{
this
.
layoutText
.
children
[
i
].
color
=
new
cc
.
Color
().
fromHEX
(
Color_texts
[
3
]);
this
.
layoutText
.
children
[
i
].
color
=
new
cc
.
Color
().
fromHEX
(
Color_texts
[
1
]);
}
}
},
},
onBtnText
()
{
this
.
clearTextColor
();
this
.
stopAudio
();
this
.
playAudio
();
},
//点击关闭
//点击关闭
onBtnClose
:
function
()
{
onBtnClose
:
function
()
{
this
.
node
.
active
=
false
;
this
.
node
.
active
=
false
;
//如果播放列表少于1则显示
//如果播放列表少于1则显示
if
(
this
.
End
==
false
)
{
return
;
}
if
(
g
.
data_mgr
.
temPlayAudio
.
length
<
1
)
{
if
(
g
.
data_mgr
.
temPlayAudio
.
length
<
1
)
{
//显示结算撒花
//显示结算撒花
g
.
game
.
inst
.
showResult
();
g
.
game
.
inst
.
showResult
();
this
.
End
=
false
;
}
else
{
}
else
{
//重新随机一组数据
//重新随机一组数据
g
.
game
.
inst
.
setAudioInfo
(
1
);
g
.
game
.
inst
.
setAudioInfo
(
1
);
...
...
play/assets/tmpGame/textures/frame_dragon.png
0 → 100644
View file @
a0fd46f2
292 KB
play/assets/tmpGame/textures/frame_dragon.png.meta
0 → 100644
View file @
a0fd46f2
{
"ver": "2.3.5",
"uuid": "b1526667-de09-4475-a793-de7e9b63c68d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 852,
"height": 516,
"platformSettings": {},
"subMetas": {
"frame_dragon": {
"ver": "1.0.4",
"uuid": "8c658fc0-c1e4-4993-bce4-b5cce324b69b",
"rawTextureUuid": "b1526667-de09-4475-a793-de7e9b63c68d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 852,
"height": 516,
"rawWidth": 852,
"rawHeight": 516,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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