Commit a0fd46f2 authored by Lwd's avatar Lwd

aaaa

parent 8acdd228
...@@ -87,25 +87,25 @@ ...@@ -87,25 +87,25 @@
"__id__": 75 "__id__": 75
}, },
{ {
"__id__": 136 "__id__": 138
}, },
{ {
"__id__": 154 "__id__": 160
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 156 "__id__": 162
}, },
{ {
"__id__": 157 "__id__": 163
}, },
{ {
"__id__": 158 "__id__": 164
}, },
{ {
"__id__": 159 "__id__": 165
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
"array": [ "array": [
0, 0,
0, 0,
539.5252766428575, 539.5259478511258,
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__": 15 "__id__": 11
}, },
{ {
"__id__": 16 "__id__": 12
}, },
{ {
"__id__": 17 "__id__": 13
} }
], ],
"_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__": 14 "__id__": 10
} }
], ],
"_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__": 18 "__id__": 14
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -880,9 +725,165 @@ ...@@ -880,9 +725,165 @@
}, },
"component": "", "component": "",
"_componentId": "8b0b7lMf15OlIK40chbxp64", "_componentId": "8b0b7lMf15OlIK40chbxp64",
"handler": "", "handler": "playAudioTitle",
"customEventData": "" "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"
},
"_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__": 16
},
"_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": "spt_cloud1", "_name": "spt_cloud1",
...@@ -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__": 91 "__id__": 93
}, },
{ {
"__id__": 99 "__id__": 101
}, },
{ {
"__id__": 103 "__id__": 105
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 135 "__id__": 137
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3780,7 +3783,7 @@ ...@@ -3780,7 +3783,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 90 "__id__": 92
} }
], ],
"_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": 300, "width": 740,
"height": 300 "height": 400
}, },
"_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__": 92 "__id__": 94
} }
], ],
"_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__": 91 "__id__": 93
}, },
"_children": [ "_children": [
{ {
"__id__": 93 "__id__": 95
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 97 "__id__": 99
} }
], ],
"_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__": 92 "__id__": 94
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 96
}, },
{ {
"__id__": 95 "__id__": 97
} }
], ],
"_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__": 93 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4567,7 +4668,7 @@ ...@@ -4567,7 +4668,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 93 "__id__": 95
}, },
"_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__": 96 "__id__": 98
} }
], ],
"_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__": 92 "__id__": 94
}, },
"_enabled": true, "_enabled": true,
"_layoutSize": { "_layoutSize": {
...@@ -4681,7 +4782,7 @@ ...@@ -4681,7 +4782,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 93
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4719,10 +4820,10 @@ ...@@ -4719,10 +4820,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 100 "__id__": 102
}, },
{ {
"__id__": 101 "__id__": 103
} }
], ],
"_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__": 102 "__id__": 104
} }
], ],
"_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__": 134 "__id__": 136
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5000,13 +5101,13 @@ ...@@ -5000,13 +5101,13 @@
"_name": "1", "_name": "1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 105 "__id__": 107
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5062,7 +5163,7 @@ ...@@ -5062,7 +5163,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 104 "__id__": 106
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 107 "__id__": 109
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5156,7 +5257,7 @@ ...@@ -5156,7 +5257,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 106 "__id__": 108
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 109 "__id__": 111
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5250,7 +5351,7 @@ ...@@ -5250,7 +5351,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 108 "__id__": 110
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 111 "__id__": 113
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5344,7 +5445,7 @@ ...@@ -5344,7 +5445,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 110 "__id__": 112
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 113 "__id__": 115
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5438,7 +5539,7 @@ ...@@ -5438,7 +5539,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 114
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 115 "__id__": 117
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5532,7 +5633,7 @@ ...@@ -5532,7 +5633,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 114 "__id__": 116
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 119
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5626,7 +5727,7 @@ ...@@ -5626,7 +5727,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 118
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 119 "__id__": 121
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5720,7 +5821,7 @@ ...@@ -5720,7 +5821,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 118 "__id__": 120
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 121 "__id__": 123
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5814,7 +5915,7 @@ ...@@ -5814,7 +5915,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 120 "__id__": 122
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 123 "__id__": 125
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5908,7 +6009,7 @@ ...@@ -5908,7 +6009,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 122 "__id__": 124
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 125 "__id__": 127
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6002,7 +6103,7 @@ ...@@ -6002,7 +6103,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 124 "__id__": 126
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 127 "__id__": 129
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6096,7 +6197,7 @@ ...@@ -6096,7 +6197,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 126 "__id__": 128
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 129 "__id__": 131
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6190,7 +6291,7 @@ ...@@ -6190,7 +6291,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 128 "__id__": 130
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 131 "__id__": 133
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6284,7 +6385,7 @@ ...@@ -6284,7 +6385,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 130 "__id__": 132
}, },
"_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__": 103 "__id__": 105
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 133 "__id__": 135
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6378,7 +6479,7 @@ ...@@ -6378,7 +6479,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 132 "__id__": 134
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6410,7 +6511,7 @@ ...@@ -6410,7 +6511,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 103 "__id__": 105
}, },
"_enabled": true, "_enabled": true,
"_defaultClip": { "_defaultClip": {
...@@ -6439,19 +6540,19 @@ ...@@ -6439,19 +6540,19 @@
"__id__": 82 "__id__": 82
}, },
"frame_tips": { "frame_tips": {
"__id__": 91 "__id__": 93
}, },
"lb_tips": { "lb_tips": {
"__id__": 94 "__id__": 96
}, },
"eff_sahua": { "eff_sahua": {
"__id__": 134 "__id__": 136
}, },
"Armature": { "Armature": {
"__id__": 87 "__id__": 89
}, },
"layoutText": { "layoutText": {
"__id__": 92 "__id__": 94
}, },
"_id": "aanl6eAfxD/IRkmdVyvj7C" "_id": "aanl6eAfxD/IRkmdVyvj7C"
}, },
...@@ -6464,22 +6565,22 @@ ...@@ -6464,22 +6565,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 137 "__id__": 139
}, },
{ {
"__id__": 141 "__id__": 144
}, },
{ {
"__id__": 145 "__id__": 149
}, },
{ {
"__id__": 149 "__id__": 154
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 153 "__id__": 159
} }
], ],
"_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__": 136 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 138 "__id__": 140
}, },
{ {
"__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": [
439.432, 437.5,
30, 30,
0, 0,
0, 0,
...@@ -6600,7 +6704,7 @@ ...@@ -6600,7 +6704,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 139
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6632,7 +6736,7 @@ ...@@ -6632,7 +6736,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 139
}, },
"_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__": 140 "__id__": 142
} }
], ],
"_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__": 136 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 145
}, },
{ {
"__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": [
488.5, 496.5,
36, 36,
0, 0,
0, 0,
...@@ -6779,7 +6913,7 @@ ...@@ -6779,7 +6913,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 141 "__id__": 144
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6811,7 +6945,7 @@ ...@@ -6811,7 +6945,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 141 "__id__": 144
}, },
"_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__": 144 "__id__": 147
} }
], ],
"_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__": 136 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 146 "__id__": 150
}, },
{ {
"__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": [
539.096, 548,
30, 30,
0, 0,
0, 0,
...@@ -6958,7 +7122,7 @@ ...@@ -6958,7 +7122,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 145 "__id__": 149
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6990,7 +7154,7 @@ ...@@ -6990,7 +7154,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 145 "__id__": 149
}, },
"_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__": 148 "__id__": 152
} }
], ],
"_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__": 136 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 150 "__id__": 155
}, },
{ {
"__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__": 149 "__id__": 154
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7169,7 +7363,7 @@ ...@@ -7169,7 +7363,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 149 "__id__": 154
}, },
"_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__": 152 "__id__": 157
} }
], ],
"_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__": 155 "__id__": 161
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7340,7 +7561,7 @@ ...@@ -7340,7 +7561,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 154 "__id__": 160
}, },
"_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__": 156 "__id__": 162
}, },
"isCanvas": true, "isCanvas": true,
"_id": "5eOVDDzARGnoMLcNXyk5ml" "_id": "5eOVDDzARGnoMLcNXyk5ml"
......
...@@ -2,139 +2,142 @@ ...@@ -2,139 +2,142 @@
* 适配 * 适配
*/ */
cc.Class({ cc.Class({
extends: cc.Component, extends: cc.Component,
properties: { properties: {
UIMax: { UIMax: {
default: [], default: [],
type: cc.Node, type: cc.Node,
displayName: "等比放大" displayName: "等比放大"
}, },
topUI: { topUI: {
default: [], default: [],
type: cc.Widget, type: cc.Widget,
}, },
canvasView: {
default: null,
type: cc.Canvas,
displayName: "根节点"
},
isCanvas: {
default: false,
}
},
onLoad: function () { //开启适配 canvasView: {
this.widgetList = []; default: null,
this.scheduleOnce(function () { type: cc.Canvas,
if (!this.isCanvas) { displayName: "根节点"
this.init(); },
} else { isCanvas: {
var canvaSize = this.findCanvas(); default: false,
var w = (canvaSize.width) / 720; }
var h = (canvaSize.height) / 1280; },
this.MaxSize = w / h > 1 ? w / h : h / w;
this.setUIMax(this.MaxSize);
this.settopUI(this.MaxSize);
var scene = cc.director.getScene();
var list = scene.getComponentsInChildren(cc.Widget) onLoad: function () { //开启适配
for (var i in list) { this.widgetList = [];
list[i].updateAlignment(); this.scheduleOnce(function () {
} if (!this.isCanvas) {
} this.init();
}, 0); } else {
this.MaxSize = 1; var canvaSize = this.findCanvas();
var w = (canvaSize.width) / 720;
var h = (canvaSize.height) / 1280;
this.MaxSize = w / h > 1 ? w / h : h / w;
// if (window.addEventListener) { this.setUIMax(this.MaxSize);
// window.addEventListener('resize', scaleEventCallBack, false) this.settopUI(this.MaxSize);
// } else if (window.attachEvent) { var scene = cc.director.getScene();
// window.attachEvent('resize', scaleEventCallBack, false)
// };
// g.event_mgr.reg("adjustUI", () => { var list = scene.getComponentsInChildren(cc.Widget)
// this.init(); for (var i in list) {
// }); list[i].updateAlignment();
}, }
init: function () { }
var canvaSize = this.findCanvas(); }, 0);
var diff = canvaSize.width / canvaSize.height; this.MaxSize = 1;
var bili = 750 / 1334; // if (window.addEventListener) {
if (diff > bili) { // window.addEventListener('resize', scaleEventCallBack, false)
this.canvasView.fitWidth = false; // } else if (window.attachEvent) {
this.canvasView.fitHeight = true; // window.attachEvent('resize', scaleEventCallBack, false)
} else if (diff < bili) { // };
this.canvasView.fitWidth = true;
this.canvasView.fitHeight = false;
} else {
this.canvasView.fitWidth = true;
this.canvasView.fitHeight = true;
}
var w = (canvaSize.width) / 750;
var h = (canvaSize.height) / 1334;
this.MaxSize = w / h > 1 ? w / h : h / w;
g.data_mgr.MaxSize = this.MaxSize;
this.setUIMax(this.MaxSize);
this.settopUI(this.MaxSize);
var scene = cc.director.getScene();
var list = scene.getComponentsInChildren(cc.Widget)
for (var i in list) {
list[i].updateAlignment();
}
},
// //屏幕缩放事件 // g.event_mgr.reg("adjustUI", () => {
// scaleEventCallBack: function () { // this.init();
// //setTimeout(function () { // });
// g.log("屏幕缩放"); },
// g.event_mgr.send("adjustUI"); init: function () {
// //}, 500); //延迟0.5秒 var canvaSize = this.findCanvas();
// }, var diff = canvaSize.width / canvaSize.height;
var bili = 750 / 1334;
if (diff > bili) {
this.canvasView.fitWidth = false;
this.canvasView.fitHeight = true;
} else if (diff < bili) {
this.canvasView.fitWidth = true;
this.canvasView.fitHeight = false;
} else {
this.canvasView.fitWidth = true;
this.canvasView.fitHeight = true;
}
var w = (canvaSize.width) / 750;
var h = (canvaSize.height) / 1334;
this.MaxSize = w / h > 1 ? w / h : h / w;
onDestroy: function () { g.data_mgr.MaxSize = this.MaxSize;
this.setUIMax(this.MaxSize);
this.settopUI(this.MaxSize);
var scene = cc.director.getScene();
var list = scene.getComponentsInChildren(cc.Widget)
for (var i in list) {
list[i].updateAlignment();
}
},
},
settopUI: function (s) {
if (!g.data_mgr.phoneInfo) {
return;
}
var top = g.data_mgr.phoneInfo;
top = top * s;
for (var i in this.topUI) {
if (this.topUI[i].perTop == undefined) {
this.topUI[i].perTop = this.topUI[i].top;
} else { // //屏幕缩放事件
this.topUI[i].top = this.topUI[i].perTop; // scaleEventCallBack: function () {
} // //setTimeout(function () {
this.topUI[i].top += top; // g.log("屏幕缩放");
console.log(this.topUI[i].top); // g.event_mgr.send("adjustUI");
} // //}, 500); //延迟0.5秒
}, // },
setUIMax: function (size) {
for (var i in this.UIMax) {
if (this.UIMax[i].perScale == undefined) {
this.UIMax[i].perScale = this.UIMax[i].scaleX;
} else { onDestroy: function () {
this.UIMax[i].scaleX = this.UIMax[i].perScale;
this.UIMax[i].scaleY = this.UIMax[i].perScale; },
} settopUI: function (s) {
this.UIMax[i].scaleX *= size; if (!g.data_mgr.phoneInfo) {
this.UIMax[i].scaleY *= size; return;
} }
}, var top = g.data_mgr.phoneInfo;
findCanvas: function () { top = top * s;
if (cc.sys.isNative) { for (var i in this.topUI) {
return { if (this.topUI[i].perTop == undefined) {
width: cc.view.getFrameSize().width, this.topUI[i].perTop = this.topUI[i].top;
height: cc.view.getFrameSize().height
}; } else {
} else { this.topUI[i].top = this.topUI[i].perTop;
return { }
width: cc.game.canvas.clientWidth, this.topUI[i].top += top;
height: cc.game.canvas.clientHeight console.log(this.topUI[i].top);
}; }
} },
} setUIMax: function (size) {
for (var i in this.UIMax) {
if (this.UIMax[i].perScale == undefined) {
this.UIMax[i].perScale = this.UIMax[i].scaleX;
} else {
this.UIMax[i].scaleX = this.UIMax[i].perScale;
this.UIMax[i].scaleY = this.UIMax[i].perScale;
}
this.UIMax[i].scaleX *= size;
this.UIMax[i].scaleY *= size;
}
},
findCanvas: function () {
if (cc.sys.isNative) {
return {
width: cc.view.getFrameSize().width,
height: cc.view.getFrameSize().height
};
} else {
return {
width: cc.game.canvas.clientWidth,
height: cc.game.canvas.clientHeight
};
}
}
}); });
...@@ -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();
}, },
......
/** /**
* result * result
*/ */
const Color_texts = ['#BE1AC1', '#24C11A', '#1A1DC1', '#9F5307']; const Color_texts = ['#BE1AC1', '#2E6EEE', '#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);
......
{
"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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment