Commit ebca1c4b authored by Tt's avatar Tt

1

parent e4707ca5
...@@ -84,37 +84,37 @@ ...@@ -84,37 +84,37 @@
"__id__": 34 "__id__": 34
}, },
{ {
"__id__": 61 "__id__": 79
}, },
{ {
"__id__": 64 "__id__": 82
}, },
{ {
"__id__": 67 "__id__": 85
}, },
{ {
"__id__": 83 "__id__": 101
}, },
{ {
"__id__": 120 "__id__": 138
}, },
{ {
"__id__": 133 "__id__": 151
}, },
{ {
"__id__": 145 "__id__": 163
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 166 "__id__": 184
}, },
{ {
"__id__": 167 "__id__": 185
}, },
{ {
"__id__": 168 "__id__": 186
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1619,40 +1619,19 @@ ...@@ -1619,40 +1619,19 @@
"__id__": 35 "__id__": 35
}, },
{ {
"__id__": 37 "__id__": 53
},
{
"__id__": 39
},
{
"__id__": 41
},
{
"__id__": 43
},
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 49
},
{
"__id__": 51
}, },
{ {
"__id__": 53 "__id__": 71
}, },
{ {
"__id__": 58 "__id__": 76
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 60 "__id__": 78
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1705,16 +1684,41 @@ ...@@ -1705,16 +1684,41 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_grass", "_name": "build_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 34
}, },
"_children": [], "_children": [
{
"__id__": 36
},
{
"__id__": 38
},
{
"__id__": 40
},
{
"__id__": 42
},
{
"__id__": 44
},
{
"__id__": 46
},
{
"__id__": 48
},
{
"__id__": 50
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 36 "__id__": 52
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1765,50 +1769,18 @@ ...@@ -1765,50 +1769,18 @@
"groupIndex": 0, "groupIndex": 0,
"_id": "c6oRATCSJH/Ib7wM9tz23J" "_id": "c6oRATCSJH/Ib7wM9tz23J"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dd1f4e00-0c23-4234-a3aa-02b0c037220f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "15KHfHnVNDbITilk2XHw4m"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_build", "_name": "bg_build",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 38 "__id__": 37
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1835,7 +1807,7 @@ ...@@ -1835,7 +1807,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
407.949, 407.949,
20.109, 430.109,
0, 0,
0, 0,
0, 0,
...@@ -1864,7 +1836,7 @@ ...@@ -1864,7 +1836,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 37 "__id__": 36
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1896,13 +1868,13 @@ ...@@ -1896,13 +1868,13 @@
"_name": "bg_line", "_name": "bg_line",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 40 "__id__": 39
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1929,7 +1901,7 @@ ...@@ -1929,7 +1901,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-505.37, -95.37,
0, 0,
0, 0,
0, 0,
...@@ -1958,7 +1930,7 @@ ...@@ -1958,7 +1930,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 39 "__id__": 38
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1990,13 +1962,13 @@ ...@@ -1990,13 +1962,13 @@
"_name": "fire_0", "_name": "fire_0",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 42 "__id__": 41
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2023,7 +1995,7 @@ ...@@ -2023,7 +1995,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
226.751, 226.751,
-272.809, 137.191,
0, 0,
0, 0,
0, 0,
...@@ -2052,7 +2024,7 @@ ...@@ -2052,7 +2024,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 41 "__id__": 40
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2061,7 +2033,7 @@ ...@@ -2061,7 +2033,7 @@
} }
], ],
"_armatureName": "armatureName", "_armatureName": "armatureName",
"_animationName": "", "_animationName": "燃烧",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": -1,
...@@ -2080,7 +2052,7 @@ ...@@ -2080,7 +2052,7 @@
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa" "__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
}, },
"_N$_defaultArmatureIndex": 0, "_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0, "_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0, "_N$_defaultCacheMode": 0,
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
...@@ -2092,13 +2064,13 @@ ...@@ -2092,13 +2064,13 @@
"_name": "fire_1", "_name": "fire_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 43
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2125,7 +2097,7 @@ ...@@ -2125,7 +2097,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
226.751, 226.751,
-85.031, 324.969,
0, 0,
0, 0,
0, 0,
...@@ -2154,7 +2126,7 @@ ...@@ -2154,7 +2126,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 43 "__id__": 42
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2163,7 +2135,7 @@ ...@@ -2163,7 +2135,7 @@
} }
], ],
"_armatureName": "armatureName", "_armatureName": "armatureName",
"_animationName": "", "_animationName": "燃烧",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": -1,
...@@ -2182,7 +2154,7 @@ ...@@ -2182,7 +2154,7 @@
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa" "__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
}, },
"_N$_defaultArmatureIndex": 0, "_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0, "_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0, "_N$_defaultCacheMode": 0,
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
...@@ -2194,13 +2166,13 @@ ...@@ -2194,13 +2166,13 @@
"_name": "fire_2", "_name": "fire_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 46 "__id__": 45
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2227,7 +2199,7 @@ ...@@ -2227,7 +2199,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
226.751, 226.751,
99.624, 509.624,
0, 0,
0, 0,
0, 0,
...@@ -2256,7 +2228,7 @@ ...@@ -2256,7 +2228,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 45 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2265,7 +2237,7 @@ ...@@ -2265,7 +2237,7 @@
} }
], ],
"_armatureName": "armatureName", "_armatureName": "armatureName",
"_animationName": "", "_animationName": "燃烧",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": -1,
...@@ -2284,7 +2256,7 @@ ...@@ -2284,7 +2256,7 @@
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa" "__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
}, },
"_N$_defaultArmatureIndex": 0, "_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0, "_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0, "_N$_defaultCacheMode": 0,
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
...@@ -2296,13 +2268,13 @@ ...@@ -2296,13 +2268,13 @@
"_name": "fire_3", "_name": "fire_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 48 "__id__": 47
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2329,7 +2301,7 @@ ...@@ -2329,7 +2301,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
441.094, 441.094,
-272.086, 137.914,
0, 0,
0, 0,
0, 0,
...@@ -2358,7 +2330,7 @@ ...@@ -2358,7 +2330,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 47 "__id__": 46
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2367,7 +2339,7 @@ ...@@ -2367,7 +2339,7 @@
} }
], ],
"_armatureName": "armatureName", "_armatureName": "armatureName",
"_animationName": "", "_animationName": "燃烧",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": -1,
...@@ -2386,7 +2358,7 @@ ...@@ -2386,7 +2358,7 @@
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa" "__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
}, },
"_N$_defaultArmatureIndex": 0, "_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0, "_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0, "_N$_defaultCacheMode": 0,
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
...@@ -2398,13 +2370,13 @@ ...@@ -2398,13 +2370,13 @@
"_name": "fire_4", "_name": "fire_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 50 "__id__": 49
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2431,7 +2403,7 @@ ...@@ -2431,7 +2403,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
441.094, 441.094,
-85.19, 324.81,
0, 0,
0, 0,
0, 0,
...@@ -2460,7 +2432,7 @@ ...@@ -2460,7 +2432,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 49 "__id__": 48
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2469,7 +2441,7 @@ ...@@ -2469,7 +2441,7 @@
} }
], ],
"_armatureName": "armatureName", "_armatureName": "armatureName",
"_animationName": "", "_animationName": "燃烧",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": -1,
...@@ -2488,7 +2460,7 @@ ...@@ -2488,7 +2460,7 @@
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa" "__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
}, },
"_N$_defaultArmatureIndex": 0, "_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0, "_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0, "_N$_defaultCacheMode": 0,
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
...@@ -2500,13 +2472,13 @@ ...@@ -2500,13 +2472,13 @@
"_name": "fire_5", "_name": "fire_5",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 35
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 52 "__id__": 51
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2533,7 +2505,7 @@ ...@@ -2533,7 +2505,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
441.094, 441.094,
101.81, 511.81,
0, 0,
0, 0,
0, 0,
...@@ -2562,7 +2534,7 @@ ...@@ -2562,7 +2534,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 51 "__id__": 50
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2571,7 +2543,7 @@ ...@@ -2571,7 +2543,7 @@
} }
], ],
"_armatureName": "armatureName", "_armatureName": "armatureName",
"_animationName": "", "_animationName": "燃烧",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": -1, "playTimes": -1,
...@@ -2590,16 +2562,48 @@ ...@@ -2590,16 +2562,48 @@
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa" "__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
}, },
"_N$_defaultArmatureIndex": 0, "_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0, "_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0, "_N$_defaultCacheMode": 0,
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
"_N$enableBatch": false, "_N$enableBatch": false,
"_id": "9cLMJk6kVFVrz/3wy0yqLc" "_id": "9cLMJk6kVFVrz/3wy0yqLc"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dd1f4e00-0c23-4234-a3aa-02b0c037220f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "15KHfHnVNDbITilk2XHw4m"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "car", "_name": "build_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 34 "__id__": 34
...@@ -2610,10 +2614,32 @@ ...@@ -2610,10 +2614,32 @@
}, },
{ {
"__id__": 56 "__id__": 56
},
{
"__id__": 58
},
{
"__id__": 60
},
{
"__id__": 62
},
{
"__id__": 64
},
{
"__id__": 66
},
{
"__id__": 68
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [
{
"__id__": 70
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2625,8 +2651,8 @@ ...@@ -2625,8 +2651,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 640, "width": 1920,
"height": 419 "height": 136
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2637,8 +2663,8 @@ ...@@ -2637,8 +2663,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-427.052, 1920,
-527.638, -410,
0, 0,
0, 0,
0, 0,
...@@ -2660,11 +2686,11 @@ ...@@ -2660,11 +2686,11 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "8c+W0QjZNHK571Wzusnnwm" "_id": "0c19oqfzpAHqRhqOMlnevj"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "firewater", "_name": "bg_build",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 53 "__id__": 53
...@@ -2687,8 +2713,8 @@ ...@@ -2687,8 +2713,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 811.95, "width": 638,
"height": 419 "height": 872
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2699,8 +2725,8 @@ ...@@ -2699,8 +2725,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-62.842, 407.949,
367.075, 430.109,
0, 0,
0, 0,
0, 0,
...@@ -2722,10 +2748,10 @@ ...@@ -2722,10 +2748,10 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0f/IXgIqRKkLUpzNpN5YWy" "_id": "c2udCD6d1B0JnI5W761w6T"
}, },
{ {
"__type__": "dragonBones.ArmatureDisplay", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
...@@ -2737,19 +2763,916 @@ ...@@ -2737,19 +2763,916 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
} }
], ],
"_armatureName": "armatureName", "_srcBlendFactor": 770,
"_animationName": "", "_dstBlendFactor": 771,
"_preCacheMode": 0, "_spriteFrame": {
"_cacheMode": 0, "__uuid__": "64d8abe1-5325-4517-b84d-439b054b9a8c"
"playTimes": -1, },
"premultipliedAlpha": false, "_type": 0,
"_armatureKey": "30f5b598-636e-4f0c-9243-99634e1942f9#55266042-161e-4eb9-9407-810b499f0f05", "_sizeMode": 1,
"_accTime": 0, "_fillType": 0,
"_playCount": 0, "_fillCenter": {
"_frameCache": null, "__type__": "cc.Vec2",
"_curFrame": null, "x": 0,
"_playing": false, "y": 0
"_armatureCache": null, },
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b89+GlDKNLF5Xi1ZI5GCRT"
},
{
"__type__": "cc.Node",
"_name": "bg_line",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 69
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-95.37,
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": "7cfWxQKEFJdYYq/KPVA41H"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1444b8d8-f715-445d-b84d-1d97b7da8d62"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "193jvdMJRJKYQIu/U+qItk"
},
{
"__type__": "cc.Node",
"_name": "fire_0",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 59
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
226.751,
137.191,
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": "90QtBsv3hNM74eNk09qi3U"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "燃烧",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55#8357ac13-87df-4cc1-9564-c8037fb215aa",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55"
},
"_N$dragonAtlasAsset": {
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "24yyjsh69I1b8Qig/qBY4d"
},
{
"__type__": "cc.Node",
"_name": "fire_1",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 61
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
226.751,
324.969,
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": "36oVEjhKRIVJlpbTtvv27q"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "燃烧",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55#8357ac13-87df-4cc1-9564-c8037fb215aa",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55"
},
"_N$dragonAtlasAsset": {
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "8fV3b+eVBIXI1boq+wzt6F"
},
{
"__type__": "cc.Node",
"_name": "fire_2",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
226.751,
509.624,
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": "c8w0lm1c1CKryuCuGx0QCX"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "燃烧",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55#8357ac13-87df-4cc1-9564-c8037fb215aa",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55"
},
"_N$dragonAtlasAsset": {
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "ccup/2jAZHjJPfs3gU1WiC"
},
{
"__type__": "cc.Node",
"_name": "fire_3",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
441.094,
137.914,
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": "45hll/Q6VG0ob97KJ2ZvTP"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "燃烧",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55#8357ac13-87df-4cc1-9564-c8037fb215aa",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55"
},
"_N$dragonAtlasAsset": {
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "20YGyBXR1PJ52DDPTfWfGb"
},
{
"__type__": "cc.Node",
"_name": "fire_4",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
441.094,
324.81,
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": "fef18e9x9M+qcgcNEejqVk"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "燃烧",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55#8357ac13-87df-4cc1-9564-c8037fb215aa",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55"
},
"_N$dragonAtlasAsset": {
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "88kRuZeTZEvL97sOanxJJD"
},
{
"__type__": "cc.Node",
"_name": "fire_5",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
441.094,
511.81,
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": "471pyzjBRMZJ2ut+AWgnt6"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "燃烧",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55#8357ac13-87df-4cc1-9564-c8037fb215aa",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e226f3f0-4696-4c2b-9e33-a7764ed6fe55"
},
"_N$dragonAtlasAsset": {
"__uuid__": "8357ac13-87df-4cc1-9564-c8037fb215aa"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "8ao/w7AdBPDaxYyu5cNUHW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dd1f4e00-0c23-4234-a3aa-02b0c037220f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "345uqibDRH1o7/nxNdEppt"
},
{
"__type__": "cc.Node",
"_name": "car",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [
{
"__id__": 72
},
{
"__id__": 74
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-418.51,
-527.638,
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": "8c+W0QjZNHK571Wzusnnwm"
},
{
"__type__": "cc.Node",
"_name": "firewater",
"_objFlags": 0,
"_parent": {
"__id__": 71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 73
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 811.95,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-62.842,
367.075,
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": "0f/IXgIqRKkLUpzNpN5YWy"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "30f5b598-636e-4f0c-9243-99634e1942f9#55266042-161e-4eb9-9407-810b499f0f05",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": { "_N$dragonAsset": {
"__uuid__": "30f5b598-636e-4f0c-9243-99634e1942f9" "__uuid__": "30f5b598-636e-4f0c-9243-99634e1942f9"
}, },
...@@ -2769,13 +3692,13 @@ ...@@ -2769,13 +3692,13 @@
"_name": "car", "_name": "car",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 53 "__id__": 71
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 57 "__id__": 75
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2831,7 +3754,7 @@ ...@@ -2831,7 +3754,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 74
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2877,7 +3800,7 @@ ...@@ -2877,7 +3800,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 59 "__id__": 77
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2933,7 +3856,7 @@ ...@@ -2933,7 +3856,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 58 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2998,10 +3921,10 @@ ...@@ -2998,10 +3921,10 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 80
}, },
{ {
"__id__": 63 "__id__": 81
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3057,7 +3980,7 @@ ...@@ -3057,7 +3980,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3089,7 +4012,7 @@ ...@@ -3089,7 +4012,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -3122,10 +4045,10 @@ ...@@ -3122,10 +4045,10 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 65 "__id__": 83
}, },
{ {
"__id__": 66 "__id__": 84
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3181,7 +4104,7 @@ ...@@ -3181,7 +4104,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 64 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3213,7 +4136,7 @@ ...@@ -3213,7 +4136,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 64 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -3244,22 +4167,22 @@ ...@@ -3244,22 +4167,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 68 "__id__": 86
}, },
{ {
"__id__": 71 "__id__": 89
}, },
{ {
"__id__": 75 "__id__": 93
}, },
{ {
"__id__": 79 "__id__": 97
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 82 "__id__": 100
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3315,16 +4238,16 @@ ...@@ -3315,16 +4238,16 @@
"_name": "New Node", "_name": "New Node",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 67 "__id__": 85
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 69 "__id__": 87
}, },
{ {
"__id__": 70 "__id__": 88
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3380,7 +4303,7 @@ ...@@ -3380,7 +4303,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -3407,7 +4330,7 @@ ...@@ -3407,7 +4330,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3475,17 +4398,17 @@ ...@@ -3475,17 +4398,17 @@
"_name": "layout_img", "_name": "layout_img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 67 "__id__": 85
}, },
"_children": [ "_children": [
{ {
"__id__": 72 "__id__": 90
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 92
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3541,13 +4464,13 @@ ...@@ -3541,13 +4464,13 @@
"_name": "pic", "_name": "pic",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 71 "__id__": 89
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 91
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3603,7 +4526,7 @@ ...@@ -3603,7 +4526,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 72 "__id__": 90
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3635,7 +4558,7 @@ ...@@ -3635,7 +4558,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 71 "__id__": 89
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3667,17 +4590,17 @@ ...@@ -3667,17 +4590,17 @@
"_name": "layout_txt", "_name": "layout_txt",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 67 "__id__": 85
}, },
"_children": [ "_children": [
{ {
"__id__": 76 "__id__": 94
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 78 "__id__": 96
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3733,13 +4656,13 @@ ...@@ -3733,13 +4656,13 @@
"_name": "word", "_name": "word",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 75 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 77 "__id__": 95
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3795,7 +4718,7 @@ ...@@ -3795,7 +4718,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 76 "__id__": 94
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3830,7 +4753,7 @@ ...@@ -3830,7 +4753,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 75 "__id__": 93
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3862,16 +4785,16 @@ ...@@ -3862,16 +4785,16 @@
"_name": "touch", "_name": "touch",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 67 "__id__": 85
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 80 "__id__": 98
}, },
{ {
"__id__": 81 "__id__": 99
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3927,7 +4850,7 @@ ...@@ -3927,7 +4850,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 79 "__id__": 97
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -3954,7 +4877,7 @@ ...@@ -3954,7 +4877,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 79 "__id__": 97
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4022,7 +4945,7 @@ ...@@ -4022,7 +4945,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 67 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4053,46 +4976,46 @@ ...@@ -4053,46 +4976,46 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 84 "__id__": 102
}, },
{ {
"__id__": 87 "__id__": 105
}, },
{ {
"__id__": 89 "__id__": 107
}, },
{ {
"__id__": 99 "__id__": 117
}, },
{ {
"__id__": 102 "__id__": 120
}, },
{ {
"__id__": 105 "__id__": 123
}, },
{ {
"__id__": 107 "__id__": 125
}, },
{ {
"__id__": 109 "__id__": 127
}, },
{ {
"__id__": 111 "__id__": 129
}, },
{ {
"__id__": 113 "__id__": 131
}, },
{ {
"__id__": 115 "__id__": 133
}, },
{ {
"__id__": 117 "__id__": 135
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 119 "__id__": 137
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4148,16 +5071,16 @@ ...@@ -4148,16 +5071,16 @@
"_name": "gray", "_name": "gray",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 85 "__id__": 103
}, },
{ {
"__id__": 86 "__id__": 104
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4213,7 +5136,7 @@ ...@@ -4213,7 +5136,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 102
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4245,7 +5168,7 @@ ...@@ -4245,7 +5168,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 102
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -4272,13 +5195,13 @@ ...@@ -4272,13 +5195,13 @@
"_name": "btn_close", "_name": "btn_close",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 106
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4334,7 +5257,7 @@ ...@@ -4334,7 +5257,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 87 "__id__": 105
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4366,26 +5289,26 @@ ...@@ -4366,26 +5289,26 @@
"_name": "bg_card", "_name": "bg_card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [ "_children": [
{ {
"__id__": 90 "__id__": 108
}, },
{ {
"__id__": 92 "__id__": 110
}, },
{ {
"__id__": 94 "__id__": 112
}, },
{ {
"__id__": 96 "__id__": 114
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 98 "__id__": 116
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4441,13 +5364,13 @@ ...@@ -4441,13 +5364,13 @@
"_name": "bg_title", "_name": "bg_title",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 107
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 91 "__id__": 109
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4503,7 +5426,7 @@ ...@@ -4503,7 +5426,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 108
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4535,13 +5458,13 @@ ...@@ -4535,13 +5458,13 @@
"_name": "btn_voice", "_name": "btn_voice",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 107
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 93 "__id__": 111
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4597,7 +5520,7 @@ ...@@ -4597,7 +5520,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 92 "__id__": 110
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4629,13 +5552,13 @@ ...@@ -4629,13 +5552,13 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 107
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 95 "__id__": 113
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4691,7 +5614,7 @@ ...@@ -4691,7 +5614,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 94 "__id__": 112
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4723,13 +5646,13 @@ ...@@ -4723,13 +5646,13 @@
"_name": "word", "_name": "word",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 107
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 97 "__id__": 115
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4785,7 +5708,7 @@ ...@@ -4785,7 +5708,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 96 "__id__": 114
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4818,7 +5741,7 @@ ...@@ -4818,7 +5741,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 89 "__id__": 107
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4850,16 +5773,16 @@ ...@@ -4850,16 +5773,16 @@
"_name": "btn_start", "_name": "btn_start",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 100 "__id__": 118
}, },
{ {
"__id__": 101 "__id__": 119
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4915,7 +5838,7 @@ ...@@ -4915,7 +5838,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 99 "__id__": 117
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4947,7 +5870,7 @@ ...@@ -4947,7 +5870,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 99 "__id__": 117
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -5015,16 +5938,16 @@ ...@@ -5015,16 +5938,16 @@
"_name": "btn_stop", "_name": "btn_stop",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 103 "__id__": 121
}, },
{ {
"__id__": 104 "__id__": 122
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5080,7 +6003,7 @@ ...@@ -5080,7 +6003,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 102 "__id__": 120
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5112,7 +6035,7 @@ ...@@ -5112,7 +6035,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 102 "__id__": 120
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -5180,13 +6103,13 @@ ...@@ -5180,13 +6103,13 @@
"_name": "btn_record", "_name": "btn_record",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 124
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5242,7 +6165,7 @@ ...@@ -5242,7 +6165,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 105 "__id__": 123
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5274,13 +6197,13 @@ ...@@ -5274,13 +6197,13 @@
"_name": "btn_record_reset", "_name": "btn_record_reset",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 108 "__id__": 126
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5336,7 +6259,7 @@ ...@@ -5336,7 +6259,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 125
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5368,13 +6291,13 @@ ...@@ -5368,13 +6291,13 @@
"_name": "btn_stop", "_name": "btn_stop",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 110 "__id__": 128
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5430,7 +6353,7 @@ ...@@ -5430,7 +6353,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 109 "__id__": 127
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5462,13 +6385,13 @@ ...@@ -5462,13 +6385,13 @@
"_name": "btn_record_replay", "_name": "btn_record_replay",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 112 "__id__": 130
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5524,7 +6447,7 @@ ...@@ -5524,7 +6447,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 111 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5556,13 +6479,13 @@ ...@@ -5556,13 +6479,13 @@
"_name": "btn_record_0", "_name": "btn_record_0",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 114 "__id__": 132
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5618,7 +6541,7 @@ ...@@ -5618,7 +6541,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 113 "__id__": 131
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5650,13 +6573,13 @@ ...@@ -5650,13 +6573,13 @@
"_name": "btn_record_1", "_name": "btn_record_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 116 "__id__": 134
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5712,7 +6635,7 @@ ...@@ -5712,7 +6635,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 133
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5744,13 +6667,13 @@ ...@@ -5744,13 +6667,13 @@
"_name": "btn_record_2", "_name": "btn_record_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 101
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 118 "__id__": 136
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5806,7 +6729,7 @@ ...@@ -5806,7 +6729,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 117 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5838,7 +6761,7 @@ ...@@ -5838,7 +6761,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 101
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5869,25 +6792,25 @@ ...@@ -5869,25 +6792,25 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 121 "__id__": 139
}, },
{ {
"__id__": 124 "__id__": 142
}, },
{ {
"__id__": 126 "__id__": 144
}, },
{ {
"__id__": 128 "__id__": 146
}, },
{ {
"__id__": 130 "__id__": 148
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 132 "__id__": 150
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5943,16 +6866,16 @@ ...@@ -5943,16 +6866,16 @@
"_name": "gray", "_name": "gray",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 122 "__id__": 140
}, },
{ {
"__id__": 123 "__id__": 141
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6008,7 +6931,7 @@ ...@@ -6008,7 +6931,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 121 "__id__": 139
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6040,7 +6963,7 @@ ...@@ -6040,7 +6963,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 121 "__id__": 139
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -6067,13 +6990,13 @@ ...@@ -6067,13 +6990,13 @@
"_name": "Comeon", "_name": "Comeon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 125 "__id__": 143
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6129,7 +7052,7 @@ ...@@ -6129,7 +7052,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 124 "__id__": 142
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6169,13 +7092,13 @@ ...@@ -6169,13 +7092,13 @@
"_name": "Excellent", "_name": "Excellent",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 127 "__id__": 145
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6231,7 +7154,7 @@ ...@@ -6231,7 +7154,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 126 "__id__": 144
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6271,13 +7194,13 @@ ...@@ -6271,13 +7194,13 @@
"_name": "Nice", "_name": "Nice",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 129 "__id__": 147
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6333,7 +7256,7 @@ ...@@ -6333,7 +7256,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 128 "__id__": 146
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6373,13 +7296,13 @@ ...@@ -6373,13 +7296,13 @@
"_name": "Tryagain", "_name": "Tryagain",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 131 "__id__": 149
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6435,7 +7358,7 @@ ...@@ -6435,7 +7358,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 130 "__id__": 148
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6475,7 +7398,7 @@ ...@@ -6475,7 +7398,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 120 "__id__": 138
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -6506,19 +7429,19 @@ ...@@ -6506,19 +7429,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 134 "__id__": 152
}, },
{ {
"__id__": 136 "__id__": 154
}, },
{ {
"__id__": 138 "__id__": 156
}, },
{ {
"__id__": 140 "__id__": 158
}, },
{ {
"__id__": 143 "__id__": 161
} }
], ],
"_active": false, "_active": false,
...@@ -6576,13 +7499,13 @@ ...@@ -6576,13 +7499,13 @@
"_name": "New Sprite(Splash)", "_name": "New Sprite(Splash)",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 133 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 135 "__id__": 153
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6638,7 +7561,7 @@ ...@@ -6638,7 +7561,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 134 "__id__": 152
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6670,13 +7593,13 @@ ...@@ -6670,13 +7593,13 @@
"_name": "bg_instructions", "_name": "bg_instructions",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 133 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 137 "__id__": 155
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6732,7 +7655,7 @@ ...@@ -6732,7 +7655,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 136 "__id__": 154
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6764,13 +7687,13 @@ ...@@ -6764,13 +7687,13 @@
"_name": "desc", "_name": "desc",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 133 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 139 "__id__": 157
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6826,7 +7749,7 @@ ...@@ -6826,7 +7749,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 138 "__id__": 156
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6861,16 +7784,16 @@ ...@@ -6861,16 +7784,16 @@
"_name": "btn_start", "_name": "btn_start",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 133 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 141 "__id__": 159
}, },
{ {
"__id__": 142 "__id__": 160
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6926,7 +7849,7 @@ ...@@ -6926,7 +7849,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 140 "__id__": 158
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6958,7 +7881,7 @@ ...@@ -6958,7 +7881,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 140 "__id__": 158
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -7019,7 +7942,7 @@ ...@@ -7019,7 +7942,7 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": { "_N$target": {
"__id__": 140 "__id__": 158
}, },
"_id": "7095HuemhJQ40wHbz5jlAy" "_id": "7095HuemhJQ40wHbz5jlAy"
}, },
...@@ -7028,13 +7951,13 @@ ...@@ -7028,13 +7951,13 @@
"_name": "touch", "_name": "touch",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 133 "__id__": 151
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 144 "__id__": 162
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7090,7 +8013,7 @@ ...@@ -7090,7 +8013,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 143 "__id__": 161
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -7162,19 +8085,19 @@ ...@@ -7162,19 +8085,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 146 "__id__": 164
}, },
{ {
"__id__": 150 "__id__": 168
}, },
{ {
"__id__": 154 "__id__": 172
}, },
{ {
"__id__": 158 "__id__": 176
}, },
{ {
"__id__": 162 "__id__": 180
} }
], ],
"_active": false, "_active": false,
...@@ -7232,11 +8155,11 @@ ...@@ -7232,11 +8155,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 145 "__id__": 163
}, },
"_children": [ "_children": [
{ {
"__id__": 147 "__id__": 165
} }
], ],
"_active": true, "_active": true,
...@@ -7294,11 +8217,11 @@ ...@@ -7294,11 +8217,11 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 146 "__id__": 164
}, },
"_children": [ "_children": [
{ {
"__id__": 148 "__id__": 166
} }
], ],
"_active": true, "_active": true,
...@@ -7356,13 +8279,13 @@ ...@@ -7356,13 +8279,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 147 "__id__": 165
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 149 "__id__": 167
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7418,7 +8341,7 @@ ...@@ -7418,7 +8341,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 148 "__id__": 166
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7448,11 +8371,11 @@ ...@@ -7448,11 +8371,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 145 "__id__": 163
}, },
"_children": [ "_children": [
{ {
"__id__": 151 "__id__": 169
} }
], ],
"_active": true, "_active": true,
...@@ -7510,11 +8433,11 @@ ...@@ -7510,11 +8433,11 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 150 "__id__": 168
}, },
"_children": [ "_children": [
{ {
"__id__": 152 "__id__": 170
} }
], ],
"_active": true, "_active": true,
...@@ -7572,13 +8495,13 @@ ...@@ -7572,13 +8495,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 151 "__id__": 169
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 153 "__id__": 171
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7634,7 +8557,7 @@ ...@@ -7634,7 +8557,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 152 "__id__": 170
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7664,11 +8587,11 @@ ...@@ -7664,11 +8587,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 145 "__id__": 163
}, },
"_children": [ "_children": [
{ {
"__id__": 155 "__id__": 173
} }
], ],
"_active": true, "_active": true,
...@@ -7726,11 +8649,11 @@ ...@@ -7726,11 +8649,11 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 154 "__id__": 172
}, },
"_children": [ "_children": [
{ {
"__id__": 156 "__id__": 174
} }
], ],
"_active": true, "_active": true,
...@@ -7788,13 +8711,13 @@ ...@@ -7788,13 +8711,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 155 "__id__": 173
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 157 "__id__": 175
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7850,7 +8773,7 @@ ...@@ -7850,7 +8773,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 156 "__id__": 174
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7880,11 +8803,11 @@ ...@@ -7880,11 +8803,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 145 "__id__": 163
}, },
"_children": [ "_children": [
{ {
"__id__": 159 "__id__": 177
} }
], ],
"_active": true, "_active": true,
...@@ -7942,11 +8865,11 @@ ...@@ -7942,11 +8865,11 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 158 "__id__": 176
}, },
"_children": [ "_children": [
{ {
"__id__": 160 "__id__": 178
} }
], ],
"_active": true, "_active": true,
...@@ -8004,13 +8927,13 @@ ...@@ -8004,13 +8927,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 159 "__id__": 177
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 161 "__id__": 179
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8066,7 +8989,7 @@ ...@@ -8066,7 +8989,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 160 "__id__": 178
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8096,11 +9019,11 @@ ...@@ -8096,11 +9019,11 @@
"_name": "quadBase", "_name": "quadBase",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 145 "__id__": 163
}, },
"_children": [ "_children": [
{ {
"__id__": 163 "__id__": 181
} }
], ],
"_active": true, "_active": true,
...@@ -8158,11 +9081,11 @@ ...@@ -8158,11 +9081,11 @@
"_name": "quad", "_name": "quad",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 162 "__id__": 180
}, },
"_children": [ "_children": [
{ {
"__id__": 164 "__id__": 182
} }
], ],
"_active": true, "_active": true,
...@@ -8220,13 +9143,13 @@ ...@@ -8220,13 +9143,13 @@
"_name": "paper", "_name": "paper",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 163 "__id__": 181
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 165 "__id__": 183
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8282,7 +9205,7 @@ ...@@ -8282,7 +9205,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 164 "__id__": 182
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8363,20 +9286,32 @@ ...@@ -8363,20 +9286,32 @@
"__id__": 34 "__id__": 34
}, },
"layout_tip": { "layout_tip": {
"__id__": 120 "__id__": 138
}, },
"layout_speak": { "layout_speak": {
"__id__": 83 "__id__": 101
}, },
"btn_audio_off": { "btn_audio_off": {
"__id__": 61 "__id__": 79
}, },
"btn_audio_on": { "btn_audio_on": {
"__id__": 64 "__id__": 82
}, },
"bg_countdown": null, "bg_countdown": null,
"layout_card": { "layout_card": {
"__id__": 67 "__id__": 85
},
"node_firetruck": {
"__id__": 71
},
"node_firetruck_anim": {
"__id__": 74
},
"node_firetruck_flush": {
"__id__": 72
},
"btn_finger": {
"__id__": 76
}, },
"_id": "db3L+4L+FH/5MIRcKcfiq+" "_id": "db3L+4L+FH/5MIRcKcfiq+"
} }
......
...@@ -42,24 +42,6 @@ let win: any = window; ...@@ -42,24 +42,6 @@ let win: any = window;
// 获取课件对象 // 获取课件对象
let courseware = win.courseware; let courseware = win.courseware;
/**
* 枪的状态枚举
*/
enum GUN_STATE {
WAIT = 1, // 等待状态
SHUT_MIDDLE, // 中间射击
SHUT_LEFT, // 左侧射击
SHUT_RIGHT // 右侧射击
}
/**
* 鱼的状态枚举
*/
enum FISH_STATE {
NORMAL = 1, // 正常状态
BREAK, // 破碎状态
FALL, // 掉落状态
}
/** /**
* 提示状态枚举 * 提示状态枚举
...@@ -119,6 +101,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -119,6 +101,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initData(); // 初始化数据 this.initData(); // 初始化数据
this.initView(); // 初始化视图 this.initView(); // 初始化视图
this.initEvent(); // 初始化事件 this.initEvent(); // 初始化事件
this.initGame();
} }
/** /**
* 组件销毁时的回调 * 组件销毁时的回调
...@@ -151,6 +134,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -151,6 +134,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
@property(cc.Node) @property(cc.Node)
layout_card: cc.Node = null; layout_card: cc.Node = null;
@property({ displayName: "消防车", type: cc.Node }) node_firetruck: cc.Node = null;
@property({ displayName: "消防车动画节点", type: cc.Node }) node_firetruck_anim: cc.Node = null;
@property({ displayName: "消防车冲水动画节点", type: cc.Node }) node_firetruck_flush: cc.Node = null;
@property({ displayName: "提示手指节点", type: cc.Node }) btn_finger: cc.Node = null;
// 游戏数据相关变量 // 游戏数据相关变量
/** 当前触摸的选项数据 */ /** 当前触摸的选项数据 */
private touchData: Option; private touchData: Option;
...@@ -178,8 +167,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -178,8 +167,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.touchData = null; this.touchData = null;
this.isPlayBgAudio = true; this.isPlayBgAudio = true;
} }
/** 开始界面布局节点 */
private layout_start: cc.Node;
/** 音频播放ID */ /** 音频播放ID */
private audioId: any; private audioId: any;
...@@ -190,163 +177,96 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -190,163 +177,96 @@ export default class SceneComponent extends MyCocosSceneComponent {
async initView() { async initView() {
// 停止所有音效 // 停止所有音效
cc.audioEngine.stopAllEffects(); cc.audioEngine.stopAllEffects();
// 获取开始界面节点
this.layout_start = pg.view.find(this, "layout_start");
let touch = pg.view.find(this, "layout_start/touch");
// 显示开始界面
this.layout_start.active = true;
// 设置问题描述文本
let desc = this.layout_start.getChildByName("desc");
desc.getComponent(cc.Label).string = Game.getIns().questionText;
// 播放问题音频
this.audioId = await pg.audio.playAudioByUrl(Game.getIns().question.audio, () => { }, (audioId) => {
if (audioId > -1 && Game.getIns().state == GAME_STATE.RUNNING) pg.audio.stopAudio(audioId);
});
// 如果游戏已经开始,停止音频播放 // 如果游戏已经开始,停止音频播放
if (this.audioId > -1 && Game.getIns().state == GAME_STATE.RUNNING) { if (this.audioId > -1 && Game.getIns().state == GAME_STATE.RUNNING) {
cc.audioEngine.stopAllEffects(); cc.audioEngine.stopAllEffects();
pg.audio.stopAudio(this.audioId); pg.audio.stopAudio(this.audioId);
} }
// 添加触摸事件,点击重新播放问题音频
touch.on(cc.Node.EventType.TOUCH_END, () => {
cc.audioEngine.stopAllEffects();
pg.audio.stopAudio(this.audioId);
pg.audio.playAudioByUrl(Game.getIns().question.audio);
})
// 设置标题文本
if (Game.getIns().title) {
cc.find("layout_info/bg_title/title", this.node).getComponent(cc.Label).string = Game.getIns().title;
}
// 如果有背景音乐,显示音乐开启按钮
if (Game.getIns().bgAudio || Game.getIns().bgAudio != "") {
this.btn_audio_on.active = true;
}
} }
/** /**
* 初始化事件监听 * 初始化事件监听
* 为UI元素添加事件处理函数 * 为UI元素添加事件处理函数
*/ */
initEvent() { initEvent() {
// 开始按钮点击事件
pg.view.touchOn(pg.view.find(this.layout_start, 'btn_start'), this.onTouchStart, this);
// 音频控制按钮事件 // 音频控制按钮事件
this.btn_audio_off.on(cc.Node.EventType.TOUCH_END, this.onAudioOff, this); this.btn_audio_off.on(cc.Node.EventType.TOUCH_END, this.onAudioOff, this);
this.btn_audio_on.on(cc.Node.EventType.TOUCH_END, this.onAudioOn, this); this.btn_audio_on.on(cc.Node.EventType.TOUCH_END, this.onAudioOn, this);
// 监听游戏开始事件
pg.event.on("game_start", () => {
this.gameStart();
});
}
/**
* 音频开启按钮点击处理
* 关闭背景音乐
*/
private onAudioOn() {
this.btn_audio_off.active = true;
this.btn_audio_on.active = false;
this.isPlayBgAudio = false;
this.stopBgAudio();
} }
/** initGame() {
* 音频关闭按钮点击处理 // 设置游戏状态为运行中
* 开启背景音乐 Game.getIns().state = GAME_STATE.RUNNING;
*/
private onAudioOff() {
this.btn_audio_on.active = true;
this.btn_audio_off.active = false;
this.isPlayBgAudio = true;
this.playBgAudio();
}
/** // 停止问题音频
* 播放背景音乐 if (this.audioId > -1 && Game.getIns().state != GAME_STATE.WAIT) {
*/ cc.audioEngine.stopAllEffects();
private playBgAudio() { pg.audio.stopAudio(this.audioId);
if (!this.isPlayBgAudio) return;
cc.audioEngine.resumeMusic();
} }
/** // 播放背景音乐
* 停止背景音乐 pg.audio.playBgAudioByUrl(Game.getIns().bgAudio);
*/
private stopBgAudio() { // 显示问题
cc.audioEngine.pauseMusic(); this.showQuestions();
this.aniCarEnter();
} }
/** /**
* 开始按钮点击处理 * 消防车入场动画
* 播放按钮音效并触发游戏开始事件 * 从左侧(-1500,-527)移动到右侧(-400,-527)并播放龙骨动画
*/ */
onTouchStart() { aniCarEnter() {
pg.audio.playLocalAudio(cc.find(`Canvas/res/audio/btn`)); // 确保消防车节点存在
pg.event.emit("game_start"); if (!this.node_firetruck || !this.node_firetruck_anim || !this.node_firetruck_flush) {
return pg.logger.w("消防车节点不存在");
} }
/**
* 游戏结束处理
* 计算得分并提交结果
*/
private gameOver() {
// 设置游戏状态为结束
Game.getIns().state = GAME_STATE.OVER;
// 准备提交的数据 // 设置初始位置
let data: any = {}; this.node_firetruck.setPosition(cc.v2(-1500, -527));
data.total = Game.getIns().total; // 总题目数
data.right = Game.getIns().player.right; // 正确题目数
data.scores = Game.getIns().player.voices; // 语音记录
data.stone = Math.floor(10 * data.right / data.total); // 计算得分
// 记录日志 // 隐藏冲水动画节点
this.log("total: " + data.total + " right: " + data.right + " stone: " + data.stone); this.node_firetruck_flush.active = false;
this.btn_finger.active = false;
// 提交作业完成数据 // 播放龙骨动画
onHomeworkFinish(data) pg.view.playDBAnimation(this.node_firetruck_anim, '移动', -1);
let dragonDisplay = this.node_firetruck_anim.getComponent(dragonBones.ArmatureDisplay);
if (dragonDisplay) {
dragonDisplay.timeScale = 1.2; // 将动画速度设为0,相当于暂停
} }
/** // 使用cc.tween实现移动效果
* 游戏开始处理 cc.tween(this.node_firetruck)
* 隐藏开始界面,显示问题,播放背景音乐 .to(2.0, { x: -400 })
*/ .call(() => {
gameStart() { // 播放龙骨动画
// 设置游戏状态为运行中 pg.view.playDBAnimation(this.node_firetruck_anim, '待机', -1);
Game.getIns().state = GAME_STATE.RUNNING;
// 隐藏开始界面
this.layout_start.active = false;
// 停止问题音频 // // 移动完成后停止动画
if (this.audioId > -1 && Game.getIns().state != GAME_STATE.WAIT) { })
cc.audioEngine.stopAllEffects(); .start();
pg.audio.stopAudio(this.audioId);
} }
// 播放背景音乐
pg.audio.playBgAudioByUrl(Game.getIns().bgAudio);
// 显示问题
this.showQuestions();
}
/** /**
* 显示问题选项 * 显示问题选项
* 创建并显示蛋壳,添加点击事件 * 创建并显示蛋壳,添加点击事件
*/ */
private showQuestions() { private showQuestions() {
return;
// 获取当前页的数据
const pageData = Game.getIns().getPageData();
// 获取问题数量 // 获取问题数量
let len = Game.getIns().len; let len = pageData.length;
// 最多显示4个选项 // 最多显示4个选项
let count = len >= 4 ? 4 : len; let count = len >= 4 ? 4 : len;
// 创建每个蛋壳 // 创建每个蛋壳
for (let i = 0; i < count; i++) { for (let i = 0; i < count; i++) {
// 获取问题数据 // 获取问题数据
let eggData = Game.getIns().getCardInfo(); let eggData = pageData[i];
// 获取蛋壳节点 // 获取蛋壳节点
let egg = cc.find("layout_egg/egg" + i, this.layout_game); let egg = cc.find("layout_egg/egg" + i, this.layout_game);
// 设置数据和显示状态 // 设置数据和显示状态
...@@ -934,6 +854,29 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -934,6 +854,29 @@ export default class SceneComponent extends MyCocosSceneComponent {
return true; return true;
} }
/**
* 游戏结束处理
* 计算得分并提交结果
*/
private gameOver() {
// 设置游戏状态为结束
Game.getIns().state = GAME_STATE.OVER;
// 准备提交的数据
let data: any = {};
data.total = Game.getIns().getTotal; // 总题目数
data.right = Game.getIns().player.right; // 正确题目数
data.scores = Game.getIns().player.voices; // 语音记录
data.stone = Math.floor(10 * data.right / data.total); // 计算得分
// 记录日志
this.log("total: " + data.total + " right: " + data.right + " stone: " + data.stone);
// 提交作业完成数据
onHomeworkFinish(data)
}
/** 锤子可能的位置坐标 */ /** 锤子可能的位置坐标 */
private hammerPos = [{ x: -345, y: 30 }, { x: 24, y: 30 }, { x: 305, y: 30 }, { x: 545, y: 30 }] private hammerPos = [{ x: -345, y: 30 }, { x: 24, y: 30 }, { x: 305, y: 30 }, { x: 545, y: 30 }]
...@@ -965,6 +908,44 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -965,6 +908,44 @@ export default class SceneComponent extends MyCocosSceneComponent {
.start(); .start();
}) })
} }
/**
* 音频开启按钮点击处理
* 关闭背景音乐
*/
private onAudioOn() {
this.btn_audio_off.active = true;
this.btn_audio_on.active = false;
this.isPlayBgAudio = false;
this.stopBgAudio();
}
/**
* 音频关闭按钮点击处理
* 开启背景音乐
*/
private onAudioOff() {
this.btn_audio_on.active = true;
this.btn_audio_off.active = false;
this.isPlayBgAudio = true;
this.playBgAudio();
}
/**
* 播放背景音乐
*/
private playBgAudio() {
if (!this.isPlayBgAudio) return;
cc.audioEngine.resumeMusic();
}
/**
* 停止背景音乐
*/
private stopBgAudio() {
cc.audioEngine.pauseMusic();
}
/** /**
* 播放本地音频 * 播放本地音频
* @param audioName 音频资源名称 * @param audioName 音频资源名称
......
...@@ -135,35 +135,35 @@ export default class Game { ...@@ -135,35 +135,35 @@ export default class Game {
if (!Game.ins) Game.ins = new Game(); if (!Game.ins) Game.ins = new Game();
return Game.ins; return Game.ins;
} }
/** 游戏数据 */ /** 游戏数据源数组 */
private data: any; private data: Array<any>;
/** 选项列表 */
private lists: Array<Option>
/** 玩家实例 */ /** 玩家实例 */
public player: Player; public player: Player;
/** 游戏状态 */ /** 游戏状态 */
public state: GAME_STATE; public state: GAME_STATE;
/** 问题总数 */ /** 数据总数 */
public total: number; public total: number;
/** 每页数据数量 */
public pageSize: number;
/** /**
* 构造函数,初始化游戏基本属性 * 构造函数,初始化游戏基本属性
*/ */
constructor() { constructor() {
this.start = false; this.start = false;
this.lists = []; this.data = [];
this.page = 0;
this.pageSize = 6;
this.player = new Player(); this.player = new Player();
this.state = GAME_STATE.WAIT; this.state = GAME_STATE.WAIT;
} }
/** /**
* 获取当前选项列表长度 * 获取当前数据源长度
* @returns 选项列表长度 * @returns 数据源长度
*/ */
get len() { get len() {
return this.lists.length; return this.data ? this.data.length : 0;
} }
/** 是否为单人游戏模式 */
public singleGame: boolean;
/** 问题信息,包含文本和音频 */ /** 问题信息,包含文本和音频 */
public question: { text, audio }; public question: { text, audio };
/** 游戏标题 */ /** 游戏标题 */
...@@ -177,14 +177,15 @@ export default class Game { ...@@ -177,14 +177,15 @@ export default class Game {
* @param data 游戏配置数据 * @param data 游戏配置数据
*/ */
public init(data) { public init(data) {
this.singleGame = !data.onlineFlg; this.pageSize = 6; // 每页最多6个数据
this.question = { text: data.questionText, audio: data.questionTextAudio }; this.question = { text: data.questionText, audio: data.questionTextAudio };
this.title = data.title; this.title = data.title;
this.bgAudio = data.bgAudio || ""; this.bgAudio = data.bgAudio || "";
this.questionText = data.questionText; this.questionText = data.questionText;
this.start = false; this.start = false;
this.lists = []; this.page = 0; // 页码从0开始
this.data = data.questions; this.data = data.questions;
this.total = this.data.length;
} }
/** 游戏是否已开始 */ /** 游戏是否已开始 */
public start: boolean; public start: boolean;
...@@ -192,68 +193,91 @@ export default class Game { ...@@ -192,68 +193,91 @@ export default class Game {
public page: number; public page: number;
/** /**
* 重置游戏状态 * 重置游戏状态
* 重置玩家数据,初始化问题列表,准备开始新游戏 * 重置玩家数据,初始化游戏状态,准备开始新游戏
*/ */
reset() { reset() {
this.player.reset(); this.player.reset();
this.page = 1; this.page = 0; // 页码从0开始
this.start = true; this.start = true;
this.lists = [];
for (let i = 0; i < this.data.length; i++) {
let data = this.data[i];
this.lists.push(new Option(data, i));
}
this.state = GAME_STATE.WAIT; this.state = GAME_STATE.WAIT;
this.total = this.lists.length; this.total = this.data.length;
} }
/** /**
* 获取随机卡片信息 * 获取当前页的数据
* 从列表中随机抽取一个选项并从列表中移除 * @param {number} pageIndex 页码索引,默认为当前页码(页码从0开始)
* @returns 随机选项,如果列表为空则返回null * @returns {Array<Option>} 当前页的选项数据数组
*/ */
public getCardInfo() { getPageData(pageIndex?: number) {
let option: Option; // 如果没有指定页码索引,则使用当前页码(页码从0开始)
if (this.lists.length > 0) { const index = pageIndex !== undefined ? pageIndex : this.page;
let random = Math.floor(Math.random() * this.lists.length);
option = this.lists.splice(random, 1)[0]; // 计算当前页的起始索引和结束索引
} else { const startIndex = index * this.pageSize;
option = null; const endIndex = Math.min(startIndex + this.pageSize, this.data.length);
// 如果起始索引超出数据范围,返回空数组
if (startIndex >= this.data.length) {
return [];
} }
console.log(" this.cardInfo=======", option)
return option; // 提取当前页的数据并转换为Option对象
const pageData: Array<Option> = [];
for (let i = startIndex; i < endIndex; i++) {
pageData.push(new Option(this.data[i], i));
} }
return pageData;
}
/** /**
* 获取总页数/剩余问题数 * 获取总页数
* @returns 剩余问题数量 * @returns 总页数(向上取整)
*/ */
getTotalPageNum() { getTotalPageNum() {
return this.lists.length; return Math.ceil(this.data.length / this.pageSize);
} }
/** /**
* 获取当前页码 * 获取当前页码
* @returns 当前页码 * @returns 当前页码(从0开始)
*/ */
getCurrentPageNum() { getCurrentPageNum() {
return this.page; return this.page;
} }
/** /**
* 页码加1,用于游戏进度更新 * 页码加1,用于游戏进度更新
*/ */
addPage() { addPage() {
this.page += 1; this.page += 1;
} }
/**
* 获取数据总数
* @returns 数据总数
*/
get getTotal() {
return this.data.length;
}
/** /**
* 获取剩余总数 * 获取当前页的卡片信息
* @returns 剩余问题数量 * @returns 当前页的选项数据数组
*/ */
get getTotla() { getCardInfo() {
return this.lists.length; const currentPageData = this.getPageData();
if (currentPageData.length === 0) {
return null;
} }
return currentPageData[0]; // 返回当前页的第一个选项
}
/** /**
* 判断游戏是否结束 * 判断游戏是否结束
* @returns 当前页码是否超过问题总 * @returns 当前页码是否超过或等于总页
*/ */
get isOver() { get isOver() {
return this.page > this.lists.length; return this.page >= this.getTotalPageNum();
} }
} }
\ No newline at end of file
...@@ -295,7 +295,6 @@ ...@@ -295,7 +295,6 @@
| `player` | `Player` | 玩家实例 | | `player` | `Player` | 玩家实例 |
| `state` | `GAME_STATE` | 游戏状态 | | `state` | `GAME_STATE` | 游戏状态 |
| `total` | `number` | 问题总数 | | `total` | `number` | 问题总数 |
| `singleGame` | `boolean` | 是否为单人游戏模式 |
| `question` | `{text, audio}` | 问题信息 | | `question` | `{text, audio}` | 问题信息 |
| `title` | `string` | 游戏标题 | | `title` | `string` | 游戏标题 |
| `bgAudio` | `string` | 背景音乐URL | | `bgAudio` | `string` | 背景音乐URL |
......
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