diff --git a/.gitignore b/.gitignore index 34a4d827..48600603 100644 --- a/.gitignore +++ b/.gitignore @@ -3146,28 +3146,6 @@ bin/ .offline-build-check/wechatgame-lifecycle/wechatgame/subpackages/UI/native/f0/f0797bd4-cc39-44cf-84d7-c7ce8ae1c9e6.png .offline-build-check/wechatgame-lifecycle/wechatgame/subpackages/UI/native/f2/f2ef6fe6-1d6f-4de4-9123-6ba4fa02f307.png .offline-build-check/wechatgame-lifecycle/wechatgame/subpackages/UI/native/fd/fdcb2159-2153-44e0-bcb9-dccb7b3dc179.png -assets/jungle_treasure/img/chuizi_little.png -assets/jungle_treasure/img/chuizi_little.png.meta -assets/jungle_treasure/img/dik.png -assets/jungle_treasure/img/dik.png.meta -assets/jungle_treasure/img/dikuang.png -assets/jungle_treasure/img/dikuang.png.meta -assets/jungle_treasure/img/dongshijian_little.png -assets/jungle_treasure/img/dongshijian_little.png.meta -assets/jungle_treasure/img/hp.png -assets/jungle_treasure/img/hp.png.meta -assets/jungle_treasure/img/jiangli.png -assets/jungle_treasure/img/jiangli.png.meta -assets/jungle_treasure/img/jingbi.png -assets/jungle_treasure/img/jingbi.png.meta -assets/jungle_treasure/img/mofabang_little.png -assets/jungle_treasure/img/mofabang_little.png.meta -assets/jungle_treasure/img/wenzi.png -assets/jungle_treasure/img/wenzi.png.meta -assets/jungle_treasure/prefab/jungleOver.prefab -assets/jungle_treasure/prefab/jungleOver.prefab.meta -assets/jungle_treasure/script/JungleOver.ts -assets/jungle_treasure/script/JungleOver.ts.meta graphify-out/.graphify_labels.json graphify-out/.graphify_learning.json graphify-out/.graphify_python diff --git a/assets/NewMode/script/NewMode.ts b/assets/NewMode/script/NewMode.ts index c5ea11c5..e68cc6c8 100644 --- a/assets/NewMode/script/NewMode.ts +++ b/assets/NewMode/script/NewMode.ts @@ -47,7 +47,7 @@ export default class NewMode extends cc.Component { console.error('动态加载背景图失败:', err); return; } - if (!cc.isValid(this) || !this.node || !cc.isValid(this.node)) return; + if (!cc.isValid(this, true) || !this.node || !cc.isValid(this.node, true)) return; const newMode = this.node.getChildByName("newmode"); const icon = newMode && newMode.getChildByName("icon"); if (icon) icon.getComponent(cc.Sprite).spriteFrame = spriteFrame; diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 22ceba17..922b17df 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -12409,7 +12409,11 @@ "__id__": 258 }, "_enabled": true, - "_materials": [], + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], "_spriteFrame": null, "_type": 0, "_segments": 64, @@ -13926,9 +13930,6 @@ "flyCoinCount": 16, "flyCoinDuration": 1, "flyCoinInterval": 0.05, - "icon": null, - "sp": null, - "kuang": null, "Block_Array": [], "Wall_Prefab": [], "avatar": { diff --git a/assets/Scene/HomeScene.fire b/assets/Scene/HomeScene.fire index 0fcb6188..f55ac0b5 100644 --- a/assets/Scene/HomeScene.fire +++ b/assets/Scene/HomeScene.fire @@ -20,7 +20,7 @@ "__id__": 5 }, { - "__id__": 717 + "__id__": 662 } ], "_active": false, @@ -241,21 +241,18 @@ }, { "__id__": 657 - }, - { - "__id__": 659 } ], "_active": true, "_components": [ { - "__id__": 714 + "__id__": 659 }, { - "__id__": 715 + "__id__": 660 }, { - "__id__": 716 + "__id__": 661 } ], "_prefab": null, @@ -26945,8 +26942,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1699.06, - "height": 2937.38 + "width": 3260, + "height": 3260 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -28395,1977 +28392,6 @@ "_originalHeight": 0, "_id": "52wqdGbuVMBpqhKEc1+7d/" }, - { - "__type__": "cc.Node", - "_name": "Transfer", - "_objFlags": 0, - "_parent": { - "__id__": 5 - }, - "_children": [ - { - "__id__": 660 - }, - { - "__id__": 665 - } - ], - "_active": false, - "_components": [ - { - "__id__": 711 - }, - { - "__id__": 712 - } - ], - "_prefab": { - "__id__": 713 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1080, - "height": 1920 - }, - "_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": "d0fpT76zdKt7YnQ4laVh7v" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite(Splash)", - "_objFlags": 0, - "_parent": { - "__id__": 659 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 661 - }, - { - "__id__": 662 - }, - { - "__id__": 663 - } - ], - "_prefab": { - "__id__": 664 - }, - "_opacity": 200, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1080, - "height": 1920 - }, - "_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": "0dVLmk7EROXYb76AfWzj5z" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 660 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "01fs4oH95MeJTpGJBsncU1" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 660 - }, - "_enabled": true, - "alignMode": 1, - "_target": null, - "_alignFlags": 45, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_id": "a3qfMhj4pHXqEn6kyplmAh" - }, - { - "__type__": "cc.BlockInputEvents", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 660 - }, - "_enabled": true, - "_id": "a9SUuZk/NA9Ic8BxFeHjyJ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "f6zV4BNDZDDa7mZzyh7ylW", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "rewards‌", - "_objFlags": 0, - "_parent": { - "__id__": 659 - }, - "_children": [ - { - "__id__": 666 - }, - { - "__id__": 669 - }, - { - "__id__": 672 - }, - { - "__id__": 675 - }, - { - "__id__": 678 - }, - { - "__id__": 681 - }, - { - "__id__": 684 - }, - { - "__id__": 687 - }, - { - "__id__": 690 - }, - { - "__id__": 693 - }, - { - "__id__": 696 - }, - { - "__id__": 699 - }, - { - "__id__": 702 - }, - { - "__id__": 705 - } - ], - "_active": true, - "_components": [], - "_prefab": { - "__id__": 710 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "03loPFvcFMBpLjmjafSjHG" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 667 - } - ], - "_prefab": { - "__id__": 668 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 797, - "height": 418 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 8.267, - 451.632, - 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": "29LST4j2tBY7jQbZK8ajUM" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 666 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "3a09afc3-ec42-44f4-8469-28d566ff3040" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "0dlf+K5JJJRaA47e3UnXQw" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "73eQwQJZFL86M/3NPkeK5W", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin_guang", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 670 - } - ], - "_prefab": { - "__id__": 671 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 512, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -11.128, - 18.367, - 0, - 0, - 0, - 0, - 1, - 0.8, - 0.8, - 0.6 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "48tdolr7tLEoSxNkl+fNLC" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 669 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "93ce59db-aa4d-4441-8005-b02ad0e68a72" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "080KakjohCiYzH4vuwPNvj" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "74HYTGiXZOfZl9YI6bUXZq", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 673 - } - ], - "_prefab": { - "__id__": 674 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 282, - "height": 250 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -11.128, - 18.367, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0.6 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "fbfd9H0btEzqnL2Ks+lejx" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 672 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "7ce90c89-a092-48a9-b22c-5f0431746477" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "09ts1HvolA7YCw8IeY8gAz" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "d68GKeSrJH2I+V93oeyycN", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "hammer_guang", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 676 - } - ], - "_prefab": { - "__id__": 677 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 512, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -287.794, - -323.198, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.6, - 0.6 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "36LEIGkONBSKm+N6K8rN1J" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 675 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "93ce59db-aa4d-4441-8005-b02ad0e68a72" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "aeevvn5/tCKJ9U3X6eAPF7" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "f6FRpIQJtNR66mWMAreItb", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "hammer", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 679 - } - ], - "_prefab": { - "__id__": 680 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 209, - "height": 216 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -287.794, - -332.074, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0.8 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "d9VINfusBOSIglLiXhfGvt" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 678 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "08bd4e73-509f-470e-974b-96e945dce3de" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "36NiCXxFdEuYTH7pyNDLkB" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "ccEi2zP8JNjo6w4uqkKq+2", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "magic_guang", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 682 - } - ], - "_prefab": { - "__id__": 683 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 512, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 327.061, - -326.536, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.6, - 0.6 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "0apnZF2d5IeJgpe6aAiG8u" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 681 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "93ce59db-aa4d-4441-8005-b02ad0e68a72" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "90fc6dnhNK+7TFP3sCiLD4" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "bfR99kyt9PlJbDCwnS7oj0", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "magic", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 685 - } - ], - "_prefab": { - "__id__": 686 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 201, - "height": 207 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 327.061, - -334.004, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0.8 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "dcqbPVp75PBIcwcbrmQCLj" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 684 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "5ac16554-56e0-4ddc-b014-6df6fab40e2e" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "95ROpZ201JFZIeQ9lHeizb" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "ddgjqnwGpHN4p/M/ayzRln", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "ice_guang", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 688 - } - ], - "_prefab": { - "__id__": 689 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 512, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 13.306, - -321.531, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.6, - 0.6 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "07fPf0dFdKX5gAWO1H0aqh" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 687 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "93ce59db-aa4d-4441-8005-b02ad0e68a72" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "68tVVbAJ5N5LLPDaBEceeF" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "84QBqBhwFIH5DGlYL4x+oN", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "ice", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 691 - } - ], - "_prefab": { - "__id__": 692 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 186, - "height": 213 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 13.306, - -325.312, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0.8 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "7479dLxpRPC6X1EKCD2vCi" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 690 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "83a2bd99-7e88-408c-866c-648c553a748d" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "9bEux80chOQKLr18L+wgZH" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "60ntDP19dIPaezFlvJ+Dw7", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 694 - } - ], - "_prefab": { - "__id__": 695 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 76, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 338.756, - -406.883, - 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": "fbphT+JUVNqq9lq0QJ2qel" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 693 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "c7e6deec-f902-40fb-9bb3-b3f0f8cf2324" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "04KRU//ZtI/JqA9pGFEtzD" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "9e5vj9NK1FiKZPzUbtKQLB", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 697 - } - ], - "_prefab": { - "__id__": 698 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 76, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -287.851, - -417.463, - 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": "f6U6zTkWNJOapNbQczBvnK" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 696 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "c7e6deec-f902-40fb-9bb3-b3f0f8cf2324" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "dfQTYW+IhLwoHzkeLEspPb" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "8baCcpBAVICqsP01aY1KMJ", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 700 - } - ], - "_prefab": { - "__id__": 701 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 76, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 17.835, - -411.638, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "1dF0XZkLVAmYlApkfcOtkn" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 699 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "c7e6deec-f902-40fb-9bb3-b3f0f8cf2324" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "8dRFCMpZlI9agskkbRRMu4" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "77eKVla0dCjZO0a+zIL6Db", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 703 - } - ], - "_prefab": { - "__id__": 704 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 209, - "height": 51 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 4.282, - -116.183, - 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": "360y+vLA5PMYgJA8X/3zCV" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 702 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "2c6a2b12-3507-4373-af1c-798de9361f49" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "26WpOZu0lJva/7qmIRfBJr" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "3eWX7qy1lL5o6BMHFc8lpu", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btn", - "_objFlags": 0, - "_parent": { - "__id__": 665 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 706 - }, - { - "__id__": 707 - } - ], - "_prefab": { - "__id__": 709 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 472, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -643.271, - 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": "daL6YWmHZMeLvEb0DyD0R6" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 705 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "1ff9359e-826f-4bf7-923a-2f9f405d7fcf" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "e5paR2trZBs5zA4r/ib+W5" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 705 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.05, - "clickEvents": [ - { - "__id__": 708 - } - ], - "_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__": 705 - }, - "_id": "e62oxpqRRBz7ewtjJfh4Rx" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 659 - }, - "component": "", - "_componentId": "d872cRNBmVNPr3+xwhhFYEn", - "handler": "clickClaimReward", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "e9QGMONUtLwINZJPRutjuH", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "2fIIeiLPVI0bNFZ5Cs3w1I", - "sync": false - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 659 - }, - "_enabled": true, - "alignMode": 1, - "_target": null, - "_alignFlags": 45, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_id": "92kQTFCPJMV4BH4bBZu4ie" - }, - { - "__type__": "d872cRNBmVNPr3+xwhhFYEn", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 659 - }, - "_enabled": true, - "_id": "291SlvB7NByJ8R2t0iFIMF" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 659 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "", - "sync": false - }, { "__type__": "cc.Canvas", "_name": "", @@ -30468,13 +28494,13 @@ "_active": true, "_components": [ { - "__id__": 718 + "__id__": 663 }, { - "__id__": 719 + "__id__": 664 }, { - "__id__": 720 + "__id__": 665 } ], "_prefab": null, @@ -30530,7 +28556,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 717 + "__id__": 662 }, "_enabled": true, "_materials": [ @@ -30563,7 +28589,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 717 + "__id__": 662 }, "_enabled": true, "alignMode": 1, @@ -30590,11 +28616,11 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 717 + "__id__": 662 }, "_enabled": true, "uid_Number": { - "__id__": 718 + "__id__": 663 }, "_id": "67zCbKKV9PvYlB9x+eob0L" } diff --git a/assets/Script/Block.ts b/assets/Script/Block.ts index fa098c94..ec4c9d9c 100644 --- a/assets/Script/Block.ts +++ b/assets/Script/Block.ts @@ -232,6 +232,7 @@ export default class Block extends cc.Component { level: number = 0; /*是否已消除标志 - true表示方块已经消除消失,不再参与游戏逻辑*/ over: boolean = false; + spawnLocked: boolean = false; /*是否可移动地板块正在移动 - 防止地板块移动时产生冲突*/ moveFloorPd: boolean = false; /*粘合方块的数组 - 存储与当前方块粘合在一起的所有其他方块*/ @@ -308,6 +309,7 @@ export default class Block extends cc.Component { this.collider = this.node.getComponent(cc.PolygonCollider); // 初始化方块已消除状态为false(未消除) - 消除后不再参与游戏逻辑 this.over = false; + this.spawnLocked = false; // 初始化碰撞检测状态为false(未检测) - 防止重复碰撞检测 this.checkCollision = false; } @@ -323,6 +325,14 @@ export default class Block extends cc.Component { } + setSpawnLocked(locked: boolean) { + this.spawnLocked = locked; + if (locked) { + this.isTouch = false; + this.touchDelta = cc.v2(0, 0); + } + } + // ============================================ // JSON深拷贝方法 // 功能:将对象转为JSON字符串再转回,实现深拷贝(完全独立的副本) @@ -824,6 +834,7 @@ export default class Block extends cc.Component { // 注意:只有类型为变色块或配置中有colorArray的方块才会变色 // ============================================ changeBlockColor() { + if (this.spawnLocked) return; if (this.node.getChildByName("change_color").active == true) { if (this.type == BlockType.变色块 || (this.block_Info.colorArray != undefined && this.block_Info.colorArray != null)) { console.log("变色块变颜色了", this.type); @@ -976,6 +987,7 @@ export default class Block extends cc.Component { // 注意:如果方块有floor和floorTime属性,则不减少粘合效果 // ============================================ reduceAdhesive() { + if (this.spawnLocked) return; if (this.block_Info.floor && this.block_Info.floorTime) { return; } @@ -1444,7 +1456,7 @@ export default class Block extends cc.Component { // - this.relative_Position:记录手指相对于方块中心的位置 // ============================================ touchStart(event) { - if (this.over || MapConroler._instance.gameOver || MapConroler._instance.touchIng) return; + if (this.spawnLocked || this.over || MapConroler._instance.gameOver || MapConroler._instance.touchIng) return; // 返回世界坐标 let touchLoc = event.getLocation(); // https://docs.cocos.com/creator/api/zh/classes/Intersection.html 检测辅助类 @@ -1625,6 +1637,7 @@ export default class Block extends cc.Component { // 7. 如果是粘合块,还要处理被粘合块的落下 // ============================================ touchEnd(event) { + if (this.spawnLocked) return; MapConroler._instance.touchIng = false; if (MapConroler._instance.gameOver) { return; @@ -1757,6 +1770,7 @@ export default class Block extends cc.Component { // - 移动速度限制防止方块穿透障碍物 // ============================================ touchMove(event: cc.Event.EventTouch) { + if (this.spawnLocked) return; if (MapConroler._instance.gameOver) { if (this.isTouch == true) { this.touchDelta = cc.v2(0, 0); @@ -1929,6 +1943,7 @@ export default class Block extends cc.Component { // 6. 延时1900ms后检测游戏是否结束 // ============================================ eliminate(type) { + if (this.spawnLocked) return; clearTimeout(this.scheduleCallback2); clearTimeout(this.scheduleCallback); @@ -2090,6 +2105,7 @@ export default class Block extends cc.Component { // 7. 延时1500ms后检测游戏是否结束 // ============================================ eliminate2() { + if (this.spawnLocked) return; clearTimeout(this.scheduleCallback2); let self = this; this.isEliminatedByHammer = true; @@ -2976,6 +2992,7 @@ export default class Block extends cc.Component { // - checkCollision标记是否正在进行碰撞检测 // ============================================ update(dt: number) { + if (this.spawnLocked) return; if (this.isTouch && this.touchDelta.mag() > 0) { //this.moveLeft = this.moveRight = this.moveUp = this.moveDown = true; const delta = this.touchDelta; diff --git a/assets/Script/GameManager.ts b/assets/Script/GameManager.ts index 2a87fa34..b3404c97 100644 --- a/assets/Script/GameManager.ts +++ b/assets/Script/GameManager.ts @@ -104,6 +104,7 @@ export default class GameManager extends cc.Component { if (GameManager._instance == null) { GameManager._instance = this; cc.game.addPersistRootNode(this.node); + cc.fx.GameTool.predownloadGameplayPopupSubpackages(); console.log("_____________________________加载图片"); BlockAssetManager.instance.startBackgroundCache(); } @@ -219,29 +220,13 @@ export default class GameManager extends cc.Component { cc.tween(this.lizi) .to(0.5, { position: cc.v3(410, -516.426, 0) }) .start(); - // 加载成功后进入 HomeScene - cc.assetManager.loadBundle('shop', (err, bundle) => { - if (err) { - console.error('加载 shop 失败:', err); - } else { - cc.director.loadScene("HomeScene"); - // 加载成功后进入 HomeScene - // cc.assetManager.loadBundle('music', (err, bundle) => { - // if (err) { - // console.error('加载 music bundle 失败:', err); - // // 加载失败时仍尝试进入 HomeScene - // } else { - // } - // setTimeout(() => { - - // }, 300); - - // }); - + cc.assetManager.loadBundle('shop', (shopError) => { + if (shopError) { + console.error('加载 shop 失败:', shopError); + return; } + cc.director.loadScene("HomeScene"); }); - // 加载 music bundle - } //#region 微信登录,以及读取用户信息 diff --git a/assets/Script/JiaZai.ts b/assets/Script/JiaZai.ts index 06b10dbb..7da966c6 100644 --- a/assets/Script/JiaZai.ts +++ b/assets/Script/JiaZai.ts @@ -85,6 +85,12 @@ export default class JiaZai extends cc.Component { // 缓存月卡节点 private monthlyCardNode: cc.Node | null = null; + static clearShopPrefabCaches(): void { + JiaZai.cachedShopPrefab = null; + JiaZai.cachedRewardPrefab = null; + JiaZai.cachedMonthlyCardPrefab = null; + } + // 缓存 预制体 private static cachedActionPrefab: cc.Prefab | null = null; // 缓存 新手活动节点 节点 diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 5ab6dc4e..da56ed32 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -16,6 +16,7 @@ import Utils from "./module/Pay/Utils"; import { getABReviveCoinCost, MAX_REVIVE_COST_STEP } from "./module/Config/ReviveCostConfig"; import Vine from "./prop/vine"; import BlockAssetManager from "./module/Tool/BlockAssetManager"; +import SpawnGate, { SpawnGateBatchResult, SpawnGateConfig } from "./SpawnGate"; const { ccclass, property } = cc._decorator; @@ -217,6 +218,8 @@ export default class MapConroler extends cc.Component { questionArray: any[]; //问号块数组 blocks2: any[]; boom17Blocks: any; //消除炸弹块数组 + private spawnGateControllers: SpawnGate[] = []; + private spawnGatesInitialized: boolean = false; vineBlock: any[]; //地图藤蔓组(每组按起点到终点排序) private vineLayer: cc.Node = null; @@ -226,7 +229,29 @@ export default class MapConroler extends cc.Component { private winBundle: cc.AssetManager.Bundle = null; private winLoading: boolean = false; private winDisposed: boolean = false; + private winRewardCoin: number = 0; private winLoadCallbacks: Array<(error: Error, winRoot?: cc.Node) => void> = []; + + private isMapRuntimeAlive(): boolean { + return cc.isValid(this, true) + && !this.winDisposed + && MapConroler._instance === this + && !!this.node + && cc.isValid(this.node, true); + } + + private static releaseOrphanedWinBundle(bundle: cc.AssetManager.Bundle): void { + if (!bundle) return; + setTimeout(() => { + const activeMap = MapConroler._instance; + if (activeMap && cc.isValid(activeMap, true)) return; + if (cc.assetManager.getBundle("win") !== bundle) return; + bundle.releaseAll(); + if (cc.assetManager.getBundle("win") === bundle) { + cc.assetManager.removeBundle(bundle); + } + }, 0); + } // ============================================ // Cocos生命周期 - onLoad方法 // 功能:场景加载时初始化游戏控制器 @@ -242,6 +267,8 @@ export default class MapConroler extends cc.Component { // ============================================ onLoad() { this.winDisposed = false; + this.winLoading = false; + this.winLoadCallbacks = []; //以下为检验关卡 // console.log("当前关卡", cc.fx.GameConfig.GM_INFO.level); // setTimeout(() => { @@ -282,6 +309,8 @@ export default class MapConroler extends cc.Component { this.blocks2 = []; this.adhesiveBlock = []; //粘合快数组 this.boom17Blocks = []; //消除炸弹块数组(type=17) + this.spawnGateControllers = []; + this.spawnGatesInitialized = false; this.vineBlock = []; //地图藤蔓数组 this.barrierBlock = []; this.teamBlocks = []; //可移动地板块组队 @@ -386,20 +415,25 @@ export default class MapConroler extends cc.Component { // 功能:场景首次激活时预加载资源和初始化地图 // 何时调用:场景第一次激活时自动调用(在onLoad之后) // 主要功能: - // 1. 预加载HomeScene场景(1秒后开始) + // 1. 非低内存 iOS 预加载 HomeScene 场景(1秒后开始) // 2. 从GameManager获取预制体和精灵图集引用 // 3. 调用initMap初始化地图 // 注意事项:广告预加载代码已被注释 // ============================================ start() { - setTimeout(() => { - cc.director.preloadScene("HomeScene", (err, asset) => { - if (err) { - console.error('动态加载 HomeScene 失败:', err); - return; - } - }); - }, 1000); + if (!cc.fx.GameTool.isLowMemoryIOSDevice()) { + setTimeout(() => { + cc.director.preloadScene("HomeScene", (err, asset) => { + if (err) { + console.error('动态加载 HomeScene 失败:', err); + return; + } + }); + }, 1000); + } + else { + console.log("[Memory] low-memory iOS: skip HomeScene preload in Map"); + } // console.log("进入GameScene"); if (GameManager._instance) { this.Block_Array = GameManager._instance.Block_Array; @@ -435,7 +469,7 @@ export default class MapConroler extends cc.Component { } loading.close(); if (!isCurrent() || !ready) return; - BlockAssetManager.instance.activateScene(cc.fx.GameConfig.BLOCK_INFO[0]); + BlockAssetManager.instance.activateScene(cc.fx.GameConfig.getCurrentLevelBlockDefinitions()); this.blockAssetsReady = true; this.initMap(); this.showEnterNewModeIfNeeded(); @@ -443,12 +477,13 @@ export default class MapConroler extends cc.Component { onDestroy() { this.winDisposed = true; + if (MapConroler._instance === this) MapConroler._instance = null; if (this.SceneManager && this.SceneManager.finishDynamicPopupLoad) { this.SceneManager.finishDynamicPopupLoad("win"); } this.releaseWinBundle(); this.revive = null; - if (MapConroler._instance === this) MapConroler._instance = null; + this.spawnGateControllers = []; this.releaseBlockAssets(); } @@ -459,33 +494,31 @@ export default class MapConroler extends cc.Component { } private ensureWinLoaded(callback?: (error: Error, winRoot?: cc.Node) => void) { + if (!this.isMapRuntimeAlive()) return; const currentWin = this.getWinRoot(); if (currentWin) { if (callback) callback(null, currentWin); return; } - if (this.winDisposed) { - if (callback) callback(new Error("Map destroyed before loading Win prefab")); - return; - } + if (!this.winLoadCallbacks) this.winLoadCallbacks = []; if (callback) this.winLoadCallbacks.push(callback); if (this.winLoading) return; this.winLoading = true; const loadPrefab = (bundle: cc.AssetManager.Bundle) => { - if (this.winDisposed) { - this.failWinLoad(new Error("Map destroyed before loading Win prefab"), bundle); + if (!this.isMapRuntimeAlive()) { + MapConroler.releaseOrphanedWinBundle(bundle); return; } this.winBundle = bundle; bundle.load("prefab/Win", cc.Prefab, (error: Error, prefab: cc.Prefab) => { - if (error) { - this.failWinLoad(error, bundle); + if (!this.isMapRuntimeAlive()) { + MapConroler.releaseOrphanedWinBundle(bundle); return; } - if (this.winDisposed || !this.node || !cc.isValid(this.node)) { - this.failWinLoad(new Error("Map destroyed while loading Win prefab"), bundle); + if (error) { + this.failWinLoad(error, bundle); return; } @@ -522,6 +555,7 @@ export default class MapConroler extends cc.Component { winRoot.setPosition(0, 0); winRoot.setSiblingIndex(Math.min(3, gameRoot.childrenCount - 1)); // winRoot.scale = Number(cc.fx.GameConfig.GM_INFO.scale) || 1; + console.log("[PopupPrefab] instantiated inactive: win/prefab/Win"); this.winRoot = winRoot; this.winPanel = winPanel; this.gameOverNode = gameOverNode; @@ -541,19 +575,29 @@ export default class MapConroler extends cc.Component { const loadedBundle = cc.assetManager.getBundle("win"); if (loadedBundle) { + console.log("[PopupBundle] already loaded: win"); loadPrefab(loadedBundle); return; } cc.assetManager.loadBundle("win", (error: Error, bundle: cc.AssetManager.Bundle) => { + if (!this.isMapRuntimeAlive()) { + if (bundle) MapConroler.releaseOrphanedWinBundle(bundle); + return; + } if (error) { this.finishWinLoad(error); return; } + console.log("[PopupBundle] loadBundle complete: win"); loadPrefab(bundle); }); } private failWinLoad(error: Error, bundle?: cc.AssetManager.Bundle) { + if (!this.isMapRuntimeAlive()) { + if (bundle) MapConroler.releaseOrphanedWinBundle(bundle); + return; + } if (bundle) { if (this.winBundle === bundle) this.winBundle = null; this.releaseWinBundleAssets(bundle); @@ -562,15 +606,24 @@ export default class MapConroler extends cc.Component { } private finishWinLoad(error: Error, winRoot?: cc.Node) { + if (!this.isMapRuntimeAlive()) return; this.winLoading = false; - const callbacks = this.winLoadCallbacks.splice(0); + const callbacks = this.winLoadCallbacks ? this.winLoadCallbacks.splice(0) : []; if (error && !this.winDisposed) cc.error("Win prefab load failed:", error.message || error); - callbacks.forEach((callback) => callback(error, winRoot)); + callbacks.forEach((callback) => { + if (!this.isMapRuntimeAlive()) return; + try { + callback(error, winRoot); + } catch (callbackError) { + cc.error("Win prefab callback failed:", callbackError); + } + }); } private showWinWhenReady() { + if (!this.isMapRuntimeAlive()) return; this.ensureWinLoaded((error, winRoot) => { - if (this.winDisposed) return; + if (!this.isMapRuntimeAlive()) return; if (error || !winRoot || !this.gameOverNode) { const loadError = error || new Error("Win prefab is not ready after loading"); cc.error("Win settlement cannot open:", loadError.message || loadError); @@ -634,7 +687,7 @@ export default class MapConroler extends cc.Component { } private releaseWinBundle() { - this.winLoadCallbacks.length = 0; + if (this.winLoadCallbacks) this.winLoadCallbacks.length = 0; if (this.SceneManager && this.SceneManager.unbindWinPanel) { this.SceneManager.unbindWinPanel(); } @@ -937,6 +990,8 @@ export default class MapConroler extends cc.Component { this.blocks = []; this.blocks2 = []; this.boom17Blocks = []; + this.spawnGateControllers = []; + this.spawnGatesInitialized = false; this.mapBlocksWall = []; this.mapInfo = []; this.wallInfo = []; @@ -1019,10 +1074,7 @@ export default class MapConroler extends cc.Component { this.SceneManager.warmupGameplayPopupBundles( preloadInstances, preloadInstances ? (onComplete: () => void) => { - if (this.winDisposed) { - onComplete(); - return; - } + if (!this.isMapRuntimeAlive()) return; this.ensureWinLoaded(() => onComplete()); } : null, ); @@ -1044,6 +1096,7 @@ export default class MapConroler extends cc.Component { schedulePopupWarmup(); }); this.blockInit(() => { + this.initSpawnGates(); blockReady = true; schedulePopupWarmup(); }); @@ -1371,6 +1424,259 @@ export default class MapConroler extends cc.Component { // 开始分帧创建方块 createBlocks(); } + + private initSpawnGates() { + const level: any = cc.fx.GameConfig.LEVEL_INFO && cc.fx.GameConfig.LEVEL_INFO[0]; + const configs: SpawnGateConfig[] = level && Array.isArray(level.spawnGates) ? level.spawnGates : []; + this.spawnGateControllers = []; + + if (CC_DEBUG) this.validateSpawnGateConfigs(configs); + for (const config of configs) { + const node = cc.instantiate(this.Block_Prop[23]); + node.parent = this.node; + const controller = node.getComponent(SpawnGate); + if (!controller) throw new Error("openDoor prefab is missing SpawnGate component"); + controller.init(this, config); + this.spawnGateControllers.push(controller); + } + this.spawnGatesInitialized = true; + } + + private validateSpawnGateConfigs(configs: SpawnGateConfig[]) { + const occupied = new Set(); + for (const gate of configs) { + const sizeValid = (gate.width === 2 && gate.height === 2) + || (gate.width === 3 && gate.height === 3); + if (!sizeValid) throw new Error(`SpawnGate ${gate.id || ""} only supports 2x2 or 3x3`); + if (!Number.isInteger(gate.x) || !Number.isInteger(gate.y) + || gate.x < 1 || gate.y < 1 + || gate.x + gate.width > this.mapWidth - 1 + || gate.y + gate.height > this.mapHeight - 1) { + throw new Error(`SpawnGate ${gate.id || ""} is outside the playable map`); + } + if (!Array.isArray(gate.spawnQueue)) { + throw new Error(`SpawnGate ${gate.id || ""} has no spawnQueue`); + } + for (let x = gate.x; x < gate.x + gate.width; x++) { + for (let y = gate.y; y < gate.y + gate.height; y++) { + const key = `${x},${y}`; + if (occupied.has(key)) throw new Error(`SpawnGate overlap at ${key}`); + occupied.add(key); + } + } + for (const item of gate.spawnQueue) { + const members = item && item.members; + if (!Array.isArray(members) || members.length === 0) { + throw new Error(`SpawnGate ${gate.id || ""} contains an empty batch`); + } + const adhesiveCount = members.filter(member => member && member.type === 9).length; + if (adhesiveCount % 2 !== 0) { + throw new Error(`SpawnGate ${gate.id || ""} adhesive blocks must be paired`); + } + for (const member of members) { + if (!member || !Number.isInteger(member.block) || member.block < 0 || member.block >= 23 + || !this.Block_Array[member.block]) { + throw new Error(`SpawnGate ${gate.id || ""} contains invalid block prefab index`); + } + if (!member.position || !Number.isFinite(member.position.x) || !Number.isFinite(member.position.y)) { + throw new Error(`SpawnGate ${gate.id || ""} contains invalid block position`); + } + if (member.type === 1 && (member.stacking === undefined || member.stacking === null)) { + throw new Error(`SpawnGate ${gate.id || ""} stacking block has no stacking color`); + } + if (member.type === 9 && member.adhesiveTime < 2) { + throw new Error(`SpawnGate ${gate.id || ""} adhesiveTime must be at least 2`); + } + } + } + } + } + + createSpawnGateBatch(members: any[], gate: SpawnGateConfig, batchIndex: number): SpawnGateBatchResult { + const sorted: any[] = this.sortBlock(members.map(member => JSON.parse(JSON.stringify(member)))); + const ordered: any[] = sorted.filter(member => member.type !== 9) + .concat(sorted.filter(member => member.type === 9)); + const nodes: cc.Node[] = []; + const primaryNodes: cc.Node[] = []; + + for (let i = 0; i < ordered.length; i++) { + const info = ordered[i]; + if (info.type === 1) { + const lower = this.instantiateSpawnGateBlock(info, nodes); + const upperInfo: any = { + id: info.id + 1, + block: info.block, + color: info.stacking, + type: 10, + position: info.position, + stacking: info.color, + }; + if (info.colorChange !== undefined && info.colorChange !== null) { + upperInfo.colorChange = info.colorChange; + } + const upper = this.instantiateSpawnGateBlock(upperInfo, nodes); + lower.getComponent("Block").init(info, null, null, upper, null); + upper.getComponent("Block").init(upperInfo, null, null, lower, null); + primaryNodes.push(lower); + } + else if (info.type === 9) { + const pairInfo = ordered[++i]; + const first = this.instantiateSpawnGateBlock(info, nodes); + const second = this.instantiateSpawnGateBlock(pairInfo, nodes); + first.getComponent("Block").init(info, null, null, second, false); + second.getComponent("Block").init(pairInfo, null, null, first, true); + primaryNodes.push(first, second); + } + else { + const node = this.instantiateSpawnGateBlock(info, nodes); + node.getComponent("Block").init(info, null, null, null, null); + primaryNodes.push(node); + } + } + + this.setupSpawnGateFloorTeams(nodes); + this.setupSpawnGateColorPairs(nodes); + if (CC_DEBUG) this.validateCreatedSpawnGateBatch(primaryNodes, gate, batchIndex); + + const opacities = nodes.map(node => node.opacity > 0 ? node.opacity : 255); + nodes.forEach(node => node.opacity = 0); + return { nodes, opacities }; + } + + private instantiateSpawnGateBlock(info: any, nodes: cc.Node[]): cc.Node { + const node = cc.instantiate(this.Block_Array[info.block]); + node.parent = this.node; + node.setPosition(cc.v2(info.position.x, info.position.y)); + node.opacity = 0; + const block: any = node.getComponent("Block"); + block.setSpawnLocked(true); + if (info.color !== 11 && info.type !== 22) { + this.blocks.push(node); + this.blockNum++; + } + if (info.type === 17) this.boom17Blocks.push(node); + if (info.floorMove === true) this.floorMove = true; + nodes.push(node); + return node; + } + + private setupSpawnGateFloorTeams(nodes: cc.Node[]) { + const teams: { [floor: string]: cc.Node[] } = {}; + for (const node of nodes) { + const block: any = node.getComponent("Block"); + const info = block && block.block_Info; + if (!info || info.floorMove !== true || info.floor === undefined || info.floor === null) continue; + const key = String(info.floor); + if (!teams[key]) teams[key] = []; + teams[key].push(node); + } + Object.keys(teams).forEach(key => { + const team = teams[key]; + team.forEach(node => node.getComponent("Block").setTeamBlocks(team)); + team.forEach(node => node.getComponent("Block").setMoveFloor()); + }); + } + + private setupSpawnGateColorPairs(nodes: cc.Node[]) { + const candidates = nodes.filter(node => { + const block: any = node.getComponent("Block"); + return block && block.colorArray && block.colorArray.length >= 2; + }); + const paired = new Set(); + for (let i = 0; i < candidates.length; i++) { + const nodeA = candidates[i]; + if (paired.has(nodeA.uuid)) continue; + const blockA: any = nodeA.getComponent("Block"); + for (let j = i + 1; j < candidates.length; j++) { + const nodeB = candidates[j]; + if (paired.has(nodeB.uuid)) continue; + const blockB: any = nodeB.getComponent("Block"); + if (blockA.colorArray[0] === blockB.colorArray[1] + && blockA.colorArray[1] === blockB.colorArray[0]) { + blockA.colorNode = nodeB; + blockB.colorNode = nodeA; + paired.add(nodeA.uuid); + paired.add(nodeB.uuid); + break; + } + } + } + if (CC_DEBUG && paired.size !== candidates.length) { + throw new Error("SpawnGate color-changing blocks must have a complementary partner in the same batch"); + } + } + + private validateCreatedSpawnGateBatch(nodes: cc.Node[], gate: SpawnGateConfig, batchIndex: number) { + const occupied = new Set(); + for (const node of nodes) { + const block: any = node.getComponent("Block"); + for (const offset of block.allBlocks) { + const x = block.posX + offset.x; + const y = block.posY + offset.y; + if (x < gate.x || x >= gate.x + gate.width || y < gate.y || y >= gate.y + gate.height) { + throw new Error(`SpawnGate ${gate.id || ""} batch ${batchIndex} member exceeds gate area`); + } + const key = `${x},${y}`; + if (occupied.has(key)) { + throw new Error(`SpawnGate ${gate.id || ""} batch ${batchIndex} members overlap at ${key}`); + } + occupied.add(key); + } + } + } + + isSpawnGateAreaEmpty(gate: SpawnGateConfig): boolean { + for (let x = gate.x; x < gate.x + gate.width; x++) { + for (let y = gate.y; y < gate.y + gate.height; y++) { + if (this.mapBlocksWall[x][y].getComponent("MapBlock").block_Id !== "") return false; + } + } + return true; + } + + unlockSpawnGateBatch(nodes: cc.Node[]) { + for (const node of nodes) { + if (!node || !cc.isValid(node)) continue; + const block: any = node.getComponent("Block"); + if (!block) continue; + block.setSpawnLocked(false); + if (block.type === 6 && this.gameStart && !this.pause) { + const boom = node.getChildByName("boom"); + if (boom) boom.getComponent("Boom").startBoom(); + } + } + } + + onSpawnGateFinished() { + this.spawnGateControllers = this.spawnGateControllers.filter(gate => + gate && cc.isValid(gate, true) && gate.hasOutstandingWork()); + if (this.canCompleteLevel()) { + this.judgeWin(0); + this.nextLevel(0); + } + } + + private hasPendingSpawnGateWork(): boolean { + const level: any = cc.fx.GameConfig.LEVEL_INFO && cc.fx.GameConfig.LEVEL_INFO[0]; + const configs = level && Array.isArray(level.spawnGates) ? level.spawnGates : []; + if (configs.length === 0) return false; + if (!this.spawnGatesInitialized) return true; + return this.spawnGateControllers.some(gate => + gate && cc.isValid(gate, true) && gate.hasOutstandingWork()); + } + + private canCompleteLevel(): boolean { + return this.blocks.length === 0 && !this.hasPendingSpawnGateWork(); + } + + private isSpawnLockedNode(node: cc.Node): boolean { + const block: any = node && node.getComponent("Block"); + return !!(block && block.spawnLocked); + } + + private hasUnlockedBlockTarget(): boolean { + return this.blocks.some(node => node && cc.isValid(node) && !this.isSpawnLockedNode(node)); + } // ============================================ // 方块排序方法(降低DrawCall优化) // 功能:对方块数组进行排序,使相同属性的方块相邻,提高渲染效率 @@ -3007,7 +3313,7 @@ export default class MapConroler extends cc.Component { changeHengShu() { let hengShuBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").type == 7 || child.getComponent("Block").type == 8) return child } @@ -3032,7 +3338,7 @@ export default class MapConroler extends cc.Component { changeAdhesive() { if (this.adhesiveBlock.length != 0) { for (let i = 0; i < this.adhesiveBlock.length; i++) { - if (this.adhesiveBlock[i]) + if (this.adhesiveBlock[i] && !this.isSpawnLockedNode(this.adhesiveBlock[i])) this.adhesiveBlock[i].getComponent("Block").reduceAdhesive(); } } @@ -3051,7 +3357,7 @@ export default class MapConroler extends cc.Component { changeBlockColor(node) { if (this.change_colorBlock == false && this.change_Block == false) return; let colorBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").type == 10 && child.getComponent("Block").block_Info && child != node) { if (child.getComponent("Block").block_Info.node != node && child.getComponent("Block").block_Info.colorChange != undefined && child.getComponent("Block").block_Info.colorChange != null) return child @@ -3111,7 +3417,7 @@ export default class MapConroler extends cc.Component { changeBoom(node) { if (this.bombBlock == false) return; let boomBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").type == 17 && child != node) return child } @@ -3262,7 +3568,7 @@ export default class MapConroler extends cc.Component { if (this.blockLock == false) return; if (this.blockLock) { let lockBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").block_Info.lock != undefined) return child } @@ -3674,7 +3980,7 @@ export default class MapConroler extends cc.Component { special_Treatment(node, type, prop) { this.shrinkVine(); let freezeBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").type == 4) return child } @@ -3687,7 +3993,7 @@ export default class MapConroler extends cc.Component { } let floorBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").block_Info.floor != null || child.getComponent("Block").block_Info.floor != undefined) return child } @@ -3706,7 +4012,7 @@ export default class MapConroler extends cc.Component { } // console.log("__________特殊处理,处理减1"); let questionBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").type == 16) return child } @@ -3727,7 +4033,7 @@ export default class MapConroler extends cc.Component { let lockBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").block_Info.lock != undefined) return child } @@ -3743,7 +4049,7 @@ export default class MapConroler extends cc.Component { //普通钥匙块 if (node.getComponent("Block").type == 2) { let lockBlock = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").type == 3) return child } @@ -3757,7 +4063,7 @@ export default class MapConroler extends cc.Component { //第二钥匙块 else if (node.getComponent("Block").type == 13) { let lockBlock2 = this.node.children.filter(child => { - if (child.getComponent("Block")) { + if (child.getComponent("Block") && !this.isSpawnLockedNode(child)) { if (child.getComponent("Block").type == 12) return child } @@ -3809,13 +4115,14 @@ export default class MapConroler extends cc.Component { judgeWin(number) { this.blockNum = this.blocks.length; if (number == 1) { - if ((this.blockNum == 0 || this.blockNum == 1) && !this.gameWin && !this.gameOver) { + if ((this.blockNum == 0 || this.blockNum == 1) && !this.hasPendingSpawnGateWork() + && !this.gameWin && !this.gameOver) { this.stopTimeCutDown(); this.stopBoom(); } } else if (number == 0) { - if (this.blockNum == 0 && !this.gameWin && !this.gameOver) { + if (this.canCompleteLevel() && !this.gameWin && !this.gameOver) { this.stopTimeCutDown(); this.stopBoom(); } @@ -3879,7 +4186,7 @@ export default class MapConroler extends cc.Component { this.blockNum = this.blocks.length; console.log("剩余数量:", this.blockNum, this.gameOver); - if (this.blockNum == 0 && !this.gameWin && !this.gameOver) { + if (this.canCompleteLevel() && !this.gameWin && !this.gameOver) { console.log("获胜了成功了!!!!!!") this.gameWin = true; this.gameStart = false; @@ -3962,7 +4269,8 @@ export default class MapConroler extends cc.Component { this.stopTimeCutDown(); // console.log("即将上报成功________________________:",this.add_Time); // console.log("成功消除一个",this.add_Time); - cc.fx.GameTool.changeCoin(40 * cc.fx.GameConfig.GM_INFO.doubleCoin * cc.fx.GameConfig.GM_INFO.rewardAdCoin); + this.winRewardCoin = 40 * cc.fx.GameConfig.GM_INFO.doubleCoin * cc.fx.GameConfig.GM_INFO.rewardAdCoin; + cc.fx.GameTool.changeCoin(this.winRewardCoin); const data = { change_reason: "level", id: (1001 + ""), @@ -4197,7 +4505,7 @@ export default class MapConroler extends cc.Component { } const sceneManager = canvas.getComponent(SceneManager); if (sceneManager && sceneManager.playWinCoinFly) { - sceneManager.playWinCoinFly(); + sceneManager.playWinCoinFly(this.winRewardCoin); } } @@ -4209,11 +4517,13 @@ export default class MapConroler extends cc.Component { const sceneManager = canvas.getComponent(SceneManager); if (sceneManager && sceneManager.clearFlyCoins) { sceneManager.clearFlyCoins(); + this.updateCoin(); } } // 新功能介绍确认后播放结算动画,并在指定延迟后自动进入下一关。 onNewModeConfirmed() { + if (!this.isMapRuntimeAlive()) return; const newModeNode = this.getNewModeRoot(); if (newModeNode) { newModeNode.off("new-mode-returned", this.onNewModeReturned, this); @@ -4237,6 +4547,7 @@ export default class MapConroler extends cc.Component { // 点击新功能弹窗的返回按钮后,恢复普通胜利结算流程,不自动进入下一关。 onNewModeReturned() { + if (!this.isMapRuntimeAlive()) return; const newModeNode = this.getNewModeRoot(); if (newModeNode) newModeNode.off("new-mode-confirmed", this.onNewModeConfirmed, this); this.releaseNewModePanel(); @@ -4246,6 +4557,7 @@ export default class MapConroler extends cc.Component { } onNewModeClosed() { + if (!this.isMapRuntimeAlive()) return; this.releaseNewModePanel(); } @@ -4259,6 +4571,7 @@ export default class MapConroler extends cc.Component { //如果是最大关卡,弹窗提示 //如果不是最大关卡,直接下一关 winLevel2() { + if (!this.isMapRuntimeAlive()) return; let recordInfinity = cc.fx.StorageMessage.getStorage("EndLevelPop"); console.log("已经最大关卡房间 弹窗提示", recordInfinity, cc.fx.GameTool.maxLevel()) if (cc.fx.GameTool.maxLevel()) { @@ -4290,6 +4603,7 @@ export default class MapConroler extends cc.Component { // 5. 处理特殊关卡跳转 // ============================================ winLevel() { + if (!this.isMapRuntimeAlive()) return; // MiniGameSdk.API.showToast(cc.fx.GameConfig.GM_INFO.level); const nextBtn = this.getSettlementNextButton(); if (nextBtn.getComponent("btnControl")._touch == false) { @@ -4585,6 +4899,8 @@ export default class MapConroler extends cc.Component { // 6. 重新加载关卡 // ============================================ againLevel() { + if (!this.isMapRuntimeAlive()) return; + if (this.reviewState) return; cc.fx.AudioManager._instance.playEffect("anniu_Big", null); this.adhesiveBlock = []; this.boom17Blocks = []; @@ -4653,6 +4969,7 @@ export default class MapConroler extends cc.Component { //时间到了复活 reviewLevel(event, type) { + if (!this.isMapRuntimeAlive()) return; console.log("进入复活函数"); if (this.reviewState == true) { console.log("在复活中,不可点击"); @@ -4692,6 +5009,7 @@ export default class MapConroler extends cc.Component { //复活函数 runReviveAndCheck(data, retryCount: number = 0, callback: (success: boolean) => void = null) { + if (!this.isMapRuntimeAlive()) return; // if (callback) callback(true); if (this.predict_End(false)) { if (callback) callback(true); @@ -4707,6 +5025,7 @@ export default class MapConroler extends cc.Component { this.runChangeState(data); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; if (this.predict_End(false)) { if (callback) callback(true); return; @@ -4717,14 +5036,17 @@ export default class MapConroler extends cc.Component { //执行复活函数 runRewive(data) { + if (!this.isMapRuntimeAlive()) return; console.log("____________ 执行几次"); this.runReviveAndCheck(data, 0, (success) => { + if (!this.isMapRuntimeAlive()) return; if (!success) { this.runMagic(true); console.log("_____________复活失败后,使用魔法棒") setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; console.log("魔法棒执行完毕后:", this.blocks.length, this.gameOver, this.gameWin); - if (this.blocks.length == 0) { + if (this.canCompleteLevel()) { console.log("_____________魔法棒消除后游戏胜利,不再执行复活"); this.gameOver = false; this.nextLevel(1); @@ -4768,9 +5090,10 @@ export default class MapConroler extends cc.Component { this.releaseLosePanel(); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; this.reviewState = false; this.blockNum = this.blocks.length; - if (this.blockNum == 0) this.nextLevel(1); + if (this.canCompleteLevel()) this.nextLevel(1); }, 200); this.stopTimeCutDown(); }); @@ -4821,6 +5144,7 @@ export default class MapConroler extends cc.Component { //如果是最大关卡,弹窗提示 //如果不是最大关卡,直接下一关 runRewiveCopy() { + if (!this.isMapRuntimeAlive()) return; this.isreview = true; MiniGameSdk.API.showToast("继续游戏"); this.gameOver = false; @@ -4832,9 +5156,10 @@ export default class MapConroler extends cc.Component { this.add_Time += 30; NumberToImage.getTimeMargi3(30, 45, "company_", this.timeLabel) this.blockNum = this.blocks.length; - if (this.blockNum == 0) this.nextLevel(1); + if (this.canCompleteLevel()) this.nextLevel(1); this.releaseLosePanel(); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; this.reviewState = false; }, 200); this.stopTimeCutDown(); @@ -4902,6 +5227,7 @@ export default class MapConroler extends cc.Component { } homeBtn(event, customEventData) { + if (!this.isMapRuntimeAlive()) return; if (this.reviewState == true) { console.log("在复活中,不可点击"); return; @@ -5006,8 +5332,9 @@ export default class MapConroler extends cc.Component { //返回主界面 returnHome(event, customEventData) { - cc.fx.AudioManager._instance.playEffect("anniu_Big", null); if (MapConroler._instance !== this) return; + if (this.reviewState) return; + cc.fx.AudioManager._instance.playEffect("anniu_Big", null); if (this.SceneManager && this.SceneManager.releasePausePanel) { this.SceneManager.releasePausePanel(); } @@ -5064,6 +5391,7 @@ export default class MapConroler extends cc.Component { // 失败后操作:显示失败界面、扣除体力、更新游戏状态 // ============================================ private openLosePanel(type) { + if (!this.isMapRuntimeAlive()) return; const sceneManager = this.SceneManager; const gameRoot = this.node && this.node.parent && this.node.parent.parent; if (!sceneManager || !sceneManager.loadDynamicPopup || !gameRoot) { @@ -5072,10 +5400,7 @@ export default class MapConroler extends cc.Component { } sceneManager.loadDynamicPopup("lose", "lose", "prefab/Lose", gameRoot, (error: Error, loseRoot: cc.Node) => { - if (!this.node || !cc.isValid(this.node)) { - sceneManager.releaseLosePanel(true); - return; - } + if (!this.isMapRuntimeAlive()) return; if (error || !loseRoot) { this.showLoseLoadError(error || new Error("Lose prefab is missing"), type); return; @@ -5094,6 +5419,7 @@ export default class MapConroler extends cc.Component { } private showLoseLoadError(error: Error, type) { + if (!this.isMapRuntimeAlive()) return; cc.error("Lose settlement cannot open:", error && (error.message || error)); if (this.SceneManager && this.SceneManager.showDynamicPopupLoadError) { this.SceneManager.showDynamicPopupLoadError( @@ -5154,7 +5480,8 @@ export default class MapConroler extends cc.Component { } setTimeout(() => { - if (this.blockNum == 0) { + if (!this.isMapRuntimeAlive()) return; + if (this.canCompleteLevel()) { this.gameOver = false; this.gameWin = false; this.nextLevel(1); @@ -5204,6 +5531,7 @@ export default class MapConroler extends cc.Component { } private loadNewModePanel(type) { + if (!this.isMapRuntimeAlive()) return; const sceneManager = this.SceneManager; const gameRoot = this.node && this.node.parent && this.node.parent.parent; if (!sceneManager || !sceneManager.loadDynamicPopup || !gameRoot) { @@ -5212,10 +5540,7 @@ export default class MapConroler extends cc.Component { } sceneManager.loadDynamicPopup("newMode", "NewMode", "prefab/NewMode", gameRoot, (error: Error, newModeRoot: cc.Node) => { - if (!this.node || !cc.isValid(this.node)) { - this.releaseNewModePanel(true); - return; - } + if (!this.isMapRuntimeAlive()) return; if (error || !newModeRoot) { this.showNewModeLoadError(error || new Error("NewMode prefab is missing"), type); return; @@ -5254,6 +5579,7 @@ export default class MapConroler extends cc.Component { } private showNewModeLoadError(error: Error, type) { + if (!this.isMapRuntimeAlive()) return; cc.error("NewMode cannot open:", error && (error.message || error)); if (this.SceneManager && this.SceneManager.showDynamicPopupLoadError) { this.SceneManager.showDynamicPopupLoadError( @@ -5265,9 +5591,11 @@ export default class MapConroler extends cc.Component { } openNewMode(type) { + if (!this.isMapRuntimeAlive()) return; if (type == 0) { let index = 0; const destroyBlocks = () => { + if (!this.isMapRuntimeAlive()) return; const endIndex = Math.min(index + 5, this.blocks.length); for (; index < endIndex; index++) { const block = this.blocks[index]; @@ -5548,6 +5876,7 @@ export default class MapConroler extends cc.Component { //购买道具成功处理 handleBuySuccess(data) { + if (!this.isMapRuntimeAlive()) return; this.node.parent.parent.parent.getComponent("SceneManager").resetBtn(); this.updateCoin(); @@ -5569,6 +5898,7 @@ export default class MapConroler extends cc.Component { } this.node.parent.parent.parent.getComponent("SceneManager").closePropBuy(true); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; this.setPropNum(); // this.iceLabel.string = cc.fx.GameConfig.GM_INFO.freezeAmount.toString(); // MiniGameSdk.API.showToast("购买冻结时间成功"); @@ -5576,6 +5906,7 @@ export default class MapConroler extends cc.Component { { type: "freeze", count: 3 }, ] MapConroler._instance.SceneManager.openRewardWindow(data, () => { + if (!this.isMapRuntimeAlive()) return; var pause2 = this.iceTrue(); if (pause2 == false && !this.isPauseOpen() && !this.shopPause) { @@ -5598,6 +5929,7 @@ export default class MapConroler extends cc.Component { this.node.parent.parent.parent.getComponent("SceneManager").closePropBuy(true); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; // MiniGameSdk.API.showToast("购买魔法棒成功"); this.setPropNum(); // this.magicLabel.string = cc.fx.GameConfig.GM_INFO.magicAmount.toString(); @@ -5605,6 +5937,7 @@ export default class MapConroler extends cc.Component { { type: "magic", count: 3 }, ] MapConroler._instance.SceneManager.openRewardWindow(data, () => { + if (!this.isMapRuntimeAlive()) return; var pause2 = this.iceTrue(); if (pause2 == false && !this.isPauseOpen() && !this.shopPause) { @@ -5626,6 +5959,7 @@ export default class MapConroler extends cc.Component { this.node.parent.parent.parent.getComponent("SceneManager").closePropBuy(true); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; this.setPropNum(); // this.hammerLabel.string = cc.fx.GameConfig.GM_INFO.hammerAmount.toString(); // MiniGameSdk.API.showToast("购买锤子成功"); @@ -5633,6 +5967,7 @@ export default class MapConroler extends cc.Component { { type: "hammer", count: 1 }, ] MapConroler._instance.SceneManager.openRewardWindow(data, () => { + if (!this.isMapRuntimeAlive()) return; var pause2 = this.iceTrue(); if (pause2 == false && !this.isPauseOpen() && !this.shopPause) { @@ -5649,9 +5984,9 @@ export default class MapConroler extends cc.Component { } //更新金币显示 - updateCoin() { - if (this.coin) - NumberToImage.numberToImageNodes5(cc.fx.GameConfig.GM_INFO.coin, 31, 20, "Black", this.coin, true); + updateCoin(displayCoin: number = cc.fx.GameConfig.GM_INFO.coin) { + if (!this.coin || !cc.isValid(this.coin, true)) return; + NumberToImage.numberToImageNodes5(displayCoin, 31, 20, "Black", this.coin, true); } // ============================================ @@ -5670,6 +6005,10 @@ export default class MapConroler extends cc.Component { if (this.gameOver == true || this.gameWin == true) { return; } + if (!this.hasUnlockedBlockTarget()) { + MiniGameSdk.API.showToast("暂无可用目标"); + return; + } //一秒之内只能点一次 if (this.lastHammerTime && Date.now() - this.lastHammerTime < 1000) { return; @@ -5773,10 +6112,12 @@ export default class MapConroler extends cc.Component { //购买魔法棒道具 buyMagic() { + if (!this.isMapRuntimeAlive()) return; if (cc.fx.GameConfig.GM_INFO.coin < 900) { MiniGameSdk.API.showToast("金币不足,无法购买道具"); this.node.parent.parent.parent.getComponent("SceneManager").resetBtn(); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; this.openShop(); }, 500); return; @@ -5786,10 +6127,12 @@ export default class MapConroler extends cc.Component { //购买锤子道具 buyHammer() { + if (!this.isMapRuntimeAlive()) return; if (cc.fx.GameConfig.GM_INFO.coin < 600) { MiniGameSdk.API.showToast("金币不足,无法购买道具"); this.node.parent.parent.parent.getComponent("SceneManager").resetBtn(); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; this.openShop(); }, 500); return; @@ -5799,10 +6142,12 @@ export default class MapConroler extends cc.Component { //购买冻结时间道具 buyFreeze() { + if (!this.isMapRuntimeAlive()) return; if (cc.fx.GameConfig.GM_INFO.coin < 600) { MiniGameSdk.API.showToast("金币不足,无法购买道具"); this.node.parent.parent.parent.getComponent("SceneManager").resetBtn(); setTimeout(() => { + if (!this.isMapRuntimeAlive()) return; this.openShop(); }, 500); return; @@ -5812,6 +6157,7 @@ export default class MapConroler extends cc.Component { //打开商店 openShop() { + if (!this.isMapRuntimeAlive()) return; if (!cc.fx.GameConfig.GM_INFO.canIos) { return; } @@ -5862,6 +6208,10 @@ export default class MapConroler extends cc.Component { if (this.gameOver == true || this.gameWin == true) { return; } + if (!this.hasUnlockedBlockTarget()) { + MiniGameSdk.API.showToast("暂无可用目标"); + return; + } //一秒之内只能点一次 if (this.lastMagicTime && Date.now() - this.lastMagicTime < 1200) { return; @@ -6271,6 +6621,7 @@ export default class MapConroler extends cc.Component { let nomalArray = []; // this.magicBtn.node.active = false; for (let i = 0; i < this.blocks.length; i++) { + if (this.isSpawnLockedNode(this.blocks[i])) continue; // console.log("方块类型",this.blocks[i].getComponent("Block").type); if (this.blocks[i].getComponent("Block").type == 3) { if (this.blocks[i].getComponent("Block").block_Info.floor == undefined || this.blocks[i].getComponent("Block").block_Info.floor == null) { @@ -6352,9 +6703,10 @@ export default class MapConroler extends cc.Component { // console.log("只剩下一个块道具使用完毕"); //强行复活时候,消除任何块 if (type == true) { - if (this.blocks.length > 0) { - let random = Math.floor(Math.random() * this.blocks.length); - this.blocks[random].getComponent("Block").eliminate(false); + const available = this.blocks.filter(node => !this.isSpawnLockedNode(node)); + if (available.length > 0) { + let random = Math.floor(Math.random() * available.length); + available[random].getComponent("Block").eliminate(false); } } } @@ -6417,9 +6769,10 @@ export default class MapConroler extends cc.Component { if (type == true && count != 0) { console.log("所有可消除的块都消除了,没办法了", this.blocks.length); - if (this.blocks.length > 0) { - let random = Math.floor(Math.random() * this.blocks.length); - this.blocks[random].getComponent("Block").eliminate(true); + const available = this.blocks.filter(node => !this.isSpawnLockedNode(node)); + if (available.length > 0) { + let random = Math.floor(Math.random() * available.length); + available[random].getComponent("Block").eliminate(true); } } @@ -6576,8 +6929,8 @@ export default class MapConroler extends cc.Component { //移除一个方块 removeOneBlock() { // 移除所有方块 - for (let i = 0; i < this.blocks.length; i++) { - if (this.blocks[i].opacity == 0) { + for (let i = this.blocks.length - 1; i >= 0; i--) { + if (this.blocks[i].opacity == 0 && !this.isSpawnLockedNode(this.blocks[i])) { this.blocks[i].destroy(); this.blocks.splice(i, 1); } @@ -6587,7 +6940,7 @@ export default class MapConroler extends cc.Component { //炸弹块开始计时 startBoom() { for (let i = 0; i < this.blocks.length; i++) { - if (this.blocks[i].getComponent("Block").type == 6) { + if (!this.isSpawnLockedNode(this.blocks[i]) && this.blocks[i].getComponent("Block").type == 6) { this.blocks[i].getChildByName("boom").getComponent("Boom").startBoom(); } } @@ -6944,7 +7297,7 @@ export default class MapConroler extends cc.Component { addLevel = 5; max = true; } - NumberToImage.numberToImageNodes4(addLevel, 43, 15, "custom", level, true); + NumberToImage.numberToImageNodes6(addLevel, 43, 15, "custom", level, true); if (addLevel == 1) { cc.tween(progress.children[4].getChildByName("win").getComponent(cc.Sprite)) .to(0.5, { fillRange: 1 }) @@ -7043,7 +7396,6 @@ export default class MapConroler extends cc.Component { //结算界面 Settlement() { const t = (duration: number) => this.settlementAnimationTime(duration); - const speed = this.settlementAnimationSpeed(); cc.fx.AudioManager._instance.playEffect("win", null) //获取this.gameOverNode所有子节点的位置 let child = this.gameOverNode; @@ -7057,9 +7409,9 @@ export default class MapConroler extends cc.Component { let homeBtn = this.gameOverNode.getChildByName("homeBtn"); let nextBtn = this.getSettlementNextButton(); let tiaodik = this.gameOverNode.getChildByName("tiaodik"); - let pian = this.gameOverNode.getChildByName("pian"); let guang = this.gameOverNode.getChildByName("guang"); - let coins4 = this.gameOverNode.getChildByName("coins4"); + const cai = title.getChildByName("cai"); + cai.scale = 0; const hideNewModeDecorations = this.hideNewModeSettlementDecorations(); @@ -7069,13 +7421,14 @@ export default class MapConroler extends cc.Component { homeBtn.active = false; nextBtn.active = false; tiaodik.active = false; - pian.active = false; guang.active = false; - coins4.active = false; + if (cai) { + cc.Tween.stopAllByTarget(cai); + cai.scale = 0; + } if (hideNewModeDecorations) { this.setSettlementNodeVisible(title, false); - this.setSettlementNodeVisible(pian, false); this.setSettlementNodeVisible(guang, false); this.setSettlementNodeVisible(this.gameOverNode.getChildByName("diguan"), false); } @@ -7087,21 +7440,11 @@ export default class MapConroler extends cc.Component { .call(() => { title.active = !hideNewModeDecorations; title.opacity = hideNewModeDecorations ? 0 : 255; - - //播放速度减慢一倍 - // const anim = title.getChildByName("cai").getComponent(cc.Animation); - // anim.defaultClip.speed = 0.5 * speed; - // anim.play(); // 开始播放 - let iphone = cc.fx.GameConfig.GM_INFO.useravatarIcon.substring(0, 4); - // console.log("头像_________", cc.fx.GameConfig.GM_INFO.useravatarIcon, cc.fx.GameConfig.GM_INFO.useravatar); - if (iphone == "icon") { - title.getChildByName("icon").getChildByName("icon").active = false; - title.getChildByName("icon").getChildByName("sp").active = true; - - let actionName = cc.fx.GameTool.getActionName(cc.fx.GameConfig.GM_INFO.useravatarIcon); - title.getChildByName("icon").getChildByName("sp").scale = 1.5; - cc.fx.GameTool.loadSpineSimple(title.getChildByName("icon").getChildByName("sp"), actionName); - // this.icon.getComponent(cc.Sprite).spriteFrame = icon; + if (!hideNewModeDecorations && cai) { + cc.tween(cai) + .delay(1) + .to(t(0.28), { scale: 1 }, { easing: "backOut" }) + .start(); } }) .to(0.12, { scale: 1.2 }, { easing: 'quadOut' }) @@ -7184,37 +7527,11 @@ export default class MapConroler extends cc.Component { ruzhi.getChildByName("yinzhang2").active = false; ruzhi.getChildByName("line").active = false; ruzhi.active = false; - // ruzhi.getChildByName("bg").getChildByName("kuang").getComponent(cc.Sprite).spriteFrame = - // this.avatar.getSpriteFrame(cc.fx.GameConfig.GM_INFO.useravaterkuang); - let icon = this.avatar.getSpriteFrame(cc.fx.GameConfig.GM_INFO.useravatarIcon); - let iphone = cc.fx.GameConfig.GM_INFO.useravatarIcon.substring(0, 4); - // console.log("头像_________", cc.fx.GameConfig.GM_INFO.useravatarIcon, cc.fx.GameConfig.GM_INFO.useravatar); - if (iphone == "icon") { - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("icon").active = false; - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("sp").active = true; - let actionName = cc.fx.GameTool.getActionName(cc.fx.GameConfig.GM_INFO.useravatarIcon); - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("sp").scale = 1.5; - cc.fx.GameTool.loadSpineSimple(ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("sp"), actionName); - // ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("icon").getComponent(cc.Sprite).spriteFrame = icon; - } - else if (iphone == "http") { - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("icon").active = true; - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("sp").active = false; - this.setPic(cc.fx.GameConfig.GM_INFO.useravatarIcon, ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("icon")); - } if (cc.fx.GameConfig.GM_INFO.addLevel == 5) { cc.tween(ruzhi) .delay(1) .call(() => { ruzhi.active = true; - if (iphone == "icon") { - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("icon").active = false; - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("sp").active = true; - let actionName = cc.fx.GameTool.getActionName(cc.fx.GameConfig.GM_INFO.useravatarIcon); - ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("sp").scale = 1.5; - cc.fx.GameTool.loadSpineSimple(ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("sp"), actionName); - // ruzhi.getChildByName("bg").getChildByName("icon").getChildByName("icon").getComponent(cc.Sprite).spriteFrame = icon; - } cc.tween(ruzhi.getChildByName("caidai1")) .delay(0.6) .to(0.2, { scaleX: 1, scaleY: 1 }) @@ -7256,16 +7573,13 @@ export default class MapConroler extends cc.Component { // 播放装饰元素动画 playDecorationGroup() { const t = (duration: number) => this.settlementAnimationTime(duration); - let pian = this.gameOverNode.getChildByName("pian"); let guang = this.gameOverNode.getChildByName("guang"); - let coins4 = this.gameOverNode.getChildByName("coins4"); // let diguan = this.gameOverNode.getChildByName("gongxi").getChildByName("guankazi"); let diguan = this.gameOverNode.getChildByName("diguan"); let ruzhi = this.gameOverNode.getChildByName("Ruzhi"); const hideNewModeDecorations = this.hideNewModeSettlementDecorations(); diguan.scaleX = diguan.scaleY = 0.01; if (hideNewModeDecorations) { - this.setSettlementNodeVisible(pian, false); this.setSettlementNodeVisible(guang, false); this.setSettlementNodeVisible(diguan, false); } @@ -7280,21 +7594,6 @@ export default class MapConroler extends cc.Component { diguan.opacity = hideNewModeDecorations ? 0 : 255; } - // pian 动画(稍微延迟 - cc.tween(pian) - .delay(t(0.05)) - .to(0, { scale: 0 }) - .call(() => { - pian.active = !hideNewModeDecorations; - pian.opacity = hideNewModeDecorations ? 0 : 255; - }) - .to(t(0.3), { scale: 3.6 }) - .call(() => { - pian.active = false; - pian.opacity = hideNewModeDecorations ? 0 : 255; - }) - .start(); - // guang 动画(再延迟一点) cc.tween(guang) .delay(t(0.1)) @@ -7303,20 +7602,7 @@ export default class MapConroler extends cc.Component { guang.active = !hideNewModeDecorations; guang.opacity = hideNewModeDecorations ? 0 : 255; }) - .to(t(0.3), { scale: 1 }) - .start(); - - // coins4 动画(最后播放) - cc.tween(coins4) - .delay(t(0.15)) - .to(0, { scale: 0 }) - .call(() => { - coins4.active = true; - }) - .to(t(0.2), { scale: 2.2 }, { easing: 'backOut' }) - .to(t(0.12), { scale: 1.8 }, { easing: 'quadIn' }) - .to(t(0.08), { scale: 2.1 }, { easing: 'quadOut' }) - .to(t(0.06), { scale: 2 }, { easing: 'quadIn' }) + .to(t(0.3), { scale: 0.7 }) .start(); // diguan 动画 @@ -7696,6 +7982,7 @@ export default class MapConroler extends cc.Component { for (let j = 0; j < this.flowerBlock.length; j++) { let block = this.flowerBlock[j]; + if (block.spawnLocked) continue; let flowerColor = block.block_Info.flowerColor; for (let key in countMap) { if (Number(key) === flowerColor) { @@ -7773,7 +8060,7 @@ export default class MapConroler extends cc.Component { this.hitSoundCount = 0; } - if (this.blocks.length == 0 && !this.gameWin && this.gameStart == true && !this.isWinVisible()) { + if (this.canCompleteLevel() && !this.gameWin && this.gameStart == true && !this.isWinVisible()) { if (!this._blocksEmptyTime || this._blocksEmptyTime == null) { this._blocksEmptyTime = Date.now(); } diff --git a/assets/Script/NumberToImage.ts b/assets/Script/NumberToImage.ts index 03ff2b86..5ea49c06 100644 --- a/assets/Script/NumberToImage.ts +++ b/assets/Script/NumberToImage.ts @@ -240,6 +240,44 @@ export default class NumberToImage extends cc.Component { } + static numberToImageNodes6(number, width, posX, name, targetNode: cc.Node, middle: boolean = false) { + const numStr = number.toString(); + let cha = 0; + if (number > 99) cha = -posX + else if (number < 10) cha = posX + if (targetNode.children.length > 0) + targetNode.removeAllChildren(); + + const digitNodes: cc.Node[] = []; + for (let i = 0; i < numStr.length; i++) { + const digit = parseInt(numStr[i], 10); + const node = new cc.Node(); + const sprite = node.addComponent(cc.Sprite); + sprite.spriteFrame = this.font3._spriteFrames[name + digit + ""]; + digitNodes.push(node); + node.color = cc.color(255, 163, 0, 255); + } + + // 计算总宽度 + const totalWidth = (numStr.length - 1) * width + (digitNodes[0]?.width || 0); + + if (middle) { + // 计算居中的起始位置 + const startX = -totalWidth / 2; + for (let i = 0; i < digitNodes.length; i++) { + const node = digitNodes[i]; + node.x = startX + i * width; + if (targetNode) node.parent = targetNode; + } + } else { + for (let i = 0; i < digitNodes.length; i++) { + const node = digitNodes[i]; + node.x = i * width + cha; + if (targetNode) node.parent = targetNode; + } + } + } + static numberToImageNodesShop(number, width, posX, name, targetNode: cc.Node, middle: boolean = false) { const numStr = number.toString(); let cha = 0; diff --git a/assets/Script/SceneManager.ts b/assets/Script/SceneManager.ts index 5bef68b1..17191deb 100644 --- a/assets/Script/SceneManager.ts +++ b/assets/Script/SceneManager.ts @@ -26,6 +26,39 @@ interface DynamicPopupState { @ccclass export default class SceneManager extends cc.Component { + private static activeInstance: SceneManager = null; + + private isPopupRuntimeAlive(): boolean { + return cc.isValid(this, true) + && SceneManager.activeInstance === this + && !this.isDestroying + && !!this.node + && cc.isValid(this.node, true); + } + + /** 旧场景的异步回调不能释放新 GameScene 正在使用的同名 Bundle。 */ + private static releaseOrphanedPopupBundle(bundleName: string, bundle: cc.AssetManager.Bundle): void { + if (!bundle) return; + setTimeout(() => { + const active = SceneManager.activeInstance; + if (active && cc.isValid(active, true)) return; + if (cc.assetManager.getBundle(bundleName) !== bundle) return; + bundle.releaseAll(); + if (cc.assetManager.getBundle(bundleName) === bundle) { + cc.assetManager.removeBundle(bundle); + } + }, 0); + } + + private releaseStalePopupBundle(bundleName: string, bundle: cc.AssetManager.Bundle): void { + if (!bundle) return; + if (this.isPopupRuntimeAlive()) { + this.releaseDynamicPopupBundleIfUnused(bundleName, bundle); + } else { + SceneManager.releaseOrphanedPopupBundle(bundleName, bundle); + } + } + /** GameScene 的 Loading 始终使用引擎允许的最高层级,并保持为最后一个同级节点。 */ private ensureLoadingOnTop(): cc.Node { const loading = this.node && this.node.getChildByName("Loading"); @@ -73,6 +106,25 @@ export default class SceneManager extends cc.Component { // 缓存月卡节点 private monthlyCardNode: cc.Node | null = null; + static clearShopPrefabCaches(): void { + SceneManager.cachedShopPrefab = null; + SceneManager.cachedRewardPrefab = null; + SceneManager.cachedMonthlyCardPrefab = null; + } + + /** releaseAll 不会同步清空 JS 静态字段;使用前先丢弃已经失效的 Prefab。 */ + private static clearInvalidShopPrefabCaches(): void { + if (SceneManager.cachedShopPrefab && !cc.isValid(SceneManager.cachedShopPrefab)) { + SceneManager.cachedShopPrefab = null; + } + if (SceneManager.cachedRewardPrefab && !cc.isValid(SceneManager.cachedRewardPrefab)) { + SceneManager.cachedRewardPrefab = null; + } + if (SceneManager.cachedMonthlyCardPrefab && !cc.isValid(SceneManager.cachedMonthlyCardPrefab)) { + SceneManager.cachedMonthlyCardPrefab = null; + } + } + @property(cc.Label) label: cc.Label = null; @@ -118,16 +170,6 @@ export default class SceneManager extends cc.Component { @property({ tooltip: "旧版 B 方案:结算后飞金币间隔" }) flyCoinInterval: number = 0.05; - //赢了头像 - @property(cc.Node) - icon: cc.Node = null; - - @property(cc.Node) - sp: cc.Node = null; - - @property(cc.Node) - kuang: cc.Node = null; - @property({ type: [cc.Prefab], tooltip: "方块数组" }) Block_Array: Array = []; @@ -165,7 +207,7 @@ export default class SceneManager extends cc.Component { preloadInstances: boolean = false, preloadWin?: (onComplete: () => void) => void, ) { - if (this.popupBundleWarmupStarted || this.isDestroying) return; + if (!this.isPopupRuntimeAlive() || this.popupBundleWarmupStarted) return; this.popupBundleWarmupStarted = true; if (preloadInstances) { @@ -179,7 +221,7 @@ export default class SceneManager extends cc.Component { ]; const preloadNext = (index: number) => { - if (this.isDestroying) return; + if (!this.isPopupRuntimeAlive()) return; if (index >= requests.length) return; const request = requests[index]; if (request.popupName === "win") { @@ -196,6 +238,7 @@ export default class SceneManager extends cc.Component { request.prefabPath, request.parent, (error: Error) => { + if (!this.isPopupRuntimeAlive()) return; if (error) { cc.warn(`Popup instance warmup failed: ${request.bundleName}`, error.message || error); this.releaseDynamicPopup(request.popupName, true); @@ -210,54 +253,34 @@ export default class SceneManager extends cc.Component { return; } - const requests = [ - { bundleName: "pause", prefabPath: "prefab/Pause" }, - { bundleName: "lose", prefabPath: "" }, - { bundleName: "win", prefabPath: "" }, - ]; + // iOS 低内存机型只提前创建 Pause Bundle,不加载 Prefab 和图片。 + const shouldWarmupPauseBundle = cc.sys.platform === cc.sys.WECHAT_GAME + && !!cc.fx.GameTool + && !!cc.fx.GameTool.isIOSDevice + && cc.fx.GameTool.isIOSDevice(); + if (!shouldWarmupPauseBundle) return; - const loadNext = (index: number) => { - if (this.isDestroying) return; - if (index >= requests.length) return; - const request = requests[index]; - - const warmupBundle = (bundle: cc.AssetManager.Bundle) => { - if (this.isDestroying) { - this.releaseDynamicPopupBundleIfUnused(request.bundleName, bundle); - return; - } - if (!request.prefabPath) { - loadNext(index + 1); - return; - } - bundle.load(request.prefabPath, cc.Prefab, (error: Error) => { - if (error) { - cc.warn(`Popup prefab warmup failed: ${request.bundleName}`, error.message || error); - } - loadNext(index + 1); - }); - }; - - const loadedBundle = cc.assetManager.getBundle(request.bundleName); - if (loadedBundle) { - warmupBundle(loadedBundle); + const loadedPauseBundle = cc.assetManager.getBundle("pause"); + if (loadedPauseBundle) { + console.log("[PopupBundle] already loaded: pause (iOS low-memory warmup)"); + return; + } + cc.assetManager.loadBundle("pause", (error: Error, bundle: cc.AssetManager.Bundle) => { + if (!this.isPopupRuntimeAlive()) { + if (bundle) SceneManager.releaseOrphanedPopupBundle("pause", bundle); return; } - cc.assetManager.loadBundle(request.bundleName, (error: Error, bundle: cc.AssetManager.Bundle) => { - if (error) { - cc.warn(`Popup bundle warmup failed: ${request.bundleName}`, error.message || error); - loadNext(index + 1); - return; - } - warmupBundle(bundle); - }); - }; - - loadNext(0); + if (error) { + cc.warn("[PopupBundle] loadBundle failed: pause (iOS low-memory warmup)", error.message || error); + return; + } + console.log("[PopupBundle] loadBundle complete: pause (iOS low-memory warmup)"); + }); } beginDynamicPopupLoad(popupName: string) { - if (!popupName) return; + if (!popupName || !this.isPopupRuntimeAlive()) return; + if (!this.dynamicPopupLoads) this.dynamicPopupLoads = {}; this.dynamicPopupLoads[popupName] = true; const intercept = this.ensureDynamicPopupIntercept(); if (!intercept) { @@ -268,7 +291,9 @@ export default class SceneManager extends cc.Component { } finishDynamicPopupLoad(popupName: string) { - if (!popupName) return; + if (!popupName || !this.isPopupRuntimeAlive()) return; + if (!this.dynamicPopupLoads) this.dynamicPopupLoads = {}; + if (!this.dynamicPopupRetries) this.dynamicPopupRetries = {}; delete this.dynamicPopupLoads[popupName]; delete this.dynamicPopupRetries[popupName]; if (this.dynamicPopupRetryName === popupName) { @@ -283,7 +308,7 @@ export default class SceneManager extends cc.Component { } showDynamicPopupLoadError(popupName: string, displayName: string, retry: () => void) { - if (this.isDestroying || !this.node || !cc.isValid(this.node)) return; + if (!this.isPopupRuntimeAlive()) return; this.beginDynamicPopupLoad(popupName); this.dynamicPopupRetries[popupName] = { displayName, retry }; if (this.dynamicPopupRetryNode && cc.isValid(this.dynamicPopupRetryNode) @@ -295,13 +320,14 @@ export default class SceneManager extends cc.Component { } private showNextDynamicPopupRetry() { - if (this.isDestroying || this.dynamicPopupRetryNode) return; + if (!this.isPopupRuntimeAlive() || this.dynamicPopupRetryNode || !this.dynamicPopupRetries) return; const popupName = Object.keys(this.dynamicPopupRetries) .find((name) => !!this.dynamicPopupLoads[name]); if (popupName) this.showDynamicPopupRetry(popupName); } private showDynamicPopupRetry(popupName: string) { + if (!this.isPopupRuntimeAlive() || !this.dynamicPopupRetries) return; const retryInfo = this.dynamicPopupRetries[popupName]; if (!retryInfo || !this.node || !cc.isValid(this.node)) return; const displayName = retryInfo.displayName; @@ -331,8 +357,9 @@ export default class SceneManager extends cc.Component { this.dynamicPopupRetryNode = overlay; this.dynamicPopupRetryName = popupName; overlay.once(cc.Node.EventType.TOUCH_END, () => { + if (!this.isPopupRuntimeAlive()) return; if (this.dynamicPopupRetryNode !== overlay) return; - if (this.isDestroying || !this.dynamicPopupLoads[popupName]) return; + if (!this.dynamicPopupLoads || !this.dynamicPopupLoads[popupName]) return; label.string = `${displayName || "界面资源"}正在重新加载\n请稍等`; try { retryInfo.retry(); @@ -360,6 +387,8 @@ export default class SceneManager extends cc.Component { callback: (error: Error, root?: cc.Node) => void, showLoading: boolean = true, ) { + if (!this.isPopupRuntimeAlive()) return; + if (!this.dynamicPopupStates) this.dynamicPopupStates = {}; if (showLoading) this.beginDynamicPopupLoad(popupName); let state = this.dynamicPopupStates[popupName]; if (!state) { @@ -391,7 +420,7 @@ export default class SceneManager extends cc.Component { const fail = (error: Error, bundle?: cc.AssetManager.Bundle) => { if (!this.isDynamicPopupRequestCurrent(popupName, state, requestId)) { - if (bundle) this.releaseDynamicPopupBundleIfUnused(bundleName, bundle); + if (bundle) this.releaseStalePopupBundle(bundleName, bundle); return; } if (bundle && state.bundle === bundle) state.bundle = null; @@ -402,7 +431,7 @@ export default class SceneManager extends cc.Component { const loadPrefab = (bundle: cc.AssetManager.Bundle) => { if (!this.isDynamicPopupRequestCurrent(popupName, state, requestId)) { - this.releaseDynamicPopupBundleIfUnused(bundleName, bundle); + this.releaseStalePopupBundle(bundleName, bundle); return; } state.bundle = bundle; @@ -412,7 +441,7 @@ export default class SceneManager extends cc.Component { return; } if (!this.isDynamicPopupRequestCurrent(popupName, state, requestId)) { - this.releaseDynamicPopupBundleIfUnused(bundleName, bundle); + this.releaseStalePopupBundle(bundleName, bundle); return; } @@ -423,6 +452,7 @@ export default class SceneManager extends cc.Component { parent.addChild(root); root.setPosition(0, 0); root.zIndex = cc.macro.MAX_ZINDEX - 2; + console.log(`[PopupPrefab] instantiated inactive: ${bundleName}/${prefabPath}`); } catch (instantiateError) { if (root && cc.isValid(root)) { root.active = false; @@ -439,6 +469,7 @@ export default class SceneManager extends cc.Component { const loadedBundle = cc.assetManager.getBundle(bundleName); if (loadedBundle) { + console.log(`[PopupBundle] already loaded: ${bundleName}`); loadPrefab(loadedBundle); return; } @@ -447,16 +478,20 @@ export default class SceneManager extends cc.Component { fail(error); return; } + console.log(`[PopupBundle] loadBundle complete: ${bundleName}`); loadPrefab(bundle); }); } getDynamicPopup(popupName: string): cc.Node { + if (!cc.isValid(this, true) || !this.dynamicPopupStates) return null; const state = this.dynamicPopupStates[popupName]; return state && state.root && cc.isValid(state.root) ? state.root : null; } releaseDynamicPopup(popupName: string, force: boolean = false) { + if (!this.dynamicPopupStates) return; + if (this.isDestroying !== true && !this.isPopupRuntimeAlive()) return; const state = this.dynamicPopupStates[popupName]; if (state && !force && this.shouldKeepGameplayPopupInstance(popupName) && state.root && cc.isValid(state.root) && !state.loading) { @@ -490,15 +525,22 @@ export default class SceneManager extends cc.Component { } private isDynamicPopupRequestCurrent(popupName: string, state: DynamicPopupState, requestId: number) { - return !this.isDestroying + return this.isPopupRuntimeAlive() + && !!this.dynamicPopupStates && this.dynamicPopupStates[popupName] === state && state.requestId === requestId; } private finishDynamicPopupAssetLoad(state: DynamicPopupState, error: Error, root?: cc.Node) { + if (!this.isPopupRuntimeAlive()) { + state.loading = false; + state.callbacks.length = 0; + return; + } state.loading = false; const callbacks = state.callbacks.splice(0); callbacks.forEach((callback) => { + if (!this.isPopupRuntimeAlive()) return; try { callback(error, root); } catch (callbackError) { @@ -508,6 +550,7 @@ export default class SceneManager extends cc.Component { } private releaseDynamicPopupBundle(bundleName: string, bundle: cc.AssetManager.Bundle) { + if (cc.assetManager.getBundle(bundleName) !== bundle) return; bundle.releaseAll(); if (cc.assetManager.getBundle(bundleName) === bundle) { cc.assetManager.removeBundle(bundle); @@ -515,8 +558,13 @@ export default class SceneManager extends cc.Component { } private releaseDynamicPopupBundleIfUnused(bundleName: string, bundle: cc.AssetManager.Bundle) { - const isInUse = Object.keys(this.dynamicPopupStates).some((popupName) => { - const state = this.dynamicPopupStates[popupName]; + const states = this.dynamicPopupStates; + if (!states) { + SceneManager.releaseOrphanedPopupBundle(bundleName, bundle); + return; + } + const isInUse = Object.keys(states).some((popupName) => { + const state = states[popupName]; return state.bundle === bundle || (state.loading && state.bundleName === bundleName); }); if (!isInUse) this.releaseDynamicPopupBundle(bundleName, bundle); @@ -614,7 +662,8 @@ export default class SceneManager extends cc.Component { isPauseOpen(): boolean { const pauseRoot = this.getDynamicPopup("pause"); - return !!this.dynamicPopupLoads.pause || (!!pauseRoot && pauseRoot.active); + return !!(this.dynamicPopupLoads && this.dynamicPopupLoads.pause) + || (!!pauseRoot && pauseRoot.active); } releasePausePanel(force: boolean = false) { @@ -627,17 +676,12 @@ export default class SceneManager extends cc.Component { const tween = winRoot && winRoot.getChildByName("tween"); const diguan = tween && tween.getChildByName("diguan"); const tiaodik = tween && tween.getChildByName("tiaodik"); - const gongxi = tween && tween.getChildByName("gongxi"); - const avatarNode = gongxi && gongxi.getChildByName("icon"); this.level = diguan && diguan.getChildByName("level"); this.winCoin = tiaodik && tiaodik.getChildByName("coin"); this.nextMode = tiaodik && tiaodik.getChildByName("nextMode"); - this.icon = avatarNode && avatarNode.getChildByName("icon"); - this.sp = avatarNode && avatarNode.getChildByName("sp"); - this.kuang = gongxi && gongxi.getChildByName("kuang"); - if (!this.level || !this.winCoin || !this.nextMode || !this.icon || !this.sp || !this.kuang) { + if (!this.level || !this.winCoin || !this.nextMode) { cc.error("SceneManager.bindWinPanel failed: Win prefab node structure changed"); this.unbindWinPanel(); return false; @@ -650,9 +694,6 @@ export default class SceneManager extends cc.Component { this.level = null; this.winCoin = null; this.nextMode = null; - this.icon = null; - this.sp = null; - this.kuang = null; this.clearFlyCoins(); } @@ -660,15 +701,9 @@ export default class SceneManager extends cc.Component { if (!this.level || !cc.isValid(this.level)) return; const levelName = this.winLevelName || this.resolveWinLevelName(); - NumberToImage.numberToImageNodes3(levelName, 43, 15, "rank_", this.level, true); - this.level.children.forEach((child) => child.color = cc.Color.BLACK); - - const avatarIcon = String(cc.fx.GameConfig.GM_INFO.useravatarIcon || ""); - if (avatarIcon.substring(0, 4) == "http" && this.icon && this.sp) { - this.icon.active = true; - this.sp.active = false; - this.setPic(avatarIcon, this.icon); - } + // NumberToImage.numberToImageNodes3(levelName, 43, 15, "level_", this.level, true); + NumberToImage.numberToImageNodes(levelName, 43, 8, "button_", this.level, true); + this.level.children.forEach((child) => child.color = new cc.Color(195, 154, 91)); } private resolveWinLevelName(): number { @@ -713,71 +748,94 @@ export default class SceneManager extends cc.Component { // LIFE-CYCLE CALLBACKS: onLoad() { + SceneManager.activeInstance = this; + this.isDestroying = false; + this.dynamicPopupLoads = {}; + this.dynamicPopupRetries = {}; + this.dynamicPopupStates = {}; + this.popupBundleWarmupStarted = false; this.ensureLoadingOnTop(); const intercept = this.ensureDynamicPopupIntercept(); if (intercept) intercept.active = false; - this.isDestroying = false; this.winLevelName = this.resolveWinLevelName(); this.node.on(cc.Node.EventType.TOUCH_END, this.onGameButtonTouchEnd, this, true); this.share_time = true; cc.game.setFrameRate(63); this.changeBg(); // 预加载 shop 预制体 - if (!SceneManager.cachedShopPrefab) { + SceneManager.clearInvalidShopPrefabCaches(); + if (!SceneManager.cachedShopPrefab + || !SceneManager.cachedRewardPrefab + || !SceneManager.cachedMonthlyCardPrefab) { cc.assetManager.loadBundle('shop', (err: Error, bundle: cc.AssetManager.Bundle) => { if (err) { cc.error(err.message || err); return; } - bundle.load('prefab/shop', cc.Prefab, (err: Error, prefab: cc.Prefab) => { - if (err) { - cc.error(err.message || err); - return; - } - SceneManager.cachedShopPrefab = prefab; - }); - bundle.load('prefab/RewardWindow', cc.Prefab, (err: Error, prefab: cc.Prefab) => { - if (err) { - cc.error(err.message || err); - return; - } - SceneManager.cachedRewardPrefab = prefab; - }); - bundle.load('prefab/monthlyCard', cc.Prefab, (err: Error, prefab: cc.Prefab) => { - if (err) { - cc.error(err.message || err); - return; - } - SceneManager.cachedMonthlyCardPrefab = prefab; - }); + if (!SceneManager.cachedShopPrefab) { + bundle.load('prefab/shop', cc.Prefab, (err: Error, prefab: cc.Prefab) => { + if (err) { + cc.error(err.message || err); + return; + } + SceneManager.cachedShopPrefab = prefab; + }); + } + if (!SceneManager.cachedRewardPrefab) { + bundle.load('prefab/RewardWindow', cc.Prefab, (err: Error, prefab: cc.Prefab) => { + if (err) { + cc.error(err.message || err); + return; + } + SceneManager.cachedRewardPrefab = prefab; + }); + } + if (!SceneManager.cachedMonthlyCardPrefab) { + bundle.load('prefab/monthlyCard', cc.Prefab, (err: Error, prefab: cc.Prefab) => { + if (err) { + cc.error(err.message || err); + return; + } + SceneManager.cachedMonthlyCardPrefab = prefab; + }); + } }); } - setTimeout(() => { - cc.director.preloadScene("HomeScene", (err) => { - if (err) { - // console.error('预加载 HomeScene 场景失败:', err); - return; - } - // console.log('成功预加载 HomeScene 场景'); - }); - }, 5000); + if (!cc.fx.GameTool.isLowMemoryIOSDevice()) { + setTimeout(() => { + cc.director.preloadScene("HomeScene", (err) => { + if (err) { + // console.error('预加载 HomeScene 场景失败:', err); + return; + } + // console.log('成功预加载 HomeScene 场景'); + }); + }, 5000); + } + else { + console.log("[Memory] low-memory iOS: skip HomeScene preload in SceneManager"); + } } onDestroy() { this.isDestroying = true; + if (SceneManager.activeInstance === this) SceneManager.activeInstance = null; this.unbindLosePanel(); this.unbindPropWindowPanel(); - Object.keys(this.dynamicPopupStates).forEach((popupName) => this.releaseDynamicPopup(popupName, true)); - ["pause", "lose"].forEach((bundleName) => { + Object.keys(this.dynamicPopupStates || {}).forEach((popupName) => this.releaseDynamicPopup(popupName, true)); + ["pause", "NewMode", "propWindow", "lose"].forEach((bundleName) => { const bundle = cc.assetManager.getBundle(bundleName); if (bundle) this.releaseDynamicPopupBundleIfUnused(bundleName, bundle); }); + this.dynamicPopupStates = {}; this.dynamicPopupLoads = {}; this.dynamicPopupRetries = {}; this.clearDynamicPopupRetry(); const intercept = this.node && this.node.getChildByName("intercept"); if (intercept) intercept.active = false; - this.node.off(cc.Node.EventType.TOUCH_END, this.onGameButtonTouchEnd, this, true); + if (this.node && cc.isValid(this.node, true)) { + this.node.off(cc.Node.EventType.TOUCH_END, this.onGameButtonTouchEnd, this, true); + } this.clearFlyCoins(); this.disposeJungleTreasure(false); } @@ -795,6 +853,14 @@ export default class SceneManager extends cc.Component { } } + private updateGameCoinDisplay(displayCoin: number = cc.fx.GameConfig.GM_INFO.coin): void { + if (this.isDestroying) return; + const map = MapConroler && MapConroler._instance; + if (map && cc.isValid(map, true) && map.node && cc.isValid(map.node, true)) { + map.updateCoin(displayCoin); + } + } + getWinCoinFlyTarget() { if (!this.node || !cc.isValid(this.node)) { return null; @@ -826,30 +892,34 @@ export default class SceneManager extends cc.Component { } console.log("更新关卡获得金币"); this.updateWinCoinIconState(); - let winCoin = 40; + let winCoin = null; + winCoin = 40; winCoin = winCoin * cc.fx.GameConfig.GM_INFO.doubleCoin; if (winCoin > 0) { - NumberToImage.numberToImageNodes(winCoin, 50, 8, "time_", this.winCoin, false); + NumberToImage.numberToImageNodes(winCoin, 50, 8, "half_black_", this.winCoin, false); } else { this.winCoin.active = false; } } //更新下一关获得金币 - playWinCoinFly() { + playWinCoinFly(winRewardCoin: number) { if (this.isDestroying || !this.node || !cc.isValid(this.node)) { return; } if (!this.winCoin || !cc.isValid(this.winCoin) || (!this.flyCoinPrefab && !this.flyCoinSpriteFrame)) { console.warn("playWinCoinFly skip: winCoin or fly coin asset missing"); + this.updateGameCoinDisplay(); return; } const targetNode = this.getWinCoinFlyTarget(); if (!targetNode || !cc.isValid(targetNode)) { console.warn("playWinCoinFly skip: target GameNode/top/shop/coins missing"); + this.updateGameCoinDisplay(); return; } + this.clearFlyCoins(); if (!this.flyCoinLayer || !cc.isValid(this.flyCoinLayer)) { this.flyCoinLayer = this.node.getChildByName("flyCoinLayer"); } @@ -869,6 +939,11 @@ export default class SceneManager extends cc.Component { const count = Math.max(1, Math.floor(Number(this.flyCoinCount) || 1)); const duration = Math.max(0.1, Number(this.flyCoinDuration) || 0.55); const interval = Math.max(0, Number(this.flyCoinInterval) || 0); + const finalCoin = Math.max(0, Math.floor(Number(cc.fx.GameConfig.GM_INFO.coin) || 0)); + const rewardCoin = Math.max(0, Math.floor(Number(winRewardCoin) || 0)); + const startCoin = Math.max(0, finalCoin - rewardCoin); + let arrivedCount = 0; + this.updateGameCoinDisplay(startCoin); console.log("playWinCoinFly start", count, startPos, targetPos); for (let i = 0; i < count; i++) { @@ -883,8 +958,8 @@ export default class SceneManager extends cc.Component { coin.active = true; coin.opacity = 255; coin.zIndex = 1; - const startX = startPos.x + (Math.random() - 0.5) * 120 + 200; - const startY = startPos.y + (Math.random() - 0.5) * 70; + const startX = startPos.x + (Math.random() - 0.5) * 120 + 50; + const startY = startPos.y + (Math.random() - 0.5) * 70 + 150; coin.setPosition(startX, startY); coin.scale = 0; @@ -898,6 +973,11 @@ export default class SceneManager extends cc.Component { .to(duration * 0.35, { x: midPos.x, y: midPos.y }, { easing: "sineOut" }) .to(duration * 0.65, { x: targetPos.x, y: targetPos.y, scale: 0.35 }, { easing: "sineIn" }) .call(() => { + arrivedCount++; + const displayCoin = arrivedCount >= count + ? finalCoin + : startCoin + Math.floor(rewardCoin * arrivedCount / count); + this.updateGameCoinDisplay(displayCoin); if (coin && cc.isValid(coin)) { coin.destroy(); } @@ -1043,6 +1123,7 @@ export default class SceneManager extends cc.Component { } returnHome() { + if (!this.isPopupRuntimeAlive()) return; const pauseRoot = this.getDynamicPopup("pause"); const pauseContent = pauseRoot && pauseRoot.getChildByName("pause"); const continueBtn = pauseContent && pauseContent.getChildByName("btn"); @@ -1145,11 +1226,13 @@ export default class SceneManager extends cc.Component { } returnHomeScene() { + if (!this.isPopupRuntimeAlive()) return; cc.fx.GameTool.shushu_Track("where_am_i", {}); cc.director.loadScene("HomeScene"); } openPause() { + if (!this.isPopupRuntimeAlive()) return; cc.fx.AudioManager._instance.playEffect("anniu_little", null); const pauseControl = this.pause && this.pause.getComponent("btnControl"); if (!pauseControl || !pauseControl._touch) return; @@ -1163,7 +1246,9 @@ export default class SceneManager extends cc.Component { } private loadPausePanel() { + if (!this.isPopupRuntimeAlive()) return; this.loadDynamicPopup("pause", "pause", "prefab/Pause", this.node, (error, pauseRoot) => { + if (!this.isPopupRuntimeAlive()) return; if (error || !pauseRoot) { this.showPauseLoadError(error || new Error("Pause prefab is missing")); return; @@ -1186,6 +1271,7 @@ export default class SceneManager extends cc.Component { } private showPauseLoadError(error: Error) { + if (!this.isPopupRuntimeAlive()) return; cc.error("Pause cannot open:", error && (error.message || error)); this.showDynamicPopupLoadError("pause", "暂停界面资源", () => this.loadPausePanel()); } @@ -1453,6 +1539,7 @@ export default class SceneManager extends cc.Component { } openPropBuy(name: string) { + if (!this.isPopupRuntimeAlive()) return; if (MapConroler && MapConroler._instance) { MapConroler._instance.pause = true; MapConroler._instance.stopBoom(); @@ -1462,6 +1549,7 @@ export default class SceneManager extends cc.Component { cc.fx.AudioManager._instance.playEffect("tanchuang", null); const gameRoot = this.node && this.node.getChildByName("Game"); this.loadDynamicPopup("propWindow", "propWindow", "prefab/PropWindow", gameRoot, (error, propRoot) => { + if (!this.isPopupRuntimeAlive()) return; if (error || !propRoot) { this.showPropWindowLoadError(error || new Error("propWindow prefab is missing"), name); return; @@ -1491,6 +1579,7 @@ export default class SceneManager extends cc.Component { } private showPropWindowLoadError(error: Error, name: string) { + if (!this.isPopupRuntimeAlive()) return; cc.error("propWindow cannot open:", error && (error.message || error)); this.showDynamicPopupLoadError( "propWindow", @@ -1500,23 +1589,26 @@ export default class SceneManager extends cc.Component { } clickBtn() { + if (!this.isPopupRuntimeAlive()) return; cc.fx.AudioManager._instance.playEffect("anniu_Big", null); const propRoot = this.getDynamicPopup("propWindow"); const prop = propRoot && propRoot.getChildByName("prop"); const buyBtn = prop && prop.getChildByName("buy_Btn"); const buyControl = buyBtn && buyBtn.getComponent("btnControl"); - if (buyControl && buyControl._touch) { + const map = MapConroler && MapConroler._instance; + if (buyControl && buyControl._touch && map && cc.isValid(map, true)) { buyControl.setTouch(false); if (this.btnName == "freeze") - MapConroler._instance.buyFreeze(); + map.buyFreeze(); else if (this.btnName == "hammer") - MapConroler._instance.buyHammer(); + map.buyHammer(); else if (this.btnName == "magic") - MapConroler._instance.buyMagic(); + map.buyMagic(); } } resetBtn() { + if (!this.isPopupRuntimeAlive()) return; const propRoot = this.getDynamicPopup("propWindow"); const prop = propRoot && propRoot.getChildByName("prop"); const buyBtn = prop && prop.getChildByName("buy_Btn"); @@ -1527,16 +1619,19 @@ export default class SceneManager extends cc.Component { //打开商店 openShop(event, customEventData?: string) { + if (!this.isPopupRuntimeAlive()) return; console.log("进入sceneManager openShop"); if (!cc.fx.GameConfig.GM_INFO.canIos) { return; } + SceneManager.clearInvalidShopPrefabCaches(); if (!SceneManager.cachedShopPrefab) { cc.error('Shop prefab is not loaded yet.'); return; } Utils.getShopDouble(res => { + if (!this.isPopupRuntimeAlive()) return; if (res.code === 1) { let eventName = ""; let btnName = "" @@ -1579,6 +1674,7 @@ export default class SceneManager extends cc.Component { } //打开月卡 openMonthlyCard(customEventData?: string) { + SceneManager.clearInvalidShopPrefabCaches(); if (!SceneManager.cachedMonthlyCardPrefab) { cc.error('MonthlyCard prefab is not loaded yet.'); return; @@ -1622,6 +1718,7 @@ export default class SceneManager extends cc.Component { closePropBuy(type) { + if (!this.isPopupRuntimeAlive()) return; if (type == true) { } @@ -1649,6 +1746,7 @@ export default class SceneManager extends cc.Component { openRewardWindow(data, callBack) { // console.log("_____________________打开奖励弹窗", data); + SceneManager.clearInvalidShopPrefabCaches(); if (!SceneManager.cachedRewardPrefab) { cc.error('Reward prefab is not loaded yet.'); return; diff --git a/assets/Script/SpawnGate.ts b/assets/Script/SpawnGate.ts new file mode 100644 index 00000000..89c2134c --- /dev/null +++ b/assets/Script/SpawnGate.ts @@ -0,0 +1,245 @@ +const { ccclass, property } = cc._decorator; + +export interface SpawnGateConfig { + id?: string; + x: number; + y: number; + width: number; + height: number; + spawnQueue: Array<{ members: any[] }>; +} + +export interface SpawnGateBatchResult { + nodes: cc.Node[]; + opacities: number[]; +} + +enum SpawnGateState { + Waiting, + Opening, + Revealing, + Closing, +} + +@ccclass +export default class SpawnGate extends cc.Component { + @property(cc.SpriteFrame) + left2Frame: cc.SpriteFrame = null; + + @property(cc.SpriteFrame) + right2Frame: cc.SpriteFrame = null; + + @property(cc.SpriteFrame) + left3Frame: cc.SpriteFrame = null; + + @property(cc.SpriteFrame) + right3Frame: cc.SpriteFrame = null; + + @property(sp.SkeletonData) + revealSmokeData: sp.SkeletonData = null; + + private map: any = null; + private config: SpawnGateConfig = null; + private queueIndex = 0; + private state = SpawnGateState.Waiting; + private elapsed = 0; + private finished = false; + private batch: SpawnGateBatchResult = null; + private leftSprite: cc.Sprite = null; + private rightSprite: cc.Sprite = null; + private countLabel: cc.Label = null; + + init(map: any, config: SpawnGateConfig) { + this.map = map; + this.config = config; + this.queueIndex = 0; + this.state = SpawnGateState.Waiting; + this.elapsed = 0; + this.finished = false; + this.batch = null; + + const left = this.node.getChildByName("left"); + const right = this.node.getChildByName("right"); + this.leftSprite = left && left.getComponent(cc.Sprite); + this.rightSprite = right && right.getComponent(cc.Sprite); + const count = left && left.getChildByName("count"); + this.countLabel = count && count.getComponent(cc.Label); + this.configureArtwork(left, right); + this.updateRemainingCount(); + if (this.countLabel) this.countLabel.node.active = true; + + const bottomLeft = map.mapBlocksWall[config.x][config.y]; + this.node.setPosition( + bottomLeft.x + (config.width - 1) * 60, + bottomLeft.y + (config.height - 1) * 60, + ); + const gateWidth = config.width * 120; + const gateHeight = config.height * 120; + this.node.setContentSize(gateWidth, gateHeight); + const bg = this.node.getChildByName("bg"); + const kuang = this.node.getChildByName("kuang"); + if (bg) bg.setContentSize(gateWidth, gateHeight); + if (kuang) kuang.setContentSize(gateWidth, gateHeight); + this.node.zIndex = -10; + const line = this.node.getChildByName("line"); + if (line) line.active = false; + this.setClosedAmount(1); + } + + hasOutstandingWork(): boolean { + return !this.finished; + } + + private configureArtwork(left: cc.Node, right: cc.Node) { + const isTwo = this.config.width === 2; + const leftFrame = isTwo ? this.left2Frame : this.left3Frame; + const rightFrame = isTwo ? this.right2Frame : this.right3Frame; + this.configureDoorPart(left, this.leftSprite, leftFrame); + this.configureDoorPart(right, this.rightSprite, rightFrame); + + left.x = -this.config.width * 60 + left.width / 2; + right.x = this.config.width * 60 - right.width / 2; + left.y = 0; + right.y = 0; + } + + private configureDoorPart(node: cc.Node, sprite: cc.Sprite, frame: cc.SpriteFrame) { + sprite.spriteFrame = frame; + sprite.type = cc.Sprite.Type.FILLED; + sprite.fillType = cc.Sprite.FillType.HORIZONTAL; + sprite.sizeMode = cc.Sprite.SizeMode.RAW; + if (frame) node.setContentSize(frame.getOriginalSize()); + } + + update(dt: number) { + if (this.finished || !this.map || !cc.isValid(this.map, true)) return; + if (this.map.gameOver || this.map.gameWin) return; + + if (this.state === SpawnGateState.Waiting) { + if (this.queueIndex >= this.config.spawnQueue.length) { + this.finishGate(); + return; + } + if (this.map.pause || !this.map.isSpawnGateAreaEmpty(this.config)) return; + this.beginBatch(); + return; + } + + this.elapsed += dt; + if (this.state === SpawnGateState.Opening) { + const progress = Math.min(1, this.elapsed / 0.3); + this.setClosedAmount(1 - progress); + if (progress >= 1) this.enterState(SpawnGateState.Revealing); + } + else if (this.state === SpawnGateState.Revealing) { + const progress = Math.min(1, this.elapsed / 0.15); + this.setBatchOpacity(progress); + if (progress >= 1) this.enterState(SpawnGateState.Closing); + } + else if (this.state === SpawnGateState.Closing) { + const progress = Math.min(1, this.elapsed / 0.2); + this.setClosedAmount(progress); + if (progress >= 1) this.completeBatch(); + } + } + + private beginBatch() { + const queueItem = this.config.spawnQueue[this.queueIndex]; + if (this.countLabel) this.countLabel.node.active = false; + this.batch = this.map.createSpawnGateBatch( + queueItem.members, + this.config, + this.queueIndex, + ); + this.queueIndex++; + this.setBatchOpacity(0); + this.enterState(SpawnGateState.Opening); + } + + private completeBatch() { + this.setClosedAmount(1); + this.setBatchOpacity(1); + this.map.unlockSpawnGateBatch(this.batch.nodes); + this.batch = null; + if (this.queueIndex >= this.config.spawnQueue.length) { + this.finishGate(); + } + else { + if (this.countLabel) this.countLabel.node.active = true; + this.enterState(SpawnGateState.Waiting); + } + } + + private finishGate() { + this.finished = true; + const map = this.map; + this.map = null; + this.node.destroy(); + if (map && cc.isValid(map, true)) map.onSpawnGateFinished(); + } + + private enterState(state: SpawnGateState) { + this.state = state; + this.elapsed = 0; + if (state === SpawnGateState.Revealing) { + this.updateRemainingCount(); + this.playRevealSmoke(); + } + } + + private updateRemainingCount() { + if (!this.countLabel) return; + const remaining = Math.max(0, this.config.spawnQueue.length - this.queueIndex); + this.countLabel.string = remaining.toString(); + } + + private playRevealSmoke() { + if (!this.batch || !this.revealSmokeData) return; + const smoke = new cc.Node("spawnGateSmoke"); + smoke.parent = this.node.parent; + smoke.zIndex = 1100; + + const gateWidth = this.config.width * 120; + const gateHeight = this.config.height * 120; + const scale = Math.max(gateWidth / 430.62, gateHeight / 373.6) * 0.8; + smoke.scale = scale; + smoke.setPosition( + this.node.x - 8.78 * scale, + this.node.y + 9.49 * scale, + ); + + const skeleton = smoke.addComponent(sp.Skeleton); + skeleton.skeletonData = this.revealSmokeData; + skeleton.premultipliedAlpha = true; + skeleton.loop = false; + skeleton.timeScale = 1.5625; + const track = skeleton.setAnimation(0, "animation", false); + skeleton.setAttachment("锤子", null); + if (track) track.trackTime = 0.78; + skeleton.setCompleteListener(() => smoke.destroy()); + } + + private setClosedAmount(value: number) { + if (!this.leftSprite || !this.rightSprite) return; + this.leftSprite.fillStart = 0; + this.leftSprite.fillRange = value; + this.rightSprite.fillStart = 1; + this.rightSprite.fillRange = -value; + } + + private setBatchOpacity(progress: number) { + if (!this.batch) return; + for (let i = 0; i < this.batch.nodes.length; i++) { + const node = this.batch.nodes[i]; + if (node && cc.isValid(node)) { + node.opacity = Math.round(this.batch.opacities[i] * progress); + } + } + } + + onDestroy() { + this.map = null; + this.batch = null; + this.countLabel = null; + } +} diff --git a/assets/Transfer/script/Transfer.ts.meta b/assets/Script/SpawnGate.ts.meta similarity index 77% rename from assets/Transfer/script/Transfer.ts.meta rename to assets/Script/SpawnGate.ts.meta index 6c95ca2d..cb1aff8e 100644 --- a/assets/Transfer/script/Transfer.ts.meta +++ b/assets/Script/SpawnGate.ts.meta @@ -1,6 +1,6 @@ { "ver": "1.1.0", - "uuid": "d872c44d-0665-4d3e-bdfe-c70861158127", + "uuid": "08c212cf-2596-4a67-b5fb-a103f8f19356", "importer": "typescript", "isPlugin": false, "loadPluginInWeb": true, diff --git a/assets/Script/module/Config/GameConfig.ts b/assets/Script/module/Config/GameConfig.ts index b6981613..87458a03 100644 --- a/assets/Script/module/Config/GameConfig.ts +++ b/assets/Script/module/Config/GameConfig.ts @@ -72,14 +72,30 @@ export class GameConfig { private static sceneLoadRequest = 0; private static cancelBlockLoading: () => void = null; + static getCurrentLevelBlockDefinitions(): any[] { + const blocks = this.BLOCK_INFO && this.BLOCK_INFO[0] ? this.BLOCK_INFO[0] : []; + const level: any = this.LEVEL_INFO && this.LEVEL_INFO[0]; + const result = blocks.slice(); + const gates = level && Array.isArray(level.spawnGates) ? level.spawnGates : []; + for (const gate of gates) { + const queue = gate && Array.isArray(gate.spawnQueue) ? gate.spawnQueue : []; + for (const item of queue) { + if (item && Array.isArray(item.members)) result.push(...item.members); + } + } + return result; + } + /** 只准备当前关图片,不预读或加载下一关图片。 */ static prepareBlockWindow(onRemoteRequired?: () => void, stage = "进关"): Promise { - const blocks = this.BLOCK_INFO && this.BLOCK_INFO[0]; - if (!blocks || !this.loadedLevelNumber) return Promise.reject(new Error("关卡配置尚未就绪")); + const blockInfo = this.BLOCK_INFO && this.BLOCK_INFO[0]; + const levelInfo = this.LEVEL_INFO && this.LEVEL_INFO[0]; + if (!blockInfo || !this.loadedLevelNumber) return Promise.reject(new Error("关卡配置尚未就绪")); + const blocks = this.getCurrentLevelBlockDefinitions(); const currentLevel = this.loadedLevelNumber; return BlockAssetManager.instance.prepareWindow(blocks, { onRemoteRequired, currentLevel, stage }).then(ready => - ready && this.BLOCK_INFO[0] === blocks); + ready && this.BLOCK_INFO[0] === blockInfo && this.LEVEL_INFO[0] === levelInfo); } /** 创建时不显示;仅远程图片调用 open。失效请求不能打开或关闭后续请求的 Loading。 */ @@ -109,14 +125,32 @@ export class GameConfig { }; } - /** 所有正式进关入口都在当前关图片就绪后才切换 GameScene。 */ + /** 所有正式进关入口都在弹窗分包及当前关图片就绪后才切换 GameScene。 */ static enterGameSceneWhenReady(time = 0): void { const id = ++this.sceneLoadRequest; const scene = cc.director.getScene(); const blocks = this.BLOCK_INFO; const isCurrent = () => id === this.sceneLoadRequest && cc.director.getScene() === scene && this.BLOCK_INFO === blocks; const loading = this.createBlockLoading(isCurrent); - this.prepareBlockWindow(loading.open).then(ready => { + + if (!GameTool.areGameplayPopupSubpackagesDownloaded()) loading.open(); + GameTool.ensureGameplayPopupSubpackagesDownloaded().then(popupReady => { + if (!isCurrent()) { + loading.close(); + return false; + } + if (!popupReady) { + loading.close(); + const missing = GameTool.getMissingGameplayPopupSubpackages(); + this.showBlockLoadError( + new Error(`游戏弹窗分包下载失败: ${missing.join(", ")}`), + () => this.enterGameSceneWhenReady(time), + "游戏界面资源下载失败\n请检查网络,点击此处重试" + ); + return false; + } + return this.prepareBlockWindow(loading.open); + }).then(ready => { loading.close(); if (!ready || !isCurrent()) return; cc.director.preloadScene("GameScene", error => { @@ -140,8 +174,9 @@ export class GameConfig { } /** 不推进关卡、不无限卡在转场;此提示不依赖任何远程图片。 */ - static showBlockLoadError(error: any, retry: () => void): void { - cc.error("方块资源加载失败:", error); + static showBlockLoadError(error: any, retry: () => void, + messageText = "方块图片加载失败\n请检查网络,点击此处重试"): void { + cc.error(messageText, error); const canvas = cc.find("Canvas"); if (!canvas || canvas.getChildByName("BlockLoadRetry")) return; const overlay = new cc.Node("BlockLoadRetry"); @@ -156,7 +191,7 @@ export class GameConfig { const message = new cc.Node("message"); message.parent = overlay; const label = message.addComponent(cc.Label); - label.string = "方块图片加载失败\n请检查网络,点击此处重试"; + label.string = messageText; label.fontSize = 32; label.lineHeight = 48; label.horizontalAlign = cc.Label.HorizontalAlign.CENTER; @@ -445,8 +480,7 @@ export class GameConfig { vibrateOpen: true, //震动 coinnum: 0, //每局的金币数 paid_user: false, //是否是付费用户 - version: "1.0.41", //版本号 - version: "1.0.43", //版本号 + version: "1.0.44", //版本号 shushu_DistinctId: "", //数数访客ID shushu_AccountId: "", //数数账号ID uid: "", //用户和后端唯一id diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 21862bc0..5b593585 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -8,8 +8,9 @@ import Utils from "../Pay/Utils"; //@ts-ignore //最大工具类 各种公共方法,以及处理上传,获取后端接口数据 var GameTool = { - MAX_NORMAL_LEVEL: 1920, + MAX_NORMAL_LEVEL: 3000, MEMORY_WARNING_EVENT: "game-memory-warning", + GAMEPLAY_POPUP_SUBPACKAGES: ["pause", "NewMode", "propWindow", "lose", "win"], _startTime: 0, _endTime: 0, _totalTime: 0, @@ -17,6 +18,9 @@ var GameTool = { _memoryWarningHandler: null, _lowMemoryMode: false, _memoryWarningCount: 0, + _gameplayPopupSubpackageDownloaded: {}, + _gameplayPopupSubpackageRetryTimer: null, + _gameplayPopupSubpackagePreloadPromise: null, //获取userId Authentication() { @@ -2556,7 +2560,10 @@ var GameTool = { wx.triggerGC(); } - // 2. 释放不需要的 Bundle + // 2. 释放不需要的 Bundle。释放 shop 前同步清空两个场景脚本中的静态 Prefab 缓存, + // 避免下一场景继续实例化已经被 releaseAll 的对象。 + SceneManager.clearShopPrefabCaches(); + JiaZai.clearShopPrefabCaches(); const bundles = ['shop', 'action_bundle', 'TextureBg', 'TextureBlock', 'UI']; bundles.forEach(name => { const bundle = cc.assetManager.getBundle(name); @@ -2622,6 +2629,19 @@ var GameTool = { return platform === "ios" || (!platform && cc.sys.os === cc.sys.OS_IOS); }, + isLowMemoryIOSDevice() { + if (cc.sys.platform !== cc.sys.WECHAT_GAME) { + return false; + } + const deviceInfo = this.getWechatDeviceInfo(); + const platform = deviceInfo && deviceInfo.platform + ? String(deviceInfo.platform).toLowerCase() + : ""; + const isIOS = platform === "ios" || (!platform && cc.sys.os === cc.sys.OS_IOS); + const memorySizeMB = Number(deviceInfo && deviceInfo.memorySize); + return isIOS && memorySizeMB > 0 && memorySizeMB < 5000; + }, + isLowMemoryMode() { return this._lowMemoryMode === true; }, @@ -2704,6 +2724,127 @@ var GameTool = { this._memoryWarningHandler = null; }, + /** 已 loadBundle 或本次启动中预下载成功的分包都视为就绪。 */ + getMissingGameplayPopupSubpackages(): string[] { + return this.GAMEPLAY_POPUP_SUBPACKAGES.filter((bundleName) => { + if (cc.assetManager.getBundle(bundleName)) { + this._gameplayPopupSubpackageDownloaded[bundleName] = true; + } + return !this._gameplayPopupSubpackageDownloaded[bundleName]; + }); + }, + + areGameplayPopupSubpackagesDownloaded(): boolean { + return cc.sys.platform !== cc.sys.WECHAT_GAME + || this.getMissingGameplayPopupSubpackages().length === 0; + }, + + /** 进关前等待当前预下载批次;失败交给进关界面提示用户重试。 */ + ensureGameplayPopupSubpackagesDownloaded(): Promise { + if (cc.sys.platform !== cc.sys.WECHAT_GAME) return Promise.resolve(true); + const missing = this.getMissingGameplayPopupSubpackages(); + if (missing.length === 0) return Promise.resolve(true); + console.log(`[PopupSubpackage] GameScene gate waiting for: ${missing.join(", ")}`); + return this.predownloadGameplayPopupSubpackages(false).then((ready) => { + if (ready) console.log("[PopupSubpackage] GameScene gate ready"); + return ready; + }); + }, + + /** + * 只让微信提前下载弹窗分包,不调用 loadBundle,也不解析 Prefab 和图片。 + * 下载由微信管理到代码包缓存;每次启动都检查一次,命中缓存时会很快完成。 + */ + predownloadGameplayPopupSubpackages(scheduleRetry = true): Promise { + if (cc.sys.platform !== cc.sys.WECHAT_GAME) return Promise.resolve(true); + if (this._gameplayPopupSubpackagePreloadPromise) { + return this._gameplayPopupSubpackagePreloadPromise; + } + //@ts-ignore + const wechat = typeof wx !== "undefined" ? wx : null; + if (!wechat) return Promise.resolve(false); + const predownloadSubpackage = wechat.preDownloadSubpackage || wechat.loadSubpackage; + if (!predownloadSubpackage) { + cc.warn("[PopupSubpackage] current WeChat version does not support subpackage predownload"); + return Promise.resolve(false); + } + + // Pause 和 NewMode 可能刚进关就用到,优先于结算弹窗。 + const pendingNames = this.getMissingGameplayPopupSubpackages(); + if (pendingNames.length === 0) return Promise.resolve(true); + + if (this._gameplayPopupSubpackageRetryTimer) { + clearTimeout(this._gameplayPopupSubpackageRetryTimer); + this._gameplayPopupSubpackageRetryTimer = null; + } + let activeCount = 0; + let nextIndex = 0; + let failedCount = 0; + let batchFinished = false; + let resolveBatch: (ready: boolean) => void = null; + const apiName = wechat.preDownloadSubpackage ? "preDownloadSubpackage" : "loadSubpackage"; + console.log(`[PopupSubpackage] using wx.${apiName}`); + + const batchPromise = new Promise((resolve) => { + resolveBatch = resolve; + }); + this._gameplayPopupSubpackagePreloadPromise = batchPromise; + + const finishBatch = () => { + if (batchFinished || activeCount > 0 || nextIndex < pendingNames.length) return; + batchFinished = true; + const ready = this.getMissingGameplayPopupSubpackages().length === 0; + this._gameplayPopupSubpackagePreloadPromise = null; + if (ready) { + console.log("[PopupSubpackage] all gameplay popup subpackages are cached"); + } + else if (scheduleRetry) { + console.warn(`[PopupSubpackage] ${failedCount} subpackage(s) failed; retrying in 10 seconds`); + this._gameplayPopupSubpackageRetryTimer = setTimeout(() => { + this._gameplayPopupSubpackageRetryTimer = null; + GameTool.predownloadGameplayPopupSubpackages(true); + }, 10000); + } + else { + console.warn(`[PopupSubpackage] ${failedCount} subpackage(s) failed while entering GameScene`); + } + resolveBatch(ready); + }; + + const startNext = () => { + while (activeCount < 2 && nextIndex < pendingNames.length) { + const bundleName = pendingNames[nextIndex++]; + activeCount++; + console.log(`[PopupSubpackage] predownload start: ${bundleName}`); + try { + predownloadSubpackage.call(wechat, { + name: bundleName, + success: () => { + this._gameplayPopupSubpackageDownloaded[bundleName] = true; + activeCount--; + console.log(`[PopupSubpackage] predownload complete: ${bundleName}`); + startNext(); + }, + fail: (error) => { + failedCount++; + activeCount--; + console.warn(`[PopupSubpackage] predownload failed: ${bundleName}`, error); + startNext(); + }, + }); + } catch (error) { + failedCount++; + activeCount--; + console.warn(`[PopupSubpackage] predownload exception: ${bundleName}`, error); + } + } + finishBatch(); + }; + + startNext(); + return batchPromise; + }, + shouldPreloadGameplayPopupInstances() { const systemInfo = this.getGameplayPopupSystemInfo(); const platform = systemInfo && systemInfo.platform diff --git a/assets/StartScene/LoadScene.fire b/assets/StartScene/LoadScene.fire index a6ec4d8e..d1a2ee24 100644 --- a/assets/StartScene/LoadScene.fire +++ b/assets/StartScene/LoadScene.fire @@ -283,18 +283,15 @@ }, { "__id__": 19 - }, - { - "__id__": 21 } ], "_active": true, "_components": [ { - "__id__": 173 + "__id__": 21 }, { - "__id__": 174 + "__id__": 22 } ], "_prefab": null, @@ -947,5613 +944,6 @@ "_N$cacheMode": 0, "_id": "c3ANF1NTpF2b7e7Q2fTE6W" }, - { - "__type__": "cc.Node", - "_name": "Transfer", - "_objFlags": 0, - "_parent": { - "__id__": 7 - }, - "_children": [ - { - "__id__": 22 - }, - { - "__id__": 27 - } - ], - "_active": false, - "_components": [ - { - "__id__": 170 - }, - { - "__id__": 171 - } - ], - "_prefab": { - "__id__": 172 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1080, - "height": 1920 - }, - "_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": "e4EXhsSo5De6PFHn3YK4l7" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite(Splash)", - "_objFlags": 0, - "_parent": { - "__id__": 21 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 23 - }, - { - "__id__": 24 - }, - { - "__id__": 25 - } - ], - "_prefab": { - "__id__": 26 - }, - "_opacity": 200, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1080, - "height": 1920 - }, - "_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": "0b5TxCxhZBf7NYrfF5+wBl" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 22 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "f1+Rf7/U9IE7LtpwaJxq2P" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 22 - }, - "_enabled": true, - "alignMode": 1, - "_target": null, - "_alignFlags": 45, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_id": "faNZTmI5RBwqgsgGCIo9vm" - }, - { - "__type__": "cc.BlockInputEvents", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 22 - }, - "_enabled": true, - "_id": "b8Rp6EyIVFGJs7aGnwU6U5" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "f6zV4BNDZDDa7mZzyh7ylW", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "choice", - "_objFlags": 0, - "_parent": { - "__id__": 21 - }, - "_children": [ - { - "__id__": 28 - }, - { - "__id__": 31 - }, - { - "__id__": 36 - }, - { - "__id__": 41 - }, - { - "__id__": 44 - }, - { - "__id__": 102 - }, - { - "__id__": 160 - }, - { - "__id__": 163 - }, - { - "__id__": 166 - } - ], - "_active": true, - "_components": [], - "_prefab": { - "__id__": 169 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "ae7pGDy9VLvZpVa2VcknPT" - }, - { - "__type__": "cc.Node", - "_name": "bg", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 29 - } - ], - "_prefab": { - "__id__": 30 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 902, - "height": 1478 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -34.804, - 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": "f41n1vqExLUbABi2ZpZfLR" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 28 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0bc0b5c6-3bb3-4378-a9a7-7d2186f1dea5" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "2f7iM+H8RIk4OLzUDdECCZ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "caGYYsIc5AfIvMAzuVDSOp", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "close", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 32 - }, - { - "__id__": 33 - } - ], - "_prefab": { - "__id__": 35 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 78, - "height": 84 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 368.918, - 584.701, - 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": "6bay6t0UhG+6D5wDv8ct/R" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 31 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8184382a-446a-4cc4-863c-a34f6f25559b" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "bfJ8EHetBPzYC1rcR2qQ+Z" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 31 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 34 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_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__": 21 - }, - "_id": "e53bAqVnNFpYpvJJHiH2XM" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 21 - }, - "component": "", - "_componentId": "d872cRNBmVNPr3+xwhhFYEn", - "handler": "close", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "36tT5fPaFA9J0TxujsITOX", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btn", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 37 - }, - { - "__id__": 38 - } - ], - "_prefab": { - "__id__": 40 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 154, - "g": 154, - "b": 154, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 472, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -642.707, - 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": "b9ylaHXpdB+ZedKDVCeUZd" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 36 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b67d58c6-ce4d-4d42-9ad7-d226f6648769" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "7ap0ElX/VKMbquN7NUFhl7" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 36 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 39 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_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__": 21 - }, - "_id": "9bLQmprT5DP6EOSi601ATQ" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 21 - }, - "component": "", - "_componentId": "d872cRNBmVNPr3+xwhhFYEn", - "handler": "clickConfirmProgress", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "635r4shpFAyYQcn3BQcq5e", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "title", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 42 - } - ], - "_prefab": { - "__id__": 43 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 310, - "height": 86 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 563.82, - 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": "1fPZC6trpG2aul681g+fMT" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 41 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "ea47b8ce-a1ca-4c66-9da9-31c56a460fdd" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "dagCDz1+xBKr23B85RsjBN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "61y8c+PNlMr7CIjhg57Wt5", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "xxwz", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [ - { - "__id__": 45 - }, - { - "__id__": 48 - }, - { - "__id__": 54 - }, - { - "__id__": 57 - }, - { - "__id__": 60 - }, - { - "__id__": 63 - }, - { - "__id__": 66 - }, - { - "__id__": 69 - }, - { - "__id__": 72 - }, - { - "__id__": 75 - }, - { - "__id__": 78 - }, - { - "__id__": 81 - }, - { - "__id__": 84 - }, - { - "__id__": 87 - }, - { - "__id__": 90 - }, - { - "__id__": 93 - }, - { - "__id__": 96 - } - ], - "_active": true, - "_components": [ - { - "__id__": 99 - } - ], - "_prefab": { - "__id__": 101 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 380, - "height": 766 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 210, - -24.022, - 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": "75tkYBFUhMeKvYL/HsmpB9" - }, - { - "__type__": "cc.Node", - "_name": "bg", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 46 - } - ], - "_prefab": { - "__id__": 47 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 380, - "height": 766 - }, - "_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": "acCm/iKc5E6pTYGL0sX8G5" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 45 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "bf963e54-1059-497f-891f-1548d727f501" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "b0ZmGI+b5CZpLRZEYfWLJi" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "8bOaXsCHlOn4hPEAkTiegn", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "choice", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [ - { - "__id__": 49 - } - ], - "_active": false, - "_components": [ - { - "__id__": 52 - } - ], - "_prefab": { - "__id__": 53 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 394, - "height": 778 - }, - "_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": "a7QHSOYS1MV6F6zi/1S8xz" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 48 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 50 - } - ], - "_prefab": { - "__id__": 51 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 154, - "height": 94 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -382.789, - 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": "e4zsEpl3BPvqzCVqgu+0Cl" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 49 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "ffa83e8b-dc04-4894-9db7-08a8785d2829" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "55HVe6valKaaXZ6ziuEJLJ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "a9PUu/DTFBcqMXzCZOhbQz", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 48 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "991e0923-5fd3-4a3f-9ef1-ecd4974f1da5" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "ad2t8hkIdP6ISMpq+IIZ5y" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "99CcnxD7RG05BqHIztaIMa", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 55 - } - ], - "_prefab": { - "__id__": 56 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 185, - "height": 43 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 326.484, - 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": "ae863GiC1Pe479Dap1xbAT" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 54 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "99181bee-c081-4432-80c8-29944a833560" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "a6B+9wZhlH365KXFCL8JG/" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "c8vPbsB4ZJe4/r6kOEG5/d", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "level", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 58 - } - ], - "_prefab": { - "__id__": 59 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - 236.203, - 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": "c5ypkhFw1LCaw+qju2zKpS" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 57 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "5bYRG5pXhFHZfAd9eh8cly" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "89k/bF6HhF66Tpz+w12dT1", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 61 - } - ], - "_prefab": { - "__id__": 62 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - 146.203, - 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": "c60fu1s1pBV5JZJlPYk2/X" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 60 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "00HLTMyQhK45hRxLNAAxLz" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "0bmhMXU1FCer6o1dNMfpZH", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "hammer", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 64 - } - ], - "_prefab": { - "__id__": 65 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - 56.203, - 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": "ceP0/ER6BLqZiMTjA3wZcw" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 63 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "aebd917L1MbazkfsfldDc4" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "b77e6JWvVKcah96e7Hejnu", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "ice", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 67 - } - ], - "_prefab": { - "__id__": 68 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - -33.797, - 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": "5du8tqEctJIYzt583pjqkf" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 66 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "fe4T98lNxJEbasBHdi6uK+" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "42NDo6stJMzppsuyNZPBOJ", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "magic", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 70 - } - ], - "_prefab": { - "__id__": 71 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -12.974, - -123.797, - 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": "5cTBrOnJhE0KTiykQb3V9P" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 69 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "8cJrwCWmZHGZjbvzpCtwYe" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "b7f8bp6DFHm51n9zLkStG3", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "yicon", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 73 - } - ], - "_prefab": { - "__id__": 74 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - -213.797, - 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": "26yw2deB1IhI+HLASvm8K0" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 72 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "17gR0Y3HpOlqwOyNeosmJS" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "b1O4Tmu2tJE5bgHgMlftHg", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "passCheck", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 76 - } - ], - "_prefab": { - "__id__": 77 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - -303.797, - 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": "afsyKslTpLbJewRYt7j6eC" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 75 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "2f9Vc1qcFPLa39yXCtiN5m" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "abgM/nXt1OcrIIb0d5+1jq", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 79 - } - ], - "_prefab": { - "__id__": 80 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - 237.392, - 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": "6f4qc9LUFNNprFBo0iqhyM" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 78 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "关卡:", - "_N$string": "关卡:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "8fHfixGn1CEI++RG/eCNuc" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "0f342HGtlK37Jt9on1onvi", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 82 - } - ], - "_prefab": { - "__id__": 83 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - 147.392, - 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": "daPaDXx7FKEKjmzQytM6M5" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 81 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "金币:", - "_N$string": "金币:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "828FuLWR1LhI3SWEUZzd61" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "c3KvRBuXROuIe+uBRVWag+", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 85 - } - ], - "_prefab": { - "__id__": 86 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - 57.392, - 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": "18QbpAcTFDlZ8fotBdYodw" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 84 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "锤子:", - "_N$string": "锤子:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "57Hpya1yNK67L2CuJbbWUu" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "e1An1yCYhMN4Pt6vmBWc9W", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 88 - } - ], - "_prefab": { - "__id__": 89 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -32.608, - 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": "f73XiF21ZB7ZTAmHD5KFzG" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 87 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "冻结:", - "_N$string": "冻结:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "9ekq7pz7dPtpBfmyxCKuxK" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "7dNeuFc4BBKKropE7+HyTy", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 91 - } - ], - "_prefab": { - "__id__": 92 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 144, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -122.608, - 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": "57nkxu18dFeqfaDVYXdInk" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 90 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "魔法棒:", - "_N$string": "魔法棒:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "b6guK3LeNFBLyhhmbIOXM8" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "b5zUotKtNPNoIwI1obEFia", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 94 - } - ], - "_prefab": { - "__id__": 95 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -212.608, - 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": "00cmObdYtCn53d/KPOlzJ2" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 93 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "月卡:", - "_N$string": "月卡:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "eaMR9XRjpPnpiv2+WE1DpN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "03ks5P0dFAw6irQsJ2ngm9", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 44 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 97 - } - ], - "_prefab": { - "__id__": 98 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -302.608, - 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": "00Bx6oUyZGLo2gDhcHiY78" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 96 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "战令:", - "_N$string": "战令:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "f4fTwoexRDrrRzQr5qjJ7k" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "a5ss4po/RIYKzKfv9zR2Mp", - "sync": false - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 44 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.05, - "clickEvents": [ - { - "__id__": 100 - } - ], - "_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__": 44 - }, - "_id": "11rXuGBSxJrrnaCJl2fc6u" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 21 - }, - "component": "", - "_componentId": "d872cRNBmVNPr3+xwhhFYEn", - "handler": "clickCurrentProgress", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "8adY+bXxpF8JKDPvdV+YbD", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "wucai", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [ - { - "__id__": 103 - }, - { - "__id__": 106 - }, - { - "__id__": 112 - }, - { - "__id__": 115 - }, - { - "__id__": 118 - }, - { - "__id__": 121 - }, - { - "__id__": 124 - }, - { - "__id__": 127 - }, - { - "__id__": 130 - }, - { - "__id__": 133 - }, - { - "__id__": 136 - }, - { - "__id__": 139 - }, - { - "__id__": 142 - }, - { - "__id__": 145 - }, - { - "__id__": 148 - }, - { - "__id__": 151 - }, - { - "__id__": 154 - } - ], - "_active": true, - "_components": [ - { - "__id__": 157 - } - ], - "_prefab": { - "__id__": 159 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 380, - "height": 766 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -210, - -24.022, - 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": "eedXYQx9VByooXFK6Aeh1G" - }, - { - "__type__": "cc.Node", - "_name": "bg", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 104 - } - ], - "_prefab": { - "__id__": 105 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 380, - "height": 766 - }, - "_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": "22WQdMFAVHpI2qbwB6ncix" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 103 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "bf963e54-1059-497f-891f-1548d727f501" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "e4IOuhQitNuKHaLT7ccUbJ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "9bK5bouCtFoIern6Kl5JRp", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "choice", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [ - { - "__id__": 107 - } - ], - "_active": false, - "_components": [ - { - "__id__": 110 - } - ], - "_prefab": { - "__id__": 111 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 394, - "height": 778 - }, - "_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": "b93/y+JA5NjKVAq6iMEybx" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 106 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 108 - } - ], - "_prefab": { - "__id__": 109 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 154, - "height": 94 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -382.789, - 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": "f89aP1i7xLL4dDMm4/UF8l" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 107 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "ffa83e8b-dc04-4894-9db7-08a8785d2829" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "7dIL7jXkNBhJXBzfeMVIup" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "ba+QpuhrhKtaGAMdLr2hhi", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 106 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "991e0923-5fd3-4a3f-9ef1-ecd4974f1da5" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "2ej/2oF2VMTIRNki0j6D6X" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "0fzJb416BGSaurn87odUDU", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "level", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 113 - } - ], - "_prefab": { - "__id__": 114 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - 236.203, - 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": "81iGJAurNLRa/dI2bWe0BB" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 112 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "c8k6UU7uhJoLgW1qTj/TqO" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "024WbcpJRHx4bDMrJscm6M", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 116 - } - ], - "_prefab": { - "__id__": 117 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - 146.203, - 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": "9b+2ubNWhCHLpI0HkzQxb2" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 115 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "41qE1gdjFNwqfQAjjXzStZ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "99PfftMJFF/p/yrr83CXvc", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "hammer", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 119 - } - ], - "_prefab": { - "__id__": 120 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - 56.203, - 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": "34yJfg4sZCTpP3coABhx3u" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 118 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "08xRXe8SNJG66eQ+NRiZvf" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "4bKuhBialIZKJcD/ioq4qF", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "ice", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 122 - } - ], - "_prefab": { - "__id__": 123 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - -33.797, - 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": "ad0SNiRWtIqq3Lfy9Zbtwd" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 121 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "69QAGUC0hBBrL0kSp+ScIY" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "48ofFojzBKj7NMqkjtDQHJ", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "magic", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 125 - } - ], - "_prefab": { - "__id__": 126 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -12.974, - -123.797, - 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": "0a7wflgxJL4oMJfcc0L+EZ" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 124 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "79D4PXRRVNB4TZ/ls5QOjo" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "d6J4KRb/NEkImGP3U3hRrI", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "yicon", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 128 - } - ], - "_prefab": { - "__id__": 129 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - -213.797, - 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": "b3O6eQXnJNuZQltxyFdwH+" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 127 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "69J9wQQ8pF3rKGJc9uNl8D" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "ebCjtcfr5Og4WeRDoCb3oT", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "passCheck", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 131 - } - ], - "_prefab": { - "__id__": 132 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 20.02, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -46.27, - -303.797, - 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": "dcSj5BLf9Cs4KKHVICIz3d" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 130 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "d0v8KGYPtGhbIFdz+M/O+h" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "78vRqKhvpDVr6c8LogeRr8", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 134 - } - ], - "_prefab": { - "__id__": 135 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 233, - "height": 43 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 326.484, - 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": "f1eoMRh0hCcbDExhkDFA6P" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 133 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "9c21b26f-3c85-40a3-a8e7-90b68461a507" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "cfcGGYxkBCd6udNLdOuHft" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "d9o+GbFIxAma+8OS1lqo95", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 137 - } - ], - "_prefab": { - "__id__": 138 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -302.608, - 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": "37m4JK7sJOl6ClvRdv+jPN" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 136 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "战令:", - "_N$string": "战令:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "99QELucIZBUKEQ7P7lhiLB" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "3dgt1baX1P1Y3k4+r7DRQ9", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 140 - } - ], - "_prefab": { - "__id__": 141 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -212.608, - 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": "31dAsGgDJOQrJFM+sRy/ZG" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 139 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "月卡:", - "_N$string": "月卡:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "d6VYM1Ta1M9ocVSA3KFxdW" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "e3MPcGrYtDvZsKemL/j57A", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 143 - } - ], - "_prefab": { - "__id__": 144 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 144, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -122.608, - 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": "36sSJYWbtJXYJPsI6oAWs5" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 142 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "魔法棒:", - "_N$string": "魔法棒:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "3cTVVE7AlOgYoiMt0BR31a" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "63QGRQt2xIkKZk3o4hutI3", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 146 - } - ], - "_prefab": { - "__id__": 147 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - -32.608, - 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": "49rT3t6A5ME7tkxzujcJqs" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 145 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "冻结:", - "_N$string": "冻结:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "faUrIlvn1PnKaSUAPNhhsI" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "84kjvfqGtBvIj4JQdx1uet", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 149 - } - ], - "_prefab": { - "__id__": 150 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - 57.392, - 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": "e47yvS8AhKPYxVo4wU5sxq" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 148 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "锤子:", - "_N$string": "锤子:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "81gUnRdfZDpKGxFCZ9Bokr" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "adjvUg/gxFEpdUXvVd5Fgv", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 152 - } - ], - "_prefab": { - "__id__": 153 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - 147.392, - 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": "06TwChdWdEQJA9omnY6zcw" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 151 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "金币:", - "_N$string": "金币:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "5azCsYEiROyKtAD8XRFqTT" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "bcewLGM6xEuK2C6qjAQHk3", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "label", - "_objFlags": 0, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 155 - } - ], - "_prefab": { - "__id__": 156 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 165, - "g": 101, - "b": 49, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108, - "height": 45.36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -151.167, - 237.392, - 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": "5dD/LSVYhNvawwgULjwRiD" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 154 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "关卡:", - "_N$string": "关卡:", - "_fontSize": 36, - "_lineHeight": 36, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "edl5fywhNHXJ7BQdpJLXW9" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "c68EjEtH9BpZk/Xc9dUncq", - "sync": false - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 102 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.05, - "clickEvents": [ - { - "__id__": 158 - } - ], - "_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__": 102 - }, - "_id": "890Eh3cJJNoLauZRPmOImX" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 21 - }, - "component": "", - "_componentId": "d872cRNBmVNPr3+xwhhFYEn", - "handler": "clickWucaiProgress", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "13cV+H94hOsqGbHRbdGyea", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Label", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 161 - } - ], - "_prefab": { - "__id__": 162 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 205, - "g": 156, - "b": 86, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 448, - "height": 40.32 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -483.779, - 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": "e2zWvyoptDV6dW/ACxempr" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 160 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "选择后将无法更改。您确定吗?", - "_N$string": "选择后将无法更改。您确定吗?", - "_fontSize": 32, - "_lineHeight": 32, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "9bXKqjFQFLKJRq3O1hCorK" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "a2bVlpVcRM+aOAfxeB+cNo", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Label", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 164 - } - ], - "_prefab": { - "__id__": 165 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 159, - "g": 118, - "b": 77, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 672, - "height": 72.32 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 442.884, - 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": "a5CsGJ9PdMXL+7tePYwp2H" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 163 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "五彩消消乐和消消王者中都存在您的游戏数据。\n", - "_N$string": "五彩消消乐和消消王者中都存在您的游戏数据。\n", - "_fontSize": 32, - "_lineHeight": 32, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "23xjJgE6NEiaN4SslWU9Kr" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "5aoXCU3+5KWbYsBKVZsLmm", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Label", - "_objFlags": 0, - "_parent": { - "__id__": 27 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 167 - } - ], - "_prefab": { - "__id__": 168 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 159, - "g": 118, - "b": 77, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 288, - "height": 72.32 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 420.29, - 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": "39b9cR1ipGTI1Qhbj/yyIW" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 166 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "\n请选择从哪里继续:", - "_N$string": "\n请选择从哪里继续:", - "_fontSize": 32, - "_lineHeight": 32, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 1, - "_underlineHeight": 0, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "8aaOvHYoNEr4egZK+Xms4h" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "e0tJGziUNHX5EoS9lWjyn/", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "b44FATznZCLqeN1bZcYk/B", - "sync": false - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 21 - }, - "_enabled": true, - "alignMode": 1, - "_target": null, - "_alignFlags": 45, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_id": "b0p8Uaw1pLkIqk5Ig4tIho" - }, - { - "__type__": "d872cRNBmVNPr3+xwhhFYEn", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 21 - }, - "_enabled": true, - "_id": "14d8yPOBpH6IJ5xTjopMc8" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 21 - }, - "asset": { - "__uuid__": "c0262c36-844f-4c3e-91cf-4316640e5d92" - }, - "fileId": "", - "sync": false - }, { "__type__": "cc.Canvas", "_name": "", diff --git a/assets/Transfer.meta b/assets/Transfer.meta deleted file mode 100644 index f17ff63b..00000000 --- a/assets/Transfer.meta +++ /dev/null @@ -1,21 +0,0 @@ -{ - "ver": "1.1.3", - "uuid": "e4e683b5-1442-4b00-8488-4e0e310d027e", - "importer": "folder", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": { - "wechatgame": "subpackage" - }, - "optimizeHotUpdate": { - "wechatgame": false - }, - "inlineSpriteFrames": { - "wechatgame": false - }, - "isRemoteBundle": { - "wechatgame": false - }, - "subMetas": {} -} \ No newline at end of file diff --git a/assets/Transfer/img.meta b/assets/Transfer/img.meta deleted file mode 100644 index 38b4d958..00000000 --- a/assets/Transfer/img.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.3", - "uuid": "945a5418-ab1d-44e2-9a79-29d99bc8c222", - "importer": "folder", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/assets/Transfer/img/dagou.png b/assets/Transfer/img/dagou.png deleted file mode 100644 index 951b111d..00000000 Binary files a/assets/Transfer/img/dagou.png and /dev/null differ diff --git a/assets/Transfer/img/faguang.png b/assets/Transfer/img/faguang.png deleted file mode 100644 index 54347b1f..00000000 Binary files a/assets/Transfer/img/faguang.png and /dev/null differ diff --git a/assets/Transfer/img/faguang.png.meta b/assets/Transfer/img/faguang.png.meta deleted file mode 100644 index f9c357dc..00000000 --- a/assets/Transfer/img/faguang.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "80d93bf4-a4f8-42c9-b952-7b2f5dc2f761", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 548, - "height": 534, - "platformSettings": {}, - "subMetas": { - "faguang": { - "ver": "1.0.6", - "uuid": "93ce59db-aa4d-4441-8005-b02ad0e68a72", - "importer": "sprite-frame", - "rawTextureUuid": "80d93bf4-a4f8-42c9-b952-7b2f5dc2f761", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -13, - "offsetY": 1, - "trimX": 5, - "trimY": 10, - "width": 512, - "height": 512, - "rawWidth": 548, - "rawHeight": 534, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/Transfer/img/kuank.png b/assets/Transfer/img/kuank.png deleted file mode 100644 index eb5f0f6a..00000000 Binary files a/assets/Transfer/img/kuank.png and /dev/null differ diff --git a/assets/Transfer/img/kuank.png.meta b/assets/Transfer/img/kuank.png.meta deleted file mode 100644 index 372c10d6..00000000 --- a/assets/Transfer/img/kuank.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "8bf393fb-ca55-48a5-93d4-a9560e9fdf6f", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 396, - "height": 780, - "platformSettings": {}, - "subMetas": { - "kuank": { - "ver": "1.0.6", - "uuid": "991e0923-5fd3-4a3f-9ef1-ecd4974f1da5", - "importer": "sprite-frame", - "rawTextureUuid": "8bf393fb-ca55-48a5-93d4-a9560e9fdf6f", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 1, - "trimY": 1, - "width": 394, - "height": 778, - "rawWidth": 396, - "rawHeight": 780, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/Transfer/img/queding.png b/assets/Transfer/img/queding.png deleted file mode 100644 index 143c56a4..00000000 Binary files a/assets/Transfer/img/queding.png and /dev/null differ diff --git a/assets/Transfer/img/t.png b/assets/Transfer/img/t.png deleted file mode 100644 index 0a1b7796..00000000 Binary files a/assets/Transfer/img/t.png and /dev/null differ diff --git a/assets/Transfer/img/wenwen.png b/assets/Transfer/img/wenwen.png deleted file mode 100644 index d3346243..00000000 Binary files a/assets/Transfer/img/wenwen.png and /dev/null differ diff --git a/assets/Transfer/img/wenzi.png b/assets/Transfer/img/wenzi.png deleted file mode 100644 index 0f118a0a..00000000 Binary files a/assets/Transfer/img/wenzi.png and /dev/null differ diff --git a/assets/Transfer/img/zuzuzizi.png b/assets/Transfer/img/zuzuzizi.png deleted file mode 100644 index a953339a..00000000 Binary files a/assets/Transfer/img/zuzuzizi.png and /dev/null differ diff --git a/assets/Transfer/prefab.meta b/assets/Transfer/prefab.meta deleted file mode 100644 index 226c34d1..00000000 --- a/assets/Transfer/prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.3", - "uuid": "09a1c6c9-660b-46bb-b881-5e81ceeb7315", - "importer": "folder", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/assets/Transfer/script.meta b/assets/Transfer/script.meta deleted file mode 100644 index eeaa6c8f..00000000 --- a/assets/Transfer/script.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.3", - "uuid": "60a03ce6-39ef-4c9e-b865-1c4b931c7784", - "importer": "folder", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/assets/Transfer/script/Transfer.ts b/assets/Transfer/script/Transfer.ts deleted file mode 100644 index e2ed548b..00000000 --- a/assets/Transfer/script/Transfer.ts +++ /dev/null @@ -1,406 +0,0 @@ -import Utils from "../../Script/module/Pay/Utils"; -import { MiniGameSdk } from "../../Script/Sdk/MiniGameSdk"; - -const { ccclass } = cc._decorator; - -type ProgressChoice = "current" | "wucai"; -type TransferAction = "claim_reward" | "choose_wucai" | "choose_current" | "ack_reward_popup"; - -@ccclass -export default class Transfer extends cc.Component { - - private closeCallback: () => void = null; - private selectedProgress: ProgressChoice = null; - private submitting: boolean = false; - private confirming: boolean = false; - private originalLabelColors: Array<{ node: cc.Node; color: cc.Color }> = []; - private confirmButtonDisabledColor: cc.Color = null; - private homeRewardContent: cc.Node = null; - - onLoad() { - this.init(); - this.startRewardGlowRotation(); - } - - onEnable() { - this.selectedProgress = null; - this.submitting = false; - this.confirming = false; - this.refresh(); - this.playHomePopupAnimation(); - } - - init(closeCallback?: () => void) { - if (closeCallback) { - this.closeCallback = closeCallback; - } - } - - close() { - if (this.isProgressChoicePanel() && cc.fx.GameConfig.GM_INFO.wucai_type === 1) { - MiniGameSdk.API.showToast("请先选择要保留的游戏进度"); - return; - } - if (this.closeCallback) { - this.closeCallback(); - return; - } - if (cc.fx.GameConfig.GM_INFO.wucai_type === 0) { - this.node.active = false; - this.notifyHomeTransferClosed(); - return; - } - this.node.active = false; - this.notifyHomeTransferClosed(); - this.node.destroy(); - } - - /** 选择保留消消王者进度;在 Cocos 中绑定到 xxwz 按钮。 */ - clickCurrentProgress() { - if (!this.canSelectProgress()) { - return; - } - this.selectedProgress = "current"; - this.refreshChoiceState(); - } - - /** 选择使用五彩进度;在 Cocos 中绑定到 wucai 按钮。 */ - clickWucaiProgress() { - if (!this.canSelectProgress()) { - return; - } - this.selectedProgress = "wucai"; - this.refreshChoiceState(); - } - - /** 确认二选一;在 Cocos 中绑定到 LoadScene Transfer/choice/btn。 */ - clickConfirmProgress() { - if (this.submitting || this.confirming) { - return; - } - if (!this.canSelectProgress()) { - return; - } - if (!this.selectedProgress) { - MiniGameSdk.API.showToast("请先选择要保留的游戏进度"); - return; - } - const action: TransferAction = this.selectedProgress === "wucai" - ? "choose_wucai" - : "choose_current"; - this.confirmProgressChoice(action); - } - - /** 领取自动迁移奖励;在 Cocos 中绑定到 HomeScene Transfer 的领取按钮。 */ - clickClaimReward() { - if (this.submitting) { - return; - } - const wucaiType = Number(cc.fx.GameConfig.GM_INFO.wucai_type); - if (wucaiType === 0) { - this.submit("claim_reward"); - return; - } - if ((wucaiType === 2 || wucaiType === 3) && this.hasPendingRewardPopup()) { - this.submit("ack_reward_popup"); - return; - } - // MiniGameSdk.API.showToast("奖励状态已变化,请重新进入游戏"); - } - - /** 保留旧预制体事件,同时让 LoadScene 已绑定的确认按钮直接可用。 */ - clickTransfer() { - if (this.isProgressChoicePanel() && cc.fx.GameConfig.GM_INFO.wucai_type === 1) { - this.clickConfirmProgress(); - return; - } - if (cc.fx.GameConfig.GM_INFO.wucai_type === 0) { - this.clickClaimReward(); - return; - } - if (this.hasPendingRewardPopup()) { - this.clickClaimReward(); - return; - } - cc.fx.GameTool.onClickOtherGame(); - } - - private refresh(): void { - if (this.isProgressChoicePanel()) { - if (cc.fx.GameConfig.GM_INFO.wucai_type !== 1) { - this.node.active = false; - return; - } - const currentPreview = cc.fx.GameConfig.GM_INFO.wucai_current_preview; - const wucaiPreview = cc.fx.GameConfig.GM_INFO.wucai_preview; - const choiceRoot = this.node.getChildByName("choice"); - this.setProgressComparison( - choiceRoot && choiceRoot.getChildByName("xxwz"), - currentPreview, - choiceRoot && choiceRoot.getChildByName("wucai"), - wucaiPreview, - ); - this.refreshChoiceState(); - return; - } - - const wucaiType = Number(cc.fx.GameConfig.GM_INFO.wucai_type); - const shouldShowReward = wucaiType === 0 - || ((wucaiType === 2 || wucaiType === 3) && this.hasPendingRewardPopup()); - if (!shouldShowReward) { - this.node.active = false; - } - } - - private canSelectProgress(): boolean { - if (cc.fx.GameConfig.GM_INFO.wucai_type !== 1) { - MiniGameSdk.API.showToast("迁移状态已变化,请重新进入游戏"); - return false; - } - if (!cc.fx.GameConfig.GM_INFO.wucai_current_preview - || !cc.fx.GameConfig.GM_INFO.wucai_preview) { - MiniGameSdk.API.showToast("进度数据获取失败,请重新进入游戏"); - return false; - } - return true; - } - - private refreshChoiceState(): void { - const choiceRoot = this.node.getChildByName("choice"); - this.setCardSelected(choiceRoot && choiceRoot.getChildByName("xxwz"), this.selectedProgress === "current"); - this.setCardSelected(choiceRoot && choiceRoot.getChildByName("wucai"), this.selectedProgress === "wucai"); - this.refreshConfirmButtonState(choiceRoot); - } - - private setCardSelected(card: cc.Node, selected: boolean): void { - const selectedNode = card && card.getChildByName("choice"); - if (selectedNode) { - selectedNode.active = selected; - } - } - - private refreshConfirmButtonState(choiceRoot: cc.Node): void { - const confirmNode = choiceRoot && choiceRoot.getChildByName("btn"); - if (!confirmNode) { - return; - } - if (!this.confirmButtonDisabledColor) { - this.confirmButtonDisabledColor = new cc.Color( - confirmNode.color.r, - confirmNode.color.g, - confirmNode.color.b, - confirmNode.color.a, - ); - } - - const canConfirm = !!this.selectedProgress; - const button = confirmNode.getComponent(cc.Button); - if (button) { - button.interactable = canConfirm; - } - confirmNode.color = canConfirm - ? new cc.Color(255, 255, 255, 255) - : new cc.Color( - this.confirmButtonDisabledColor.r, - this.confirmButtonDisabledColor.g, - this.confirmButtonDisabledColor.b, - this.confirmButtonDisabledColor.a, - ); - } - - private setProgressComparison( - currentCard: cc.Node, - currentPreview: any, - wucaiCard: cc.Node, - wucaiPreview: any, - ): void { - const numericFields = [ - { nodeName: "level", fieldName: "levelAmount" }, - { nodeName: "coin", fieldName: "coinAmount" }, - { nodeName: "hammer", fieldName: "hammerAmount" }, - { nodeName: "ice", fieldName: "freezeAmount" }, - { nodeName: "magic", fieldName: "magicAmount" }, - ]; - - numericFields.forEach(item => { - const currentValue = this.numberOrZero(currentPreview && currentPreview[item.fieldName]); - const wucaiValue = this.numberOrZero(wucaiPreview && wucaiPreview[item.fieldName]); - this.setLabel(currentCard, item.nodeName, currentValue, currentValue > wucaiValue); - this.setLabel(wucaiCard, item.nodeName, wucaiValue, wucaiValue > currentValue); - }); - - this.setActiveLabel(currentCard, "yicon", currentPreview && currentPreview.monthCardActive); - this.setActiveLabel(wucaiCard, "yicon", wucaiPreview && wucaiPreview.monthCardActive); - this.setActiveLabel(currentCard, "passCheck", currentPreview && currentPreview.passCheckActive); - this.setActiveLabel(wucaiCard, "passCheck", wucaiPreview && wucaiPreview.passCheckActive); - } - - private setActiveLabel(parent: cc.Node, nodeName: string, value: any): void { - const active = value === true || value === 1; - this.setLabel(parent, nodeName, active ? "激活" : "未激活", active); - } - - private setLabel(parent: cc.Node, nodeName: string, value: any, highlighted: boolean): void { - const labelNode = parent && parent.getChildByName(nodeName); - const label = labelNode && labelNode.getComponent(cc.Label); - if (!label) { - return; - } - label.string = String(value); - const originalColor = this.getOriginalLabelColor(labelNode); - labelNode.color = highlighted - ? new cc.Color(98, 177, 37, 255) - : new cc.Color(originalColor.r, originalColor.g, originalColor.b, originalColor.a); - } - - private getOriginalLabelColor(node: cc.Node): cc.Color { - for (const item of this.originalLabelColors) { - if (item.node === node) { - return item.color; - } - } - const color = new cc.Color(node.color.r, node.color.g, node.color.b, node.color.a); - this.originalLabelColors.push({ node, color }); - return color; - } - - private numberOrZero(value: any): number { - const numberValue = Number(value); - return Number.isFinite(numberValue) ? numberValue : 0; - } - - private isProgressChoicePanel(): boolean { - return !!this.node.getChildByName("choice"); - } - - private hasPendingRewardPopup(): boolean { - return cc.fx.GameConfig.GM_INFO.wucai_reward_popup_pending === true; - } - - private startRewardGlowRotation(): void { - const glowNames = ["coin_guang", "hammer_guang", "magic_guang", "ice_guang"]; - const nodes = [this.node]; - while (nodes.length > 0) { - const node = nodes.pop(); - if (glowNames.indexOf(node.name) >= 0) { - node.runAction(cc.rotateBy(5, 360).repeatForever()); - if (node.name === "coin_guang") { - this.homeRewardContent = node.parent; - } - } - nodes.push(...node.children); - } - } - - private playHomePopupAnimation(): void { - if (!this.node.active || !this.homeRewardContent) { - return; - } - cc.Tween.stopAllByTarget(this.homeRewardContent); - this.homeRewardContent.opacity = 0; - this.homeRewardContent.scale = 0.8; - cc.tween(this.homeRewardContent) - .to(0.24, { opacity: 255, scale: 1.05 }, { easing: "backOut" }) - .to(0.1, { scale: 1 }, { easing: "sineOut" }) - .start(); - } - - private confirmProgressChoice(action: TransferAction): void { - const useWucai = action === "choose_wucai"; - const content = useWucai - ? "确认使用五彩消消乐进度吗?当前消消王者进度将被覆盖且无法恢复。" - : "确认保留消消王者进度吗?五彩进度将不再迁移且无法恢复。"; - const miniGameApi: any = (window as any).wx || (window as any).tt; - this.confirming = true; - - if (miniGameApi && typeof miniGameApi.showModal === "function") { - miniGameApi.showModal({ - title: "确认选择", - content, - confirmText: "确认", - cancelText: "取消", - success: (result) => { - this.confirming = false; - if (result && result.confirm) { - this.submit(action); - } - }, - fail: () => { - this.confirming = false; - MiniGameSdk.API.showToast("确认框打开失败,请重试"); - }, - }); - return; - } - - const confirmed = typeof window.confirm === "function" ? window.confirm(content) : true; - this.confirming = false; - if (confirmed) { - this.submit(action); - } - } - - private submit(action: TransferAction): void { - this.submitting = true; - let settled = false; - const timeoutHandler = () => { - if (settled) { - return; - } - settled = true; - this.submitting = false; - this.showSubmitFailure(action, null); - }; - this.scheduleOnce(timeoutHandler, 6); - - Utils.wucaiTransfer(action, (res) => { - if (res && res.code === 1 - && (action === "claim_reward" || action === "ack_reward_popup")) { - this.submitting = false; - if (action === "claim_reward") { - const home: any = this.node.parent && this.node.parent.getComponent("JiaZai"); - if (home && typeof home.updateCoin === "function") { - home.updateCoin(); - } - } - this.node.active = false; - this.notifyHomeTransferClosed(); - } - if (settled) { - return; - } - settled = true; - this.unschedule(timeoutHandler); - if (!res || res.code !== 1) { - this.submitting = false; - this.showSubmitFailure(action, res); - } - }); - } - - private showSubmitFailure(action: TransferAction, res: any): void { - const errorCode = res && res.errorCode; - if (errorCode === "TOKEN_INVALID" - || errorCode === "WUCAI_STATE_CHANGED" - || errorCode === "WUCAI_INVALID_STATE" - || (res && res.msg === "token校验失败")) { - MiniGameSdk.API.showToast(res && res.msg ? res.msg : "迁移状态已变化,请重新进入游戏", 4); - return; - } - - const reason = errorCode === "WUCAI_SOURCE_UNAVAILABLE" - ? "五彩数据获取失败" - : (res && res.msg ? res.msg : "网络异常,上传失败"); - const buttonName = action === "choose_wucai" || action === "choose_current" - ? "确认按钮" - : "领取按钮"; - MiniGameSdk.API.showToast(reason + ",请点击" + buttonName + "重试", 4); - } - - private notifyHomeTransferClosed(): void { - const home: any = this.node.parent && this.node.parent.getComponent("JiaZai"); - if (home && typeof home.resumeDeferredHomePopups === "function") { - home.resumeDeferredHomePopups(); - } - } -} diff --git a/assets/UI/prop/biankuang.png.meta b/assets/UI/prop/biankuang.png.meta index 7fdd5bc4..14c6060b 100644 --- a/assets/UI/prop/biankuang.png.meta +++ b/assets/UI/prop/biankuang.png.meta @@ -28,10 +28,10 @@ "height": 360, "rawWidth": 360, "rawHeight": 360, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 50, + "borderBottom": 50, + "borderLeft": 50, + "borderRight": 50, "subMetas": {} } } diff --git a/assets/custom/Json/level1672.json b/assets/custom/Json/level1672.json index 710dba21..f2a5b553 100644 --- a/assets/custom/Json/level1672.json +++ b/assets/custom/Json/level1672.json @@ -326,7 +326,7 @@ "color": 10, "special": 0, "length": 1, - "colorArray": "97971" + "colorArray": "971971" }, { "id": 1678, @@ -354,4 +354,4 @@ } ] ] -} \ No newline at end of file +} diff --git a/assets/effect/load/skeleton.png b/assets/effect/load/skeleton.png index 4561e2a2..5c053da1 100644 Binary files a/assets/effect/load/skeleton.png and b/assets/effect/load/skeleton.png differ diff --git a/assets/effect/load/skeleton.png.meta b/assets/effect/load/skeleton.png.meta index 956530ed..ea442f91 100644 --- a/assets/effect/load/skeleton.png.meta +++ b/assets/effect/load/skeleton.png.meta @@ -8,9 +8,16 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 3260, + "width": 1080, "height": 3260, - "platformSettings": {}, + "platformSettings": { + "minigame": { + "formats": [] + }, + "default": { + "formats": [] + } + }, "subMetas": { "skeleton": { "ver": "1.0.6", @@ -20,13 +27,13 @@ "trimType": "auto", "trimThreshold": 1, "rotated": false, - "offsetX": -1090, - "offsetY": 1.5, + "offsetX": 0, + "offsetY": 0.5, "trimX": 0, - "trimY": 0, + "trimY": 1, "width": 1080, "height": 3257, - "rawWidth": 3260, + "rawWidth": 1080, "rawHeight": 3260, "borderTop": 0, "borderBottom": 0, diff --git a/assets/jungle_treasure/img/chuizi_little.png b/assets/jungle_treasure/img/chuizi_little.png new file mode 100644 index 00000000..36be91a9 Binary files /dev/null and b/assets/jungle_treasure/img/chuizi_little.png differ diff --git a/assets/jungle_treasure/img/chuizi_little.png.meta b/assets/jungle_treasure/img/chuizi_little.png.meta new file mode 100644 index 00000000..aac83ed3 --- /dev/null +++ b/assets/jungle_treasure/img/chuizi_little.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "009a0553-3309-4cb9-9d4e-cf9a0fc7bfc8", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 140, + "height": 144, + "platformSettings": {}, + "subMetas": { + "chuizi_little": { + "ver": "1.0.6", + "uuid": "f6fd677c-4c67-40a6-97ba-1a6154d25b4d", + "importer": "sprite-frame", + "rawTextureUuid": "009a0553-3309-4cb9-9d4e-cf9a0fc7bfc8", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 140, + "height": 144, + "rawWidth": 140, + "rawHeight": 144, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/jungle_treasure/img/dik.png b/assets/jungle_treasure/img/dik.png new file mode 100644 index 00000000..80207019 Binary files /dev/null and b/assets/jungle_treasure/img/dik.png differ diff --git a/assets/jungle_treasure/img/dik.png.meta b/assets/jungle_treasure/img/dik.png.meta new file mode 100644 index 00000000..3b021b7e --- /dev/null +++ b/assets/jungle_treasure/img/dik.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "c4c72258-7c83-4722-accd-9b69b979b975", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 902, + "height": 1316, + "platformSettings": {}, + "subMetas": { + "dik": { + "ver": "1.0.6", + "uuid": "167c9edc-3486-4e79-bb0c-2dcb9d3f42d5", + "importer": "sprite-frame", + "rawTextureUuid": "c4c72258-7c83-4722-accd-9b69b979b975", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 902, + "height": 1316, + "rawWidth": 902, + "rawHeight": 1316, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/jungle_treasure/img/dikuang.png b/assets/jungle_treasure/img/dikuang.png new file mode 100644 index 00000000..3dc8693b Binary files /dev/null and b/assets/jungle_treasure/img/dikuang.png differ diff --git a/assets/win/texture/dikuang.png.meta b/assets/jungle_treasure/img/dikuang.png.meta similarity index 66% rename from assets/win/texture/dikuang.png.meta rename to assets/jungle_treasure/img/dikuang.png.meta index 6cfcfbce..d8008057 100644 --- a/assets/win/texture/dikuang.png.meta +++ b/assets/jungle_treasure/img/dikuang.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "ebe5bbd4-7fab-47d0-978d-448a8cd4f1ad", + "uuid": "2f43aa52-f44a-48ed-a768-df3115104778", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 802, - "height": 118, + "width": 212, + "height": 212, "platformSettings": {}, "subMetas": { "dikuang": { "ver": "1.0.6", - "uuid": "4809793f-5b87-4651-9e8c-8968d6f33937", + "uuid": "16a5be6e-6a1b-4ae2-8d73-422d513860f7", "importer": "sprite-frame", - "rawTextureUuid": "ebe5bbd4-7fab-47d0-978d-448a8cd4f1ad", + "rawTextureUuid": "2f43aa52-f44a-48ed-a768-df3115104778", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,10 +24,10 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 802, - "height": 118, - "rawWidth": 802, - "rawHeight": 118, + "width": 212, + "height": 212, + "rawWidth": 212, + "rawHeight": 212, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/jungle_treasure/img/dongshijian_little.png b/assets/jungle_treasure/img/dongshijian_little.png new file mode 100644 index 00000000..9839f6c9 Binary files /dev/null and b/assets/jungle_treasure/img/dongshijian_little.png differ diff --git a/assets/jungle_treasure/img/dongshijian_little.png.meta b/assets/jungle_treasure/img/dongshijian_little.png.meta new file mode 100644 index 00000000..bd85bd48 --- /dev/null +++ b/assets/jungle_treasure/img/dongshijian_little.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "f4bb2054-8ced-40b6-8b7c-bdc9fbafb7a2", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 118, + "height": 141, + "platformSettings": {}, + "subMetas": { + "dongshijian_little": { + "ver": "1.0.6", + "uuid": "e3910b71-bd4f-4861-8092-0597ed9adffb", + "importer": "sprite-frame", + "rawTextureUuid": "f4bb2054-8ced-40b6-8b7c-bdc9fbafb7a2", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 118, + "height": 141, + "rawWidth": 118, + "rawHeight": 141, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/jungle_treasure/img/hp.png b/assets/jungle_treasure/img/hp.png new file mode 100644 index 00000000..6f3cfb9c Binary files /dev/null and b/assets/jungle_treasure/img/hp.png differ diff --git a/assets/jungle_treasure/img/hp.png.meta b/assets/jungle_treasure/img/hp.png.meta new file mode 100644 index 00000000..492550ed --- /dev/null +++ b/assets/jungle_treasure/img/hp.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "31f575a7-1e30-4ace-a1f2-8862d35a1857", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 139, + "height": 123, + "platformSettings": {}, + "subMetas": { + "hp": { + "ver": "1.0.6", + "uuid": "1bb283f8-b773-41b7-9d27-2a5fd6a9fd8a", + "importer": "sprite-frame", + "rawTextureUuid": "31f575a7-1e30-4ace-a1f2-8862d35a1857", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0.5, + "trimX": 0, + "trimY": 0, + "width": 139, + "height": 122, + "rawWidth": 139, + "rawHeight": 123, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/jungle_treasure/img/jiangli.png b/assets/jungle_treasure/img/jiangli.png new file mode 100644 index 00000000..024d002d Binary files /dev/null and b/assets/jungle_treasure/img/jiangli.png differ diff --git a/assets/win/texture/meijinbi.png.meta b/assets/jungle_treasure/img/jiangli.png.meta similarity index 71% rename from assets/win/texture/meijinbi.png.meta rename to assets/jungle_treasure/img/jiangli.png.meta index cd445756..106458a3 100644 --- a/assets/win/texture/meijinbi.png.meta +++ b/assets/jungle_treasure/img/jiangli.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "7b96326e-5475-490b-94f3-7115464d7681", + "uuid": "2e485a5a-f9bb-4f0e-9826-d60e9adf3ddd", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 158, + "width": 742, "height": 44, "platformSettings": {}, "subMetas": { - "meijinbi": { + "jiangli": { "ver": "1.0.6", - "uuid": "d6fe8e0f-8c5d-4d2e-b104-9489f9765282", + "uuid": "8a40d972-d241-4be2-b0ce-05591290e171", "importer": "sprite-frame", - "rawTextureUuid": "7b96326e-5475-490b-94f3-7115464d7681", + "rawTextureUuid": "2e485a5a-f9bb-4f0e-9826-d60e9adf3ddd", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,9 +24,9 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 158, + "width": 742, "height": 44, - "rawWidth": 158, + "rawWidth": 742, "rawHeight": 44, "borderTop": 0, "borderBottom": 0, diff --git a/assets/jungle_treasure/img/jingbi.png b/assets/jungle_treasure/img/jingbi.png new file mode 100644 index 00000000..dee1d0a1 Binary files /dev/null and b/assets/jungle_treasure/img/jingbi.png differ diff --git a/assets/jungle_treasure/img/jingbi.png.meta b/assets/jungle_treasure/img/jingbi.png.meta new file mode 100644 index 00000000..0384a420 --- /dev/null +++ b/assets/jungle_treasure/img/jingbi.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "3c2181da-c4b0-4831-8aee-104d86af77b2", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 148, + "height": 120, + "platformSettings": {}, + "subMetas": { + "jingbi": { + "ver": "1.0.6", + "uuid": "4b766422-3a83-42d7-81d9-27c9f89cbb8c", + "importer": "sprite-frame", + "rawTextureUuid": "3c2181da-c4b0-4831-8aee-104d86af77b2", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 148, + "height": 120, + "rawWidth": 148, + "rawHeight": 120, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/jungle_treasure/img/mofabang_little.png b/assets/jungle_treasure/img/mofabang_little.png new file mode 100644 index 00000000..17e507e4 Binary files /dev/null and b/assets/jungle_treasure/img/mofabang_little.png differ diff --git a/assets/jungle_treasure/img/mofabang_little.png.meta b/assets/jungle_treasure/img/mofabang_little.png.meta new file mode 100644 index 00000000..4a8992f1 --- /dev/null +++ b/assets/jungle_treasure/img/mofabang_little.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "d89b8cbe-f3af-4fb2-b87a-fd9a2c74951c", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 133, + "height": 136, + "platformSettings": {}, + "subMetas": { + "mofabang_little": { + "ver": "1.0.6", + "uuid": "cb2834e3-8bfa-4c1e-9558-115a065076d6", + "importer": "sprite-frame", + "rawTextureUuid": "d89b8cbe-f3af-4fb2-b87a-fd9a2c74951c", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 133, + "height": 136, + "rawWidth": 133, + "rawHeight": 136, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/jungle_treasure/img/wenzi.png b/assets/jungle_treasure/img/wenzi.png new file mode 100644 index 00000000..41fc3a24 Binary files /dev/null and b/assets/jungle_treasure/img/wenzi.png differ diff --git a/assets/Transfer/img/wenzi.png.meta b/assets/jungle_treasure/img/wenzi.png.meta similarity index 66% rename from assets/Transfer/img/wenzi.png.meta rename to assets/jungle_treasure/img/wenzi.png.meta index 7bfa2c19..5bf284b2 100644 --- a/assets/Transfer/img/wenzi.png.meta +++ b/assets/jungle_treasure/img/wenzi.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "45685f2e-2bd0-4b35-8ddb-fb8cc3468f8e", + "uuid": "f5291281-a3e4-4da2-bb1f-1d14a813e002", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 233, - "height": 43, + "width": 538, + "height": 239, "platformSettings": {}, "subMetas": { "wenzi": { "ver": "1.0.6", - "uuid": "9c21b26f-3c85-40a3-a8e7-90b68461a507", + "uuid": "b15cef65-9514-4afc-be23-e39fa8f45306", "importer": "sprite-frame", - "rawTextureUuid": "45685f2e-2bd0-4b35-8ddb-fb8cc3468f8e", + "rawTextureUuid": "f5291281-a3e4-4da2-bb1f-1d14a813e002", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,10 +24,10 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 233, - "height": 43, - "rawWidth": 233, - "rawHeight": 43, + "width": 538, + "height": 239, + "rawWidth": 538, + "rawHeight": 239, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/Transfer/prefab/Transfer.prefab b/assets/jungle_treasure/prefab/jungleOver.prefab similarity index 78% rename from assets/Transfer/prefab/Transfer.prefab rename to assets/jungle_treasure/prefab/jungleOver.prefab index 7bfc602a..968a9181 100644 --- a/assets/Transfer/prefab/Transfer.prefab +++ b/assets/jungle_treasure/prefab/jungleOver.prefab @@ -13,7 +13,7 @@ }, { "__type__": "cc.Node", - "_name": "Transfer", + "_name": "jungleOver", "_objFlags": 0, "_parent": null, "_children": [ @@ -21,13 +21,16 @@ "__id__": 2 }, { - "__id__": 6 + "__id__": 7 }, { - "__id__": 9 + "__id__": 10 }, { - "__id__": 14 + "__id__": 13 + }, + { + "__id__": 16 }, { "__id__": 19 @@ -36,62 +39,29 @@ "__id__": 22 }, { - "__id__": 25 + "__id__": 32 }, { - "__id__": 28 - }, - { - "__id__": 31 - }, - { - "__id__": 34 - }, - { - "__id__": 37 - }, - { - "__id__": 40 - }, - { - "__id__": 43 - }, - { - "__id__": 46 - }, - { - "__id__": 49 + "__id__": 42 }, { "__id__": 52 }, { - "__id__": 55 - }, - { - "__id__": 58 - }, - { - "__id__": 61 - }, - { - "__id__": 64 - }, - { - "__id__": 67 + "__id__": 62 } ], "_active": true, "_components": [ { - "__id__": 70 + "__id__": 72 }, { - "__id__": 71 + "__id__": 73 } ], "_prefab": { - "__id__": 72 + "__id__": 74 }, "_opacity": 255, "_color": { @@ -155,12 +125,15 @@ }, { "__id__": 4 + }, + { + "__id__": 5 } ], "_prefab": { - "__id__": 5 + "__id__": 6 }, - "_opacity": 200, + "_opacity": 180, "_color": { "__type__": "cc.Color", "r": 0, @@ -207,6 +180,43 @@ "groupIndex": 0, "_id": "" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_id": "" + }, { "__type__": "cc.Sprite", "_name": "", @@ -239,33 +249,6 @@ "_atlas": null, "_id": "" }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 2 - }, - "_enabled": true, - "alignMode": 1, - "_target": null, - "_alignFlags": 45, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_id": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -274,7 +257,7 @@ "asset": { "__id__": 0 }, - "fileId": "f6zV4BNDZDDa7mZzyh7ylW", + "fileId": "63KUbNeWBDBbQvz7JhOAe5", "sync": false }, { @@ -288,11 +271,11 @@ "_active": true, "_components": [ { - "__id__": 7 + "__id__": 8 } ], "_prefab": { - "__id__": 8 + "__id__": 9 }, "_opacity": 255, "_color": { @@ -304,8 +287,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 998, - "height": 1399 + "width": 902, + "height": 1316 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -317,7 +300,7 @@ "ctor": "Float64Array", "array": [ 0, - -34.804, + -165.891, 0, 0, 0, @@ -346,7 +329,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 6 + "__id__": 7 }, "_enabled": true, "_materials": [ @@ -357,7 +340,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "bec937c0-0152-4a64-8a66-03296ec98509" + "__uuid__": "167c9edc-3486-4e79-bb0c-2dcb9d3f42d5" }, "_type": 0, "_sizeMode": 1, @@ -381,7 +364,114 @@ "asset": { "__id__": 0 }, - "fileId": "e0zmT4S4pKnaeXrp3Godem", + "fileId": "cbPm13p2dJF6PE5fggUdQa", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 12 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 897, + "height": 505 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 538.577, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "9d30e9e6-c236-43ec-97eb-4e79cf34dc7a" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fejmI5rGpMtYhwEa1zXBdz", "sync": false }, { @@ -395,14 +485,11 @@ "_active": true, "_components": [ { - "__id__": 10 - }, - { - "__id__": 11 + "__id__": 14 } ], "_prefab": { - "__id__": 13 + "__id__": 15 }, "_opacity": 255, "_color": { @@ -414,8 +501,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 152, - "height": 173 + "width": 105, + "height": 116 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -426,8 +513,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 436.205, - 605.583, + 436.796, + 641.866, 0, 0, 0, @@ -456,7 +543,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 9 + "__id__": 13 }, "_enabled": true, "_materials": [ @@ -467,7 +554,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "24417002-6e72-4d4d-96e3-6117d8420e9b" + "__uuid__": "18e345ea-860f-433b-bf7c-7205b266d384" }, "_type": 0, "_sizeMode": 1, @@ -483,90 +570,6 @@ "_atlas": null, "_id": "" }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 9 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 12 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_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__": 1 - }, - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 1 - }, - "component": "", - "_componentId": "d872cRNBmVNPr3+xwhhFYEn", - "handler": "close", - "customEventData": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -575,12 +578,12 @@ "asset": { "__id__": 0 }, - "fileId": "fc6ItaFBBH/5Ez7LSbch0S", + "fileId": "4aUBKmdOVAYZFgN5spOVQo", "sync": false }, { "__type__": "cc.Node", - "_name": "btn", + "_name": "New Sprite", "_objFlags": 0, "_parent": { "__id__": 1 @@ -589,10 +592,7 @@ "_active": true, "_components": [ { - "__id__": 15 - }, - { - "__id__": 16 + "__id__": 17 } ], "_prefab": { @@ -608,8 +608,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 636, - "height": 175 + "width": 538, + "height": 239 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -621,7 +621,7 @@ "ctor": "Float64Array", "array": [ 0, - -450.127, + 79.977, 0, 0, 0, @@ -650,7 +650,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 14 + "__id__": 16 }, "_enabled": true, "_materials": [ @@ -660,7 +660,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "b15cef65-9514-4afc-be23-e39fa8f45306" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -675,90 +677,6 @@ "_atlas": null, "_id": "" }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 14 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 17 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_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__": 1 - }, - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 1 - }, - "component": "", - "_componentId": "d872cRNBmVNPr3+xwhhFYEn", - "handler": "clickTransfer", - "customEventData": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -767,7 +685,7 @@ "asset": { "__id__": 0 }, - "fileId": "ed55ARtv9Co5t8GXInWOpb", + "fileId": "02Mtv+MApCILx/RQMjrCJr", "sync": false }, { @@ -797,8 +715,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 848, - "height": 88 + "width": 742, + "height": 44 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -810,7 +728,7 @@ "ctor": "Float64Array", "array": [ 0, - -619.504, + -184.562, 0, 0, 0, @@ -849,7 +767,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "8a40d972-d241-4be2-b0ce-05591290e171" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -872,233 +792,303 @@ "asset": { "__id__": 0 }, - "fileId": "2aopMf68hBz5bZfmxIjMMh", + "fileId": "fas1ceY+FCJ6UWVXVyDXYq", "sync": false }, { "__type__": "cc.Node", - "_name": "New Sprite", + "_name": "hammer", "_objFlags": 0, "_parent": { "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "_children": [ { "__id__": 23 - } - ], - "_prefab": { - "__id__": 24 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 737, - "height": 374 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -5.964, - 264.036, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 22 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "6b1yIB77ZMpYPpL5E1V9xV", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ + }, { "__id__": 26 - } - ], - "_prefab": { - "__id__": 27 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 885, - "height": 348 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -168.02, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 25 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "9f/juKirJI7adthitmsQAo", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin_guang", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ + }, { "__id__": 29 } ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 31 + }, + "_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": [ + -270, + -377.866, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 25 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 212, + "height": 212 + }, + "_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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 23 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "16a5be6e-6a1b-4ae2-8d73-422d513860f7" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fcI4Z0hWBJmofBCrQw0df5", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 27 + } + ], + "_prefab": { + "__id__": 28 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 140, + "height": 144 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 6.225, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 26 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f6fd677c-4c67-40a6-97ba-1a6154d25b4d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "28q9f+QIFEdISgTTbq5lFG", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "count", + "_objFlags": 0, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [], "_prefab": { "__id__": 30 }, @@ -1112,8 +1102,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 512, - "height": 512 + "width": 97.87, + "height": 50.4 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1124,16 +1114,172 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -317.511, - -186.921, + 0, + -74.979, 0, 0, 0, 0, 1, - 0.6, - 0.6, - 0.6 + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cevveAaFZCOIXFROviMCYC", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "88CpNs7GJIjp3H9W4WnV4B", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "ice", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 33 + }, + { + "__id__": 36 + }, + { + "__id__": 39 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 41 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -377.866, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 32 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 34 + } + ], + "_prefab": { + "__id__": 35 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 212, + "height": 212 + }, + "_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": { @@ -1154,113 +1300,8 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 28 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "4eg+JVp2hPbbYC7xWoR/hD", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 32 - } - ], - "_prefab": { "__id__": 33 }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 282, - "height": 251 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -317.511, - -186.921, - 0, - 0, - 0, - 0, - 1, - 0.6, - 0.6, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 31 - }, "_enabled": true, "_materials": [ { @@ -1269,7 +1310,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "16a5be6e-6a1b-4ae2-8d73-422d513860f7" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -1292,80 +1335,80 @@ "asset": { "__id__": 0 }, - "fileId": "96PywtbqNIvIiGHCYrYdSr", + "fileId": "96HctSBINA8KY7hy139uRO", "sync": false }, { "__type__": "cc.Node", - "_name": "hammer_guang", + "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 1 + "__id__": 32 }, "_children": [], "_active": true, "_components": [ { - "__id__": 35 + "__id__": 37 } ], "_prefab": { + "__id__": 38 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 118, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 6.225, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { "__id__": 36 }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 512, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -105.646, - -186.921, - 0, - 0, - 0, - 0, - 1, - 0.6, - 0.6, - 0.6 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 34 - }, "_enabled": true, "_materials": [ { @@ -1374,7 +1417,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "e3910b71-bd4f-4861-8092-0597ed9adffb" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -1397,25 +1442,21 @@ "asset": { "__id__": 0 }, - "fileId": "e6V0/fbHJHFLRCqLzPOmzz", + "fileId": "81U0yxlhZLwKY1J8DyU86y", "sync": false }, { "__type__": "cc.Node", - "_name": "hammer", + "_name": "count", "_objFlags": 0, "_parent": { - "__id__": 1 + "__id__": 32 }, "_children": [], "_active": true, - "_components": [ - { - "__id__": 38 - } - ], + "_components": [], "_prefab": { - "__id__": 39 + "__id__": 40 }, "_opacity": 255, "_color": { @@ -1427,8 +1468,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 218, - "height": 224 + "width": 97.87, + "height": 50.4 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1439,15 +1480,15 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -105.646, - -195.797, + 0, + -74.979, 0, 0, 0, 0, 1, - 0.8, - 0.8, + 1, + 1, 1 ] }, @@ -1464,36 +1505,6 @@ "groupIndex": 0, "_id": "" }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 37 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -1502,103 +1513,9 @@ "asset": { "__id__": 0 }, - "fileId": "75WnFxd4ZBn6I882aplUET", + "fileId": "36NEzt1K1Io6feneOGNhHO", "sync": false }, - { - "__type__": "cc.Node", - "_name": "magic_guang", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 41 - } - ], - "_prefab": { - "__id__": 42 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 512, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 316.888, - -186.921, - 0, - 0, - 0, - 0, - 1, - 0.6, - 0.6, - 0.6 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 40 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -1607,7 +1524,7 @@ "asset": { "__id__": 0 }, - "fileId": "f8C3czc4pIB7JtvVnqYlAq", + "fileId": "63ys1kDD1FFrlGlG48kLSz", "sync": false }, { @@ -1617,6 +1534,76 @@ "_parent": { "__id__": 1 }, + "_children": [ + { + "__id__": 43 + }, + { + "__id__": 46 + }, + { + "__id__": 49 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 51 + }, + "_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": [ + 270, + -377.866, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 42 + }, "_children": [], "_active": true, "_components": [ @@ -1637,8 +1624,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 208, - "height": 215 + "width": 212, + "height": 212 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1649,15 +1636,15 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 316.888, - -194.389, + 0, + 0, 0, 0, 0, 0, 1, - 0.8, - 0.8, + 1, + 1, 1 ] }, @@ -1689,7 +1676,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "16a5be6e-6a1b-4ae2-8d73-422d513860f7" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -1712,15 +1701,15 @@ "asset": { "__id__": 0 }, - "fileId": "42XE3jA/RBlrKpBlCTA138", + "fileId": "819NlVYKROIZfH9ZDiPSMB", "sync": false }, { "__type__": "cc.Node", - "_name": "ice_guang", + "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 1 + "__id__": 42 }, "_children": [], "_active": true, @@ -1742,8 +1731,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 512, - "height": 512 + "width": 133, + "height": 136 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1754,16 +1743,16 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 107.751, - -186.921, + 0, + 6.225, 0, 0, 0, 0, 1, - 0.6, - 0.6, - 0.6 + 1, + 1, + 1 ] }, "_eulerAngles": { @@ -1794,7 +1783,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "cb2834e3-8bfa-4c1e-9558-115a065076d6" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -1817,25 +1808,21 @@ "asset": { "__id__": 0 }, - "fileId": "6enoih559FAo9jkI0jloKQ", + "fileId": "63mIr++y9AyYljh/FhiEmn", "sync": false }, { "__type__": "cc.Node", - "_name": "ice", + "_name": "count", "_objFlags": 0, "_parent": { - "__id__": 1 + "__id__": 42 }, "_children": [], "_active": true, - "_components": [ - { - "__id__": 50 - } - ], + "_components": [], "_prefab": { - "__id__": 51 + "__id__": 50 }, "_opacity": 255, "_color": { @@ -1847,8 +1834,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 192, - "height": 220 + "width": 97.87, + "height": 50.4 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1859,15 +1846,15 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 107.751, - -190.702, + 0, + -74.979, 0, 0, 0, 0, 1, - 0.8, - 0.85, + 1, + 1, 1 ] }, @@ -1885,34 +1872,15 @@ "_id": "" }, { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 49 + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "asset": { + "__id__": 0 }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" + "fileId": "d4F5P3vqdFgYmzAbctqM1N", + "sync": false }, { "__type__": "cc.PrefabInfo", @@ -1922,233 +1890,303 @@ "asset": { "__id__": 0 }, - "fileId": "1aXM8R/YFIIbqK4ijYj21z", + "fileId": "49v48aDTNETZRiAaHXeNbA", "sync": false }, { "__type__": "cc.Node", - "_name": "3", + "_name": "coin", "_objFlags": 0, "_parent": { "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "_children": [ { "__id__": 53 - } - ], - "_prefab": { - "__id__": 54 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 76, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 316.411, - -265.101, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 52 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "2dL5CVmExC46IGS3rfrkLr", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ + }, { "__id__": 56 - } - ], - "_prefab": { - "__id__": 57 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 76, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -107.752, - -265.101, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 55 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "85GzHzeVpGRIBYEGGnDJA4", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ + }, { "__id__": 59 } ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 61 + }, + "_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": [ + -132.861, + -635.168, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 52 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 54 + } + ], + "_prefab": { + "__id__": 55 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 212, + "height": 212 + }, + "_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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 53 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "16a5be6e-6a1b-4ae2-8d73-422d513860f7" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e1qD9O6MJKA4N3BvfWBTTC", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 52 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 57 + } + ], + "_prefab": { + "__id__": 58 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 148, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 6.225, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 56 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "4b766422-3a83-42d7-81d9-27c9f89cbb8c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "06Mz6I6PpIqbXIxaf4W+c6", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "count", + "_objFlags": 0, + "_parent": { + "__id__": 52 + }, + "_children": [], + "_active": true, + "_components": [], "_prefab": { "__id__": 60 }, @@ -2162,8 +2200,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 76, - "height": 50 + "width": 97.87, + "height": 50.4 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2174,8 +2212,164 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 111.171, - -265.101, + 0, + -74.979, + 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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ebVbpkKUdM4Ls2S3CBrws3", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bdEfpIPEJArKw0QNjzbijr", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "tili", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 63 + }, + { + "__id__": 66 + }, + { + "__id__": 69 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 71 + }, + "_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": [ + 132.861, + -635.168, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 62 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 64 + } + ], + "_prefab": { + "__id__": 65 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 212, + "height": 212 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, 0, 0, 0, @@ -2204,113 +2398,8 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 58 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "6d3KE+trNBpZ4bLCaiuZek", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 62 - } - ], - "_prefab": { "__id__": 63 }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 176, - "height": 51 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -312.93, - -265.101, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 61 - }, "_enabled": true, "_materials": [ { @@ -2319,112 +2408,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "_spriteFrame": { + "__uuid__": "16a5be6e-6a1b-4ae2-8d73-422d513860f7" }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "3aYqWKPZlP7qCy1wibf5n8", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "3", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 65 - } - ], - "_prefab": { - "__id__": 66 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 114, - "height": 53 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 1.282, - -49.372, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 64 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -2447,7 +2433,7 @@ "asset": { "__id__": 0 }, - "fileId": "82wD0XtxJAk6Vw+lCEKORR", + "fileId": "40RGi4shZJZbHTV33RVW3r", "sync": false }, { @@ -2455,17 +2441,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 1 + "__id__": 62 }, "_children": [], "_active": true, "_components": [ { - "__id__": 68 + "__id__": 67 } ], "_prefab": { - "__id__": 69 + "__id__": 68 }, "_opacity": 255, "_color": { @@ -2477,8 +2463,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 129, - "height": 64 + "width": 139, + "height": 122 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2489,8 +2475,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 10.735, - 617.865, + 0, + 6.225, 0, 0, 0, @@ -2519,7 +2505,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 67 + "__id__": 66 }, "_enabled": true, "_materials": [ @@ -2529,7 +2515,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "1bb283f8-b773-41b7-9d27-2a5fd6a9fd8a" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -2552,7 +2540,89 @@ "asset": { "__id__": 0 }, - "fileId": "05wdSXDYRN/7nSle8cYvwm", + "fileId": "82GDmeSBZDVIx5d5+5kEIi", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "count", + "_objFlags": 0, + "_parent": { + "__id__": 62 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 70 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 97.87, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -74.979, + 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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "21PAR7GedC4ZvsE7/Js/SU", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e0FvUJNCRIU5zQhyt0ggFE", "sync": false }, { @@ -2583,13 +2653,16 @@ "_id": "" }, { - "__type__": "d872cRNBmVNPr3+xwhhFYEn", + "__type__": "4f8c21xtalOMJxrKn0YRe+T", "_name": "", "_objFlags": 0, "node": { "__id__": 1 }, "_enabled": true, + "countFont": { + "__uuid__": "47f8ba15-3666-48c0-8b10-16c61b4d39ae" + }, "_id": "" }, { diff --git a/assets/Transfer/prefab/Transfer.prefab.meta b/assets/jungle_treasure/prefab/jungleOver.prefab.meta similarity index 73% rename from assets/Transfer/prefab/Transfer.prefab.meta rename to assets/jungle_treasure/prefab/jungleOver.prefab.meta index 6f71aa68..b980b3be 100644 --- a/assets/Transfer/prefab/Transfer.prefab.meta +++ b/assets/jungle_treasure/prefab/jungleOver.prefab.meta @@ -1,6 +1,6 @@ { "ver": "1.3.2", - "uuid": "c0262c36-844f-4c3e-91cf-4316640e5d92", + "uuid": "e031e125-135d-436a-8d0f-bd10741aa5b7", "importer": "prefab", "optimizationPolicy": "AUTO", "asyncLoadAssets": false, diff --git a/assets/jungle_treasure/script/JungleOver.ts b/assets/jungle_treasure/script/JungleOver.ts new file mode 100644 index 00000000..7a974937 --- /dev/null +++ b/assets/jungle_treasure/script/JungleOver.ts @@ -0,0 +1,108 @@ +const { ccclass, property } = cc._decorator; + +type RewardType = "hammer" | "freeze" | "magic_wand" | "coin" | "infinite_health"; + +@ccclass +export default class JungleOver extends cc.Component { + @property(cc.BitmapFont) + countFont: cc.BitmapFont = null; + + private confirming: boolean = false; + private readonly displayOrder: RewardType[] = [ + "hammer", + "freeze", + "magic_wand", + "coin", + "infinite_health", + ]; + + onLoad() { + const close = this.node.getChildByName("close"); + if (close) { + close.on(cc.Node.EventType.TOUCH_END, this.onClose, this); + } + } + + onDestroy() { + const close = this.node && this.node.getChildByName("close"); + if (close) { + close.off(cc.Node.EventType.TOUCH_END, this.onClose, this); + } + } + + public init(pendingSettlement: any): boolean { + const rewards = pendingSettlement && pendingSettlement.rewards; + if (!rewards || !this.countFont) { + return false; + } + + const groups = this.displayOrder.map((type) => this.node.getChildByName(this.getNodeName(type))); + if (groups.some((node) => !node)) { + return false; + } + const slots = groups.map((node) => cc.v2(node.x, node.y)); + let visibleIndex = 0; + this.displayOrder.forEach((type, index) => { + const group = groups[index]; + const count = Math.max(0, Math.floor(Number(rewards[type]) || 0)); + group.active = count > 0; + if (count <= 0) { + return; + } + group.setPosition(slots[visibleIndex++]); + this.setCount(group.getChildByName("count"), this.formatCount(type, count)); + }); + return visibleIndex > 0; + } + + public setConfirming(confirming: boolean): void { + this.confirming = confirming; + } + + private onClose(): void { + if (this.confirming) { + return; + } + this.confirming = true; + this.node.emit("jungle-over-close"); + } + + private setCount(target: cc.Node, text: string): void { + if (!target) { + return; + } + let label = target.getComponent(cc.Label); + if (!label) { + label = target.addComponent(cc.Label); + } + label.font = this.countFont; + label.fontSize = 54; + label.lineHeight = 54; + label.horizontalAlign = cc.Label.HorizontalAlign.CENTER; + label.verticalAlign = cc.Label.VerticalAlign.CENTER; + label.string = text; + target.setContentSize(Math.max(110, text.length * 54), 60); + } + + private formatCount(type: RewardType, count: number): string { + if (type === "infinite_health") { + const totalMinutes = Math.max(1, Math.floor(count / 60)); + const hours = Math.floor(totalMinutes / 60); + const minutes = totalMinutes % 60; + if (hours > 0 && minutes > 0) { + return `${hours}小时${minutes}分钟`; + } + return hours > 0 ? `${hours}小时` : `${minutes}分钟`; + } + return type === "coin" ? count.toString() : `x${count}`; + } + + private getNodeName(type: RewardType): string { + switch (type) { + case "freeze": return "ice"; + case "magic_wand": return "magic"; + case "infinite_health": return "tili"; + default: return type; + } + } +} diff --git a/assets/jungle_treasure/script/JungleOver.ts.meta b/assets/jungle_treasure/script/JungleOver.ts.meta new file mode 100644 index 00000000..2ea1c437 --- /dev/null +++ b/assets/jungle_treasure/script/JungleOver.ts.meta @@ -0,0 +1,10 @@ +{ + "ver": "1.1.0", + "uuid": "4f8c2d71-b5a9-4e30-9c6b-2a7d1845ef93", + "importer": "typescript", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/lose/prefab/Lose.prefab b/assets/lose/prefab/Lose.prefab index e033df55..bae5ac1b 100644 --- a/assets/lose/prefab/Lose.prefab +++ b/assets/lose/prefab/Lose.prefab @@ -6643,7 +6643,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "d9be6eea-569b-46da-bb80-0d9c8b8f5263" + "__uuid__": "ba9262b9-e32f-4528-b648-2b4a7ab94ea0" }, "_type": 0, "_sizeMode": 1, diff --git a/assets/prefab/prop/openDoor.prefab b/assets/prefab/prop/openDoor.prefab index 188c1381..22b2c409 100644 --- a/assets/prefab/prop/openDoor.prefab +++ b/assets/prefab/prop/openDoor.prefab @@ -25,12 +25,22 @@ }, { "__id__": 8 + }, + { + "__id__": 14 + }, + { + "__id__": 17 } ], "_active": true, - "_components": [], + "_components": [ + { + "__id__": 19 + } + ], "_prefab": { - "__id__": 10 + "__id__": 20 }, "_opacity": 255, "_color": { @@ -81,7 +91,7 @@ }, { "__type__": "cc.Node", - "_name": "left", + "_name": "bg", "_objFlags": 0, "_parent": { "__id__": 1 @@ -99,14 +109,14 @@ "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, + "r": 83, + "g": 42, + "b": 20, "a": 255 }, "_contentSize": { "__type__": "cc.Size", - "width": 215, + "width": 360, "height": 360 }, "_anchorPoint": { @@ -159,10 +169,10 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "e91486e6-7f3b-4f8e-b644-5f8bc5d0ff12" + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" }, - "_type": 3, - "_sizeMode": 1, + "_type": 0, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -170,7 +180,7 @@ "y": 0 }, "_fillStart": 0, - "_fillRange": 1, + "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, "_id": "" @@ -183,12 +193,12 @@ "asset": { "__id__": 0 }, - "fileId": "bfhqqyNwpId57rSfdV8M+P", + "fileId": "90QqqkbYJDPZ0eV5Izm8SV", "sync": false }, { "__type__": "cc.Node", - "_name": "right", + "_name": "kuang", "_objFlags": 0, "_parent": { "__id__": 1 @@ -213,7 +223,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 180, + "width": 360, "height": 360 }, "_anchorPoint": { @@ -265,6 +275,332 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "493aeee7-44f3-4784-bdea-84139e6e543c" + }, + "_type": 1, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e3J93GuPJIf6iiSC73BDo6", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "left", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 9 + } + ], + "_active": true, + "_components": [ + { + "__id__": 12 + } + ], + "_prefab": { + "__id__": 13 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 215, + "height": 360 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -70, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "count", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 11 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 56.7 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 71.826, + 0.435, + 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": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 9 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "", + "_N$string": "", + "_fontSize": 45, + "_lineHeight": 45, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 1, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d6EKZRFE1PwqhzmN4rUMT2", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "e91486e6-7f3b-4f8e-b644-5f8bc5d0ff12" + }, + "_type": 3, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 1, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bfhqqyNwpId57rSfdV8M+P", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "right", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 15 + } + ], + "_prefab": { + "__id__": 16 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 360 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 90, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 14 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, "_spriteFrame": { "__uuid__": "c467db58-b26c-4be8-815d-753b036afeaf" }, @@ -304,7 +640,7 @@ "_active": true, "_components": [], "_prefab": { - "__id__": 9 + "__id__": 18 }, "_opacity": 255, "_color": { @@ -364,6 +700,31 @@ "fileId": "fbKoNh1VxIC6r8Nc+Uetot", "sync": false }, + { + "__type__": "08c21LPJZZKZ7X7oQP48ZNW", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "left2Frame": { + "__uuid__": "d2f12e9d-208a-4fc1-a964-4b19b55a33d4" + }, + "right2Frame": { + "__uuid__": "d4a67d8e-6b35-4c76-8b83-9cd02b2c7898" + }, + "left3Frame": { + "__uuid__": "e91486e6-7f3b-4f8e-b644-5f8bc5d0ff12" + }, + "right3Frame": { + "__uuid__": "c467db58-b26c-4be8-815d-753b036afeaf" + }, + "revealSmokeData": { + "__uuid__": "17d057a5-61c2-4d91-b0ba-aac2bc0bd485" + }, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/win/prefab/Win.prefab b/assets/win/prefab/Win.prefab index 778200e9..1ea7eda2 100644 --- a/assets/win/prefab/Win.prefab +++ b/assets/win/prefab/Win.prefab @@ -24,32 +24,32 @@ "__id__": 7 }, { - "__id__": 159 + "__id__": 129 }, { - "__id__": 322 + "__id__": 292 }, { - "__id__": 337 + "__id__": 307 }, { - "__id__": 382 + "__id__": 352 }, { - "__id__": 392 + "__id__": 362 } ], "_active": true, "_components": [ { - "__id__": 417 + "__id__": 387 }, { - "__id__": 418 + "__id__": 388 } ], "_prefab": { - "__id__": 419 + "__id__": 389 }, "_opacity": 255, "_color": { @@ -263,46 +263,40 @@ "__id__": 11 }, { - "__id__": 36 + "__id__": 21 }, { - "__id__": 39 + "__id__": 43 }, { - "__id__": 42 + "__id__": 51 }, { - "__id__": 64 + "__id__": 61 }, { - "__id__": 69 + "__id__": 94 }, { - "__id__": 79 + "__id__": 100 }, { - "__id__": 124 + "__id__": 106 }, { - "__id__": 130 + "__id__": 111 }, { - "__id__": 136 + "__id__": 116 }, { - "__id__": 141 - }, - { - "__id__": 146 - }, - { - "__id__": 155 + "__id__": 125 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 158 + "__id__": 128 }, "_opacity": 255, "_color": { @@ -391,14 +385,14 @@ "ctor": "Float64Array", "array": [ 0, - 255.541, + 65.757, 0, 0, 0, 0, 1, - 1, - 1, + 0.5, + 0.5, 2 ] }, @@ -471,25 +465,16 @@ }, { "__id__": 15 - }, - { - "__id__": 24 - }, - { - "__id__": 27 - }, - { - "__id__": 31 } ], "_active": true, "_components": [ { - "__id__": 34 + "__id__": 19 } ], "_prefab": { - "__id__": 35 + "__id__": 20 }, "_opacity": 255, "_color": { @@ -514,7 +499,7 @@ "ctor": "Float64Array", "array": [ 0, - 67.756, + 0.166, 0, 0, 0, @@ -540,7 +525,7 @@ }, { "__type__": "cc.Node", - "_name": "kuang", + "_name": "gongxiguoguan", "_objFlags": 0, "_parent": { "__id__": 11 @@ -565,8 +550,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 274, - "height": 274 + "width": 800, + "height": 331 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -578,7 +563,7 @@ "ctor": "Float64Array", "array": [ 0, - 305.407, + 652.669, 0, 0, 0, @@ -618,438 +603,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c45455a-f594-48e7-8816-ea14691d979f" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "6b9JxOYpdJtLNE5DHvyYRM", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "_parent": { - "__id__": 11 - }, - "_children": [ - { - "__id__": 16 - }, - { - "__id__": 19 - } - ], - "_active": true, - "_components": [ - { - "__id__": 22 - } - ], - "_prefab": { - "__id__": 23 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 260, - "height": 260 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 305.407, - 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": "" - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "_parent": { - "__id__": 15 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 17 - } - ], - "_prefab": { - "__id__": 18 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 260, - "height": 260 - }, - "_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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 16 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "fef6ljoJVM84lks/ufMwl2", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "sp", - "_objFlags": 0, - "_parent": { - "__id__": 15 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 20 - } - ], - "_prefab": { - "__id__": 21 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -15, - 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": "" - }, - { - "__type__": "sp.Skeleton", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 19 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" - } - ], - "paused": false, - "defaultSkin": "", - "defaultAnimation": "", - "_preCacheMode": -1, - "_cacheMode": 0, - "loop": true, - "premultipliedAlpha": false, - "timeScale": 1, - "_accTime": 0, - "_playCount": 0, - "_frameCache": null, - "_curFrame": null, - "_skeletonCache": null, - "_animationName": "", - "_animationQueue": [], - "_headAniInfo": null, - "_playTimes": 0, - "_isAniComplete": true, - "_N$skeletonData": null, - "_N$_defaultCacheMode": 0, - "_N$debugSlots": false, - "_N$debugBones": false, - "_N$debugMesh": false, - "_N$useTint": false, - "_N$enableBatch": false, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "50Qw+9gpBFOpfGXOlliygo", - "sync": false - }, - { - "__type__": "cc.Mask", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 15 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_spriteFrame": { - "__uuid__": "2c45455a-f594-48e7-8816-ea14691d979f" - }, - "_type": 2, - "_segments": 64, - "_N$alphaThreshold": 0.1, - "_N$inverted": false, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "63L+sBC4ZJJoNo5wse1voV", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "gongxiguoguan", - "_objFlags": 0, - "_parent": { - "__id__": 11 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 25 - } - ], - "_prefab": { - "__id__": 26 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 731, - "height": 455 - }, - "_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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 24 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "11a46516-902b-4b56-9dd7-a86c4d7a0b8f" + "__uuid__": "22970d86-b72a-46ed-a706-013058bdadcd" }, "_type": 0, "_sizeMode": 1, @@ -1084,17 +638,17 @@ "__id__": 11 }, "_children": [], - "_active": false, + "_active": true, "_components": [ { - "__id__": 28 + "__id__": 16 }, { - "__id__": 29 + "__id__": 17 } ], "_prefab": { - "__id__": 30 + "__id__": 18 }, "_opacity": 255, "_color": { @@ -1106,8 +660,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 400, - "height": 400 + "width": 955, + "height": 552 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1119,14 +673,14 @@ "ctor": "Float64Array", "array": [ 0, - 0, + 33.754, 0, 0, 0, 0, 1, - 2, - 2, + 1, + 1, 1 ] }, @@ -1148,9 +702,9 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 27 + "__id__": 15 }, - "_enabled": false, + "_enabled": true, "_materials": [ { "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" @@ -1158,7 +712,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "b31631c0-64e2-469a-a7e7-caa31273f778" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -1178,7 +734,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 27 + "__id__": 15 }, "_enabled": false, "_defaultClip": null, @@ -1197,113 +753,6 @@ "fileId": "3bAtUNwsJNXbzlylthl5Rd", "sync": false }, - { - "__type__": "cc.Node", - "_name": "beijing", - "_objFlags": 0, - "_parent": { - "__id__": 11 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 32 - } - ], - "_prefab": { - "__id__": 33 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 886, - "height": 751 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 293.141, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 31 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a0582e13-8186-431c-9ce1-e8e6c2d87b36" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "86ZLDIRolM25jCGSTE0c5q", - "sync": false - }, { "__type__": "cc.Sprite", "_name": "", @@ -1345,222 +794,6 @@ "fileId": "a4GzSXjPpLq5ZHnTstAAUH", "sync": false }, - { - "__type__": "cc.Node", - "_name": "pian", - "_objFlags": 0, - "_parent": { - "__id__": 7 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 37 - } - ], - "_prefab": { - "__id__": 38 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 510, - "height": 510 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 55.581, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 36 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "c73c5e21-0f4c-4a64-9ff4-c29cece42e06" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "8b69cdeb-958b-4b97-b258-6c4755a7e20a" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f4piX+7LhEeJsgvDKzlEYL", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coins4", - "_objFlags": 0, - "_parent": { - "__id__": 7 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 40 - } - ], - "_prefab": { - "__id__": 41 - }, - "_opacity": 0, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 168, - "height": 189 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 179.645, - 0, - 0, - 0, - 0, - 1, - 2, - 2, - 2 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 39 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "7a7c6225-ca97-4991-96dd-32f62148560b" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "eafGfcciVHhI5EMtlkLZbf", - "sync": false - }, { "__type__": "cc.Node", "_name": "tiaodik", @@ -1570,32 +803,32 @@ }, "_children": [ { - "__id__": 43 + "__id__": 22 }, { - "__id__": 46 + "__id__": 25 }, { - "__id__": 49 + "__id__": 31 }, { - "__id__": 51 + "__id__": 33 }, { - "__id__": 54 + "__id__": 35 }, { - "__id__": 60 + "__id__": 38 } ], "_active": true, "_components": [ { - "__id__": 62 + "__id__": 41 } ], "_prefab": { - "__id__": 63 + "__id__": 42 }, "_opacity": 255, "_color": { @@ -1619,7 +852,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 0, + -55, -110.687, 0, 0, @@ -1646,20 +879,20 @@ }, { "__type__": "cc.Node", - "_name": "ninyihuode", + "_name": "beijing", "_objFlags": 0, "_parent": { - "__id__": 42 + "__id__": 21 }, "_children": [], "_active": true, "_components": [ { - "__id__": 44 + "__id__": 23 } ], "_prefab": { - "__id__": 45 + "__id__": 24 }, "_opacity": 255, "_color": { @@ -1671,8 +904,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 189, - "height": 43 + "width": 282, + "height": 250 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1683,8 +916,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -153.112, - 0, + 55, + 195.58, 0, 0, 0, @@ -1713,7 +946,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 43 + "__id__": 22 }, "_enabled": true, "_materials": [ @@ -1724,7 +957,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2cda37a0-a836-45e6-9658-c2d7d9c897e4" + "__uuid__": "7ce90c89-a092-48a9-b22c-5f0431746477" }, "_type": 0, "_sizeMode": 1, @@ -1748,292 +981,7 @@ "asset": { "__id__": 0 }, - "fileId": "fcm+ZDCopCw4R4kPIksj9+", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "meijinbi", - "_objFlags": 0, - "_parent": { - "__id__": 42 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 47 - } - ], - "_prefab": { - "__id__": 48 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 158, - "height": 44 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 188.221, - 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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 46 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "d6fe8e0f-8c5d-4d2e-b104-9489f9765282" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "46OxU0KuJD/YjLZrktQ/cu", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin", - "_objFlags": 0, - "_parent": { - "__id__": 42 - }, - "_children": [], - "_active": true, - "_components": [], - "_prefab": { - "__id__": 50 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 200, - "height": 200 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -2.159, - 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": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "742SsDkjlGroPXKlQHkDZm", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coinIcon", - "_objFlags": 0, - "_parent": { - "__id__": 42 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 52 - } - ], - "_prefab": { - "__id__": 53 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 163, - "height": 150 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 188.221, - -3, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.7, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 51 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "9580cc8c-238e-4016-9c78-dbb0cc4e43cf" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "03tpf2qBJEtYa/6fosSrDM", + "fileId": "d8BtBJOzlPo5tENdxfV0Sn", "sync": false }, { @@ -2041,21 +989,21 @@ "_name": "nextLabel", "_objFlags": 0, "_parent": { - "__id__": 42 + "__id__": 21 }, "_children": [ { - "__id__": 55 + "__id__": 26 } ], "_active": true, "_components": [ { - "__id__": 58 + "__id__": 29 } ], "_prefab": { - "__id__": 59 + "__id__": 30 }, "_opacity": 255, "_color": { @@ -2079,7 +1027,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 0, + 55, -144.73, 0, 0, @@ -2109,17 +1057,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 54 + "__id__": 25 }, "_children": [], "_active": true, "_components": [ { - "__id__": 56 + "__id__": 27 } ], "_prefab": { - "__id__": 57 + "__id__": 28 }, "_opacity": 255, "_color": { @@ -2173,7 +1121,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 55 + "__id__": 26 }, "_enabled": true, "_materials": [ @@ -2216,7 +1164,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 54 + "__id__": 25 }, "_enabled": true, "_materials": [ @@ -2259,13 +1207,13 @@ "_name": "nextMode", "_objFlags": 0, "_parent": { - "__id__": 42 + "__id__": 21 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 61 + "__id__": 32 }, "_opacity": 255, "_color": { @@ -2289,8 +1237,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 222, - -150, + 277.547, + -146.038, 0, 0, 0, @@ -2325,12 +1273,252 @@ "fileId": "3d1AtEczJEuqW74NsNQyBH", "sync": false }, + { + "__type__": "cc.Node", + "_name": "coin", + "_objFlags": 0, + "_parent": { + "__id__": 21 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 34 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 46.299, + 44.008, + 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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "59hj71Co9Lqqmz+h5MC95y", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "coinIcon", + "_objFlags": 0, + "_parent": { + "__id__": 21 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + } + ], + "_prefab": { + "__id__": 37 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -181.577, + 785.034, + 0, + 0, + 0, + 0, + 1, + 0.7, + 0.7, + 0.7 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 42 + "__id__": 35 + }, + "_enabled": false, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "56EOSb1NlMw5uXGI76/F3P", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 21 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 39 + } + ], + "_prefab": { + "__id__": 40 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 31, + "height": 32 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 2.009, + 36.054, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 38 }, "_enabled": true, "_materials": [ @@ -2341,7 +1529,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "4809793f-5b87-4651-9e8c-8968d6f33937" + "__uuid__": "3487845b-9e45-4ba7-b513-e9b50b3468f0" }, "_type": 0, "_sizeMode": 1, @@ -2354,6 +1542,49 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ddCqS0kfFNSKfscE6CT2WP", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 21 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, "_atlas": null, "_id": "" }, @@ -2377,17 +1608,20 @@ }, "_children": [ { - "__id__": 65 + "__id__": 44 + }, + { + "__id__": 47 } ], "_active": false, "_components": [ { - "__id__": 67 + "__id__": 49 } ], "_prefab": { - "__id__": 68 + "__id__": 50 }, "_opacity": 255, "_color": { @@ -2399,8 +1633,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 273, - "height": 43 + "width": 398, + "height": 102 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2412,7 +1646,7 @@ "ctor": "Float64Array", "array": [ 0, - 166.072, + 523.448, 0, 0, 0, @@ -2436,25 +1670,132 @@ "groupIndex": 0, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 43 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 45 + } + ], + "_prefab": { + "__id__": 46 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 255, + "height": 43 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -1.995, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 44 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "5581af68-ce17-4945-8bf3-61995fc9489f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "17VHOGcRpCv46cpgHe/x34", + "sync": false + }, { "__type__": "cc.Node", "_name": "level", "_objFlags": 0, "_parent": { - "__id__": 64 + "__id__": 43 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 66 + "__id__": 48 }, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, + "r": 228, + "g": 162, + "b": 61, "a": 255 }, "_contentSize": { @@ -2471,7 +1812,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 18.989, + 13.253, -2, 0, 0, @@ -2512,7 +1853,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 64 + "__id__": 43 }, "_enabled": true, "_materials": [ @@ -2523,7 +1864,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "24ff9a44-e823-4719-adb8-342c21576487" + "__uuid__": "6e82f565-170d-46a1-9d38-6f1d72d5b236" }, "_type": 0, "_sizeMode": 1, @@ -2559,19 +1900,19 @@ }, "_children": [ { - "__id__": 70 + "__id__": 52 }, { - "__id__": 73 + "__id__": 55 }, { - "__id__": 76 + "__id__": 58 } ], "_active": false, "_components": [], "_prefab": { - "__id__": 78 + "__id__": 60 }, "_opacity": 255, "_color": { @@ -2596,7 +1937,7 @@ "ctor": "Float64Array", "array": [ 0, - 175, + 355.924, 0, 0, 0, @@ -2625,17 +1966,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 69 + "__id__": 51 }, "_children": [], "_active": true, "_components": [ { - "__id__": 71 + "__id__": 53 } ], "_prefab": { - "__id__": 72 + "__id__": 54 }, "_opacity": 255, "_color": { @@ -2689,7 +2030,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 70 + "__id__": 52 }, "_enabled": true, "_materials": [ @@ -2732,17 +2073,17 @@ "_name": "level_x", "_objFlags": 0, "_parent": { - "__id__": 69 + "__id__": 51 }, "_children": [], "_active": true, "_components": [ { - "__id__": 74 + "__id__": 56 } ], "_prefab": { - "__id__": 75 + "__id__": 57 }, "_opacity": 255, "_color": { @@ -2796,7 +2137,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 73 + "__id__": 55 }, "_enabled": true, "_materials": [ @@ -2841,13 +2182,13 @@ "_name": "levelNum", "_objFlags": 0, "_parent": { - "__id__": 69 + "__id__": 51 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 77 + "__id__": 59 }, "_opacity": 255, "_color": { @@ -2927,37 +2268,37 @@ }, "_children": [ { - "__id__": 80 + "__id__": 62 }, { - "__id__": 84 + "__id__": 66 }, { - "__id__": 87 + "__id__": 69 }, { - "__id__": 102 + "__id__": 72 }, { - "__id__": 106 + "__id__": 76 }, { - "__id__": 109 + "__id__": 79 }, { - "__id__": 112 + "__id__": 82 }, { - "__id__": 115 + "__id__": 85 }, { - "__id__": 118 + "__id__": 88 } ], "_active": false, "_components": [], "_prefab": { - "__id__": 123 + "__id__": 93 }, "_opacity": 255, "_color": { @@ -3011,20 +2352,20 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": true, "_components": [ { - "__id__": 81 + "__id__": 63 }, { - "__id__": 82 + "__id__": 64 } ], "_prefab": { - "__id__": 83 + "__id__": 65 }, "_opacity": 220, "_color": { @@ -3078,7 +2419,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 80 + "__id__": 62 }, "_enabled": true, "_materials": [ @@ -3110,7 +2451,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 80 + "__id__": 62 }, "_enabled": true, "alignMode": 1, @@ -3148,17 +2489,17 @@ "_name": "line", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": false, "_components": [ { - "__id__": 85 + "__id__": 67 } ], "_prefab": { - "__id__": 86 + "__id__": 68 }, "_opacity": 255, "_color": { @@ -3212,7 +2553,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 84 + "__id__": 66 }, "_enabled": true, "_materials": [ @@ -3255,24 +2596,17 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, - "_children": [ - { - "__id__": 88 - }, - { - "__id__": 91 - } - ], + "_children": [], "_active": true, "_components": [ { - "__id__": 100 + "__id__": 70 } ], "_prefab": { - "__id__": 101 + "__id__": 71 }, "_opacity": 255, "_color": { @@ -3321,443 +2655,12 @@ "groupIndex": 0, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "kuang", - "_objFlags": 0, - "_parent": { - "__id__": 87 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 89 - } - ], - "_prefab": { - "__id__": 90 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 240, - "height": 240 - }, - "_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": "" - }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 88 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "2c45455a-f594-48e7-8816-ea14691d979f" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d5Ks1IYE1IGZ2/bPpXVvrT", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "_parent": { - "__id__": 87 - }, - "_children": [ - { - "__id__": 92 - }, - { - "__id__": 95 - } - ], - "_active": true, - "_components": [ - { - "__id__": 98 - } - ], - "_prefab": { - "__id__": 99 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 220, - "height": 220 - }, - "_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": "" - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "_parent": { - "__id__": 91 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 93 - } - ], - "_prefab": { - "__id__": 94 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 250, - "height": 250 - }, - "_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": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 92 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": null, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "264SlFrUxLRJkJR9AHPRDG", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "sp", - "_objFlags": 0, - "_parent": { - "__id__": 91 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 96 - } - ], - "_prefab": { - "__id__": 97 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -15, - 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": "" - }, - { - "__type__": "sp.Skeleton", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 95 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" - } - ], - "paused": false, - "defaultSkin": "", - "defaultAnimation": "", - "_preCacheMode": -1, - "_cacheMode": 0, - "loop": true, - "premultipliedAlpha": false, - "timeScale": 1, - "_accTime": 0, - "_playCount": 0, - "_frameCache": null, - "_curFrame": null, - "_skeletonCache": null, - "_animationName": "", - "_animationQueue": [], - "_headAniInfo": null, - "_playTimes": 0, - "_isAniComplete": true, - "_N$skeletonData": null, - "_N$_defaultCacheMode": 0, - "_N$debugSlots": false, - "_N$debugBones": false, - "_N$debugMesh": false, - "_N$useTint": false, - "_N$enableBatch": false, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "38WHHExQ1HGbjcPJmNY+be", - "sync": false - }, - { - "__type__": "cc.Mask", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 91 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_spriteFrame": { - "__uuid__": "2c45455a-f594-48e7-8816-ea14691d979f" - }, - "_type": 2, - "_segments": 64, - "_N$alphaThreshold": 0.1, - "_N$inverted": false, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "34I01TF5ROEZyVdjuCzh7b", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 87 + "__id__": 69 }, "_enabled": true, "_materials": [ @@ -3798,20 +2701,20 @@ "_name": "bg2", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": true, "_components": [ { - "__id__": 103 + "__id__": 73 }, { - "__id__": 104 + "__id__": 74 } ], "_prefab": { - "__id__": 105 + "__id__": 75 }, "_opacity": 255, "_color": { @@ -3865,7 +2768,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 102 + "__id__": 72 }, "_enabled": true, "_materials": [ @@ -3899,7 +2802,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 102 + "__id__": 72 }, "_enabled": true, "autoPlay": true, @@ -3924,17 +2827,17 @@ "_name": "caidai1", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": true, "_components": [ { - "__id__": 107 + "__id__": 77 } ], "_prefab": { - "__id__": 108 + "__id__": 78 }, "_opacity": 255, "_color": { @@ -3988,7 +2891,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 106 + "__id__": 76 }, "_enabled": true, "_materials": [ @@ -4031,17 +2934,17 @@ "_name": "caidai2", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": true, "_components": [ { - "__id__": 110 + "__id__": 80 } ], "_prefab": { - "__id__": 111 + "__id__": 81 }, "_opacity": 255, "_color": { @@ -4095,7 +2998,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 109 + "__id__": 79 }, "_enabled": true, "_materials": [ @@ -4138,17 +3041,17 @@ "_name": "yinzhang", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": false, "_components": [ { - "__id__": 113 + "__id__": 83 } ], "_prefab": { - "__id__": 114 + "__id__": 84 }, "_opacity": 255, "_color": { @@ -4202,7 +3105,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 112 + "__id__": 82 }, "_enabled": true, "_materials": [ @@ -4245,17 +3148,17 @@ "_name": "yinzhang2", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": false, "_components": [ { - "__id__": 116 + "__id__": 86 } ], "_prefab": { - "__id__": 117 + "__id__": 87 }, "_opacity": 255, "_color": { @@ -4309,7 +3212,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 115 + "__id__": 85 }, "_enabled": true, "_materials": [ @@ -4352,20 +3255,20 @@ "_name": "btn", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 61 }, "_children": [], "_active": true, "_components": [ { - "__id__": 119 + "__id__": 89 }, { - "__id__": 120 + "__id__": 90 } ], "_prefab": { - "__id__": 122 + "__id__": 92 }, "_opacity": 255, "_color": { @@ -4419,7 +3322,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 118 + "__id__": 88 }, "_enabled": true, "_materials": [ @@ -4451,7 +3354,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 118 + "__id__": 88 }, "_enabled": true, "_normalMaterial": null, @@ -4460,7 +3363,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 121 + "__id__": 91 } ], "_N$interactable": true, @@ -4516,7 +3419,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 118 + "__id__": 88 }, "_id": "" }, @@ -4563,17 +3466,17 @@ "_active": true, "_components": [ { - "__id__": 125 + "__id__": 95 }, { - "__id__": 126 + "__id__": 96 }, { - "__id__": 128 + "__id__": 98 } ], "_prefab": { - "__id__": 129 + "__id__": 99 }, "_opacity": 255, "_color": { @@ -4585,8 +3488,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 562, - "height": 166 + "width": 552, + "height": 160 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4597,7 +3500,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 16.37, + 48.702, -415.423, 0, 0, @@ -4627,7 +3530,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 124 + "__id__": 94 }, "_enabled": true, "_materials": [ @@ -4638,7 +3541,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "6023ac68-4497-47b2-a51c-0bcbdfead49c" + "__uuid__": "fa8cdf08-57da-4b78-b1d5-bd7da1c69b88" }, "_type": 1, "_sizeMode": 1, @@ -4659,7 +3562,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 124 + "__id__": 94 }, "_enabled": true, "_normalMaterial": null, @@ -4668,7 +3571,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 127 + "__id__": 97 } ], "_N$interactable": true, @@ -4724,7 +3627,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 124 + "__id__": 94 }, "_id": "" }, @@ -4743,7 +3646,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 124 + "__id__": 94 }, "_enabled": true, "_id": "" @@ -4770,17 +3673,17 @@ "_active": false, "_components": [ { - "__id__": 131 + "__id__": 101 }, { - "__id__": 132 + "__id__": 102 }, { - "__id__": 134 + "__id__": 104 } ], "_prefab": { - "__id__": 135 + "__id__": 105 }, "_opacity": 255, "_color": { @@ -4792,8 +3695,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 562, - "height": 166 + "width": 552, + "height": 160 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4804,7 +3707,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 16.37, + 48.702, -415.423, 0, 0, @@ -4834,7 +3737,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 130 + "__id__": 100 }, "_enabled": true, "_materials": [ @@ -4845,7 +3748,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "6023ac68-4497-47b2-a51c-0bcbdfead49c" + "__uuid__": "fa8cdf08-57da-4b78-b1d5-bd7da1c69b88" }, "_type": 1, "_sizeMode": 1, @@ -4866,7 +3769,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 130 + "__id__": 100 }, "_enabled": true, "_normalMaterial": null, @@ -4875,7 +3778,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 133 + "__id__": 103 } ], "_N$interactable": true, @@ -4931,7 +3834,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 130 + "__id__": 100 }, "_id": "" }, @@ -4950,7 +3853,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 130 + "__id__": 100 }, "_enabled": true, "_id": "" @@ -4977,14 +3880,14 @@ "_active": true, "_components": [ { - "__id__": 137 + "__id__": 107 }, { - "__id__": 138 + "__id__": 108 } ], "_prefab": { - "__id__": 140 + "__id__": 110 }, "_opacity": 255, "_color": { @@ -4996,8 +3899,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 152, - "height": 173 + "width": 144, + "height": 158 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5008,7 +3911,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -369.39, + -337.058, -415.423, 0, 0, @@ -5038,7 +3941,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 136 + "__id__": 106 }, "_enabled": true, "_materials": [ @@ -5049,7 +3952,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "171b294f-942c-48ee-89a0-01b8ceec8387" + "__uuid__": "c61298cc-4d4f-4f30-8530-5ffe0c9de144" }, "_type": 0, "_sizeMode": 1, @@ -5070,7 +3973,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 136 + "__id__": 106 }, "_enabled": true, "_normalMaterial": null, @@ -5079,7 +3982,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 139 + "__id__": 109 } ], "_N$interactable": true, @@ -5135,7 +4038,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 136 + "__id__": 106 }, "_id": "" }, @@ -5171,14 +4074,14 @@ "_active": false, "_components": [ { - "__id__": 142 + "__id__": 112 }, { - "__id__": 143 + "__id__": 113 } ], "_prefab": { - "__id__": 145 + "__id__": 115 }, "_opacity": 255, "_color": { @@ -5202,7 +4105,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 20.426, + 52.758, -415.423, 0, 0, @@ -5232,7 +4135,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 141 + "__id__": 111 }, "_enabled": true, "_materials": [ @@ -5264,7 +4167,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 141 + "__id__": 111 }, "_enabled": true, "_normalMaterial": null, @@ -5273,7 +4176,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 144 + "__id__": 114 } ], "_N$interactable": true, @@ -5329,7 +4232,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 141 + "__id__": 111 }, "_id": "" }, @@ -5363,23 +4266,23 @@ }, "_children": [ { - "__id__": 147 + "__id__": 117 } ], "_active": false, "_components": [ { - "__id__": 150 + "__id__": 120 }, { - "__id__": 151 + "__id__": 121 }, { - "__id__": 153 + "__id__": 123 } ], "_prefab": { - "__id__": 154 + "__id__": 124 }, "_opacity": 255, "_color": { @@ -5433,17 +4336,17 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 146 + "__id__": 116 }, "_children": [], "_active": true, "_components": [ { - "__id__": 148 + "__id__": 118 } ], "_prefab": { - "__id__": 149 + "__id__": 119 }, "_opacity": 255, "_color": { @@ -5497,7 +4400,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 147 + "__id__": 117 }, "_enabled": true, "_materials": [ @@ -5541,7 +4444,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 146 + "__id__": 116 }, "_enabled": true, "_materials": [ @@ -5573,7 +4476,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 146 + "__id__": 116 }, "_enabled": true, "_normalMaterial": null, @@ -5582,7 +4485,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 152 + "__id__": 122 } ], "_N$interactable": true, @@ -5638,7 +4541,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 146 + "__id__": 116 }, "_id": "" }, @@ -5657,7 +4560,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 146 + "__id__": 116 }, "_enabled": true, "_id": "" @@ -5684,11 +4587,11 @@ "_active": false, "_components": [ { - "__id__": 156 + "__id__": 126 } ], "_prefab": { - "__id__": 157 + "__id__": 127 }, "_opacity": 255, "_color": { @@ -5742,7 +4645,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 155 + "__id__": 125 }, "_enabled": false, "_materials": [ @@ -5808,38 +4711,38 @@ }, "_children": [ { - "__id__": 160 + "__id__": 130 }, { - "__id__": 163 + "__id__": 133 }, { - "__id__": 166 + "__id__": 136 }, { - "__id__": 172 + "__id__": 142 }, { - "__id__": 238 + "__id__": 208 }, { - "__id__": 245 + "__id__": 215 }, { - "__id__": 248 + "__id__": 218 }, { - "__id__": 254 + "__id__": 224 } ], "_active": true, "_components": [ { - "__id__": 320 + "__id__": 290 } ], "_prefab": { - "__id__": 321 + "__id__": 291 }, "_opacity": 255, "_color": { @@ -5893,17 +4796,17 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [], "_active": true, "_components": [ { - "__id__": 161 + "__id__": 131 } ], "_prefab": { - "__id__": 162 + "__id__": 132 }, "_opacity": 255, "_color": { @@ -5957,7 +4860,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 160 + "__id__": 130 }, "_enabled": true, "_materials": [ @@ -6000,24 +4903,24 @@ "_name": "level", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [], "_active": true, "_components": [ { - "__id__": 164 + "__id__": 134 } ], "_prefab": { - "__id__": 165 + "__id__": 135 }, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 17, - "g": 154, - "b": 25, + "r": 255, + "g": 163, + "b": 0, "a": 255 }, "_contentSize": { @@ -6064,7 +4967,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 163 + "__id__": 133 }, "_enabled": true, "_materials": [ @@ -6105,28 +5008,28 @@ "_name": "maxlevel", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [ { - "__id__": 167 + "__id__": 137 } ], "_active": true, "_components": [ { - "__id__": 170 + "__id__": 140 } ], "_prefab": { - "__id__": 171 + "__id__": 141 }, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 2, - "g": 107, - "b": 85, + "r": 248, + "g": 192, + "b": 73, "a": 255 }, "_contentSize": { @@ -6173,29 +5076,29 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 166 + "__id__": 136 }, "_children": [], "_active": true, "_components": [ { - "__id__": 168 + "__id__": 138 } ], "_prefab": { - "__id__": 169 + "__id__": 139 }, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 2, - "g": 107, - "b": 85, + "r": 248, + "g": 192, + "b": 73, "a": 255 }, "_contentSize": { "__type__": "cc.Size", - "width": 25, + "width": 91, "height": 39 }, "_anchorPoint": { @@ -6207,8 +5110,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -25.28, - 0.66667, + -6.287, + 0.667, 0, 0, 0, @@ -6237,7 +5140,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 167 + "__id__": 137 }, "_enabled": true, "_materials": [ @@ -6248,7 +5151,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "fc43465b-b0ab-4ae5-8b97-5cb6a6fefca2" + "__uuid__": "b9f95266-ae7b-4247-99c9-6f253bd88b16" }, "_type": 0, "_sizeMode": 1, @@ -6261,9 +5164,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -6282,7 +5183,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 166 + "__id__": 136 }, "_enabled": true, "_materials": [ @@ -6292,9 +5193,7 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0046d4b2-32de-4dbd-a0e5-3754373d4b0a" - }, + "_spriteFrame": null, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -6306,9 +5205,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -6327,38 +5224,38 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [ { - "__id__": 173 + "__id__": 143 }, { - "__id__": 181 + "__id__": 151 }, { - "__id__": 189 + "__id__": 159 }, { - "__id__": 197 + "__id__": 167 }, { - "__id__": 205 + "__id__": 175 }, { - "__id__": 213 + "__id__": 183 }, { - "__id__": 221 + "__id__": 191 }, { - "__id__": 229 + "__id__": 199 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 237 + "__id__": 207 }, "_opacity": 255, "_color": { @@ -6412,20 +5309,20 @@ "_name": "one_progress", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 174 + "__id__": 144 }, { - "__id__": 177 + "__id__": 147 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 180 + "__id__": 150 }, "_opacity": 255, "_color": { @@ -6479,17 +5376,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 173 + "__id__": 143 }, "_children": [], "_active": true, "_components": [ { - "__id__": 175 + "__id__": 145 } ], "_prefab": { - "__id__": 176 + "__id__": 146 }, "_opacity": 255, "_color": { @@ -6543,7 +5440,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 174 + "__id__": 144 }, "_enabled": true, "_materials": [ @@ -6554,7 +5451,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "67672db7-a762-42a9-9d76-4806576f0c4b" + "__uuid__": "69f0a4c4-3473-41d0-95d2-faa52757cb4d" }, "_type": 0, "_sizeMode": 0, @@ -6567,9 +5464,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -6588,17 +5483,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 173 + "__id__": 143 }, "_children": [], "_active": true, "_components": [ { - "__id__": 178 + "__id__": 148 } ], "_prefab": { - "__id__": 179 + "__id__": 149 }, "_opacity": 255, "_color": { @@ -6652,7 +5547,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 177 + "__id__": 147 }, "_enabled": true, "_materials": [ @@ -6663,7 +5558,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "60a5136b-b9fd-4ff6-a968-76c42f06ff25" + "__uuid__": "305c6835-e53c-47b7-ab3c-9f1650e924d5" }, "_type": 0, "_sizeMode": 0, @@ -6676,9 +5571,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -6708,20 +5601,20 @@ "_name": "two_progress", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 182 + "__id__": 152 }, { - "__id__": 185 + "__id__": 155 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 188 + "__id__": 158 }, "_opacity": 255, "_color": { @@ -6775,17 +5668,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 181 + "__id__": 151 }, "_children": [], "_active": true, "_components": [ { - "__id__": 183 + "__id__": 153 } ], "_prefab": { - "__id__": 184 + "__id__": 154 }, "_opacity": 255, "_color": { @@ -6839,7 +5732,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 182 + "__id__": 152 }, "_enabled": true, "_materials": [ @@ -6850,7 +5743,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "67672db7-a762-42a9-9d76-4806576f0c4b" + "__uuid__": "69f0a4c4-3473-41d0-95d2-faa52757cb4d" }, "_type": 0, "_sizeMode": 0, @@ -6863,9 +5756,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -6884,17 +5775,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 181 + "__id__": 151 }, "_children": [], "_active": true, "_components": [ { - "__id__": 186 + "__id__": 156 } ], "_prefab": { - "__id__": 187 + "__id__": 157 }, "_opacity": 255, "_color": { @@ -6948,7 +5839,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 185 + "__id__": 155 }, "_enabled": true, "_materials": [ @@ -6959,7 +5850,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "60a5136b-b9fd-4ff6-a968-76c42f06ff25" + "__uuid__": "305c6835-e53c-47b7-ab3c-9f1650e924d5" }, "_type": 0, "_sizeMode": 0, @@ -6972,9 +5863,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -7004,20 +5893,20 @@ "_name": "two_progress", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 190 + "__id__": 160 }, { - "__id__": 193 + "__id__": 163 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 196 + "__id__": 166 }, "_opacity": 255, "_color": { @@ -7071,17 +5960,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 189 + "__id__": 159 }, "_children": [], "_active": true, "_components": [ { - "__id__": 191 + "__id__": 161 } ], "_prefab": { - "__id__": 192 + "__id__": 162 }, "_opacity": 255, "_color": { @@ -7135,7 +6024,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 190 + "__id__": 160 }, "_enabled": true, "_materials": [ @@ -7146,7 +6035,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "67672db7-a762-42a9-9d76-4806576f0c4b" + "__uuid__": "69f0a4c4-3473-41d0-95d2-faa52757cb4d" }, "_type": 0, "_sizeMode": 0, @@ -7159,9 +6048,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -7180,17 +6067,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 189 + "__id__": 159 }, "_children": [], "_active": true, "_components": [ { - "__id__": 194 + "__id__": 164 } ], "_prefab": { - "__id__": 195 + "__id__": 165 }, "_opacity": 255, "_color": { @@ -7244,7 +6131,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 193 + "__id__": 163 }, "_enabled": true, "_materials": [ @@ -7255,7 +6142,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "60a5136b-b9fd-4ff6-a968-76c42f06ff25" + "__uuid__": "305c6835-e53c-47b7-ab3c-9f1650e924d5" }, "_type": 0, "_sizeMode": 0, @@ -7268,9 +6155,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -7300,20 +6185,20 @@ "_name": "two_progress", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 198 + "__id__": 168 }, { - "__id__": 201 + "__id__": 171 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 204 + "__id__": 174 }, "_opacity": 255, "_color": { @@ -7367,17 +6252,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 197 + "__id__": 167 }, "_children": [], "_active": true, "_components": [ { - "__id__": 199 + "__id__": 169 } ], "_prefab": { - "__id__": 200 + "__id__": 170 }, "_opacity": 255, "_color": { @@ -7431,7 +6316,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 198 + "__id__": 168 }, "_enabled": true, "_materials": [ @@ -7442,7 +6327,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "67672db7-a762-42a9-9d76-4806576f0c4b" + "__uuid__": "69f0a4c4-3473-41d0-95d2-faa52757cb4d" }, "_type": 0, "_sizeMode": 0, @@ -7455,9 +6340,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -7476,17 +6359,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 197 + "__id__": 167 }, "_children": [], "_active": true, "_components": [ { - "__id__": 202 + "__id__": 172 } ], "_prefab": { - "__id__": 203 + "__id__": 173 }, "_opacity": 255, "_color": { @@ -7540,7 +6423,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 201 + "__id__": 171 }, "_enabled": true, "_materials": [ @@ -7551,7 +6434,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "60a5136b-b9fd-4ff6-a968-76c42f06ff25" + "__uuid__": "305c6835-e53c-47b7-ab3c-9f1650e924d5" }, "_type": 0, "_sizeMode": 0, @@ -7564,9 +6447,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -7596,20 +6477,20 @@ "_name": "one", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 206 + "__id__": 176 }, { - "__id__": 209 + "__id__": 179 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 212 + "__id__": 182 }, "_opacity": 255, "_color": { @@ -7663,17 +6544,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 175 }, "_children": [], "_active": true, "_components": [ { - "__id__": 207 + "__id__": 177 } ], "_prefab": { - "__id__": 208 + "__id__": 178 }, "_opacity": 255, "_color": { @@ -7685,8 +6566,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -7727,7 +6608,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 206 + "__id__": 176 }, "_enabled": true, "_materials": [ @@ -7738,7 +6619,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "f4738f18-81df-4467-baa7-0ac65b313d55" + "__uuid__": "0d650991-de9e-4ad5-aa57-0308a7813c82" }, "_type": 0, "_sizeMode": 1, @@ -7751,9 +6632,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -7772,17 +6651,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 175 }, "_children": [], "_active": true, "_components": [ { - "__id__": 210 + "__id__": 180 } ], "_prefab": { - "__id__": 211 + "__id__": 181 }, "_opacity": 255, "_color": { @@ -7794,8 +6673,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -7836,7 +6715,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 209 + "__id__": 179 }, "_enabled": true, "_materials": [ @@ -7847,7 +6726,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "da6bb56c-685b-44df-8083-88802becf9da" + "__uuid__": "2d3955fd-8ef4-4e04-93c3-21ec6f380b7c" }, "_type": 3, "_sizeMode": 1, @@ -7860,9 +6739,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -7892,20 +6769,20 @@ "_name": "two", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 214 + "__id__": 184 }, { - "__id__": 217 + "__id__": 187 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 220 + "__id__": 190 }, "_opacity": 255, "_color": { @@ -7959,17 +6836,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 213 + "__id__": 183 }, "_children": [], "_active": true, "_components": [ { - "__id__": 215 + "__id__": 185 } ], "_prefab": { - "__id__": 216 + "__id__": 186 }, "_opacity": 255, "_color": { @@ -7981,8 +6858,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -8023,7 +6900,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 214 + "__id__": 184 }, "_enabled": true, "_materials": [ @@ -8034,7 +6911,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "f4738f18-81df-4467-baa7-0ac65b313d55" + "__uuid__": "0d650991-de9e-4ad5-aa57-0308a7813c82" }, "_type": 0, "_sizeMode": 1, @@ -8047,9 +6924,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -8068,17 +6943,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 213 + "__id__": 183 }, "_children": [], "_active": true, "_components": [ { - "__id__": 218 + "__id__": 188 } ], "_prefab": { - "__id__": 219 + "__id__": 189 }, "_opacity": 255, "_color": { @@ -8090,8 +6965,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -8132,7 +7007,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 217 + "__id__": 187 }, "_enabled": true, "_materials": [ @@ -8143,7 +7018,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "da6bb56c-685b-44df-8083-88802becf9da" + "__uuid__": "2d3955fd-8ef4-4e04-93c3-21ec6f380b7c" }, "_type": 3, "_sizeMode": 1, @@ -8156,9 +7031,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -8188,20 +7061,20 @@ "_name": "three", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 222 + "__id__": 192 }, { - "__id__": 225 + "__id__": 195 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 228 + "__id__": 198 }, "_opacity": 255, "_color": { @@ -8255,17 +7128,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 221 + "__id__": 191 }, "_children": [], "_active": true, "_components": [ { - "__id__": 223 + "__id__": 193 } ], "_prefab": { - "__id__": 224 + "__id__": 194 }, "_opacity": 255, "_color": { @@ -8277,8 +7150,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -8319,7 +7192,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 222 + "__id__": 192 }, "_enabled": true, "_materials": [ @@ -8330,7 +7203,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "f4738f18-81df-4467-baa7-0ac65b313d55" + "__uuid__": "0d650991-de9e-4ad5-aa57-0308a7813c82" }, "_type": 0, "_sizeMode": 1, @@ -8343,9 +7216,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -8364,17 +7235,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 221 + "__id__": 191 }, "_children": [], "_active": true, "_components": [ { - "__id__": 226 + "__id__": 196 } ], "_prefab": { - "__id__": 227 + "__id__": 197 }, "_opacity": 255, "_color": { @@ -8386,8 +7257,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -8428,7 +7299,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 225 + "__id__": 195 }, "_enabled": true, "_materials": [ @@ -8439,7 +7310,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "da6bb56c-685b-44df-8083-88802becf9da" + "__uuid__": "2d3955fd-8ef4-4e04-93c3-21ec6f380b7c" }, "_type": 3, "_sizeMode": 1, @@ -8452,9 +7323,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -8484,20 +7353,20 @@ "_name": "four", "_objFlags": 0, "_parent": { - "__id__": 172 + "__id__": 142 }, "_children": [ { - "__id__": 230 + "__id__": 200 }, { - "__id__": 233 + "__id__": 203 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 236 + "__id__": 206 }, "_opacity": 255, "_color": { @@ -8551,17 +7420,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 229 + "__id__": 199 }, "_children": [], "_active": true, "_components": [ { - "__id__": 231 + "__id__": 201 } ], "_prefab": { - "__id__": 232 + "__id__": 202 }, "_opacity": 255, "_color": { @@ -8573,8 +7442,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -8615,7 +7484,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 230 + "__id__": 200 }, "_enabled": true, "_materials": [ @@ -8626,7 +7495,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "f4738f18-81df-4467-baa7-0ac65b313d55" + "__uuid__": "0d650991-de9e-4ad5-aa57-0308a7813c82" }, "_type": 0, "_sizeMode": 1, @@ -8639,9 +7508,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -8660,17 +7527,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 229 + "__id__": 199 }, "_children": [], "_active": true, "_components": [ { - "__id__": 234 + "__id__": 204 } ], "_prefab": { - "__id__": 235 + "__id__": 205 }, "_opacity": 255, "_color": { @@ -8682,8 +7549,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 56, - "height": 57 + "width": 62, + "height": 62 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -8724,7 +7591,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 233 + "__id__": 203 }, "_enabled": true, "_materials": [ @@ -8735,7 +7602,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "da6bb56c-685b-44df-8083-88802becf9da" + "__uuid__": "2d3955fd-8ef4-4e04-93c3-21ec6f380b7c" }, "_type": 3, "_sizeMode": 1, @@ -8748,9 +7615,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -8791,21 +7656,21 @@ "_name": "bg2", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [ { - "__id__": 239 + "__id__": 209 } ], "_active": false, "_components": [ { - "__id__": 243 + "__id__": 213 } ], "_prefab": { - "__id__": 244 + "__id__": 214 }, "_opacity": 255, "_color": { @@ -8859,20 +7724,20 @@ "_name": "cat", "_objFlags": 0, "_parent": { - "__id__": 238 + "__id__": 208 }, "_children": [], "_active": true, "_components": [ { - "__id__": 240 + "__id__": 210 }, { - "__id__": 241 + "__id__": 211 } ], "_prefab": { - "__id__": 242 + "__id__": 212 }, "_opacity": 255, "_color": { @@ -8926,7 +7791,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 239 + "__id__": 209 }, "_enabled": true, "_materials": [ @@ -8960,7 +7825,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 239 + "__id__": 209 }, "_enabled": true, "_id": "" @@ -8981,7 +7846,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 238 + "__id__": 208 }, "_enabled": true, "_materials": [ @@ -9024,24 +7889,24 @@ "_name": "level2", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [], "_active": false, "_components": [ { - "__id__": 246 + "__id__": 216 } ], "_prefab": { - "__id__": 247 + "__id__": 217 }, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 217, - "g": 135, - "b": 54, + "r": 255, + "g": 163, + "b": 0, "a": 255 }, "_contentSize": { @@ -9058,7 +7923,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -367.37, + -376.259, -20.5, 0, 0, @@ -9088,7 +7953,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 245 + "__id__": 215 }, "_enabled": true, "_materials": [ @@ -9129,28 +7994,28 @@ "_name": "maxlevel2", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [ { - "__id__": 249 + "__id__": 219 } ], "_active": false, "_components": [ { - "__id__": 252 + "__id__": 222 } ], "_prefab": { - "__id__": 253 + "__id__": 223 }, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 217, - "g": 135, - "b": 54, + "r": 255, + "g": 255, + "b": 255, "a": 255 }, "_contentSize": { @@ -9167,7 +8032,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -303.467, + -314.362, -24, 0, 0, @@ -9197,17 +8062,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 248 + "__id__": 218 }, "_children": [], "_active": true, "_components": [ { - "__id__": 250 + "__id__": 220 } ], "_prefab": { - "__id__": 251 + "__id__": 221 }, "_opacity": 255, "_color": { @@ -9219,7 +8084,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 25, + "width": 91, "height": 39 }, "_anchorPoint": { @@ -9231,8 +8096,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -25.28, - 0.66667, + -6.287, + 0.667, 0, 0, 0, @@ -9261,7 +8126,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 249 + "__id__": 219 }, "_enabled": true, "_materials": [ @@ -9272,7 +8137,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "fc43465b-b0ab-4ae5-8b97-5cb6a6fefca2" + "__uuid__": "b9f95266-ae7b-4247-99c9-6f253bd88b16" }, "_type": 0, "_sizeMode": 1, @@ -9285,9 +8150,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -9306,7 +8169,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 248 + "__id__": 218 }, "_enabled": true, "_materials": [ @@ -9316,9 +8179,7 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0046d4b2-32de-4dbd-a0e5-3754373d4b0a" - }, + "_spriteFrame": null, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -9330,9 +8191,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "31c8dada-9be1-4349-9739-e7855688ae59" - }, + "_atlas": null, "_id": "" }, { @@ -9351,38 +8210,38 @@ "_name": "progress2", "_objFlags": 0, "_parent": { - "__id__": 159 + "__id__": 129 }, "_children": [ { - "__id__": 255 + "__id__": 225 }, { - "__id__": 263 + "__id__": 233 }, { - "__id__": 271 + "__id__": 241 }, { - "__id__": 279 + "__id__": 249 }, { - "__id__": 287 + "__id__": 257 }, { - "__id__": 295 + "__id__": 265 }, { - "__id__": 303 + "__id__": 273 }, { - "__id__": 311 + "__id__": 281 } ], "_active": false, "_components": [], "_prefab": { - "__id__": 319 + "__id__": 289 }, "_opacity": 255, "_color": { @@ -9436,20 +8295,20 @@ "_name": "one_progress", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 256 + "__id__": 226 }, { - "__id__": 259 + "__id__": 229 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 262 + "__id__": 232 }, "_opacity": 255, "_color": { @@ -9503,17 +8362,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 255 + "__id__": 225 }, "_children": [], "_active": true, "_components": [ { - "__id__": 257 + "__id__": 227 } ], "_prefab": { - "__id__": 258 + "__id__": 228 }, "_opacity": 255, "_color": { @@ -9567,7 +8426,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 256 + "__id__": 226 }, "_enabled": true, "_materials": [ @@ -9610,17 +8469,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 255 + "__id__": 225 }, "_children": [], "_active": true, "_components": [ { - "__id__": 260 + "__id__": 230 } ], "_prefab": { - "__id__": 261 + "__id__": 231 }, "_opacity": 255, "_color": { @@ -9674,7 +8533,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 259 + "__id__": 229 }, "_enabled": true, "_materials": [ @@ -9728,20 +8587,20 @@ "_name": "two_progress", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 264 + "__id__": 234 }, { - "__id__": 267 + "__id__": 237 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 270 + "__id__": 240 }, "_opacity": 255, "_color": { @@ -9795,17 +8654,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 263 + "__id__": 233 }, "_children": [], "_active": true, "_components": [ { - "__id__": 265 + "__id__": 235 } ], "_prefab": { - "__id__": 266 + "__id__": 236 }, "_opacity": 255, "_color": { @@ -9859,7 +8718,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 264 + "__id__": 234 }, "_enabled": true, "_materials": [ @@ -9902,17 +8761,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 263 + "__id__": 233 }, "_children": [], "_active": true, "_components": [ { - "__id__": 268 + "__id__": 238 } ], "_prefab": { - "__id__": 269 + "__id__": 239 }, "_opacity": 255, "_color": { @@ -9966,7 +8825,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 267 + "__id__": 237 }, "_enabled": true, "_materials": [ @@ -10020,20 +8879,20 @@ "_name": "two_progress", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 272 + "__id__": 242 }, { - "__id__": 275 + "__id__": 245 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 278 + "__id__": 248 }, "_opacity": 255, "_color": { @@ -10087,17 +8946,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 271 + "__id__": 241 }, "_children": [], "_active": true, "_components": [ { - "__id__": 273 + "__id__": 243 } ], "_prefab": { - "__id__": 274 + "__id__": 244 }, "_opacity": 255, "_color": { @@ -10151,7 +9010,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 272 + "__id__": 242 }, "_enabled": true, "_materials": [ @@ -10194,17 +9053,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 271 + "__id__": 241 }, "_children": [], "_active": true, "_components": [ { - "__id__": 276 + "__id__": 246 } ], "_prefab": { - "__id__": 277 + "__id__": 247 }, "_opacity": 255, "_color": { @@ -10258,7 +9117,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 275 + "__id__": 245 }, "_enabled": true, "_materials": [ @@ -10312,20 +9171,20 @@ "_name": "two_progress", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 280 + "__id__": 250 }, { - "__id__": 283 + "__id__": 253 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 286 + "__id__": 256 }, "_opacity": 255, "_color": { @@ -10379,17 +9238,17 @@ "_name": "jindut00", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 249 }, "_children": [], "_active": true, "_components": [ { - "__id__": 281 + "__id__": 251 } ], "_prefab": { - "__id__": 282 + "__id__": 252 }, "_opacity": 255, "_color": { @@ -10443,7 +9302,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 280 + "__id__": 250 }, "_enabled": true, "_materials": [ @@ -10486,17 +9345,17 @@ "_name": "progress", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 249 }, "_children": [], "_active": true, "_components": [ { - "__id__": 284 + "__id__": 254 } ], "_prefab": { - "__id__": 285 + "__id__": 255 }, "_opacity": 255, "_color": { @@ -10550,7 +9409,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 283 + "__id__": 253 }, "_enabled": true, "_materials": [ @@ -10604,20 +9463,20 @@ "_name": "one", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 288 + "__id__": 258 }, { - "__id__": 291 + "__id__": 261 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 294 + "__id__": 264 }, "_opacity": 255, "_color": { @@ -10671,17 +9530,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 257 }, "_children": [], "_active": true, "_components": [ { - "__id__": 289 + "__id__": 259 } ], "_prefab": { - "__id__": 290 + "__id__": 260 }, "_opacity": 255, "_color": { @@ -10735,7 +9594,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 288 + "__id__": 258 }, "_enabled": true, "_materials": [ @@ -10778,17 +9637,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 257 }, "_children": [], "_active": true, "_components": [ { - "__id__": 292 + "__id__": 262 } ], "_prefab": { - "__id__": 293 + "__id__": 263 }, "_opacity": 255, "_color": { @@ -10842,7 +9701,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 291 + "__id__": 261 }, "_enabled": true, "_materials": [ @@ -10896,20 +9755,20 @@ "_name": "two", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 296 + "__id__": 266 }, { - "__id__": 299 + "__id__": 269 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 302 + "__id__": 272 }, "_opacity": 255, "_color": { @@ -10963,17 +9822,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 295 + "__id__": 265 }, "_children": [], "_active": true, "_components": [ { - "__id__": 297 + "__id__": 267 } ], "_prefab": { - "__id__": 298 + "__id__": 268 }, "_opacity": 255, "_color": { @@ -11027,7 +9886,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 296 + "__id__": 266 }, "_enabled": true, "_materials": [ @@ -11070,17 +9929,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 295 + "__id__": 265 }, "_children": [], "_active": true, "_components": [ { - "__id__": 300 + "__id__": 270 } ], "_prefab": { - "__id__": 301 + "__id__": 271 }, "_opacity": 255, "_color": { @@ -11134,7 +9993,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 299 + "__id__": 269 }, "_enabled": true, "_materials": [ @@ -11188,20 +10047,20 @@ "_name": "three", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 304 + "__id__": 274 }, { - "__id__": 307 + "__id__": 277 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 310 + "__id__": 280 }, "_opacity": 255, "_color": { @@ -11255,17 +10114,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 303 + "__id__": 273 }, "_children": [], "_active": true, "_components": [ { - "__id__": 305 + "__id__": 275 } ], "_prefab": { - "__id__": 306 + "__id__": 276 }, "_opacity": 255, "_color": { @@ -11319,7 +10178,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 304 + "__id__": 274 }, "_enabled": true, "_materials": [ @@ -11362,17 +10221,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 303 + "__id__": 273 }, "_children": [], "_active": true, "_components": [ { - "__id__": 308 + "__id__": 278 } ], "_prefab": { - "__id__": 309 + "__id__": 279 }, "_opacity": 255, "_color": { @@ -11426,7 +10285,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 307 + "__id__": 277 }, "_enabled": true, "_materials": [ @@ -11480,20 +10339,20 @@ "_name": "four", "_objFlags": 0, "_parent": { - "__id__": 254 + "__id__": 224 }, "_children": [ { - "__id__": 312 + "__id__": 282 }, { - "__id__": 315 + "__id__": 285 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 318 + "__id__": 288 }, "_opacity": 255, "_color": { @@ -11547,17 +10406,17 @@ "_name": "lose", "_objFlags": 0, "_parent": { - "__id__": 311 + "__id__": 281 }, "_children": [], "_active": true, "_components": [ { - "__id__": 313 + "__id__": 283 } ], "_prefab": { - "__id__": 314 + "__id__": 284 }, "_opacity": 255, "_color": { @@ -11611,7 +10470,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 312 + "__id__": 282 }, "_enabled": true, "_materials": [ @@ -11654,17 +10513,17 @@ "_name": "win", "_objFlags": 0, "_parent": { - "__id__": 311 + "__id__": 281 }, "_children": [], "_active": true, "_components": [ { - "__id__": 316 + "__id__": 286 } ], "_prefab": { - "__id__": 317 + "__id__": 287 }, "_opacity": 255, "_color": { @@ -11718,7 +10577,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 315 + "__id__": 285 }, "_enabled": true, "_materials": [ @@ -11783,7 +10642,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 159 + "__id__": 129 }, "_enabled": true, "catUI": { @@ -11811,25 +10670,25 @@ }, "_children": [ { - "__id__": 323 + "__id__": 293 }, { - "__id__": 326 + "__id__": 296 }, { - "__id__": 328 + "__id__": 298 }, { - "__id__": 331 + "__id__": 301 }, { - "__id__": 333 + "__id__": 303 } ], "_active": false, "_components": [], "_prefab": { - "__id__": 336 + "__id__": 306 }, "_opacity": 255, "_color": { @@ -11883,17 +10742,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 322 + "__id__": 292 }, "_children": [], "_active": true, "_components": [ { - "__id__": 324 + "__id__": 294 } ], "_prefab": { - "__id__": 325 + "__id__": 295 }, "_opacity": 255, "_color": { @@ -11947,7 +10806,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 323 + "__id__": 293 }, "_enabled": true, "_materials": [ @@ -11990,13 +10849,13 @@ "_name": "addLevel", "_objFlags": 0, "_parent": { - "__id__": 322 + "__id__": 292 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 327 + "__id__": 297 }, "_opacity": 255, "_color": { @@ -12061,17 +10920,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 322 + "__id__": 292 }, "_children": [], "_active": true, "_components": [ { - "__id__": 329 + "__id__": 299 } ], "_prefab": { - "__id__": 330 + "__id__": 300 }, "_opacity": 255, "_color": { @@ -12125,7 +10984,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 328 + "__id__": 298 }, "_enabled": true, "_materials": [ @@ -12168,13 +11027,13 @@ "_name": "rank", "_objFlags": 0, "_parent": { - "__id__": 322 + "__id__": 292 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 332 + "__id__": 302 }, "_opacity": 255, "_color": { @@ -12239,17 +11098,17 @@ "_name": "cityName", "_objFlags": 0, "_parent": { - "__id__": 322 + "__id__": 292 }, "_children": [], "_active": true, "_components": [ { - "__id__": 334 + "__id__": 304 } ], "_prefab": { - "__id__": 335 + "__id__": 305 }, "_opacity": 255, "_color": { @@ -12303,7 +11162,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 333 + "__id__": 303 }, "_enabled": true, "_materials": [ @@ -12313,9 +11172,7 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "44a5f1c3-9782-4a68-9d1c-f481670fce0c" - }, + "_spriteFrame": null, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -12327,9 +11184,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "942f9428-8f09-459b-b880-ebbc3691b604" - }, + "_atlas": null, "_id": "" }, { @@ -12363,25 +11218,25 @@ }, "_children": [ { - "__id__": 338 + "__id__": 308 }, { - "__id__": 341 + "__id__": 311 }, { - "__id__": 344 + "__id__": 314 }, { - "__id__": 347 + "__id__": 317 }, { - "__id__": 349 + "__id__": 319 } ], "_active": false, "_components": [], "_prefab": { - "__id__": 381 + "__id__": 351 }, "_opacity": 255, "_color": { @@ -12435,17 +11290,17 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 307 }, "_children": [], "_active": true, "_components": [ { - "__id__": 339 + "__id__": 309 } ], "_prefab": { - "__id__": 340 + "__id__": 310 }, "_opacity": 255, "_color": { @@ -12499,7 +11354,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 338 + "__id__": 308 }, "_enabled": true, "_materials": [ @@ -12510,7 +11365,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "ef56330c-96ea-457b-a224-2a33a8794239" + "__uuid__": "a5311341-24a6-4fbc-8df8-4690d02aeaa2" }, "_type": 0, "_sizeMode": 1, @@ -12523,9 +11378,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "69267d2b-bac4-4527-8697-e26f72809be7" - }, + "_atlas": null, "_id": "" }, { @@ -12544,17 +11397,17 @@ "_name": "open", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 307 }, "_children": [], "_active": false, "_components": [ { - "__id__": 342 + "__id__": 312 } ], "_prefab": { - "__id__": 343 + "__id__": 313 }, "_opacity": 255, "_color": { @@ -12608,7 +11461,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 341 + "__id__": 311 }, "_enabled": true, "_materials": [ @@ -12619,7 +11472,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "0db28536-5e1c-480c-9b48-509e1bf5d4e1" + "__uuid__": "b5a74cbb-c6ba-4b6d-9148-13678cb33161" }, "_type": 0, "_sizeMode": 1, @@ -12632,9 +11485,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "69267d2b-bac4-4527-8697-e26f72809be7" - }, + "_atlas": null, "_id": "" }, { @@ -12653,17 +11504,17 @@ "_name": "10", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 307 }, "_children": [], "_active": true, "_components": [ { - "__id__": 345 + "__id__": 315 } ], "_prefab": { - "__id__": 346 + "__id__": 316 }, "_opacity": 255, "_color": { @@ -12717,7 +11568,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 344 + "__id__": 314 }, "_enabled": true, "_materials": [ @@ -12728,7 +11579,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "24d0ba0f-9d03-40ae-a7a7-58fbb812af38" + "__uuid__": "b2f4d215-2ea4-4b74-b86a-af9968a1bee4" }, "_type": 0, "_sizeMode": 1, @@ -12741,9 +11592,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "69267d2b-bac4-4527-8697-e26f72809be7" - }, + "_atlas": null, "_id": "" }, { @@ -12762,13 +11611,13 @@ "_name": "number", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 307 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 348 + "__id__": 318 }, "_opacity": 255, "_color": { @@ -12833,44 +11682,44 @@ "_name": "hammer", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 307 }, "_children": [ { - "__id__": 350 + "__id__": 320 }, { - "__id__": 353 + "__id__": 323 }, { - "__id__": 356 + "__id__": 326 }, { - "__id__": 359 + "__id__": 329 }, { - "__id__": 362 + "__id__": 332 }, { - "__id__": 365 + "__id__": 335 }, { - "__id__": 368 + "__id__": 338 }, { - "__id__": 371 + "__id__": 341 }, { - "__id__": 374 + "__id__": 344 }, { - "__id__": 377 + "__id__": 347 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 380 + "__id__": 350 }, "_opacity": 255, "_color": { @@ -12924,17 +11773,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 351 + "__id__": 321 } ], "_prefab": { - "__id__": 352 + "__id__": 322 }, "_opacity": 255, "_color": { @@ -12988,7 +11837,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 350 + "__id__": 320 }, "_enabled": true, "_materials": [ @@ -12999,7 +11848,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13012,9 +11861,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13033,17 +11880,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 354 + "__id__": 324 } ], "_prefab": { - "__id__": 355 + "__id__": 325 }, "_opacity": 255, "_color": { @@ -13097,7 +11944,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 353 + "__id__": 323 }, "_enabled": true, "_materials": [ @@ -13108,7 +11955,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13121,9 +11968,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13142,17 +11987,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 357 + "__id__": 327 } ], "_prefab": { - "__id__": 358 + "__id__": 328 }, "_opacity": 255, "_color": { @@ -13206,7 +12051,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 356 + "__id__": 326 }, "_enabled": true, "_materials": [ @@ -13217,7 +12062,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13230,9 +12075,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13251,17 +12094,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 360 + "__id__": 330 } ], "_prefab": { - "__id__": 361 + "__id__": 331 }, "_opacity": 255, "_color": { @@ -13315,7 +12158,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 359 + "__id__": 329 }, "_enabled": true, "_materials": [ @@ -13326,7 +12169,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13339,9 +12182,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13360,17 +12201,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 363 + "__id__": 333 } ], "_prefab": { - "__id__": 364 + "__id__": 334 }, "_opacity": 255, "_color": { @@ -13424,7 +12265,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 362 + "__id__": 332 }, "_enabled": true, "_materials": [ @@ -13435,7 +12276,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13448,9 +12289,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13469,17 +12308,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 366 + "__id__": 336 } ], "_prefab": { - "__id__": 367 + "__id__": 337 }, "_opacity": 255, "_color": { @@ -13533,7 +12372,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 365 + "__id__": 335 }, "_enabled": true, "_materials": [ @@ -13544,7 +12383,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13557,9 +12396,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13578,17 +12415,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 369 + "__id__": 339 } ], "_prefab": { - "__id__": 370 + "__id__": 340 }, "_opacity": 255, "_color": { @@ -13642,7 +12479,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 368 + "__id__": 338 }, "_enabled": true, "_materials": [ @@ -13653,7 +12490,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13666,9 +12503,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13687,17 +12522,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 372 + "__id__": 342 } ], "_prefab": { - "__id__": 373 + "__id__": 343 }, "_opacity": 255, "_color": { @@ -13751,7 +12586,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 371 + "__id__": 341 }, "_enabled": true, "_materials": [ @@ -13762,7 +12597,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13775,9 +12610,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13796,17 +12629,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 375 + "__id__": 345 } ], "_prefab": { - "__id__": 376 + "__id__": 346 }, "_opacity": 255, "_color": { @@ -13860,7 +12693,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 374 + "__id__": 344 }, "_enabled": true, "_materials": [ @@ -13871,7 +12704,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13884,9 +12717,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -13905,17 +12736,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 349 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 378 + "__id__": 348 } ], "_prefab": { - "__id__": 379 + "__id__": 349 }, "_opacity": 255, "_color": { @@ -13969,7 +12800,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 377 + "__id__": 347 }, "_enabled": true, "_materials": [ @@ -13980,7 +12811,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2c1683f1-1669-4350-8248-7b246e34b534" + "__uuid__": "38d48664-f448-4a76-8f70-3b8696474ad8" }, "_type": 0, "_sizeMode": 1, @@ -13993,9 +12824,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02" - }, + "_atlas": null, "_id": "" }, { @@ -14040,23 +12869,23 @@ }, "_children": [ { - "__id__": 383 + "__id__": 353 } ], "_active": false, "_components": [ { - "__id__": 387 + "__id__": 357 }, { - "__id__": 388 + "__id__": 358 }, { - "__id__": 389 + "__id__": 359 } ], "_prefab": { - "__id__": 391 + "__id__": 361 }, "_opacity": 255, "_color": { @@ -14110,20 +12939,20 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 352 }, "_children": [], "_active": true, "_components": [ { - "__id__": 384 + "__id__": 354 }, { - "__id__": 385 + "__id__": 355 } ], "_prefab": { - "__id__": 386 + "__id__": 356 }, "_opacity": 50, "_color": { @@ -14177,7 +13006,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 383 + "__id__": 353 }, "_enabled": true, "_materials": [ @@ -14209,7 +13038,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 383 + "__id__": 353 }, "_enabled": true, "alignMode": 1, @@ -14247,7 +13076,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 382 + "__id__": 352 }, "_enabled": true, "alignMode": 1, @@ -14274,7 +13103,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 382 + "__id__": 352 }, "_enabled": true, "_id": "" @@ -14284,7 +13113,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 382 + "__id__": 352 }, "_enabled": true, "_normalMaterial": null, @@ -14293,7 +13122,7 @@ "zoomScale": 1.2, "clickEvents": [ { - "__id__": 390 + "__id__": 360 } ], "_N$interactable": true, @@ -14349,7 +13178,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 382 + "__id__": 352 }, "_id": "" }, @@ -14383,22 +13212,22 @@ }, "_children": [ { - "__id__": 393 + "__id__": 363 }, { - "__id__": 397 + "__id__": 367 }, { - "__id__": 400 + "__id__": 370 }, { - "__id__": 408 + "__id__": 378 } ], "_active": false, "_components": [], "_prefab": { - "__id__": 416 + "__id__": 386 }, "_opacity": 255, "_color": { @@ -14452,20 +13281,20 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 392 + "__id__": 362 }, "_children": [], "_active": true, "_components": [ { - "__id__": 394 + "__id__": 364 }, { - "__id__": 395 + "__id__": 365 } ], "_prefab": { - "__id__": 396 + "__id__": 366 }, "_opacity": 200, "_color": { @@ -14519,7 +13348,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 393 + "__id__": 363 }, "_enabled": true, "_materials": [ @@ -14551,7 +13380,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 393 + "__id__": 363 }, "_enabled": true, "_id": "" @@ -14572,17 +13401,17 @@ "_name": "special_tips", "_objFlags": 0, "_parent": { - "__id__": 392 + "__id__": 362 }, "_children": [], "_active": true, "_components": [ { - "__id__": 398 + "__id__": 368 } ], "_prefab": { - "__id__": 399 + "__id__": 369 }, "_opacity": 255, "_color": { @@ -14636,7 +13465,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 397 + "__id__": 367 }, "_enabled": true, "_materials": [ @@ -14647,7 +13476,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "97821dd6-5f27-42b5-85ac-aebdc868c994" + "__uuid__": "a678a67f-30af-4298-be52-acb0268ba166" }, "_type": 0, "_sizeMode": 1, @@ -14679,21 +13508,21 @@ "_name": "specialCloseBtn", "_objFlags": 0, "_parent": { - "__id__": 392 + "__id__": 362 }, "_children": [ { - "__id__": 401 + "__id__": 371 } ], "_active": true, "_components": [ { - "__id__": 405 + "__id__": 375 } ], "_prefab": { - "__id__": 407 + "__id__": 377 }, "_opacity": 255, "_color": { @@ -14747,20 +13576,20 @@ "_name": "Background", "_objFlags": 512, "_parent": { - "__id__": 400 + "__id__": 370 }, "_children": [], "_active": true, "_components": [ { - "__id__": 402 + "__id__": 372 }, { - "__id__": 403 + "__id__": 373 } ], "_prefab": { - "__id__": 404 + "__id__": 374 }, "_opacity": 255, "_color": { @@ -14772,8 +13601,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 114, - "height": 114 + "width": 152, + "height": 173 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -14791,8 +13620,8 @@ 0, 0, 1, - 1, - 1, + 0.8, + 0.8, 0 ] }, @@ -14814,7 +13643,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 401 + "__id__": 371 }, "_enabled": true, "_materials": [ @@ -14825,9 +13654,9 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "24417002-6e72-4d4d-96e3-6117d8420e9b" + "__uuid__": "4eb76a13-bdd5-44cb-975d-32fd4900be79" }, - "_type": 1, + "_type": 0, "_sizeMode": 0, "_fillType": 0, "_fillCenter": { @@ -14846,16 +13675,16 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 401 + "__id__": 371 }, - "_enabled": true, + "_enabled": false, "alignMode": 0, "_target": null, "_alignFlags": 45, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, + "_left": -19, + "_right": -19, + "_top": -29.5, + "_bottom": -29.5, "_verticalCenter": 0, "_horizontalCenter": 0, "_isAbsLeft": true, @@ -14884,7 +13713,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 400 + "__id__": 370 }, "_enabled": true, "_normalMaterial": null, @@ -14893,7 +13722,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 406 + "__id__": 376 } ], "_N$interactable": true, @@ -14961,7 +13790,7 @@ "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" }, "_N$target": { - "__id__": 401 + "__id__": 371 }, "_id": "" }, @@ -14991,24 +13820,24 @@ "_name": "specialStartBtn", "_objFlags": 0, "_parent": { - "__id__": 392 + "__id__": 362 }, "_children": [ { - "__id__": 409 + "__id__": 379 } ], "_active": true, "_components": [ { - "__id__": 412 + "__id__": 382 }, { - "__id__": 414 + "__id__": 384 } ], "_prefab": { - "__id__": 415 + "__id__": 385 }, "_opacity": 255, "_color": { @@ -15062,17 +13891,17 @@ "_name": "bg", "_objFlags": 512, "_parent": { - "__id__": 408 + "__id__": 378 }, "_children": [], "_active": true, "_components": [ { - "__id__": 410 + "__id__": 380 } ], "_prefab": { - "__id__": 411 + "__id__": 381 }, "_opacity": 255, "_color": { @@ -15126,7 +13955,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 409 + "__id__": 379 }, "_enabled": true, "_materials": [ @@ -15137,7 +13966,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "31275365-33e9-4385-a5b8-12591bff5777" + "__uuid__": "6d85ed26-23ca-4542-95de-8dd1099c9d32" }, "_type": 0, "_sizeMode": 1, @@ -15150,9 +13979,7 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "47879de8-fd9a-46e0-ae2c-1fa8c475a196" - }, + "_atlas": null, "_id": "" }, { @@ -15171,7 +13998,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 408 + "__id__": 378 }, "_enabled": true, "_normalMaterial": null, @@ -15180,7 +14007,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 413 + "__id__": 383 } ], "_N$interactable": true, @@ -15236,7 +14063,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 408 + "__id__": 378 }, "_id": "" }, @@ -15255,7 +14082,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 408 + "__id__": 378 }, "_enabled": true, "_id": "" diff --git a/assets/win/texture/10.png b/assets/win/texture/10.png new file mode 100644 index 00000000..84f38c4b Binary files /dev/null and b/assets/win/texture/10.png differ diff --git a/assets/Transfer/img/dagou.png.meta b/assets/win/texture/10.png.meta similarity index 65% rename from assets/Transfer/img/dagou.png.meta rename to assets/win/texture/10.png.meta index 4485a78c..265f06a0 100644 --- a/assets/Transfer/img/dagou.png.meta +++ b/assets/win/texture/10.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "38e6fdbe-a9d0-4535-98eb-46f9c1b98c0b", + "uuid": "9b631479-63b7-4e58-938e-d5fc53e9bb3b", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 154, - "height": 94, + "width": 78, + "height": 35, "platformSettings": {}, "subMetas": { - "dagou": { + "10": { "ver": "1.0.6", - "uuid": "ffa83e8b-dc04-4894-9db7-08a8785d2829", + "uuid": "b2f4d215-2ea4-4b74-b86a-af9968a1bee4", "importer": "sprite-frame", - "rawTextureUuid": "38e6fdbe-a9d0-4535-98eb-46f9c1b98c0b", + "rawTextureUuid": "9b631479-63b7-4e58-938e-d5fc53e9bb3b", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,10 +24,10 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 154, - "height": 94, - "rawWidth": 154, - "rawHeight": 94, + "width": 78, + "height": 35, + "rawWidth": 78, + "rawHeight": 35, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/win/texture/action_hammer.png b/assets/win/texture/action_hammer.png new file mode 100644 index 00000000..546430a5 Binary files /dev/null and b/assets/win/texture/action_hammer.png differ diff --git a/assets/Transfer/img/queding.png.meta b/assets/win/texture/action_hammer.png.meta similarity index 64% rename from assets/Transfer/img/queding.png.meta rename to assets/win/texture/action_hammer.png.meta index c39abc6e..d74ea790 100644 --- a/assets/Transfer/img/queding.png.meta +++ b/assets/win/texture/action_hammer.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "32d3eca1-e851-454d-97c2-8e32fbf2009f", + "uuid": "541b82b1-4321-43ca-918f-6da06ed13a37", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 472, - "height": 162, + "width": 76, + "height": 79, "platformSettings": {}, "subMetas": { - "queding": { + "action_hammer": { "ver": "1.0.6", - "uuid": "b67d58c6-ce4d-4d42-9ad7-d226f6648769", + "uuid": "38d48664-f448-4a76-8f70-3b8696474ad8", "importer": "sprite-frame", - "rawTextureUuid": "32d3eca1-e851-454d-97c2-8e32fbf2009f", + "rawTextureUuid": "541b82b1-4321-43ca-918f-6da06ed13a37", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,10 +24,10 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 472, - "height": 162, - "rawWidth": 472, - "rawHeight": 162, + "width": 76, + "height": 79, + "rawWidth": 76, + "rawHeight": 79, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/win/texture/beginBg.png b/assets/win/texture/beginBg.png new file mode 100644 index 00000000..cebaa2f2 Binary files /dev/null and b/assets/win/texture/beginBg.png differ diff --git a/assets/win/texture/beginBg.png.meta b/assets/win/texture/beginBg.png.meta new file mode 100644 index 00000000..40a4ef90 --- /dev/null +++ b/assets/win/texture/beginBg.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "bde261da-098a-4dbf-b2ec-f3a45e6e1916", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 955, + "height": 240, + "platformSettings": {}, + "subMetas": { + "beginBg": { + "ver": "1.0.6", + "uuid": "a5311341-24a6-4fbc-8df8-4690d02aeaa2", + "importer": "sprite-frame", + "rawTextureUuid": "bde261da-098a-4dbf-b2ec-f3a45e6e1916", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 955, + "height": 240, + "rawWidth": 955, + "rawHeight": 240, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/win/texture/beijing.png b/assets/win/texture/beijing.png deleted file mode 100644 index 5be1a0fb..00000000 Binary files a/assets/win/texture/beijing.png and /dev/null differ diff --git a/assets/win/texture/beijing.png.meta b/assets/win/texture/beijing.png.meta deleted file mode 100644 index cece30d4..00000000 --- a/assets/win/texture/beijing.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "a5866461-9638-4707-aad4-91536603a5ff", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 886, - "height": 751, - "platformSettings": {}, - "subMetas": { - "beijing": { - "ver": "1.0.6", - "uuid": "a0582e13-8186-431c-9ce1-e8e6c2d87b36", - "importer": "sprite-frame", - "rawTextureUuid": "a5866461-9638-4707-aad4-91536603a5ff", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 0, - "trimY": 0, - "width": 886, - "height": 751, - "rawWidth": 886, - "rawHeight": 751, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/win/texture/biankuang.png b/assets/win/texture/biankuang.png new file mode 100644 index 00000000..6f7ec432 Binary files /dev/null and b/assets/win/texture/biankuang.png differ diff --git a/assets/win/texture/biankuang.png.meta b/assets/win/texture/biankuang.png.meta new file mode 100644 index 00000000..9d2b4e70 --- /dev/null +++ b/assets/win/texture/biankuang.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "5364c74e-0e69-4875-8142-882b06ee8f1d", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 398, + "height": 102, + "platformSettings": {}, + "subMetas": { + "biankuang": { + "ver": "1.0.6", + "uuid": "6e82f565-170d-46a1-9d38-6f1d72d5b236", + "importer": "sprite-frame", + "rawTextureUuid": "5364c74e-0e69-4875-8142-882b06ee8f1d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 398, + "height": 102, + "rawWidth": 398, + "rawHeight": 102, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/win/texture/caidai.png b/assets/win/texture/caidai.png new file mode 100644 index 00000000..ce3f7a36 Binary files /dev/null and b/assets/win/texture/caidai.png differ diff --git a/assets/win/texture/caidai.png.meta b/assets/win/texture/caidai.png.meta new file mode 100644 index 00000000..4483bfcd --- /dev/null +++ b/assets/win/texture/caidai.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "127e134e-5a99-41c3-bdac-476907559f3b", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 955, + "height": 552, + "platformSettings": {}, + "subMetas": { + "caidai": { + "ver": "1.0.6", + "uuid": "b31631c0-64e2-469a-a7e7-caa31273f778", + "importer": "sprite-frame", + "rawTextureUuid": "127e134e-5a99-41c3-bdac-476907559f3b", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 955, + "height": 552, + "rawWidth": 955, + "rawHeight": 552, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/win/texture/coins4.png b/assets/win/texture/coins4.png deleted file mode 100644 index 71964433..00000000 Binary files a/assets/win/texture/coins4.png and /dev/null differ diff --git a/assets/win/texture/coins4.png.meta b/assets/win/texture/coins4.png.meta deleted file mode 100644 index 922a3e09..00000000 --- a/assets/win/texture/coins4.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "33008188-f974-4b45-8b94-a0a52440d614", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 171, - "height": 191, - "platformSettings": {}, - "subMetas": { - "coins4": { - "ver": "1.0.6", - "uuid": "7a7c6225-ca97-4991-96dd-32f62148560b", - "importer": "sprite-frame", - "rawTextureUuid": "33008188-f974-4b45-8b94-a0a52440d614", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 1.5, - "offsetY": 1, - "trimX": 3, - "trimY": 0, - "width": 168, - "height": 189, - "rawWidth": 171, - "rawHeight": 191, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/win/texture/didi.png b/assets/win/texture/didi.png index 138b0d78..27a3fe98 100644 Binary files a/assets/win/texture/didi.png and b/assets/win/texture/didi.png differ diff --git a/assets/win/texture/didi.png.meta b/assets/win/texture/didi.png.meta index 5fcb45da..a07d557c 100644 --- a/assets/win/texture/didi.png.meta +++ b/assets/win/texture/didi.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "4b229fee-4539-4ac7-8cd7-6f676dc899dd", + "uuid": "629412ef-1203-4429-9ca3-20df212c7688", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,26 +8,26 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 731, - "height": 456, + "width": 800, + "height": 331, "platformSettings": {}, "subMetas": { "didi": { "ver": "1.0.6", - "uuid": "11a46516-902b-4b56-9dd7-a86c4d7a0b8f", + "uuid": "22970d86-b72a-46ed-a706-013058bdadcd", "importer": "sprite-frame", - "rawTextureUuid": "4b229fee-4539-4ac7-8cd7-6f676dc899dd", + "rawTextureUuid": "629412ef-1203-4429-9ca3-20df212c7688", "trimType": "auto", "trimThreshold": 1, "rotated": false, "offsetX": 0, - "offsetY": -0.5, + "offsetY": 0, "trimX": 0, - "trimY": 1, - "width": 731, - "height": 455, - "rawWidth": 731, - "rawHeight": 456, + "trimY": 0, + "width": 800, + "height": 331, + "rawWidth": 800, + "rawHeight": 331, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/win/texture/dijiguan.png b/assets/win/texture/dijiguan.png new file mode 100644 index 00000000..c92cecd8 Binary files /dev/null and b/assets/win/texture/dijiguan.png differ diff --git a/assets/Transfer/img/wenwen.png.meta b/assets/win/texture/dijiguan.png.meta similarity index 71% rename from assets/Transfer/img/wenwen.png.meta rename to assets/win/texture/dijiguan.png.meta index f8e18394..21343a9b 100644 --- a/assets/Transfer/img/wenwen.png.meta +++ b/assets/win/texture/dijiguan.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "f086fc5e-7785-49c0-a85b-2286e9713bb4", + "uuid": "7a934a7d-76e7-4c9d-a59f-48ce23ef91bf", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 185, + "width": 255, "height": 43, "platformSettings": {}, "subMetas": { - "wenwen": { + "dijiguan": { "ver": "1.0.6", - "uuid": "99181bee-c081-4432-80c8-29944a833560", + "uuid": "5581af68-ce17-4945-8bf3-61995fc9489f", "importer": "sprite-frame", - "rawTextureUuid": "f086fc5e-7785-49c0-a85b-2286e9713bb4", + "rawTextureUuid": "7a934a7d-76e7-4c9d-a59f-48ce23ef91bf", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,9 +24,9 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 185, + "width": 255, "height": 43, - "rawWidth": 185, + "rawWidth": 255, "rawHeight": 43, "borderTop": 0, "borderBottom": 0, diff --git a/assets/win/texture/dikuang.png b/assets/win/texture/dikuang.png deleted file mode 100644 index 4b2f3d9f..00000000 Binary files a/assets/win/texture/dikuang.png and /dev/null differ diff --git a/assets/win/texture/guankazi.png b/assets/win/texture/guankazi.png deleted file mode 100644 index c99b3916..00000000 Binary files a/assets/win/texture/guankazi.png and /dev/null differ diff --git a/assets/win/texture/guankazi.png.meta b/assets/win/texture/guankazi.png.meta deleted file mode 100644 index d2327fbc..00000000 --- a/assets/win/texture/guankazi.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "e4d33a12-b7d5-426c-b18f-dce77bac6284", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 273, - "height": 43, - "platformSettings": {}, - "subMetas": { - "guankazi": { - "ver": "1.0.6", - "uuid": "24ff9a44-e823-4719-adb8-342c21576487", - "importer": "sprite-frame", - "rawTextureUuid": "e4d33a12-b7d5-426c-b18f-dce77bac6284", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 0, - "trimY": 0, - "width": 273, - "height": 43, - "rawWidth": 273, - "rawHeight": 43, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/win/texture/kuang_1.png b/assets/win/texture/kuang_1.png deleted file mode 100644 index bce3731b..00000000 Binary files a/assets/win/texture/kuang_1.png and /dev/null differ diff --git a/assets/win/texture/kuang_1.png.meta b/assets/win/texture/kuang_1.png.meta deleted file mode 100644 index 0d290902..00000000 --- a/assets/win/texture/kuang_1.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "26322c09-58ae-4fae-9415-f15e51e73975", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 160, - "height": 160, - "platformSettings": {}, - "subMetas": { - "kuang_1": { - "ver": "1.0.6", - "uuid": "2c45455a-f594-48e7-8816-ea14691d979f", - "importer": "sprite-frame", - "rawTextureUuid": "26322c09-58ae-4fae-9415-f15e51e73975", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 0, - "trimY": 0, - "width": 160, - "height": 160, - "rawWidth": 160, - "rawHeight": 160, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/win/texture/meijinbi.png b/assets/win/texture/meijinbi.png deleted file mode 100644 index 5b2c4740..00000000 Binary files a/assets/win/texture/meijinbi.png and /dev/null differ diff --git a/assets/win/texture/next.png b/assets/win/texture/next.png index 11d1cdcc..ce6df913 100644 Binary files a/assets/win/texture/next.png and b/assets/win/texture/next.png differ diff --git a/assets/win/texture/next.png.meta b/assets/win/texture/next.png.meta index f2dffc97..f1c8d1d9 100644 --- a/assets/win/texture/next.png.meta +++ b/assets/win/texture/next.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "a530d2f0-4c56-4af9-aa97-6bc7de0fb831", + "uuid": "93f44c2f-574a-4393-babf-5f244102dcba", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 562, - "height": 166, + "width": 552, + "height": 160, "platformSettings": {}, "subMetas": { "next": { "ver": "1.0.6", - "uuid": "6023ac68-4497-47b2-a51c-0bcbdfead49c", + "uuid": "fa8cdf08-57da-4b78-b1d5-bd7da1c69b88", "importer": "sprite-frame", - "rawTextureUuid": "a530d2f0-4c56-4af9-aa97-6bc7de0fb831", + "rawTextureUuid": "93f44c2f-574a-4393-babf-5f244102dcba", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,10 +24,10 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 562, - "height": 166, - "rawWidth": 562, - "rawHeight": 166, + "width": 552, + "height": 160, + "rawWidth": 552, + "rawHeight": 160, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/win/texture/ninyihuode.png b/assets/win/texture/ninyihuode.png deleted file mode 100644 index ba07f501..00000000 Binary files a/assets/win/texture/ninyihuode.png and /dev/null differ diff --git a/assets/win/texture/ninyihuode.png.meta b/assets/win/texture/ninyihuode.png.meta deleted file mode 100644 index 113da0e0..00000000 --- a/assets/win/texture/ninyihuode.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "39ba74d7-2d44-4abf-b3ca-57cab2347e2f", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 189, - "height": 43, - "platformSettings": {}, - "subMetas": { - "ninyihuode": { - "ver": "1.0.6", - "uuid": "2cda37a0-a836-45e6-9658-c2d7d9c897e4", - "importer": "sprite-frame", - "rawTextureUuid": "39ba74d7-2d44-4abf-b3ca-57cab2347e2f", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 0, - "trimY": 0, - "width": 189, - "height": 43, - "rawWidth": 189, - "rawHeight": 43, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/win/texture/quit.png b/assets/win/texture/quit.png index 3dabff46..67f6c35a 100644 Binary files a/assets/win/texture/quit.png and b/assets/win/texture/quit.png differ diff --git a/assets/win/texture/quit.png.meta b/assets/win/texture/quit.png.meta index bcfb6346..136d40cd 100644 --- a/assets/win/texture/quit.png.meta +++ b/assets/win/texture/quit.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "c8d226a4-c94b-4e63-8ff2-77e425df09ee", + "uuid": "5147d179-75d9-4f30-a6cc-8b5cce7d8955", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 154, - "height": 162, + "width": 144, + "height": 158, "platformSettings": {}, "subMetas": { "quit": { "ver": "1.0.6", - "uuid": "3cc81ca8-8d45-4cbe-a331-01d750a0ebe6", + "uuid": "c61298cc-4d4f-4f30-8530-5ffe0c9de144", "importer": "sprite-frame", - "rawTextureUuid": "c8d226a4-c94b-4e63-8ff2-77e425df09ee", + "rawTextureUuid": "5147d179-75d9-4f30-a6cc-8b5cce7d8955", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,10 +24,10 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 154, - "height": 162, - "rawWidth": 154, - "rawHeight": 162, + "width": 144, + "height": 158, + "rawWidth": 144, + "rawHeight": 158, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/win/texture/shengXiao.png b/assets/win/texture/shengXiao.png new file mode 100644 index 00000000..fe71bb9c Binary files /dev/null and b/assets/win/texture/shengXiao.png differ diff --git a/assets/win/texture/shengXiao.png.meta b/assets/win/texture/shengXiao.png.meta new file mode 100644 index 00000000..d79b7605 --- /dev/null +++ b/assets/win/texture/shengXiao.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "55b77ed4-99b8-4d09-a461-70fa55fb6292", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 224, + "height": 42, + "platformSettings": {}, + "subMetas": { + "shengXiao": { + "ver": "1.0.6", + "uuid": "b5a74cbb-c6ba-4b6d-9148-13678cb33161", + "importer": "sprite-frame", + "rawTextureUuid": "55b77ed4-99b8-4d09-a461-70fa55fb6292", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 224, + "height": 42, + "rawWidth": 224, + "rawHeight": 42, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/win/texture/special_tips.png b/assets/win/texture/special_tips.png new file mode 100644 index 00000000..69fc5786 Binary files /dev/null and b/assets/win/texture/special_tips.png differ diff --git a/assets/Transfer/img/t.png.meta b/assets/win/texture/special_tips.png.meta similarity index 59% rename from assets/Transfer/img/t.png.meta rename to assets/win/texture/special_tips.png.meta index 617f9c70..5ec87b09 100644 --- a/assets/Transfer/img/t.png.meta +++ b/assets/win/texture/special_tips.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "134cf448-e243-41ae-abe2-01bb8e7d18ef", + "uuid": "79afa96d-1a58-481d-9c9a-40621225615d", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,26 +8,26 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 382, - "height": 768, + "width": 900, + "height": 1249, "platformSettings": {}, "subMetas": { - "t": { + "special_tips": { "ver": "1.0.6", - "uuid": "bf963e54-1059-497f-891f-1548d727f501", + "uuid": "a678a67f-30af-4298-be52-acb0268ba166", "importer": "sprite-frame", - "rawTextureUuid": "134cf448-e243-41ae-abe2-01bb8e7d18ef", + "rawTextureUuid": "79afa96d-1a58-481d-9c9a-40621225615d", "trimType": "auto", "trimThreshold": 1, "rotated": false, "offsetX": 0, - "offsetY": 0, + "offsetY": 0.5, "trimX": 1, - "trimY": 1, - "width": 380, - "height": 766, - "rawWidth": 382, - "rawHeight": 768, + "trimY": 0, + "width": 898, + "height": 1248, + "rawWidth": 900, + "rawHeight": 1249, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, diff --git a/assets/win/texture/start.png b/assets/win/texture/start.png new file mode 100644 index 00000000..9da15a4e Binary files /dev/null and b/assets/win/texture/start.png differ diff --git a/assets/Transfer/img/zuzuzizi.png.meta b/assets/win/texture/start.png.meta similarity index 64% rename from assets/Transfer/img/zuzuzizi.png.meta rename to assets/win/texture/start.png.meta index d8cf78d8..a25ea0c7 100644 --- a/assets/Transfer/img/zuzuzizi.png.meta +++ b/assets/win/texture/start.png.meta @@ -1,6 +1,6 @@ { "ver": "2.3.7", - "uuid": "6d2ad101-e828-4c96-885e-e2c3a6b2be17", + "uuid": "7ed98ae8-107b-46ca-aa20-508f1fdabdf4", "importer": "texture", "type": "sprite", "wrapMode": "clamp", @@ -8,15 +8,15 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 310, - "height": 86, + "width": 636, + "height": 173, "platformSettings": {}, "subMetas": { - "zuzuzizi": { + "start": { "ver": "1.0.6", - "uuid": "ea47b8ce-a1ca-4c66-9da9-31c56a460fdd", + "uuid": "6d85ed26-23ca-4542-95de-8dd1099c9d32", "importer": "sprite-frame", - "rawTextureUuid": "6d2ad101-e828-4c96-885e-e2c3a6b2be17", + "rawTextureUuid": "7ed98ae8-107b-46ca-aa20-508f1fdabdf4", "trimType": "auto", "trimThreshold": 1, "rotated": false, @@ -24,10 +24,10 @@ "offsetY": 0, "trimX": 0, "trimY": 0, - "width": 310, - "height": 86, - "rawWidth": 310, - "rawHeight": 86, + "width": 636, + "height": 173, + "rawWidth": 636, + "rawHeight": 173, "borderTop": 0, "borderBottom": 0, "borderLeft": 0,