diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 1a220eb..ece4219 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -78,25 +78,25 @@ "__id__": 89 }, { - "__id__": 455 + "__id__": 476 }, { - "__id__": 547 + "__id__": 568 } ], "_active": true, "_components": [ { - "__id__": 553 + "__id__": 574 }, { - "__id__": 554 + "__id__": 575 }, { - "__id__": 555 + "__id__": 576 }, { - "__id__": 556 + "__id__": 577 } ], "_prefab": null, @@ -275,7 +275,7 @@ "_active": true, "_components": [ { - "__id__": 454 + "__id__": 475 } ], "_prefab": null, @@ -12449,16 +12449,16 @@ "__id__": 343 }, { - "__id__": 382 + "__id__": 403 }, { - "__id__": 426 + "__id__": 447 } ], "_active": false, "_components": [ { - "__id__": 453 + "__id__": 474 } ], "_prefab": null, @@ -14731,7 +14731,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 35, + "width": 37, "height": 40 }, "_anchorPoint": { @@ -16174,7 +16174,7 @@ "component": "", "_componentId": "2234assp7RIvpDgrnqljp2R", "handler": "reviewLevel", - "customEventData": "" + "customEventData": "time" }, { "__type__": "cc.Node", @@ -17248,7 +17248,7 @@ "ctor": "Float64Array", "array": [ 0, - -311.753, + -427.699, 0, 0, 0, @@ -17580,7 +17580,7 @@ }, { "__type__": "cc.Node", - "_name": "anniu", + "_name": "buyBtn", "_objFlags": 0, "_parent": { "__id__": 343 @@ -17594,12 +17594,24 @@ }, { "__id__": 373 + }, + { + "__id__": 375 + }, + { + "__id__": 382 + }, + { + "__id__": 391 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 381 + "__id__": 400 + }, + { + "__id__": 401 } ], "_prefab": null, @@ -17626,7 +17638,7 @@ "ctor": "Float64Array", "array": [ 0, - -293.333, + -231.66, 0, 0, 0, @@ -17634,7 +17646,7 @@ 1, 1, 1, - 1 + 0 ] }, "_eulerAngles": { @@ -17771,8 +17783,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 70, - "height": 71 + "width": 86, + "height": 98 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17849,21 +17861,11 @@ "_parent": { "__id__": 368 }, - "_children": [ - { - "__id__": 374 - }, - { - "__id__": 376 - }, - { - "__id__": 378 - } - ], + "_children": [], "_active": true, "_components": [ { - "__id__": 380 + "__id__": 374 } ], "_prefab": null, @@ -17915,19 +17917,57 @@ "_id": "05FE9c+yxC/aJ6FG5+fgI2" }, { - "__type__": "cc.Node", - "_name": "button_1", + "__type__": "cc.Layout", + "_name": "", "_objFlags": 0, - "_parent": { + "node": { "__id__": 373 }, - "_children": [], - "_active": true, - "_components": [ + "_enabled": true, + "_layoutSize": { + "__type__": "cc.Size", + "width": 300, + "height": 200 + }, + "_resize": 0, + "_N$layoutType": 1, + "_N$cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_N$startAxis": 0, + "_N$paddingLeft": 0, + "_N$paddingRight": 0, + "_N$paddingTop": 0, + "_N$paddingBottom": 0, + "_N$spacingX": 0, + "_N$spacingY": 0, + "_N$verticalDirection": 1, + "_N$horizontalDirection": 0, + "_N$affectedByScale": false, + "_id": "0abrl5DQdJNrZJ3B605jeR" + }, + { + "__type__": "cc.Node", + "_name": "coin1", + "_objFlags": 0, + "_parent": { + "__id__": 368 + }, + "_children": [ { - "__id__": 375 + "__id__": 376 + }, + { + "__id__": 378 + }, + { + "__id__": 380 } ], + "_active": false, + "_components": [], "_prefab": null, "_opacity": 255, "_color": { @@ -17939,8 +17979,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 23, - "height": 40 + "width": 300, + "height": 200 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17951,15 +17991,15 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -138.5, - 0, + 46.593, + -1.869, 0, 0, 0, 0, 1, - 1, - 1, + 1.2, + 1.2, 1 ] }, @@ -17974,48 +18014,14 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "aaPWYrB0pAhbH1Pe40TuPL" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 374 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "bd2ff085-dc9a-48e6-b246-3b75ea05d7cd" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "acy/KwsIdD1p8C/yHLs7Mt" + "_id": "1bJnjN8BNAc6m4PNydOhpD" }, { "__type__": "cc.Node", - "_name": "button_0", + "_name": "coins5", "_objFlags": 0, "_parent": { - "__id__": 373 + "__id__": 375 }, "_children": [], "_active": true, @@ -18047,15 +18053,15 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -108.5, - 0, + 86.821, + 7.332, 0, 0, 0, 0, 1, - 1, - 1, + 0.9, + 0.9, 1 ] }, @@ -18070,7 +18076,7 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "53qxeuCpdN3r5fvPUUCCbf" + "_id": "58txMWmzFHCpHdR0mkupNu" }, { "__type__": "cc.Sprite", @@ -18088,7 +18094,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf" + "__uuid__": "f1d1f16c-4ec6-499c-a1d9-04a51680f297" }, "_type": 0, "_sizeMode": 1, @@ -18104,14 +18110,14 @@ "_atlas": { "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" }, - "_id": "4eHonFDchHFYk6ZQ/6uWyv" + "_id": "2bNjmPLRRLnp0q/HmHzc+y" }, { "__type__": "cc.Node", - "_name": "button_0", + "_name": "coins0", "_objFlags": 0, "_parent": { - "__id__": 373 + "__id__": 375 }, "_children": [], "_active": true, @@ -18143,15 +18149,15 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -71.5, - 0, + 122.821, + 7.376, 0, 0, 0, 0, 1, - 1, - 1, + 0.9, + 0.9, 1 ] }, @@ -18166,7 +18172,7 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "8ctrRgcANGGaxyxnWy9E9/" + "_id": "75Ril2tX5BxpIqth929HuT" }, { "__type__": "cc.Sprite", @@ -18200,39 +18206,1013 @@ "_atlas": { "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" }, - "_id": "c8Ym9XIflN06lcOAAL/g8V" + "_id": "03hnH3nsZGhLRNjkT1pdl8" }, { - "__type__": "cc.Layout", + "__type__": "cc.Node", + "_name": "coins0", + "_objFlags": 0, + "_parent": { + "__id__": 375 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 381 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 159.821, + 6.726, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "a3I0Mf94tKy7LuA1gMnocL" + }, + { + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 373 + "__id__": 380 }, "_enabled": true, - "_layoutSize": { + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "98+h/veiFI1bc6rSxA38fY" + }, + { + "__type__": "cc.Node", + "_name": "coin2", + "_objFlags": 0, + "_parent": { + "__id__": 368 + }, + "_children": [ + { + "__id__": 383 + }, + { + "__id__": 385 + }, + { + "__id__": 387 + }, + { + "__id__": 389 + } + ], + "_active": false, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { "__type__": "cc.Size", "width": 300, "height": 200 }, - "_resize": 0, - "_N$layoutType": 1, - "_N$cellSize": { + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 60.411, + -1.869, + 0, + 0, + 0, + 0, + 1, + 1.2, + 1.2, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "2b8opZIvpDcKHhSRmcdPF2" + }, + { + "__type__": "cc.Node", + "_name": "coins1", + "_objFlags": 0, + "_parent": { + "__id__": 382 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 384 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { "__type__": "cc.Size", - "width": 40, + "width": 37, "height": 40 }, - "_N$startAxis": 0, - "_N$paddingLeft": 0, - "_N$paddingRight": 0, - "_N$paddingTop": 0, - "_N$paddingBottom": 0, - "_N$spacingX": 0, - "_N$spacingY": 0, - "_N$verticalDirection": 1, - "_N$horizontalDirection": 0, - "_N$affectedByScale": false, - "_id": "0abrl5DQdJNrZJ3B605jeR" + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 60.655, + 7.376, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "78xEH45dNOK50Y5/HxD2sj" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 383 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "bd2ff085-dc9a-48e6-b246-3b75ea05d7cd" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "a1xDad8pZOepc08excXahc" + }, + { + "__type__": "cc.Node", + "_name": "coins5", + "_objFlags": 0, + "_parent": { + "__id__": 382 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 386 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 89.655, + 7.332, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "401aStBQJBKZqHbzr4728N" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 385 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f1d1f16c-4ec6-499c-a1d9-04a51680f297" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "b9IrXapLBMQI2FmjFDjgDL" + }, + { + "__type__": "cc.Node", + "_name": "coins0", + "_objFlags": 0, + "_parent": { + "__id__": 382 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 388 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 125.655, + 7.376, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "7ds5MjV15HnICYD9p6SgAZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 387 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "920XsQ7o1PrZynf713Vt2N" + }, + { + "__type__": "cc.Node", + "_name": "coins0", + "_objFlags": 0, + "_parent": { + "__id__": 382 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 390 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 162.655, + 6.726, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "c581SafRZC2LE1SfUqAP7S" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 389 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "80NeNKLo9G5aqcGJfnA5QE" + }, + { + "__type__": "cc.Node", + "_name": "coin3", + "_objFlags": 0, + "_parent": { + "__id__": 368 + }, + "_children": [ + { + "__id__": 392 + }, + { + "__id__": 394 + }, + { + "__id__": 396 + }, + { + "__id__": 398 + } + ], + "_active": false, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 284.959, + -1.869, + 0, + 0, + 0, + 0, + 1, + 1.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": "58C5K7sJpNDqoOWxMXRDAo" + }, + { + "__type__": "cc.Node", + "_name": "coins1", + "_objFlags": 0, + "_parent": { + "__id__": 391 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 393 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -133.5, + 7.376, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "c32pW6KjJKoKRd/nt2+3t9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 392 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "9ee57ec6-6818-4c16-983b-0c2ce36dcdfd" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "9c47uUMf1DpLFNys7xMlfP" + }, + { + "__type__": "cc.Node", + "_name": "coins5", + "_objFlags": 0, + "_parent": { + "__id__": 391 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 395 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -100.5, + 7.332, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "01UTSe/X1Lsphj4+U2zpV4" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 394 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "02083668-1c42-4283-98ed-8b05cb28cf97" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "4dBMmCPV5H9IqR3/AEt99j" + }, + { + "__type__": "cc.Node", + "_name": "coins0", + "_objFlags": 0, + "_parent": { + "__id__": 391 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 397 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -65.5, + 7.376, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "daTjEKNFVAwasggHvQVYNZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 396 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "8eoXCZHnZMt5WPd5BGYW1n" + }, + { + "__type__": "cc.Node", + "_name": "coins0", + "_objFlags": 0, + "_parent": { + "__id__": 391 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 399 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -28.5, + 6.726, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "dcbv7SStBHI6gzeEJcAGwz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 398 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f07349a7-72bf-41dd-a345-4d4fd13878bf" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "54GZT6kAJM0Kn/fpeZBqI7" }, { "__type__": "cc.Sprite", @@ -18268,6 +19248,90 @@ }, "_id": "3bo3ZLVYlMU7g3AiRdYYXW" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 368 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 402 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 368 + }, + "_id": "1eGE6t0E9Dtp+xwO6Shc3T" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 13 + }, + "component": "", + "_componentId": "2234assp7RIvpDgrnqljp2R", + "handler": "reviewLevel", + "customEventData": "boom" + }, { "__type__": "cc.Node", "_name": "Lock", @@ -18277,28 +19341,28 @@ }, "_children": [ { - "__id__": 383 - }, - { - "__id__": 385 - }, - { - "__id__": 387 - }, - { - "__id__": 389 - }, - { - "__id__": 391 - }, - { - "__id__": 393 + "__id__": 404 }, { "__id__": 406 }, + { + "__id__": 408 + }, { "__id__": 410 + }, + { + "__id__": 412 + }, + { + "__id__": 414 + }, + { + "__id__": 427 + }, + { + "__id__": 431 } ], "_active": false, @@ -18356,13 +19420,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [], "_active": true, "_components": [ { - "__id__": 384 + "__id__": 405 } ], "_prefab": null, @@ -18418,7 +19482,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 383 + "__id__": 404 }, "_enabled": true, "_materials": [ @@ -18452,13 +19516,13 @@ "_name": "chubuqule", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [], "_active": true, "_components": [ { - "__id__": 386 + "__id__": 407 } ], "_prefab": null, @@ -18514,7 +19578,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 385 + "__id__": 406 }, "_enabled": true, "_materials": [ @@ -18548,13 +19612,13 @@ "_name": "boom_show", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [], "_active": true, "_components": [ { - "__id__": 388 + "__id__": 409 } ], "_prefab": null, @@ -18610,7 +19674,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 387 + "__id__": 408 }, "_enabled": true, "_materials": [ @@ -18642,13 +19706,13 @@ "_name": "guang", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [], "_active": true, "_components": [ { - "__id__": 390 + "__id__": 411 } ], "_prefab": null, @@ -18704,7 +19768,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 389 + "__id__": 410 }, "_enabled": true, "_materials": [ @@ -18736,13 +19800,13 @@ "_name": "door", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [], "_active": true, "_components": [ { - "__id__": 392 + "__id__": 413 } ], "_prefab": null, @@ -18798,7 +19862,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 391 + "__id__": 412 }, "_enabled": true, "_materials": [ @@ -18832,23 +19896,23 @@ "_name": "anniu", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [ { - "__id__": 394 + "__id__": 415 }, { - "__id__": 396 + "__id__": 417 }, { - "__id__": 398 + "__id__": 419 } ], "_active": true, "_components": [ { - "__id__": 405 + "__id__": 426 } ], "_prefab": null, @@ -18904,13 +19968,13 @@ "_name": "doudakai", "_objFlags": 0, "_parent": { - "__id__": 393 + "__id__": 414 }, "_children": [], "_active": true, "_components": [ { - "__id__": 395 + "__id__": 416 } ], "_prefab": null, @@ -18966,7 +20030,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 394 + "__id__": 415 }, "_enabled": true, "_materials": [ @@ -19000,13 +20064,13 @@ "_name": "coins", "_objFlags": 0, "_parent": { - "__id__": 393 + "__id__": 414 }, "_children": [], "_active": true, "_components": [ { - "__id__": 397 + "__id__": 418 } ], "_prefab": null, @@ -19062,7 +20126,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 396 + "__id__": 417 }, "_enabled": true, "_materials": [ @@ -19096,17 +20160,17 @@ "_name": "coin", "_objFlags": 0, "_parent": { - "__id__": 393 + "__id__": 414 }, "_children": [ { - "__id__": 399 + "__id__": 420 }, { - "__id__": 401 + "__id__": 422 }, { - "__id__": 403 + "__id__": 424 } ], "_active": true, @@ -19164,13 +20228,13 @@ "_name": "button_1", "_objFlags": 0, "_parent": { - "__id__": 398 + "__id__": 419 }, "_children": [], "_active": true, "_components": [ { - "__id__": 400 + "__id__": 421 } ], "_prefab": null, @@ -19226,7 +20290,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 399 + "__id__": 420 }, "_enabled": true, "_materials": [ @@ -19260,13 +20324,13 @@ "_name": "button_0", "_objFlags": 0, "_parent": { - "__id__": 398 + "__id__": 419 }, "_children": [], "_active": true, "_components": [ { - "__id__": 402 + "__id__": 423 } ], "_prefab": null, @@ -19322,7 +20386,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 401 + "__id__": 422 }, "_enabled": true, "_materials": [ @@ -19356,13 +20420,13 @@ "_name": "button_0", "_objFlags": 0, "_parent": { - "__id__": 398 + "__id__": 419 }, "_children": [], "_active": true, "_components": [ { - "__id__": 404 + "__id__": 425 } ], "_prefab": null, @@ -19418,7 +20482,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 403 + "__id__": 424 }, "_enabled": true, "_materials": [ @@ -19452,7 +20516,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 393 + "__id__": 414 }, "_enabled": true, "_materials": [ @@ -19486,16 +20550,16 @@ "_name": "giveup", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [], "_active": true, "_components": [ { - "__id__": 407 + "__id__": 428 }, { - "__id__": 408 + "__id__": 429 } ], "_prefab": null, @@ -19551,7 +20615,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 406 + "__id__": 427 }, "_enabled": true, "_materials": [ @@ -19585,7 +20649,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 406 + "__id__": 427 }, "_enabled": true, "_normalMaterial": null, @@ -19594,7 +20658,7 @@ "zoomScale": 1.2, "clickEvents": [ { - "__id__": 409 + "__id__": 430 } ], "_N$interactable": true, @@ -19650,7 +20714,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 406 + "__id__": 427 }, "_id": "61Rwcd8TdKBrQzej/BbHQO" }, @@ -19669,35 +20733,35 @@ "_name": "lockBtn", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 403 }, "_children": [ { - "__id__": 411 + "__id__": 432 }, { - "__id__": 413 + "__id__": 434 }, { - "__id__": 415 + "__id__": 436 }, { - "__id__": 417 + "__id__": 438 }, { - "__id__": 419 + "__id__": 440 }, { - "__id__": 421 + "__id__": 442 } ], "_active": false, "_components": [ { - "__id__": 423 + "__id__": 444 }, { - "__id__": 424 + "__id__": 445 } ], "_prefab": null, @@ -19753,13 +20817,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 410 + "__id__": 431 }, "_children": [], "_active": true, "_components": [ { - "__id__": 412 + "__id__": 433 } ], "_prefab": null, @@ -19815,7 +20879,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 411 + "__id__": 432 }, "_enabled": true, "_materials": [ @@ -19849,13 +20913,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 410 + "__id__": 431 }, "_children": [], "_active": true, "_components": [ { - "__id__": 414 + "__id__": 435 } ], "_prefab": null, @@ -19911,7 +20975,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 413 + "__id__": 434 }, "_enabled": true, "_materials": [ @@ -19945,13 +21009,13 @@ "_name": "number2", "_objFlags": 0, "_parent": { - "__id__": 410 + "__id__": 431 }, "_children": [], "_active": true, "_components": [ { - "__id__": 416 + "__id__": 437 } ], "_prefab": null, @@ -20007,7 +21071,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 415 + "__id__": 436 }, "_enabled": true, "_materials": [ @@ -20041,13 +21105,13 @@ "_name": "number1", "_objFlags": 0, "_parent": { - "__id__": 410 + "__id__": 431 }, "_children": [], "_active": false, "_components": [ { - "__id__": 418 + "__id__": 439 } ], "_prefab": null, @@ -20103,7 +21167,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 417 + "__id__": 438 }, "_enabled": true, "_materials": [ @@ -20137,13 +21201,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 410 + "__id__": 431 }, "_children": [], "_active": true, "_components": [ { - "__id__": 420 + "__id__": 441 } ], "_prefab": null, @@ -20199,7 +21263,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 419 + "__id__": 440 }, "_enabled": true, "_materials": [ @@ -20233,13 +21297,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 410 + "__id__": 431 }, "_children": [], "_active": true, "_components": [ { - "__id__": 422 + "__id__": 443 } ], "_prefab": null, @@ -20295,7 +21359,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 421 + "__id__": 442 }, "_enabled": true, "_materials": [ @@ -20329,7 +21393,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 410 + "__id__": 431 }, "_enabled": true, "_materials": [ @@ -20363,1034 +21427,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 410 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.1, - "clickEvents": [ - { - "__id__": 425 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_N$hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": { - "__id__": 410 - }, - "_id": "655dVf4UVDOrfIwT5AEPmn" - }, - { - "__type__": "cc.ClickEvent", - "target": null, - "component": "", - "_componentId": "", - "handler": "", - "customEventData": "" - }, - { - "__type__": "cc.Node", - "_name": "Health", - "_objFlags": 0, - "_parent": { - "__id__": 263 - }, - "_children": [ - { - "__id__": 427 - }, - { - "__id__": 429 - }, - { - "__id__": 433 - }, - { - "__id__": 439 - }, - { - "__id__": 443 - }, - { - "__id__": 447 - }, - { - "__id__": 451 - } - ], - "_active": false, - "_components": [], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -4.935, - -54.722, - 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": "64cC23cEdDy7+MguJh0fUR" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 426 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 428 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 412, - "height": 65 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 15.137, - 738.462, - 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": "01wTPfT/5LVqr3ZgghxKsE" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 427 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "c5e5470d-260b-4a2b-8e19-f62edd6ca333" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" - }, - "_id": "29C+fh8fpHJJGUvHYns3TL" - }, - { - "__type__": "cc.Node", - "_name": "yuandi", - "_objFlags": 0, - "_parent": { - "__id__": 426 - }, - "_children": [ - { - "__id__": 430 - } - ], - "_active": true, - "_components": [ - { - "__id__": 432 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 516, - "height": 516 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 182.291, - 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": "daKXKRK+FEvbBUIoU9fwbd" - }, - { - "__type__": "cc.Node", - "_name": "guang", - "_objFlags": 0, - "_parent": { - "__id__": 429 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 431 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 650, - "height": 638 - }, - "_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": "06RPKLUhNFIZjGKkQCWG7j" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 430 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "2e2278c3-1dc7-4672-8200-bfc317f4ad75" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "81BfGaSQxJY4KiWNeKLh4w" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 429 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "59873a8f-b079-4344-a77a-a72c76753cb0" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "71YzJ98kZJ+oGw3WvdNhaW" - }, - { - "__type__": "cc.Node", - "_name": "boom_show", - "_objFlags": 0, - "_parent": { - "__id__": 426 - }, - "_children": [ - { - "__id__": 434 - }, - { - "__id__": 436 - } - ], - "_active": true, - "_components": [ - { - "__id__": 438 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 364, - "height": 276 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 176.394, - 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": "75/8o7Uo5GK5UOksSb0Vaf" - }, - { - "__type__": "cc.Node", - "_name": "hp_-", - "_objFlags": 0, - "_parent": { - "__id__": 433 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 435 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 66, - "height": 29 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 67.39, - -80.691, - 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": "9feKpN9/FFnrBmJB6ZYLpq" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 434 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "44cbc1be-fe4c-40df-8e52-3c2f768d61ee" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "32yo/8fYNJiYaIRx8nV+TX" - }, - { - "__type__": "cc.Node", - "_name": "hp_1", - "_objFlags": 0, - "_parent": { - "__id__": 433 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 437 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 97, - "height": 108 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 126.926, - -81.045, - 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": "3crKfBEBNMj5kXnyr470Vb" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 436 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "9026aa5a-1be4-4f61-8d50-e44e1df4c071" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "c6U7fEGGhKjrJqEJB+yZlM" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 433 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "3de74abd-a830-4ee0-8d46-7c9e7f3684fe" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "76uF+tUFlFVZEfbEMA8yt8" - }, - { - "__type__": "cc.Node", - "_name": "homeBtn", - "_objFlags": 0, - "_parent": { - "__id__": 426 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 440 - }, - { - "__id__": 441 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 66, - "height": 66 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 434.98, - 677.475, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "8cioaWxzdBwaC5lZHRaEyQ" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 439 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8e755f4b-6c32-4acd-95f2-e48afcf0c3ee" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" - }, - "_id": "dcilB1mHNPwr/5MFogdRYz" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 439 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.1, - "clickEvents": [ - { - "__id__": 442 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_N$hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": { - "__id__": 439 - }, - "_id": "e6+nQbfBJDk5i7aunx3eFh" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 13 - }, - "component": "", - "_componentId": "2234assp7RIvpDgrnqljp2R", - "handler": "returnHome", - "customEventData": "" - }, - { - "__type__": "cc.Node", - "_name": "timeBtn", - "_objFlags": 0, - "_parent": { - "__id__": 426 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 444 - }, - { - "__id__": 445 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 636, - "height": 174 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -289.197, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "faTUOwCO9I+5u+/Z51XIk/" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 443 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "d7f6bfb4-ca3e-4653-99d9-c8b25fe7d3a7" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" - }, - "_id": "eadyjLe7FKGrRakAvOOXeg" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 443 + "__id__": 431 }, "_enabled": true, "_normalMaterial": null, @@ -21455,33 +21492,108 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 443 + "__id__": 431 }, - "_id": "bbSZLwLOdIJJ624BuB24QD" + "_id": "655dVf4UVDOrfIwT5AEPmn" }, { "__type__": "cc.ClickEvent", - "target": { - "__id__": 13 - }, + "target": null, "component": "", - "_componentId": "2234assp7RIvpDgrnqljp2R", - "handler": "againLevel", + "_componentId": "", + "handler": "", "customEventData": "" }, { "__type__": "cc.Node", - "_name": "return", + "_name": "Health", "_objFlags": 0, "_parent": { - "__id__": 426 + "__id__": 263 + }, + "_children": [ + { + "__id__": 448 + }, + { + "__id__": 450 + }, + { + "__id__": 454 + }, + { + "__id__": 460 + }, + { + "__id__": 464 + }, + { + "__id__": 468 + }, + { + "__id__": 472 + } + ], + "_active": false, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -4.935, + -54.722, + 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": "64cC23cEdDy7+MguJh0fUR" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 447 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 448 - }, { "__id__": 449 } @@ -21497,8 +21609,108 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 434, - "height": 144 + "width": 412, + "height": 65 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 15.137, + 738.462, + 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": "01wTPfT/5LVqr3ZgghxKsE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 448 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c5e5470d-260b-4a2b-8e19-f62edd6ca333" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" + }, + "_id": "29C+fh8fpHJJGUvHYns3TL" + }, + { + "__type__": "cc.Node", + "_name": "yuandi", + "_objFlags": 0, + "_parent": { + "__id__": 447 + }, + "_children": [ + { + "__id__": 451 + } + ], + "_active": true, + "_components": [ + { + "__id__": 453 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 516, + "height": 516 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -21510,7 +21722,493 @@ "ctor": "Float64Array", "array": [ 0, - -479.505, + 182.291, + 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": "daKXKRK+FEvbBUIoU9fwbd" + }, + { + "__type__": "cc.Node", + "_name": "guang", + "_objFlags": 0, + "_parent": { + "__id__": 450 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 452 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, + "height": 638 + }, + "_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": "06RPKLUhNFIZjGKkQCWG7j" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 451 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2e2278c3-1dc7-4672-8200-bfc317f4ad75" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "81BfGaSQxJY4KiWNeKLh4w" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 450 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "59873a8f-b079-4344-a77a-a72c76753cb0" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "71YzJ98kZJ+oGw3WvdNhaW" + }, + { + "__type__": "cc.Node", + "_name": "boom_show", + "_objFlags": 0, + "_parent": { + "__id__": 447 + }, + "_children": [ + { + "__id__": 455 + }, + { + "__id__": 457 + } + ], + "_active": true, + "_components": [ + { + "__id__": 459 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 364, + "height": 276 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 176.394, + 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": "75/8o7Uo5GK5UOksSb0Vaf" + }, + { + "__type__": "cc.Node", + "_name": "hp_-", + "_objFlags": 0, + "_parent": { + "__id__": 454 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 456 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 66, + "height": 29 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 67.39, + -80.691, + 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": "9feKpN9/FFnrBmJB6ZYLpq" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 455 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "44cbc1be-fe4c-40df-8e52-3c2f768d61ee" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "32yo/8fYNJiYaIRx8nV+TX" + }, + { + "__type__": "cc.Node", + "_name": "hp_1", + "_objFlags": 0, + "_parent": { + "__id__": 454 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 458 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 97, + "height": 108 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 126.926, + -81.045, + 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": "3crKfBEBNMj5kXnyr470Vb" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 457 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "9026aa5a-1be4-4f61-8d50-e44e1df4c071" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "c6U7fEGGhKjrJqEJB+yZlM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 454 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3de74abd-a830-4ee0-8d46-7c9e7f3684fe" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "76uF+tUFlFVZEfbEMA8yt8" + }, + { + "__type__": "cc.Node", + "_name": "homeBtn", + "_objFlags": 0, + "_parent": { + "__id__": 447 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 461 + }, + { + "__id__": 462 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 66, + "height": 66 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 434.98, + 677.475, 0, 0, 0, @@ -21532,14 +22230,14 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "b52KfgXSlK0KbuC5A1/vgi" + "_id": "8cioaWxzdBwaC5lZHRaEyQ" }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 447 + "__id__": 460 }, "_enabled": true, "_materials": [ @@ -21550,7 +22248,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "39786f04-d554-4943-b731-277ce4e7f66d" + "__uuid__": "8e755f4b-6c32-4acd-95f2-e48afcf0c3ee" }, "_type": 0, "_sizeMode": 1, @@ -21566,14 +22264,14 @@ "_atlas": { "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" }, - "_id": "29YsJCokNOa5bgqj2b7tbR" + "_id": "dcilB1mHNPwr/5MFogdRYz" }, { "__type__": "cc.Button", "_name": "", "_objFlags": 0, "node": { - "__id__": 447 + "__id__": 460 }, "_enabled": true, "_normalMaterial": null, @@ -21582,7 +22280,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 450 + "__id__": 463 } ], "_N$interactable": true, @@ -21638,8 +22336,374 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { + "__id__": 460 + }, + "_id": "e6+nQbfBJDk5i7aunx3eFh" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 13 + }, + "component": "", + "_componentId": "2234assp7RIvpDgrnqljp2R", + "handler": "returnHome", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "timeBtn", + "_objFlags": 0, + "_parent": { "__id__": 447 }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 465 + }, + { + "__id__": 466 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 636, + "height": 174 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -289.197, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "faTUOwCO9I+5u+/Z51XIk/" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 464 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d7f6bfb4-ca3e-4653-99d9-c8b25fe7d3a7" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" + }, + "_id": "eadyjLe7FKGrRakAvOOXeg" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 464 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 467 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 464 + }, + "_id": "bbSZLwLOdIJJ624BuB24QD" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 13 + }, + "component": "", + "_componentId": "2234assp7RIvpDgrnqljp2R", + "handler": "againLevel", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "return", + "_objFlags": 0, + "_parent": { + "__id__": 447 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 469 + }, + { + "__id__": 470 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 434, + "height": 144 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -479.505, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "b52KfgXSlK0KbuC5A1/vgi" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 468 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "39786f04-d554-4943-b731-277ce4e7f66d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" + }, + "_id": "29YsJCokNOa5bgqj2b7tbR" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 468 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 471 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 468 + }, "_id": "46P35ucclP8p9BnaDyBDpD" }, { @@ -21657,13 +22721,13 @@ "_name": "result_title4", "_objFlags": 0, "_parent": { - "__id__": 426 + "__id__": 447 }, "_children": [], "_active": true, "_components": [ { - "__id__": 452 + "__id__": 473 } ], "_prefab": null, @@ -21719,7 +22783,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 451 + "__id__": 472 }, "_enabled": true, "_materials": [ @@ -21811,25 +22875,7 @@ }, "_children": [ { - "__id__": 456 - }, - { - "__id__": 459 - }, - { - "__id__": 461 - }, - { - "__id__": 465 - }, - { - "__id__": 472 - }, - { - "__id__": 474 - }, - { - "__id__": 476 + "__id__": 477 }, { "__id__": 480 @@ -21837,9 +22883,6 @@ { "__id__": 482 }, - { - "__id__": 484 - }, { "__id__": 486 }, @@ -21847,16 +22890,37 @@ "__id__": 493 }, { - "__id__": 500 + "__id__": 495 + }, + { + "__id__": 497 + }, + { + "__id__": 501 + }, + { + "__id__": 503 + }, + { + "__id__": 505 }, { "__id__": 507 + }, + { + "__id__": 514 + }, + { + "__id__": 521 + }, + { + "__id__": 528 } ], "_active": false, "_components": [ { - "__id__": 546 + "__id__": 567 } ], "_prefab": null, @@ -21912,16 +22976,16 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 457 + "__id__": 478 }, { - "__id__": 458 + "__id__": 479 } ], "_prefab": null, @@ -21977,7 +23041,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 456 + "__id__": 477 }, "_enabled": true, "_materials": [ @@ -22009,7 +23073,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 456 + "__id__": 477 }, "_enabled": true, "_id": "081I6vq85Jwqkph7MYgiJK" @@ -22019,13 +23083,13 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 460 + "__id__": 481 } ], "_prefab": null, @@ -22081,7 +23145,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 459 + "__id__": 480 }, "_enabled": true, "_materials": [ @@ -22113,16 +23177,16 @@ "_name": "exit", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 462 + "__id__": 483 }, { - "__id__": 463 + "__id__": 484 } ], "_prefab": null, @@ -22178,7 +23242,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 461 + "__id__": 482 }, "_enabled": true, "_materials": [ @@ -22212,7 +23276,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 461 + "__id__": 482 }, "_enabled": true, "_normalMaterial": null, @@ -22221,7 +23285,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 464 + "__id__": 485 } ], "_N$interactable": true, @@ -22277,14 +23341,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 461 + "__id__": 482 }, "_id": "03GVAs9kJCeINsFjX4u8iz" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 455 + "__id__": 476 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -22296,23 +23360,23 @@ "_name": "btn", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [ { - "__id__": 466 + "__id__": 487 } ], "_active": true, "_components": [ { - "__id__": 468 + "__id__": 489 }, { - "__id__": 469 + "__id__": 490 }, { - "__id__": 471 + "__id__": 492 } ], "_prefab": null, @@ -22368,13 +23432,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 465 + "__id__": 486 }, "_children": [], "_active": true, "_components": [ { - "__id__": 467 + "__id__": 488 } ], "_prefab": null, @@ -22430,7 +23494,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 466 + "__id__": 487 }, "_enabled": true, "_materials": [ @@ -22460,7 +23524,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 465 + "__id__": 486 }, "_enabled": true, "_materials": [ @@ -22494,7 +23558,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 465 + "__id__": 486 }, "_enabled": true, "_normalMaterial": null, @@ -22503,7 +23567,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 470 + "__id__": 491 } ], "_N$interactable": true, @@ -22559,7 +23623,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 465 + "__id__": 486 }, "_id": "10Gq5GdVNFoaGKYCbUkdh0" }, @@ -22578,7 +23642,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 465 + "__id__": 486 }, "_enabled": true, "_id": "48L+wrOmdFHpjlTvLGv0eT" @@ -22588,13 +23652,13 @@ "_name": "trya", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": false, "_components": [ { - "__id__": 473 + "__id__": 494 } ], "_prefab": null, @@ -22650,7 +23714,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 472 + "__id__": 493 }, "_enabled": true, "_materials": [ @@ -22684,13 +23748,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 475 + "__id__": 496 } ], "_prefab": null, @@ -22746,7 +23810,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 474 + "__id__": 495 }, "_enabled": true, "_materials": [ @@ -22780,16 +23844,16 @@ "_name": "closeBtn", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 477 + "__id__": 498 }, { - "__id__": 478 + "__id__": 499 } ], "_prefab": null, @@ -22845,7 +23909,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 476 + "__id__": 497 }, "_enabled": true, "_materials": [ @@ -22879,7 +23943,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 476 + "__id__": 497 }, "_enabled": true, "_normalMaterial": null, @@ -22888,7 +23952,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 479 + "__id__": 500 } ], "_N$interactable": true, @@ -22944,7 +24008,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 476 + "__id__": 497 }, "_id": "9cyVET3cdKsYjhCs6UcCZp" }, @@ -22963,13 +24027,13 @@ "_name": "yinyue1", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 481 + "__id__": 502 } ], "_prefab": null, @@ -23025,7 +24089,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 480 + "__id__": 501 }, "_enabled": true, "_materials": [ @@ -23059,13 +24123,13 @@ "_name": "zhendong1", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 483 + "__id__": 504 } ], "_prefab": null, @@ -23121,7 +24185,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 482 + "__id__": 503 }, "_enabled": true, "_materials": [ @@ -23155,13 +24219,13 @@ "_name": "yinxiao", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [], "_active": true, "_components": [ { - "__id__": 485 + "__id__": 506 } ], "_prefab": null, @@ -23217,7 +24281,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 484 + "__id__": 505 }, "_enabled": true, "_materials": [ @@ -23251,20 +24315,20 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [ { - "__id__": 487 + "__id__": 508 }, { - "__id__": 489 + "__id__": 510 } ], "_active": true, "_components": [ { - "__id__": 491 + "__id__": 512 } ], "_prefab": null, @@ -23320,13 +24384,13 @@ "_name": "open", "_objFlags": 0, "_parent": { - "__id__": 486 + "__id__": 507 }, "_children": [], "_active": true, "_components": [ { - "__id__": 488 + "__id__": 509 } ], "_prefab": null, @@ -23382,7 +24446,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 487 + "__id__": 508 }, "_enabled": true, "_materials": [ @@ -23416,13 +24480,13 @@ "_name": "close", "_objFlags": 0, "_parent": { - "__id__": 486 + "__id__": 507 }, "_children": [], "_active": false, "_components": [ { - "__id__": 490 + "__id__": 511 } ], "_prefab": null, @@ -23478,7 +24542,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 489 + "__id__": 510 }, "_enabled": true, "_materials": [ @@ -23512,7 +24576,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 486 + "__id__": 507 }, "_enabled": true, "_normalMaterial": null, @@ -23576,11 +24640,11 @@ "_N$isChecked": false, "toggleGroup": null, "checkMark": { - "__id__": 490 + "__id__": 511 }, "checkEvents": [ { - "__id__": 492 + "__id__": 513 } ], "_id": "3fz7gcijlI+qGOUbe4LWa1" @@ -23588,7 +24652,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 455 + "__id__": 476 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -23600,20 +24664,20 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [ { - "__id__": 494 + "__id__": 515 }, { - "__id__": 496 + "__id__": 517 } ], "_active": true, "_components": [ { - "__id__": 498 + "__id__": 519 } ], "_prefab": null, @@ -23669,13 +24733,13 @@ "_name": "open", "_objFlags": 0, "_parent": { - "__id__": 493 + "__id__": 514 }, "_children": [], "_active": true, "_components": [ { - "__id__": 495 + "__id__": 516 } ], "_prefab": null, @@ -23731,7 +24795,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 494 + "__id__": 515 }, "_enabled": true, "_materials": [ @@ -23765,13 +24829,13 @@ "_name": "close", "_objFlags": 0, "_parent": { - "__id__": 493 + "__id__": 514 }, "_children": [], "_active": false, "_components": [ { - "__id__": 497 + "__id__": 518 } ], "_prefab": null, @@ -23827,7 +24891,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 496 + "__id__": 517 }, "_enabled": true, "_materials": [ @@ -23861,7 +24925,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 493 + "__id__": 514 }, "_enabled": true, "_normalMaterial": null, @@ -23925,11 +24989,11 @@ "_N$isChecked": false, "toggleGroup": null, "checkMark": { - "__id__": 497 + "__id__": 518 }, "checkEvents": [ { - "__id__": 499 + "__id__": 520 } ], "_id": "90o9JpnRdA7qjhtmcUI2gx" @@ -23937,7 +25001,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 455 + "__id__": 476 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -23949,20 +25013,20 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [ { - "__id__": 501 + "__id__": 522 }, { - "__id__": 503 + "__id__": 524 } ], "_active": true, "_components": [ { - "__id__": 505 + "__id__": 526 } ], "_prefab": null, @@ -24018,13 +25082,13 @@ "_name": "open", "_objFlags": 0, "_parent": { - "__id__": 500 + "__id__": 521 }, "_children": [], "_active": true, "_components": [ { - "__id__": 502 + "__id__": 523 } ], "_prefab": null, @@ -24080,7 +25144,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 501 + "__id__": 522 }, "_enabled": true, "_materials": [ @@ -24114,13 +25178,13 @@ "_name": "close", "_objFlags": 0, "_parent": { - "__id__": 500 + "__id__": 521 }, "_children": [], "_active": false, "_components": [ { - "__id__": 504 + "__id__": 525 } ], "_prefab": null, @@ -24176,7 +25240,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 503 + "__id__": 524 }, "_enabled": true, "_materials": [ @@ -24210,7 +25274,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 500 + "__id__": 521 }, "_enabled": true, "_normalMaterial": null, @@ -24274,11 +25338,11 @@ "_N$isChecked": false, "toggleGroup": null, "checkMark": { - "__id__": 504 + "__id__": 525 }, "checkEvents": [ { - "__id__": 506 + "__id__": 527 } ], "_id": "7cC5Iauy5Ck4iIEyHeJC0f" @@ -24286,7 +25350,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 455 + "__id__": 476 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -24298,23 +25362,23 @@ "_name": "pauseTs", "_objFlags": 0, "_parent": { - "__id__": 455 + "__id__": 476 }, "_children": [ { - "__id__": 508 + "__id__": 529 }, { - "__id__": 512 + "__id__": 533 }, { - "__id__": 518 + "__id__": 539 } ], "_active": false, "_components": [ { - "__id__": 545 + "__id__": 566 } ], "_prefab": null, @@ -24370,19 +25434,19 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 507 + "__id__": 528 }, "_children": [], "_active": false, "_components": [ { - "__id__": 509 + "__id__": 530 }, { - "__id__": 510 + "__id__": 531 }, { - "__id__": 511 + "__id__": 532 } ], "_prefab": null, @@ -24438,7 +25502,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 508 + "__id__": 529 }, "_enabled": true, "_materials": [ @@ -24470,7 +25534,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 508 + "__id__": 529 }, "_enabled": true, "alignMode": 1, @@ -24497,7 +25561,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 508 + "__id__": 529 }, "_enabled": true, "_id": "7cjMSdYU1KUq0en/hCC3ti" @@ -24507,17 +25571,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 507 + "__id__": 528 }, "_children": [ { - "__id__": 513 + "__id__": 534 } ], "_active": true, "_components": [ { - "__id__": 517 + "__id__": 538 } ], "_prefab": null, @@ -24573,16 +25637,16 @@ "_name": "closet", "_objFlags": 0, "_parent": { - "__id__": 512 + "__id__": 533 }, "_children": [], "_active": false, "_components": [ { - "__id__": 514 + "__id__": 535 }, { - "__id__": 515 + "__id__": 536 } ], "_prefab": null, @@ -24638,7 +25702,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 513 + "__id__": 534 }, "_enabled": true, "_materials": [ @@ -24672,7 +25736,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 513 + "__id__": 534 }, "_enabled": true, "_normalMaterial": null, @@ -24681,7 +25745,7 @@ "zoomScale": 1.2, "clickEvents": [ { - "__id__": 516 + "__id__": 537 } ], "_N$interactable": true, @@ -24737,7 +25801,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 513 + "__id__": 534 }, "_id": "71S72skPtFPJUKSs4GVST3" }, @@ -24756,7 +25820,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 512 + "__id__": 533 }, "_enabled": true, "_materials": [ @@ -24788,29 +25852,29 @@ "_name": "Health", "_objFlags": 0, "_parent": { - "__id__": 507 + "__id__": 528 }, "_children": [ { - "__id__": 519 + "__id__": 540 }, { - "__id__": 521 + "__id__": 542 }, { - "__id__": 525 + "__id__": 546 }, { - "__id__": 531 + "__id__": 552 }, { - "__id__": 535 + "__id__": 556 }, { - "__id__": 539 + "__id__": 560 }, { - "__id__": 543 + "__id__": 564 } ], "_active": true, @@ -24868,13 +25932,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 539 }, "_children": [], "_active": true, "_components": [ { - "__id__": 520 + "__id__": 541 } ], "_prefab": null, @@ -24930,7 +25994,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 519 + "__id__": 540 }, "_enabled": true, "_materials": [ @@ -24964,17 +26028,17 @@ "_name": "yuandi", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 539 }, "_children": [ { - "__id__": 522 + "__id__": 543 } ], "_active": true, "_components": [ { - "__id__": 524 + "__id__": 545 } ], "_prefab": null, @@ -25030,13 +26094,13 @@ "_name": "guang", "_objFlags": 0, "_parent": { - "__id__": 521 + "__id__": 542 }, "_children": [], "_active": true, "_components": [ { - "__id__": 523 + "__id__": 544 } ], "_prefab": null, @@ -25092,7 +26156,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 522 + "__id__": 543 }, "_enabled": true, "_materials": [ @@ -25124,7 +26188,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 521 + "__id__": 542 }, "_enabled": true, "_materials": [ @@ -25156,20 +26220,20 @@ "_name": "boom_show", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 539 }, "_children": [ { - "__id__": 526 + "__id__": 547 }, { - "__id__": 528 + "__id__": 549 } ], "_active": true, "_components": [ { - "__id__": 530 + "__id__": 551 } ], "_prefab": null, @@ -25225,13 +26289,13 @@ "_name": "hp_-", "_objFlags": 0, "_parent": { - "__id__": 525 + "__id__": 546 }, "_children": [], "_active": false, "_components": [ { - "__id__": 527 + "__id__": 548 } ], "_prefab": null, @@ -25287,7 +26351,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 526 + "__id__": 547 }, "_enabled": true, "_materials": [ @@ -25321,13 +26385,13 @@ "_name": "hp_1", "_objFlags": 0, "_parent": { - "__id__": 525 + "__id__": 546 }, "_children": [], "_active": false, "_components": [ { - "__id__": 529 + "__id__": 550 } ], "_prefab": null, @@ -25383,7 +26447,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 528 + "__id__": 549 }, "_enabled": true, "_materials": [ @@ -25417,7 +26481,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 525 + "__id__": 546 }, "_enabled": true, "_materials": [ @@ -25451,16 +26515,16 @@ "_name": "homeBtn", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 539 }, "_children": [], "_active": true, "_components": [ { - "__id__": 532 + "__id__": 553 }, { - "__id__": 533 + "__id__": 554 } ], "_prefab": null, @@ -25516,7 +26580,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 531 + "__id__": 552 }, "_enabled": true, "_materials": [ @@ -25550,7 +26614,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 531 + "__id__": 552 }, "_enabled": true, "_normalMaterial": null, @@ -25559,7 +26623,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 534 + "__id__": 555 } ], "_N$interactable": true, @@ -25615,14 +26679,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 531 + "__id__": 552 }, "_id": "966rJcgX1FxbzSjXXgM7jr" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 455 + "__id__": 476 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -25634,16 +26698,16 @@ "_name": "timeBtn", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 539 }, "_children": [], "_active": true, "_components": [ { - "__id__": 536 + "__id__": 557 }, { - "__id__": 537 + "__id__": 558 } ], "_prefab": null, @@ -25699,7 +26763,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 535 + "__id__": 556 }, "_enabled": true, "_materials": [ @@ -25733,7 +26797,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 535 + "__id__": 556 }, "_enabled": true, "_normalMaterial": null, @@ -25742,7 +26806,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 538 + "__id__": 559 } ], "_N$interactable": true, @@ -25798,14 +26862,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 535 + "__id__": 556 }, "_id": "32SvzePFJLVZzTsMFZ5bEC" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 455 + "__id__": 476 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -25817,16 +26881,16 @@ "_name": "return", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 539 }, "_children": [], "_active": true, "_components": [ { - "__id__": 540 + "__id__": 561 }, { - "__id__": 541 + "__id__": 562 } ], "_prefab": null, @@ -25882,7 +26946,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 539 + "__id__": 560 }, "_enabled": true, "_materials": [ @@ -25916,7 +26980,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 539 + "__id__": 560 }, "_enabled": true, "_normalMaterial": null, @@ -25925,7 +26989,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 542 + "__id__": 563 } ], "_N$interactable": true, @@ -25981,7 +27045,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 539 + "__id__": 560 }, "_id": "f8najm7klLdaphYt2hffeB" }, @@ -26000,13 +27064,13 @@ "_name": "result_title4", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 539 }, "_children": [], "_active": true, "_components": [ { - "__id__": 544 + "__id__": 565 } ], "_prefab": null, @@ -26062,7 +27126,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 543 + "__id__": 564 }, "_enabled": true, "_materials": [ @@ -26096,7 +27160,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 507 + "__id__": 528 }, "_enabled": true, "alignMode": 1, @@ -26123,20 +27187,20 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 455 + "__id__": 476 }, "_enabled": true, "music": { - "__id__": 486 + "__id__": 507 }, "effect": { - "__id__": 493 + "__id__": 514 }, "vibrate": { - "__id__": 500 + "__id__": 521 }, "exit": { - "__id__": 507 + "__id__": 528 }, "_id": "6d0jQLhAdE4oIRvhVjh2ZZ" }, @@ -26149,16 +27213,16 @@ }, "_children": [ { - "__id__": 548 + "__id__": 569 } ], "_active": false, "_components": [ { - "__id__": 551 + "__id__": 572 }, { - "__id__": 552 + "__id__": 573 } ], "_prefab": null, @@ -26214,16 +27278,16 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 547 + "__id__": 568 }, "_children": [], "_active": true, "_components": [ { - "__id__": 549 + "__id__": 570 }, { - "__id__": 550 + "__id__": 571 } ], "_prefab": null, @@ -26279,7 +27343,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 548 + "__id__": 569 }, "_enabled": true, "_materials": [ @@ -26311,7 +27375,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 548 + "__id__": 569 }, "_enabled": true, "_id": "4fwjz1lnFLD45L1lqUY038" @@ -26321,7 +27385,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 547 + "__id__": 568 }, "_enabled": true, "_materials": [ @@ -26363,7 +27427,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 547 + "__id__": 568 }, "_enabled": false, "_id": "00qpMLeBFNhYRX9r3QZvyP" diff --git a/assets/Script/Block.ts b/assets/Script/Block.ts index ecaff0d..ed0d957 100644 --- a/assets/Script/Block.ts +++ b/assets/Script/Block.ts @@ -535,7 +535,7 @@ export default class Block extends cc.Component { this.block_Info.node = null; } else if(this.type == BlockType.炸弹块){ - this.node.getChildByName("boom").getComponent("Boom").destroyBoom(); + this.node.getChildByName("boom").getComponent("Boom").destroyBoom(false); } @@ -587,7 +587,7 @@ export default class Block extends cc.Component { } } - MapConroler._instance.judgeWin(); + MapConroler._instance.judgeWin(0); setTimeout(() => { let tempColor = this.color; @@ -761,7 +761,7 @@ export default class Block extends cc.Component { var self = this; this.removeMapBlock(); - MapConroler._instance.judgeWin(); + MapConroler._instance.judgeWin(1); setTimeout(() => { let pos = this.node.getPosition(); if(self.type == BlockType.叠加块下){ @@ -777,7 +777,7 @@ export default class Block extends cc.Component { self.block_Info.node.getComponent("Block").posY,false); } else if(self.type == BlockType.炸弹块){ - this.node.getChildByName("boom").getComponent("Boom").destroyBoom(); + this.node.getChildByName("boom").getComponent("Boom").destroyBoom(false); } MapConroler._instance.nextLevel(); @@ -1266,14 +1266,12 @@ export default class Block extends cc.Component { this.touchDelta = cc.v2(0, 0); } - if(this.type == BlockType.叠加块上 && this.moveStack == true){ - if((this.stacking.x != 0 || this.stacking.y!= 0) && this.block_Info.node!= null){ - this.isTouch = false; - // this.node.x = this.block_Info.node.x + this.stacking.x; - // this.node.y = this.block_Info.node.y + this.stacking.y; - this.node.x = Math.round(this.block_Info.node.x + this.stacking.x); - this.node.y = Math.round(this.block_Info.node.y + this.stacking.y); - console.log("跟随移动",dt); + if(this.type == BlockType.叠加块下){ + if(this.block_Info.node!= null){ + if(this.block_Info.node.getComponent("Block").moveStack == true){ + this.block_Info.node.x = this.node.x + this.block_Info.node.getComponent("Block").stacking.x; + this.block_Info.node.y = this.node.y + this.block_Info.node.getComponent("Block").stacking.y; + } } } if(this.block_Info){ diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 7e90611..0e62288 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -124,6 +124,7 @@ export default class MapConroler extends cc.Component { onLoad() { cc.fx.GameConfig.GM_INFO.review = 0; + cc.fx.GameConfig.GM_INFO.reviewBoom = 0; cc.fx.GameConfig.GM_INFO.gameState = true; this.mask.opacity = 0; this.node.getChildByName("Adhesive").zIndex = 500; @@ -1329,12 +1330,21 @@ export default class MapConroler extends cc.Component { } - judgeWin(){ + judgeWin(number){ this.blockNum = this.blocks.length; - if((this.blockNum == 0 || this.blockNum == 1) &&!this.gameWin &&!this.gameOver){ - this.stopTimeCutDown(); - this.stopBoom(); + if(number == 1){ + if((this.blockNum == 0 || this.blockNum == 1) &&!this.gameWin &&!this.gameOver){ + this.stopTimeCutDown(); + this.stopBoom(); + } } + else if(number == 0){ + if(this.blockNum == 0 &&!this.gameWin &&!this.gameOver){ + this.stopTimeCutDown(); + this.stopBoom(); + } + } + } //判断游戏成功下一关 @@ -1377,7 +1387,7 @@ export default class MapConroler extends cc.Component { } else { if (this.gameOver == true) { - this.failLevel(null); + this.failLevel("time"); } } } @@ -1452,15 +1462,28 @@ export default class MapConroler extends cc.Component { // this.node.parent.parent.parent.destroy(); } - reviewLevel() { + //时间到了复活 + reviewLevel(event,type) { if(this.reviewState == true){ return; } this.reviewState = true; cc.fx.AudioManager._instance.playEffect("anniu_Big", null); + let coin = 900; - if (cc.fx.GameConfig.GM_INFO.review == 1) coin = 1900; - else if (cc.fx.GameConfig.GM_INFO.review == 2) coin = 2500; + let data = { + type: type, + coin: -coin + } + if(type == "time"){ + if (cc.fx.GameConfig.GM_INFO.review == 1) coin = 1900; + else if (cc.fx.GameConfig.GM_INFO.review == 2) coin = 2500; + } + else if(type == "boom"){ + if (cc.fx.GameConfig.GM_INFO.reviewBoom == 1) coin = 1900; + else if (cc.fx.GameConfig.GM_INFO.reviewBoom == 2) coin = 2500; + } + data.coin = -coin; // console.log("自身金币:",cc.fx.GameConfig.GM_INFO.coin,"消耗金币:",coin); if (cc.fx.GameConfig.GM_INFO.coin < Math.abs(coin)) { MiniGameSdk.API.showToast("金币不足,无法加时间"); @@ -1472,13 +1495,14 @@ export default class MapConroler extends cc.Component { return; } else { - this.runRewive(-coin); + this.runRewive(data); } } + //执行复活函数 runRewive(data) { console.log("复活回调函数内", data); - cc.fx.GameTool.changeCoin(data); + cc.fx.GameTool.changeCoin(data.coin); MiniGameSdk.API.showToast("继续游戏"); NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); if (cc.fx.GameConfig.GM_INFO.review < 2) @@ -1486,9 +1510,11 @@ export default class MapConroler extends cc.Component { this.gameOver = false; this.gameWin = false; - this.timeNumber = 21; - this.add_Time += 20; this.pause = false; + if(data.type == "time"){ + this.timeNumber = 21; + this.add_Time += 20; + } this.blockNum = this.blocks.length; if (this.blockNum == 0 )this.nextLevel(); @@ -1572,15 +1598,22 @@ export default class MapConroler extends cc.Component { this.node.parent.parent.getChildByName("Lose").active = true; this.node.parent.parent.getChildByName("Lose").getChildByName("Time").active = true; this.node.parent.parent.getChildByName("Lose").getChildByName("Boom").active = false; - let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("Time").getChildByName("buyBtn"); - buyBtn.getChildByName("coin1").active = buyBtn.getChildByName("coin2").active = buyBtn.getChildByName("coin3").active = false; - if (cc.fx.GameConfig.GM_INFO.review == 0) buyBtn.getChildByName("coin1").active = true; - else if (cc.fx.GameConfig.GM_INFO.review == 1) buyBtn.getChildByName("coin2").active = true; - else if (cc.fx.GameConfig.GM_INFO.review == 2) buyBtn.getChildByName("coin3").active = true; if (type) { + if (type == "time"){ + let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("Time").getChildByName("buyBtn"); + buyBtn.getChildByName("coin1").active = buyBtn.getChildByName("coin2").active = buyBtn.getChildByName("coin3").active = false; + if (cc.fx.GameConfig.GM_INFO.review == 0) buyBtn.getChildByName("coin1").active = true; + else if (cc.fx.GameConfig.GM_INFO.review == 1) buyBtn.getChildByName("coin2").active = true; + else if (cc.fx.GameConfig.GM_INFO.review == 2) buyBtn.getChildByName("coin3").active = true; + } if (type == "boom") { this.node.parent.parent.getChildByName("Lose").getChildByName("Time").active = false; this.node.parent.parent.getChildByName("Lose").getChildByName("Boom").active = true; + let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("Boom").getChildByName("buyBtn"); + buyBtn.getChildByName("coin1").active = buyBtn.getChildByName("coin2").active = buyBtn.getChildByName("coin3").active = false; + if (cc.fx.GameConfig.GM_INFO.reviewBoom == 0) buyBtn.getChildByName("coin1").active = true; + else if (cc.fx.GameConfig.GM_INFO.reviewBoom == 1) buyBtn.getChildByName("coin2").active = true; + else if (cc.fx.GameConfig.GM_INFO.reviewBoom == 2) buyBtn.getChildByName("coin3").active = true; } } }, time); diff --git a/assets/Script/module/Config/GameConfig.ts b/assets/Script/module/Config/GameConfig.ts index be4d774..0516f7a 100644 --- a/assets/Script/module/Config/GameConfig.ts +++ b/assets/Script/module/Config/GameConfig.ts @@ -61,6 +61,8 @@ export class GameConfig { mean_Time: number; //平均放箭速度 hp: number; //体力值 review: number; //复活次数 + reviewBoom: number; //炸弹复活次数 + reviewDoor: number; //门复活次数 currSeed: number; //用于随机数种子 openid: string; //微信用户唯一id gameId: string; //游戏ID @@ -92,8 +94,8 @@ export class GameConfig { coinnum: number; //每局的金币数 paid_user: boolean; //是否是付费用户 version: number; //版本号 - shushu_DistinctId: string //数数访客ID - shushu_AccountId: string //数数账号ID + shushu_DistinctId: string; //数数访客ID + shushu_AccountId: string; //数数账号ID }; @@ -197,6 +199,8 @@ export class GameConfig { mean_Time: 0, //平均放箭速度 hp: 5, //体力值 review:0, //复活次数 + reviewBoom: 0, //炸弹复活次数 + reviewDoor: 0, //门复活次数 currSeed: 200000, //用于随机数种子 openid:"", //微信用户唯一id gameId: "100001", //游戏ID @@ -206,7 +210,7 @@ export class GameConfig { useravatar:"", //用户头像地址 guide: true, //是否有引导 url: "https://api.sparkus.cn",//访问域名 - coin: 0, //用户金币 + coin: 10000, //用户金币 success: false, //用户游戏成功与否 matchId: null, //用于埋点上传的ID gameState:false, diff --git a/assets/Script/prop/Boom.ts b/assets/Script/prop/Boom.ts index 2535887..ce9f4fd 100644 --- a/assets/Script/prop/Boom.ts +++ b/assets/Script/prop/Boom.ts @@ -16,14 +16,16 @@ const {ccclass, property} = cc._decorator; export default class Boom extends cc.Component { static _instance: any; time: number = 60; + over: boolean = false; // mapInfo: number[][] = []; onLoad () { - + this.over = false; } start () { + this.over = false; } init(time){ @@ -38,7 +40,9 @@ export default class Boom extends cc.Component { this.schedule(this.updateTime, 1); } - destroyBoom(){ + destroyBoom(type){ + if(this.over) return; + this.over = true; this.unschedule(this.updateTime); this.node.parent.getComponent("Block").resetFreeze(); this.node.destroy(); @@ -54,16 +58,27 @@ export default class Boom extends cc.Component { this.time --; NumberToImage.numberToImageNodes(this.time,20,8,"lock_",this.node.getChildByName("time"),false); if(this.time <= 0){ + // 创建模拟触摸事件对象 + const mockTouchEvent = { + getLocation: () => { + // 获取父节点的位置作为触摸落点 + const parentPos = this.node.parent.getPosition(); + return parentPos; + } + }; + + // 触发父节点 Block 的 touchEnd 事件 + this.node.parent.getComponent("Block").touchEnd(mockTouchEvent); this.unschedule(this.updateTime); MapConroler._instance.failLevel("boom"); this.node.getChildByName("zhandan").active = true; this.node.getChildByName("bg").active = false; const skeleton = this.node.getChildByName("zhandan").getComponent(sp.Skeleton); skeleton.setAnimation(1,"eff",false); - // 监听动画完成事件 + // 监听动画完成事件,销毁自身爆炸节点 skeleton.setCompleteListener(() => { // 动画播放完成后销毁节点 - this.node.destroy(); + this.destroyBoom(true); }); // this.node.destroy(); diff --git a/assets/Script/setUi.ts b/assets/Script/setUi.ts index 92f3ee8..11ad8ae 100644 --- a/assets/Script/setUi.ts +++ b/assets/Script/setUi.ts @@ -6,6 +6,7 @@ // - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html import JiaZai from "./JiaZai"; +import MapConroler from "./Map"; import SceneManager from "./SceneManager"; @@ -131,7 +132,12 @@ export default class setUi extends cc.Component { //退出游戏 clickExit() { - this.exit.active = true; + if(MapConroler._instance.gameStart == true) { + this.exit.active = true; + } + else{ + MapConroler._instance.returnHome(); + } } //取消 cancelExit() {