From 919eab701ba3537ba29a6dfa23956dc07ea69d4d Mon Sep 17 00:00:00 2001 From: "YZ\\249929363" <249929363@qq.com> Date: Thu, 10 Jul 2025 11:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Scene/GameScene.fire | 4110 ++++++++++---------- assets/Script/Block.ts | 15 +- assets/Script/GameManager.ts | 2 + assets/Script/Load.ts | 14 +- assets/Script/Map.ts | 155 +- assets/Script/SceneManager.ts | 16 +- assets/Script/Sdk/MiniGameSdk.ts | 32 + assets/Script/module/Config/GameConfig.ts | 2 +- assets/Script/module/Music/AudioManager.ts | 1 + assets/Script/module/Tool/GameTool.ts | 39 +- assets/Script/prop/Boom.ts | 3 +- assets/Script/prop/Freeze.ts | 2 +- assets/resources/Json/level220.json | 388 ++ assets/resources/Json/level220.json.meta | 6 + assets/resources/Json/level243.json | 409 +- assets/shop/script/shop.ts | 5 +- 16 files changed, 2836 insertions(+), 2363 deletions(-) create mode 100644 assets/resources/Json/level220.json create mode 100644 assets/resources/Json/level220.json.meta diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 969dcb8..1a220eb 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -4357,10 +4357,10 @@ "__id__": 113 }, { - "__id__": 130 + "__id__": 122 }, { - "__id__": 156 + "__id__": 139 }, { "__id__": 165 @@ -5394,7 +5394,7 @@ }, { "__type__": "cc.Node", - "_name": "buy_Btn", + "_name": "magic", "_objFlags": 0, "_parent": { "__id__": 91 @@ -5411,2046 +5411,6 @@ }, { "__id__": 120 - }, - { - "__id__": 122 - }, - { - "__id__": 124 - } - ], - "_active": true, - "_components": [ - { - "__id__": 126 - }, - { - "__id__": 127 - }, - { - "__id__": 129 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 519, - "height": 168 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -478.086, - 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": "cbllED8F9AHbQ/HaHPQ5eH" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 113 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 115 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 148, - "height": 74 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -124.147, - 10.911, - 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": "8017yECe5O0qWvWe81/tNA" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 114 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0ba8f5d4-9e99-4a3d-9fe6-2b20531de796" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "achoaxlhFGqYBCO5eYD8A6" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 113 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 117 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 70, - "height": 71 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -6.895, - 6.365, - 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": "88rai5XRRHIqOSy+FhqKBt" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 116 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "239f5193-a287-40ec-8887-5108d59b569c" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "c4XcNxmedIJoBojG4ao+GQ" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 113 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 119 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 32, - "height": 61 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 52.523, - 6.769, - 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": "9390ML33BHqonvVKSHxVPp" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 118 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "01b33f17-a428-4b45-bd9d-6879f3e80d4d" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "4eVK7t9YhD6YnO9+lDUnzV" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 113 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 121 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 44, - "height": 59 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 89.824, - 6.769, - 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": "b9A66VEJFJ4YFA6hohTsLO" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 120 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "cc8de5c6-9230-4842-9f4a-f2ad5e3f4615" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "87pAi0qJBIRoNBoSwwkGej" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 113 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 123 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 47, - "height": 59 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 135.698, - 6.769, - 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": "df20kyoz5NQLzTx3IGLIy+" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 122 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "feuBCp+MRKTbZleYgXcc/f" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 113 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 125 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 47, - "height": 59 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 182.525, - 6.769, - 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": "6a2skd44dNnJMztX/s5YG8" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 124 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "96jP0SeCBIMLz5wwbGJcUT" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 113 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "84227ef3-933f-4be0-a2d5-1e466b23134f" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "30eJu0NNlEpZS35tnvpOuc" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 113 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.1, - "clickEvents": [ - { - "__id__": 128 - } - ], - "_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__": 113 - }, - "_id": "3dIBlmgnFLIKI+Rx3mWLiH" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 2 - }, - "component": "", - "_componentId": "80998T1AYNNRZdRxsVvXR65", - "handler": "clickBtn", - "customEventData": "" - }, - { - "__type__": "6ee6czJ4eVNb4Feiqps5SIa", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 113 - }, - "_enabled": true, - "_id": "f9YC9UOyxPc4DLFd+bNIec" - }, - { - "__type__": "cc.Node", - "_name": "hammer", - "_objFlags": 0, - "_parent": { - "__id__": 91 - }, - "_children": [ - { - "__id__": 131 - }, - { - "__id__": 133 - }, - { - "__id__": 135 - }, - { - "__id__": 137 - }, - { - "__id__": 139 - } - ], - "_active": false, - "_components": [], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 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": "78JrwC6KJKp7MrMcRq8D3n" - }, - { - "__type__": "cc.Node", - "_name": "hammer_Label", - "_objFlags": 0, - "_parent": { - "__id__": 130 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 132 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 605, - "height": 188 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -179.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": "3brc7mz/1Nirk9RftN8oPH" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 131 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0506afca-61b7-4335-909a-d891c8c1f15c" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "364h1RUedOC7U8hbCE/7QP" - }, - { - "__type__": "cc.Node", - "_name": "hammer_Icon", - "_objFlags": 0, - "_parent": { - "__id__": 130 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 134 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 320, - "height": 310 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 247.271, - 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": "6cy6thVFBPGaVdx9ub7c87" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 133 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "adcbd990-b677-4645-8cca-f1b0b6ff1e1d" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "3c2lV4GMtD9pFnwXEnt6GI" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 130 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 136 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 50, - "height": 77 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 56.979, - 109, - 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": "d7/QXvN2hFE47p+plIsunr" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 135 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "44e66484-2774-4deb-a017-4c88eaf6341e" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "34U5I7GENKlIIl/E7Cfh3o" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 130 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 138 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 35, - "height": 97 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 112.086, - 116.741, - 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": "6epL2IaxRHurKC0/kZFGUC" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 137 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "bd32bddb-8d8c-4bce-894a-aef7171d5c05" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "0dn6FdnI5P4rRM7vLw9O0j" - }, - { - "__type__": "cc.Node", - "_name": "buy_Btn", - "_objFlags": 0, - "_parent": { - "__id__": 130 - }, - "_children": [ - { - "__id__": 140 - }, - { - "__id__": 142 - }, - { - "__id__": 144 - }, - { - "__id__": 146 - }, - { - "__id__": 148 - }, - { - "__id__": 150 - } - ], - "_active": true, - "_components": [ - { - "__id__": 152 - }, - { - "__id__": 153 - }, - { - "__id__": 155 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 519, - "height": 168 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -478.086, - 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": "1fdcbYcmZFPLm+I7RdGR/e" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 141 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 148, - "height": 74 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -124.147, - 10.911, - 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": "3bPoFR7GtIH5GH1Mc64RD6" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 140 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0ba8f5d4-9e99-4a3d-9fe6-2b20531de796" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "a5TNGK0nlDi7wmP+UfQkcd" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 143 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 70, - "height": 71 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -6.895, - 6.365, - 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": "fcdo+2SytBs7bqcp7+Jotg" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 142 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "239f5193-a287-40ec-8887-5108d59b569c" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "6ajd3l4ydA4abcsdo8LS8c" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 145 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 32, - "height": 61 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 52.523, - 6.769, - 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": "ccpnfbPbdIbZZJVy5NN3rN" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 144 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "01b33f17-a428-4b45-bd9d-6879f3e80d4d" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "19U0P8VlJEFZLXAzzB/8Nt" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 147 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 47, - "height": 59 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 89.824, - 6.769, - 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": "27/C78tzJBkbBx1vClWdoP" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 146 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "26ubvoNQRDAL/0oeYMDSN8" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 149 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 47, - "height": 59 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 135.698, - 6.769, - 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": "780CCNeF9LA6O1XDIKCbkL" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 148 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "42o6869WFLi54dPzXSC5YJ" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 151 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 47, - "height": 59 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 182.525, - 6.769, - 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": "ddx4U8CklP9rf20PAqwKWU" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 150 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" - }, - "_id": "97FUpAA9RO2p31vO5w26ep" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 139 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "84227ef3-933f-4be0-a2d5-1e466b23134f" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" - }, - "_id": "96T6AOwvxJDIFxcAHw4cJE" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 139 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.1, - "clickEvents": [ - { - "__id__": 154 - } - ], - "_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__": 139 - }, - "_id": "aaBeBRIoBPBo8wK0iKoahB" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 2 - }, - "component": "", - "_componentId": "80998T1AYNNRZdRxsVvXR65", - "handler": "clickBtn", - "customEventData": "" - }, - { - "__type__": "6ee6czJ4eVNb4Feiqps5SIa", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 139 - }, - "_enabled": true, - "_id": "318KKS2v9PSZbJ1P9wYti5" - }, - { - "__type__": "cc.Node", - "_name": "magic", - "_objFlags": 0, - "_parent": { - "__id__": 91 - }, - "_children": [ - { - "__id__": 157 - }, - { - "__id__": 159 - }, - { - "__id__": 161 - }, - { - "__id__": 163 } ], "_active": false, @@ -7508,13 +5468,13 @@ "_name": "magic_Label", "_objFlags": 0, "_parent": { - "__id__": 156 + "__id__": 113 }, "_children": [], "_active": true, "_components": [ { - "__id__": 158 + "__id__": 115 } ], "_prefab": null, @@ -7570,7 +5530,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 157 + "__id__": 114 }, "_enabled": true, "_materials": [ @@ -7604,13 +5564,13 @@ "_name": "magic_Icon", "_objFlags": 0, "_parent": { - "__id__": 156 + "__id__": 113 }, "_children": [], "_active": true, "_components": [ { - "__id__": 160 + "__id__": 117 } ], "_prefab": null, @@ -7666,7 +5626,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 159 + "__id__": 116 }, "_enabled": true, "_materials": [ @@ -7700,13 +5660,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 156 + "__id__": 113 }, "_children": [], "_active": true, "_components": [ { - "__id__": 162 + "__id__": 119 } ], "_prefab": null, @@ -7762,7 +5722,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 161 + "__id__": 118 }, "_enabled": true, "_materials": [ @@ -7796,13 +5756,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 156 + "__id__": 113 }, "_children": [], "_active": true, "_components": [ { - "__id__": 164 + "__id__": 121 } ], "_prefab": null, @@ -7858,7 +5818,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 163 + "__id__": 120 }, "_enabled": true, "_materials": [ @@ -7887,6 +5847,2046 @@ }, "_id": "6dTcofARVKdoVRYOfQjOo4" }, + { + "__type__": "cc.Node", + "_name": "buy_Btn", + "_objFlags": 0, + "_parent": { + "__id__": 91 + }, + "_children": [ + { + "__id__": 123 + }, + { + "__id__": 125 + }, + { + "__id__": 127 + }, + { + "__id__": 129 + }, + { + "__id__": 131 + }, + { + "__id__": 133 + } + ], + "_active": true, + "_components": [ + { + "__id__": 135 + }, + { + "__id__": 136 + }, + { + "__id__": 138 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 519, + "height": 168 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -478.086, + 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": "cbllED8F9AHbQ/HaHPQ5eH" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 122 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 124 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 148, + "height": 74 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -124.147, + 10.911, + 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": "8017yECe5O0qWvWe81/tNA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 123 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "0ba8f5d4-9e99-4a3d-9fe6-2b20531de796" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "achoaxlhFGqYBCO5eYD8A6" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 122 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 126 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 71 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -6.895, + 6.365, + 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": "88rai5XRRHIqOSy+FhqKBt" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "239f5193-a287-40ec-8887-5108d59b569c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "c4XcNxmedIJoBojG4ao+GQ" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 122 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 128 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 32, + "height": 61 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 52.523, + 6.769, + 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": "9390ML33BHqonvVKSHxVPp" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 127 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "01b33f17-a428-4b45-bd9d-6879f3e80d4d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "4eVK7t9YhD6YnO9+lDUnzV" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 122 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 130 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 59 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 89.824, + 6.769, + 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": "b9A66VEJFJ4YFA6hohTsLO" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 129 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "cc8de5c6-9230-4842-9f4a-f2ad5e3f4615" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "87pAi0qJBIRoNBoSwwkGej" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 122 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 132 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 47, + "height": 59 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 135.698, + 6.769, + 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": "df20kyoz5NQLzTx3IGLIy+" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 131 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "feuBCp+MRKTbZleYgXcc/f" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 122 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 134 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 47, + "height": 59 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 182.525, + 6.769, + 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": "6a2skd44dNnJMztX/s5YG8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 133 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "96jP0SeCBIMLz5wwbGJcUT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 122 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "84227ef3-933f-4be0-a2d5-1e466b23134f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "30eJu0NNlEpZS35tnvpOuc" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 122 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 137 + } + ], + "_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__": 122 + }, + "_id": "3dIBlmgnFLIKI+Rx3mWLiH" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2 + }, + "component": "", + "_componentId": "80998T1AYNNRZdRxsVvXR65", + "handler": "clickBtn", + "customEventData": "" + }, + { + "__type__": "6ee6czJ4eVNb4Feiqps5SIa", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 122 + }, + "_enabled": true, + "_id": "f9YC9UOyxPc4DLFd+bNIec" + }, + { + "__type__": "cc.Node", + "_name": "hammer", + "_objFlags": 0, + "_parent": { + "__id__": 91 + }, + "_children": [ + { + "__id__": 140 + }, + { + "__id__": 142 + }, + { + "__id__": 144 + }, + { + "__id__": 146 + }, + { + "__id__": 148 + } + ], + "_active": false, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 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": "78JrwC6KJKp7MrMcRq8D3n" + }, + { + "__type__": "cc.Node", + "_name": "hammer_Label", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 141 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 605, + "height": 188 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -179.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": "3brc7mz/1Nirk9RftN8oPH" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 140 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "0506afca-61b7-4335-909a-d891c8c1f15c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "364h1RUedOC7U8hbCE/7QP" + }, + { + "__type__": "cc.Node", + "_name": "hammer_Icon", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 143 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 320, + "height": 310 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 247.271, + 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": "6cy6thVFBPGaVdx9ub7c87" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 142 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "adcbd990-b677-4645-8cca-f1b0b6ff1e1d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "3c2lV4GMtD9pFnwXEnt6GI" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 145 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 77 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 56.979, + 109, + 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": "d7/QXvN2hFE47p+plIsunr" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 144 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "44e66484-2774-4deb-a017-4c88eaf6341e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "34U5I7GENKlIIl/E7Cfh3o" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 147 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 97 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 112.086, + 116.741, + 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": "6epL2IaxRHurKC0/kZFGUC" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 146 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "bd32bddb-8d8c-4bce-894a-aef7171d5c05" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "0dn6FdnI5P4rRM7vLw9O0j" + }, + { + "__type__": "cc.Node", + "_name": "buy_Btn", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [ + { + "__id__": 149 + }, + { + "__id__": 151 + }, + { + "__id__": 153 + }, + { + "__id__": 155 + }, + { + "__id__": 157 + }, + { + "__id__": 159 + } + ], + "_active": true, + "_components": [ + { + "__id__": 161 + }, + { + "__id__": 162 + }, + { + "__id__": 164 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 519, + "height": 168 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -478.086, + 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": "1fdcbYcmZFPLm+I7RdGR/e" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 148 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 150 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 148, + "height": 74 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -124.147, + 10.911, + 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": "3bPoFR7GtIH5GH1Mc64RD6" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 149 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "0ba8f5d4-9e99-4a3d-9fe6-2b20531de796" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "a5TNGK0nlDi7wmP+UfQkcd" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 148 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 152 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 71 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -6.895, + 6.365, + 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": "fcdo+2SytBs7bqcp7+Jotg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 151 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "239f5193-a287-40ec-8887-5108d59b569c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "6ajd3l4ydA4abcsdo8LS8c" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 148 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 154 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 32, + "height": 61 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 52.523, + 6.769, + 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": "ccpnfbPbdIbZZJVy5NN3rN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 153 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "01b33f17-a428-4b45-bd9d-6879f3e80d4d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "19U0P8VlJEFZLXAzzB/8Nt" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 148 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 156 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 47, + "height": 59 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 89.824, + 6.769, + 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": "27/C78tzJBkbBx1vClWdoP" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 155 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "26ubvoNQRDAL/0oeYMDSN8" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 148 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 158 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 47, + "height": 59 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 135.698, + 6.769, + 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": "780CCNeF9LA6O1XDIKCbkL" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 157 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "42o6869WFLi54dPzXSC5YJ" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 148 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 160 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 47, + "height": 59 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 182.525, + 6.769, + 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": "ddx4U8CklP9rf20PAqwKWU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 159 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a8743269-1766-4da5-a1db-aab5c3de7234" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "97FUpAA9RO2p31vO5w26ep" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 148 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "84227ef3-933f-4be0-a2d5-1e466b23134f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "96T6AOwvxJDIFxcAHw4cJE" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 148 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 163 + } + ], + "_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__": 148 + }, + "_id": "aaBeBRIoBPBo8wK0iKoahB" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2 + }, + "component": "", + "_componentId": "80998T1AYNNRZdRxsVvXR65", + "handler": "clickBtn", + "customEventData": "" + }, + { + "__type__": "6ee6czJ4eVNb4Feiqps5SIa", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 148 + }, + "_enabled": true, + "_id": "318KKS2v9PSZbJ1P9wYti5" + }, { "__type__": "cc.Node", "_name": "close", diff --git a/assets/Script/Block.ts b/assets/Script/Block.ts index 5fa9aee..ecaff0d 100644 --- a/assets/Script/Block.ts +++ b/assets/Script/Block.ts @@ -186,7 +186,6 @@ export default class Block extends cc.Component { this.initColor(); this.initType(); this.initBlocks(); - if(this.type != BlockType.叠加块上){ this.node.on(cc.Node.EventType.TOUCH_START, this.touchStart, this); this.node.on(cc.Node.EventType.TOUCH_MOVE, this.touchMove, this); @@ -745,7 +744,7 @@ export default class Block extends cc.Component { eliminate(){ //锤子状态消失 MapConroler._instance.pause = true; - MapConroler._instance.hammer = false; + if(MapConroler._instance.hammer == true) MapConroler._instance.hammer = false; //如果方块是有特殊状态,则特殊处理 if(this.type == BlockType.冻结块){ this.node.getChildByName("freeze").getComponent("Freeze").reduce(2); @@ -789,7 +788,7 @@ export default class Block extends cc.Component { setVibrate(type, count){ // return; - console.log("最新:",cc.fx.GameConfig.GM_INFO.vibrateOpen,type); + // console.log("最新:",cc.fx.GameConfig.GM_INFO.vibrateOpen,type); if(!cc.fx.GameConfig.GM_INFO.vibrateOpen){ return; } @@ -1268,9 +1267,13 @@ export default class Block extends cc.Component { } if(this.type == BlockType.叠加块上 && this.moveStack == true){ - if(this.stacking.x != 0 || this.stacking.y!= 0){ - this.node.x = this.block_Info.node.x + this.stacking.x; - this.node.y = this.block_Info.node.y + this.stacking.y; + if((this.stacking.x != 0 || this.stacking.y!= 0) && this.block_Info.node!= null){ + this.isTouch = false; + // this.node.x = this.block_Info.node.x + this.stacking.x; + // this.node.y = this.block_Info.node.y + this.stacking.y; + this.node.x = Math.round(this.block_Info.node.x + this.stacking.x); + this.node.y = Math.round(this.block_Info.node.y + this.stacking.y); + console.log("跟随移动",dt); } } if(this.block_Info){ diff --git a/assets/Script/GameManager.ts b/assets/Script/GameManager.ts index 7d60325..8688f25 100644 --- a/assets/Script/GameManager.ts +++ b/assets/Script/GameManager.ts @@ -686,6 +686,8 @@ export default class GameManager extends cc.Component { this.load1 = this.load2 = false; MiniGameSdk.API.shushu_Login(); MiniGameSdk.API.yinli_Init(); + MiniGameSdk.API.yinli_Login(); + cc.fx.GameTool.setWechatGameGroup(2); this.startGame(); } } diff --git a/assets/Script/Load.ts b/assets/Script/Load.ts index 425f5d7..a24a699 100644 --- a/assets/Script/Load.ts +++ b/assets/Script/Load.ts @@ -36,12 +36,22 @@ export default class NewClass extends cc.Component { //@ts-ignore cc.internal.inputManager._maxTouches = 1 - + cc.debug.setDisplayStats(false); let manager = cc.director.getCollisionManager(); manager.enabled = true; this.setWX(); - cc.debug.setDisplayStats(false); + // let version = cc.fx.GameTool.getWechatGameVersion(); + // if(version == "开发版" || version == "体验版"){ + // cc.debug.setDisplayStats(false); + // } + // else if(version == "正式版"){ + // cc.debug.setDisplayStats(false); + // } + // else{ + // cc.debug.setDisplayStats(false); + // } + cc.tween(this.node1) diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 2d81377..7e90611 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -1391,6 +1391,7 @@ export default class MapConroler extends cc.Component { } winLevel() { + MiniGameSdk.API.showToast(cc.fx.GameConfig.GM_INFO.level); if(this.node.parent.parent.getChildByName("Win"). getChildByName("nextBtn").getComponent("btnControl")._touch == false){ return; @@ -1408,9 +1409,6 @@ export default class MapConroler extends cc.Component { }, 500); } - else if (cc.fx.GameConfig.GM_INFO.level == 249) { - MiniGameSdk.API.showToast("每周更新,敬请期待!"); - } else { // console.log("下一关"); if (this.new_mode == 3) { @@ -1561,11 +1559,10 @@ export default class MapConroler extends cc.Component { //判断游戏失败 failLevel(type) { - this.stopTimeCutDown(); if (this.gameOver == true || this.gameWin == true) { return; } - + this.stopTimeCutDown(); let time = 0; this.gameOver = true; if (type == "boom") { @@ -1670,7 +1667,7 @@ export default class MapConroler extends cc.Component { //使用时间道具 useTimeProp() { if (this.node.parent.getChildByName("Ice").active == true || this.hammer == true - || this.magicMask.active == true || this.timeNumber <= 1) { + || this.magicMask.active == true || this.timeNumber <= 1 || this.gameOver || this.gameWin) { return; } let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn"); @@ -1799,7 +1796,7 @@ export default class MapConroler extends cc.Component { //使用锤子道具 useHammer() { if (this.node.parent.getChildByName("Ice").active == true || this.hammer == true - || this.magicMask.active == true || this.timeNumber <= 1) { + || this.magicMask.active == true || this.timeNumber <= 1 || this.gameOver || this.gameWin) { return; } let hammerBtn = this.node.parent.getChildByName("Bottom").getChildByName("destroyBtn"); @@ -1899,7 +1896,7 @@ export default class MapConroler extends cc.Component { //使用魔法棒随机消除两个方块 useMagic() { if (this.node.parent.getChildByName("Ice").active == true || this.hammer == true - || this.magicMask.active == true || this.timeNumber <= 1) { + || this.magicMask.active == true || this.timeNumber <= 1 || this.gameOver || this.gameWin) { return; } let magicBtn = this.node.parent.getChildByName("Bottom").getChildByName("magicBtn"); @@ -1933,16 +1930,19 @@ export default class MapConroler extends cc.Component { this.setPropNum(); // this.magicLabel.string = cc.fx.GameConfig.GM_INFO.magicAmount.toString(); let propInfo = cc.fx.StorageMessage.getStorage("prop"); - propInfo.magicAmount = cc.fx.GameConfig.GM_INFO.magicAmount; - propInfo.timestamp = timestamp; - cc.fx.StorageMessage.setStorage("prop", propInfo); - cc.fx.GameTool.setUserProp(2003, cc.fx.GameConfig.GM_INFO.magicAmount, (data) => { - }) - let data = { - id: "2003", - num: -1 + if(propInfo){ + propInfo.magicAmount = cc.fx.GameConfig.GM_INFO.magicAmount; + propInfo.timestamp = timestamp; + cc.fx.StorageMessage.setStorage("prop", propInfo); + cc.fx.GameTool.setUserProp(2003, cc.fx.GameConfig.GM_INFO.magicAmount, (data) => { + }) + let data = { + id: "2003", + num: -1 + } + cc.fx.GameTool.shushu_Track("resource_cost", data); } - cc.fx.GameTool.shushu_Track("resource_cost", data); + let nomalArray = []; // this.magicBtn.node.active = false; for (let i = 0; i < this.blocks.length; i++) { @@ -1957,7 +1957,7 @@ export default class MapConroler extends cc.Component { if (this.blocks[i].getComponent("Block").block_Info.node) { nomalArray.push(this.blocks[i].getComponent("Block").block_Info.node); } - else nomalArray.push(this.blocks[i]); + // else nomalArray.push(this.blocks[i]); } else { nomalArray.push(this.blocks[i]); @@ -1970,67 +1970,68 @@ export default class MapConroler extends cc.Component { if (nomalArray[0].getComponent("Block").type == 1 || nomalArray[0].getComponent("Block").type == 9) { time = 200; } - if (time > 0) { - setTimeout(() => { - nomalArray[1].getComponent("Block").eliminate(); - }, time); - return; - } - else { - nomalArray[1].getComponent("Block").eliminate(); - return; - } + nomalArray[1].getComponent("Block").eliminate(); + // if (time > 0) { + // setTimeout(() => { + // nomalArray[1].getComponent("Block").eliminate(); + // }, time); + // return; + // } + // else { + // nomalArray[1].getComponent("Block").eliminate(); + // return; + // } } - else if (nomalArray.length == 1) { - nomalArray[0].getComponent("Block").eliminate(); - let time = 0; - if (nomalArray[0].getComponent("Block").type == 1 || nomalArray[0].getComponent("Block").type == 9) { - time = 200; - } - setTimeout(() => { - if (this.freezeArray.length == 0 && this.loackArray.length == 0) { - // console.log("只剩下一个块道具使用完毕"); - } - else { - if (this.loackArray.length != 0) { - // console.log("消除一个普通块后,消除一个带锁块"); - this.loackArray[0].getComponent("Block").eliminate(); - return; - } - else if (this.freezeArray.length != 0) { - // console.log("消除一个普通块后,消除一个冻结块"); - this.freezeArray[0].getComponent("Block").eliminate(); - return; - } - } - }, 200 + time); - } - else { - let count = 2; - if (this.loackArray.length != 0) { - for (let i = 0; i < this.loackArray.length; i++) { - // console.log("没有普通快,魔法消除一个带锁块"); - this.loackArray[i].getComponent("Block").eliminate(); - count -= 1; - if (count == 0) { - break; - } - } - } + // else if (nomalArray.length == 1) { + // nomalArray[0].getComponent("Block").eliminate(); + // let time = 0; + // if (nomalArray[0].getComponent("Block").type == 1 || nomalArray[0].getComponent("Block").type == 9) { + // time = 200; + // } + // setTimeout(() => { + // if (this.freezeArray.length == 0 && this.loackArray.length == 0) { + // // console.log("只剩下一个块道具使用完毕"); + // } + // else { + // if (this.loackArray.length != 0) { + // // console.log("消除一个普通块后,消除一个带锁块"); + // this.loackArray[0].getComponent("Block").eliminate(); + // return; + // } + // else if (this.freezeArray.length != 0) { + // // console.log("消除一个普通块后,消除一个冻结块"); + // this.freezeArray[0].getComponent("Block").eliminate(); + // return; + // } + // } + // }, 200 + time); + // } + // else { + // let count = 2; + // if (this.loackArray.length != 0) { + // for (let i = 0; i < this.loackArray.length; i++) { + // // console.log("没有普通快,魔法消除一个带锁块"); + // this.loackArray[i].getComponent("Block").eliminate(); + // count -= 1; + // if (count == 0) { + // break; + // } + // } + // } - setTimeout(() => { - if (count != 0) { - for (let i = 0; i < this.freezeArray.length; i++) { - // console.log("没有普通快,魔法消除一个冻结块"); - // this.freezeArray[i].getComponent("Block").eliminate(); - count -= 1; - if (count == 0) { - break; - } - } - } - }, 100); - } + // setTimeout(() => { + // if (count != 0) { + // for (let i = 0; i < this.freezeArray.length; i++) { + // // console.log("没有普通快,魔法消除一个冻结块"); + // // this.freezeArray[i].getComponent("Block").eliminate(); + // count -= 1; + // if (count == 0) { + // break; + // } + // } + // } + // }, 100); + // } } } } diff --git a/assets/Script/SceneManager.ts b/assets/Script/SceneManager.ts index 622ca09..9676086 100644 --- a/assets/Script/SceneManager.ts +++ b/assets/Script/SceneManager.ts @@ -297,14 +297,14 @@ export default class SceneManager extends cc.Component { propWindow.getChildByName("magic").active = false; propWindow.getChildByName("buy_Btn").getComponent("btnControl").setTouch(true); propWindow.getChildByName(name).active = true; - if(name == "hammer"){ - propWindow.getChildByName("buy_Btn").getChildByName("hammer").active = true; - propWindow.getChildByName("buy_Btn").getChildByName("nomal").active = false; - } - else{ - propWindow.getChildByName("buy_Btn").getChildByName("hammer").active = false; - propWindow.getChildByName("buy_Btn").getChildByName("nomal").active = true; - } + // if(name == "hammer"){ + // propWindow.getChildByName("buy_Btn").getChildByName("hammer").active = true; + // propWindow.getChildByName("buy_Btn").getChildByName("nomal").active = false; + // } + // else{ + // propWindow.getChildByName("buy_Btn").getChildByName("hammer").active = false; + // propWindow.getChildByName("buy_Btn").getChildByName("nomal").active = true; + // } } clickBtn() { diff --git a/assets/Script/Sdk/MiniGameSdk.ts b/assets/Script/Sdk/MiniGameSdk.ts index 481c421..f02548f 100644 --- a/assets/Script/Sdk/MiniGameSdk.ts +++ b/assets/Script/Sdk/MiniGameSdk.ts @@ -1260,6 +1260,12 @@ export namespace MiniGameSdk { maxRetries: 3, // 网络请求失败时的重试次数,1 表示不重试。默认值是 3 enablePersistence: true, // 是否使用本地缓存,主实例默认为 true,子实例默认为 false asyncPersistence: false, // 是否使用异步存储,默认为 false + enable_sync_attribution: true, // 是否开启渠道归因,默认为 false + autoTrack: { + appLaunch: true, // 自动采集 $MPLaunch + appShow: false, // 自动采集 $MPShow + appHide: false, // 自动采集 $MPHide + }, }; API._ge = new GravityAnalyticsAPI(configYinli); API._ge .setupAndStart(); @@ -1286,6 +1292,32 @@ export namespace MiniGameSdk { } } + + static yinli_Register(){ + if (typeof wx!== 'undefined' && wx!== null) { + API._ge.registerEvent(); + } + } + + /** + * 上报付费事件 + * @param payAmount 付费金额 单位为分 + * @param payType 货币类型 按照国际标准组织ISO 4217中规范的3位字母,例如CNY人民币、USD美金等 + * @param orderId 订单号 + * @param payReason 付费原因 例如:购买钻石、办理月卡 + * @param payMethod 付费方式 例如:支付宝、微信、银联等 + */ + static yinli_Pay(payAmount,orderId,payReason){ + if (typeof wx!== 'undefined' && wx!== null) { + API._ge.payEvent(payAmount, "CNY", orderId, payReason, "微信"); + } + } + + static yinli_Login(){ + if (typeof wx!== 'undefined' && wx!== null) { + API._ge.loginEvent(); + } + } } } \ No newline at end of file diff --git a/assets/Script/module/Config/GameConfig.ts b/assets/Script/module/Config/GameConfig.ts index be4d774..99bfeea 100644 --- a/assets/Script/module/Config/GameConfig.ts +++ b/assets/Script/module/Config/GameConfig.ts @@ -222,7 +222,7 @@ export class GameConfig { min_Time:0, //体力恢复的剩余时间 freezeAmount:0, //冻结道具次数 hammerAmount:0, //锤子道具次数 - magicAmount:0, //魔法棒道具次数 + magicAmount:99, //魔法棒道具次数 musicOpen: true, //音乐 effectOpen: true, //音效 vibrateOpen: true, //震动 diff --git a/assets/Script/module/Music/AudioManager.ts b/assets/Script/module/Music/AudioManager.ts index c459448..65b42fa 100644 --- a/assets/Script/module/Music/AudioManager.ts +++ b/assets/Script/module/Music/AudioManager.ts @@ -177,6 +177,7 @@ export default class AudioManager extends cc.Component { return this.play(this[name], false, callback, this.mEffectSwitch); } playMusic(key, callback, loop) { + console.log("音频开关________________________________________"); if (!cc.fx.GameConfig.GM_INFO.musicOpen) { return; } diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 8dfe62e..92b417f 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -664,6 +664,8 @@ var GameTool = { } console.log("____________即将上传Shop_buy",buyData); cc.fx.GameTool.shushu_Track("shop_buy",buyData); + + callback(); } }, @@ -896,7 +898,7 @@ var GameTool = { removeAllLister:function () { }, - + //上报数据 shushu_Track: function(name,data){ let eventData = {} switch(name){ @@ -983,6 +985,7 @@ var GameTool = { MiniGameSdk.API.shushu_Track(name, eventData); }, + //获取微信小游戏版本号 getWechatGameVersion: function(){ //@ts-ignore if (typeof wx!== 'undefined' && wx!== null) { @@ -1002,5 +1005,39 @@ var GameTool = { } }, + //微信小游戏根据openId将用户分组,有可能会两分,三分,六分 + setWechatGameGroup: function(type: 2 | 3 | 6) { + //@ts-ignore + if (typeof wx!== 'undefined' && wx!== null) { + //@ts-ignore + if(cc.fx.GameConfig.GM_INFO.openid) { + const openid = cc.fx.GameConfig.GM_INFO.openid; + const lastChar = openid[openid.length - 1]; + const charCode = lastChar.charCodeAt(0); + let groupNumber: number; + console.log("openid尾数____________________:",charCode); + + // 根据 type 参数计算分组编号 + switch(type) { + case 2: + groupNumber = charCode % 2; + break; + case 3: + groupNumber = charCode % 3; + break; + case 6: + groupNumber = charCode % 6; + break; + default: + console.log('type 参数值无效,必须为 2、3 或 6'); + return; + } + console.log("type____________________:",type); + console.log("分组编号____________________:",groupNumber); + + } + } + } + }; export { GameTool }; \ No newline at end of file diff --git a/assets/Script/prop/Boom.ts b/assets/Script/prop/Boom.ts index 541b0da..2535887 100644 --- a/assets/Script/prop/Boom.ts +++ b/assets/Script/prop/Boom.ts @@ -55,6 +55,7 @@ export default class Boom extends cc.Component { NumberToImage.numberToImageNodes(this.time,20,8,"lock_",this.node.getChildByName("time"),false); if(this.time <= 0){ this.unschedule(this.updateTime); + MapConroler._instance.failLevel("boom"); this.node.getChildByName("zhandan").active = true; this.node.getChildByName("bg").active = false; const skeleton = this.node.getChildByName("zhandan").getComponent(sp.Skeleton); @@ -64,7 +65,7 @@ export default class Boom extends cc.Component { // 动画播放完成后销毁节点 this.node.destroy(); }); - MapConroler._instance.failLevel("boom"); + // this.node.destroy(); } } diff --git a/assets/Script/prop/Freeze.ts b/assets/Script/prop/Freeze.ts index 532b665..41d4c9d 100644 --- a/assets/Script/prop/Freeze.ts +++ b/assets/Script/prop/Freeze.ts @@ -61,7 +61,7 @@ export default class Freeze extends cc.Component { this.node.parent.getComponent("Block").resetFreeze(); this.node.destroy(); this.node.removeFromParent(); - }, 600); + }, 500); } } diff --git a/assets/resources/Json/level220.json b/assets/resources/Json/level220.json new file mode 100644 index 0000000..30d3ede --- /dev/null +++ b/assets/resources/Json/level220.json @@ -0,0 +1,388 @@ +{ + "LEVEL_INFO": [ + { + "id": "220", + "map": [ + 9, + 12 + ], + "time": 120, + "gap": [ + { + "x": 3, + "y": 1, + "z": 0 + }, + { + "x": 4, + "y": 1, + "z": 0 + }, + { + "x": 5, + "y": 1, + "z": 0 + }, + { + "x": 3, + "y": 10, + "z": 0 + }, + { + "x": 4, + "y": 10, + "z": 0 + }, + { + "x": 5, + "y": 10, + "z": 0 + } + ] + } + ], + "BLOCK_INFO": [ + [ + { + "block": 23, + "color": 1, + "type": 0, + "position": { + "x": 420, + "y": -240, + "z": 0 + }, + "id": 210 + }, + { + "block": 23, + "color": 1, + "type": 0, + "position": { + "x": 420, + "y": 0, + "z": 0 + }, + "id": 220 + }, + { + "block": 23, + "color": 1, + "type": 0, + "position": { + "x": -300, + "y": 0, + "z": 0 + }, + "id": 230 + }, + { + "block": 23, + "color": 1, + "type": 0, + "position": { + "x": -300, + "y": -240, + "z": 0 + }, + "id": 240 + }, + { + "block": 2, + "color": 5, + "type": 0, + "position": { + "x": 300, + "y": -600, + "z": 0 + }, + "id": 250 + }, + { + "block": 2, + "color": 5, + "type": 0, + "position": { + "x": -300, + "y": 360, + "z": 0 + }, + "id": 260 + }, + { + "block": 10, + "color": 5, + "type": 0, + "position": { + "x": 60, + "y": 120, + "z": 0 + }, + "id": 270 + }, + { + "block": 2, + "color": 7, + "type": 0, + "position": { + "x": -180, + "y": 360, + "z": 0 + }, + "id": 280 + }, + { + "block": 5, + "color": 3, + "type": 9, + "position": { + "x": 60, + "y": -240, + "z": 0 + }, + "adhesiveTime": 2, + "id": 290 + }, + { + "block": 2, + "color": 3, + "type": 9, + "position": { + "x": 180, + "y": -240, + "z": 0 + }, + "adhesiveTime": 1, + "id": 300 + }, + { + "block": 1, + "color": 3, + "type": 9, + "position": { + "x": -60, + "y": -480, + "z": 0 + }, + "adhesiveTime": 2, + "id": 310 + }, + { + "block": 1, + "color": 3, + "type": 9, + "position": { + "x": -180, + "y": -600, + "z": 0 + }, + "adhesiveTime": 1, + "id": 320 + }, + { + "block": 13, + "color": 3, + "type": 7, + "position": { + "x": -60, + "y": 120, + "z": 0 + }, + "id": 330 + }, + { + "block": 2, + "color": 10, + "type": 2, + "position": { + "x": 300, + "y": 360, + "z": 0 + }, + "id": 340 + }, + { + "block": 0, + "color": 10, + "type": 2, + "position": { + "x": 60, + "y": -360, + "z": 0 + }, + "id": 350 + }, + { + "block": 0, + "color": 8, + "type": 2, + "position": { + "x": 60, + "y": -480, + "z": 0 + }, + "id": 360 + }, + { + "block": 2, + "color": 1, + "type": 2, + "position": { + "x": 420, + "y": 360, + "z": 0 + }, + "id": 370 + }, + { + "block": 3, + "color": 8, + "type": 3, + "position": { + "x": 180, + "y": 0, + "z": 0 + }, + "lockTime": 4, + "id": 380 + }, + { + "block": 2, + "color": 8, + "type": 0, + "position": { + "x": 420, + "y": -600, + "z": 0 + }, + "id": 390 + }, + { + "block": 2, + "color": 9, + "type": 6, + "position": { + "x": -180, + "y": -120, + "z": 0 + }, + "boomTime": 20, + "id": 400 + }, + { + "block": 2, + "color": 2, + "type": 6, + "position": { + "x": 300, + "y": -120, + "z": 0 + }, + "boomTime": 15, + "id": 410 + } + ] + ], + "WALL_INFO": [ + [ + { + "id": 1, + "num": 11, + "color": 10, + "special": 0, + "length": 1 + }, + { + "id": 2, + "num": 13, + "color": 1, + "special": 0, + "length": 1 + }, + { + "id": 3, + "num": 10, + "color": 5, + "special": 0, + "length": 2 + }, + { + "id": 4, + "num": 12, + "color": 5, + "special": 0, + "length": 0 + }, + { + "id": 5, + "num": 24, + "color": 9, + "special": 0, + "length": 2 + }, + { + "id": 6, + "num": 26, + "color": 9, + "special": 0, + "length": 0 + }, + { + "id": 7, + "num": 1, + "color": 2, + "special": 0, + "length": 2 + }, + { + "id": 8, + "num": 2, + "color": 2, + "special": 0, + "length": 0 + }, + { + "id": 9, + "num": 29, + "color": 7, + "special": 0, + "length": 2 + }, + { + "id": 10, + "num": 30, + "color": 7, + "special": 0, + "length": 0 + }, + { + "id": 11, + "num": 6, + "color": 8, + "special": 0, + "length": 2 + }, + { + "id": 12, + "num": 7, + "color": 8, + "special": 0, + "length": 0 + }, + { + "id": 13, + "num": 34, + "color": 3, + "special": 0, + "length": 2 + }, + { + "id": 14, + "num": 35, + "color": 3, + "special": 0, + "length": 0 + } + ] + ] +} \ No newline at end of file diff --git a/assets/resources/Json/level220.json.meta b/assets/resources/Json/level220.json.meta new file mode 100644 index 0000000..f2949af --- /dev/null +++ b/assets/resources/Json/level220.json.meta @@ -0,0 +1,6 @@ +{ + "ver": "1.0.2", + "uuid": "c711910f-ab6a-48d5-90d6-90d1f95a862e", + "importer": "json", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/resources/Json/level243.json b/assets/resources/Json/level243.json index 864b99a..55c8ba0 100644 --- a/assets/resources/Json/level243.json +++ b/assets/resources/Json/level243.json @@ -6,21 +6,11 @@ 9, 12 ], - "time": 215, + "time": 220, "gap": [ { "x": 1, - "y": 1, - "z": 0 - }, - { - "x": 7, - "y": 1, - "z": 0 - }, - { - "x": 1, - "y": 9, + "y": 10, "z": 0 }, { @@ -28,25 +18,35 @@ "y": 10, "z": 0 }, + { + "x": 7, + "y": 10, + "z": 0 + }, { "x": 6, "y": 10, "z": 0 }, - { - "x": 7, - "y": 10, - "z": 0 - }, { "x": 1, - "y": 10, + "y": 9, "z": 0 }, { "x": 7, "y": 9, "z": 0 + }, + { + "x": 1, + "y": 1, + "z": 0 + }, + { + "x": 7, + "y": 1, + "z": 0 } ] } @@ -54,49 +54,71 @@ "BLOCK_INFO": [ [ { - "block": 23, - "color": 1, + "block": 2, + "color": 2, "type": 0, "position": { "x": -180, - "y": -120, + "y": 240, "z": 0 }, "id": 210 }, { - "block": 23, - "color": 1, + "block": 1, + "color": 2, "type": 0, "position": { - "x": 300, - "y": -120, + "x": 420, + "y": -240, "z": 0 }, "id": 220 }, { - "block": 21, - "color": 4, + "block": 22, + "color": 2, "type": 0, "position": { - "x": -300, - "y": 0, + "x": -180, + "y": -480, "z": 0 }, "id": 230 }, { "block": 2, - "color": 10, + "color": 5, "type": 0, "position": { - "x": -60, - "y": -600, + "x": 300, + "y": 240, "z": 0 }, "id": 240 }, + { + "block": 1, + "color": 5, + "type": 0, + "position": { + "x": -180, + "y": -240, + "z": 0 + }, + "id": 250 + }, + { + "block": 21, + "color": 5, + "type": 0, + "position": { + "x": 300, + "y": -480, + "z": 0 + }, + "id": 260 + }, { "block": 2, "color": 3, @@ -106,7 +128,29 @@ "y": -600, "z": 0 }, - "id": 250 + "id": 270 + }, + { + "block": 2, + "color": 10, + "type": 0, + "position": { + "x": -60, + "y": -600, + "z": 0 + }, + "id": 280 + }, + { + "block": 21, + "color": 4, + "type": 0, + "position": { + "x": -300, + "y": 0, + "z": 0 + }, + "id": 290 }, { "block": 22, @@ -117,92 +161,48 @@ "y": 0, "z": 0 }, - "id": 260 - }, - { - "block": 21, - "color": 5, - "type": 0, - "position": { - "x": 300, - "y": -480, - "z": 0 - }, - "id": 270 - }, - { - "block": 2, - "color": 5, - "type": 0, - "position": { - "x": 300, - "y": 240, - "z": 0 - }, - "id": 280 - }, - { - "block": 1, - "color": 5, - "type": 0, - "position": { - "x": -180, - "y": -240, - "z": 0 - }, - "id": 290 - }, - { - "block": 2, - "color": 2, - "type": 0, - "position": { - "x": -180, - "y": 240, - "z": 0 - }, "id": 300 }, { - "block": 22, - "color": 2, - "type": 0, + "block": 0, + "color": 5, + "type": 2, "position": { - "x": -180, - "y": -480, + "x": -60, + "y": 360, "z": 0 }, "id": 310 }, { - "block": 1, + "block": 0, "color": 2, - "type": 0, + "type": 2, "position": { - "x": 420, - "y": -240, + "x": 180, + "y": 360, "z": 0 }, "id": 320 }, { "block": 0, - "color": 2, + "color": 9, "type": 2, "position": { - "x": 60, - "y": -480, + "x": -180, + "y": 0, "z": 0 }, "id": 330 }, { "block": 0, - "color": 3, + "color": 1, "type": 2, "position": { - "x": -300, - "y": -360, + "x": 300, + "y": 0, "z": 0 }, "id": 340 @@ -218,6 +218,17 @@ }, "id": 350 }, + { + "block": 0, + "color": 2, + "type": 2, + "position": { + "x": 60, + "y": -480, + "z": 0 + }, + "id": 360 + }, { "block": 0, "color": 5, @@ -227,7 +238,7 @@ "y": -600, "z": 0 }, - "id": 360 + "id": 370 }, { "block": 0, @@ -238,62 +249,52 @@ "y": -480, "z": 0 }, - "id": 370 - }, - { - "block": 0, - "color": 9, - "type": 2, - "position": { - "x": -180, - "y": 0, - "z": 0 - }, "id": 380 }, { - "block": 0, - "color": 5, + "block": 23, + "color": 10, "type": 2, "position": { - "x": -60, - "y": 360, + "x": 300, + "y": -120, "z": 0 }, "id": 390 }, { - "block": 0, - "color": 2, + "block": 23, + "color": 10, "type": 2, "position": { - "x": 180, - "y": 360, + "x": -180, + "y": -120, "z": 0 }, "id": 400 }, { - "block": 0, - "color": 1, - "type": 2, + "block": 3, + "color": 8, + "type": 9, "position": { - "x": 300, - "y": 0, + "x": 180, + "y": 240, "z": 0 }, + "adhesiveTime": 2, "id": 410 }, { - "block": 18, - "color": 6, - "type": 3, + "block": 2, + "color": 3, + "type": 9, "position": { "x": 60, - "y": -360, + "y": 0, "z": 0 }, - "lockTime": 8, + "adhesiveTime": 1, "id": 420 }, { @@ -319,28 +320,16 @@ "id": 440 }, { - "block": 3, - "color": 8, - "type": 9, - "position": { - "x": 180, - "y": 240, - "z": 0 - }, - "adhesiveTime": 2, - "id": 450 - }, - { - "block": 2, - "color": 3, - "type": 9, + "block": 18, + "color": 6, + "type": 3, "position": { "x": 60, - "y": 0, + "y": -360, "z": 0 }, - "adhesiveTime": 1, - "id": 460 + "lockTime": 8, + "id": 450 } ] ], @@ -348,95 +337,97 @@ [ { "id": 1, - "num": 28, - "color": 4, - "special": 0, - "length": 2 - }, - { - "id": 2, - "num": 29, - "color": 4, - "special": 0, - "length": 0 - }, - { - "id": 3, - "num": 5, - "color": 10, - "special": 0, - "length": 2 - }, - { - "id": 4, - "num": 6, - "color": 10, - "special": 0, - "length": 0 - }, - { - "id": 5, - "num": 32, - "color": 3, - "special": 0, - "length": 2 - }, - { - "id": 6, - "num": 33, - "color": 3, - "special": 0, - "length": 0 - }, - { - "id": 7, - "num": 1, - "color": 8, - "special": 0, - "length": 2 - }, - { - "id": 8, - "num": 2, - "color": 8, - "special": 0, - "length": 0 - }, - { - "id": 9, "num": 15, "color": 6, "special": 0, "length": 3 }, { - "id": 10, + "id": 2, "num": 17, "color": 6, "special": 0, "length": 0 }, { - "id": 11, + "id": 3, "num": 19, "color": 6, "special": 0, "length": 0 }, { - "id": 12, + "id": 4, + "num": 5, + "color": 10, + "special": 0, + "length": 2 + }, + { + "id": 5, + "num": 6, + "color": 10, + "special": 0, + "length": 0 + }, + { + "id": 6, + "num": 3, + "color": 5, + "special": 2, + "length": 2, + "lock": true + }, + { + "id": 7, + "num": 4, + "color": 5, + "special": 2, + "length": 0, + "lock": true + }, + { + "id": 8, + "num": 1, + "color": 8, + "special": 0, + "length": 2 + }, + { + "id": 9, + "num": 2, + "color": 8, + "special": 0, + "length": 0 + }, + { + "id": 10, "num": 14, "color": 1, "special": 0, "length": 1 }, { - "id": 13, + "id": 11, "num": 18, "color": 9, "special": 0, "length": 1 }, + { + "id": 12, + "num": 28, + "color": 4, + "special": 0, + "length": 2 + }, + { + "id": 13, + "num": 29, + "color": 4, + "special": 0, + "length": 0 + }, { "id": 14, "num": 30, @@ -455,19 +446,17 @@ }, { "id": 16, - "num": 3, - "color": 5, - "special": 2, - "length": 2, - "lock": true + "num": 32, + "color": 3, + "special": 0, + "length": 2 }, { "id": 17, - "num": 4, - "color": 5, - "special": 2, - "length": 0, - "lock": true + "num": 33, + "color": 3, + "special": 0, + "length": 0 } ] ] diff --git a/assets/shop/script/shop.ts b/assets/shop/script/shop.ts index a441824..6597368 100644 --- a/assets/shop/script/shop.ts +++ b/assets/shop/script/shop.ts @@ -278,7 +278,8 @@ protected update(dt: number): void { type:systemType, fail_reason:"用户取消支付", } - cc.fx.GameTool.shushu_Track("payment_fail",dataFail2); + + cc.fx.GameTool.shushu_Track("payment_fail",name); } else if(data.data.pay_state == 2){ this.btn_Touch = true; @@ -296,6 +297,8 @@ protected update(dt: number): void { type:systemType, } cc.fx.GameTool.shushu_Track("payment",dataSuccess); + let name = "购买金币道具:"+ productId; + MiniGameSdk.API.yinli_Pay(price,Utils.outTradeNo,name) } else{ MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放");