From febbc662f096eae421bd8f2366b199dc41a609eb Mon Sep 17 00:00:00 2001 From: szrpf <27185709@qq.com> Date: Tue, 16 May 2023 00:17:11 +0800 Subject: [PATCH] Signed-off-by: szrpf <27185709@qq.com> --- assets/Scene/helloworld.fire | 3103 ++++++++++++++++++++------------- assets/Script/ActionShadow.ts | 7 +- assets/Texture/Enemy.anim | 73 +- 3 files changed, 1975 insertions(+), 1208 deletions(-) diff --git a/assets/Scene/helloworld.fire b/assets/Scene/helloworld.fire index 6f3e15f..f5f5bcd 100644 --- a/assets/Scene/helloworld.fire +++ b/assets/Scene/helloworld.fire @@ -81,19 +81,16 @@ "__id__": 29 }, { - "__id__": 60 - }, - { - "__id__": 63 + "__id__": 32 } ], "_active": true, "_components": [ { - "__id__": 67 + "__id__": 79 }, { - "__id__": 68 + "__id__": 80 } ], "_prefab": null, @@ -1377,41 +1374,222 @@ }, { "__type__": "cc.Node", - "_name": "ActionShadow_Enemy", - "_objFlags": 1536, + "_name": "Title", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 31 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 728, + "height": 166.2 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 800, + 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": "97rn8ctiND6LhDNEOBGG6K" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 29 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "拖动小怪,身后会出现残影\n残影会模仿本体的动作", + "_N$string": "拖动小怪,身后会出现残影\n残影会模仿本体的动作", + "_fontSize": 60, + "_lineHeight": 70, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "8cyQ29D91Fl5yKcwu3JlF4" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 29 + }, + "_enabled": true, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 4, + "_id": "17rHiRh4ZF5Z7ZWW8vuoUy" + }, + { + "__type__": "cc.Node", + "_name": "Enemy", + "_objFlags": 0, "_parent": { "__id__": 2 }, "_children": [ - { - "__id__": 30 - }, { "__id__": 33 }, { - "__id__": 36 + "__id__": 74 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_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": "70ymRoXiBEPZuZ8fecKAiJ" + }, + { + "__type__": "cc.Node", + "_name": "Root", + "_objFlags": 1536, + "_parent": { + "__id__": 32 + }, + "_children": [ + { + "__id__": 34 }, { - "__id__": 39 + "__id__": 38 }, { "__id__": 42 }, { - "__id__": 45 + "__id__": 46 }, { - "__id__": 48 - }, - { - "__id__": 51 + "__id__": 50 }, { "__id__": 54 }, { - "__id__": 57 + "__id__": 58 + }, + { + "__id__": 62 + }, + { + "__id__": 66 + }, + { + "__id__": 70 } ], "_active": true, @@ -1462,141 +1640,88 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "b5z739prVHg5A0A+iENi/K" + "_id": "fadhtFiEpB6pgLBfqJAL/u" }, { "__type__": "cc.Node", - "_name": "Shadow0", + "_name": "Root0", "_objFlags": 0, "_parent": { - "__id__": 29 + "__id__": 33 }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 31 - }, - { - "__id__": 32 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 172, - "height": 163 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.91, - 0.91, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "f2btDXiqNFb6dRH7Ih7T/K" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 30 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "04IPRnX/9D34QFb0CD8QPG" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 30 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "e6XII6a+dD1aKjQQSAsZ+U" - }, - { - "__type__": "cc.Node", - "_name": "Shadow1", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 34 - }, + "_children": [ { "__id__": 35 } ], + "_active": true, + "_components": [ + { + "__id__": 37 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.91, + 0.91, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "f9I1KZjdtIcq6QVXVXSuL2" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 34 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + } + ], "_prefab": null, "_opacity": 255, "_color": { @@ -1627,8 +1752,8 @@ 0, 0, 1, - 0.8200000000000001, - 0.8200000000000001, + 1, + 1, 1 ] }, @@ -1643,14 +1768,14 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "61V2GbLq5EVYTROluzmwkv" + "_id": "d6JJPmqYdG1oKT766upSGN" }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 33 + "__id__": 35 }, "_enabled": true, "_materials": [ @@ -1675,156 +1800,41 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "06KYd5bAdBn62F+uMv3ejg" + "_id": "9asLHwvGBMIbzsw7EyxdpT" }, { "__type__": "cc.Animation", "_name": "", "_objFlags": 0, "node": { + "__id__": 34 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "2fzaqUpuRKZIxIaA/2Wx7a" + }, + { + "__type__": "cc.Node", + "_name": "Root1", + "_objFlags": 0, + "_parent": { "__id__": 33 }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ + "_children": [ { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + "__id__": 39 } ], - "playOnLoad": true, - "_id": "57B4n7XiBAdZIlkAg+DMp/" - }, - { - "__type__": "cc.Node", - "_name": "Shadow2", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], "_active": true, "_components": [ - { - "__id__": 37 - }, - { - "__id__": 38 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 187, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.73, - 0.73, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "97ZRRQ+AtJSo1xodCIR1Ul" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 36 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "55bco08XRC4ZjN+SAsR1o6" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 36 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "06SNnP9DdLlqDSttTEKYA1" - }, - { - "__type__": "cc.Node", - "_name": "Shadow3", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 40 - }, { "__id__": 41 } @@ -1840,8 +1850,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 187, - "height": 162 + "width": 163, + "height": 141 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1859,8 +1869,8 @@ 0, 0, 1, - 0.64, - 0.64, + 0.8200000000000001, + 0.8200000000000001, 1 ] }, @@ -1875,889 +1885,20 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "e3JUUWMnpC9LoR+46b3AI9" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 39 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "c1V4EnuuhEtLpKuVucwM8f" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 39 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "55aCvy8hVN86dAbVrp1/2h" + "_id": "46hWFM4GdCF5VpnygNtoSY" }, { "__type__": "cc.Node", - "_name": "Shadow4", + "_name": "Body", "_objFlags": 0, "_parent": { - "__id__": 29 + "__id__": 38 }, "_children": [], "_active": true, "_components": [ { - "__id__": 43 - }, - { - "__id__": 44 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 187, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.55, - 0.55, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "f6W/2oVshN3LT3rPljjpCY" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 42 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "e0szhkhqlJ7rfCmhIsWPNK" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 42 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "7dRw6hpHJHC5BrxXui+nZF" - }, - { - "__type__": "cc.Node", - "_name": "Shadow5", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 46 - }, - { - "__id__": 47 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 187, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.45999999999999996, - 0.45999999999999996, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "bdWWiad2xPjZGHADMpz4jT" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 45 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "3aeIZ+xuBE1pKIVSReCS3h" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 45 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "eaSLmhM/BNiqJSILcm+y4P" - }, - { - "__type__": "cc.Node", - "_name": "Shadow6", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 49 - }, - { - "__id__": 50 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 187, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.37, - 0.37, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "036pyKcWtIG6EKRG1HZk8l" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 48 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "35O8Q1QNFEVJKfAJ3lDJTe" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 48 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "14WfggmjpL+akN90vhExqF" - }, - { - "__type__": "cc.Node", - "_name": "Shadow7", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 52 - }, - { - "__id__": 53 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 187, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.28, - 0.28, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "2b+sY7LINA9K/qyPyB82+m" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 51 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "2aofDCf9BCC6PUXBoHgQVp" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 51 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "0dLELQnORHIre2/HzHQsoe" - }, - { - "__type__": "cc.Node", - "_name": "Shadow8", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 55 - }, - { - "__id__": 56 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 187, - "height": 162 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.19000000000000006, - 0.19000000000000006, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "5f8JZXPpVB3INjodT8rB2+" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 54 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "f8gx6DgN1MD6aoz6DCUvZi" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 54 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "c1Sms1tDVELJIrlCbErCHS" - }, - { - "__type__": "cc.Node", - "_name": "Shadow9", - "_objFlags": 0, - "_parent": { - "__id__": 29 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 58 - }, - { - "__id__": 59 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 170, - "height": 153 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0.10000000000000009, - 0.10000000000000009, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "01s2/JsWhOI69Fp1Gusg4N" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 57 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "095037c3-3d64-4271-9765-3618bf126cfb" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "bed2DmHBtHQJj+6DzbYi3V" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 57 - }, - "_enabled": true, - "_defaultClip": { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - }, - "_clips": [ - { - "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" - } - ], - "playOnLoad": true, - "_id": "c4q9V0/DpDhLK02Ecg968n" - }, - { - "__type__": "cc.Node", - "_name": "Title", - "_objFlags": 0, - "_parent": { - "__id__": 2 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 61 - }, - { - "__id__": 62 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 788, - "height": 166.2 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 800, - 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": "97rn8ctiND6LhDNEOBGG6K" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 60 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "拖动绿巨人,身后会出现残影\n残影会模仿本体的动作", - "_N$string": "拖动绿巨人,身后会出现残影\n残影会模仿本体的动作", - "_fontSize": 60, - "_lineHeight": 70, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_styleFlags": 0, - "_underlineHeight": 0, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "8cyQ29D91Fl5yKcwu3JlF4" - }, - { - "__type__": "cc.LabelOutline", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 60 - }, - "_enabled": true, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_width": 4, - "_id": "17rHiRh4ZF5Z7ZWW8vuoUy" - }, - { - "__type__": "cc.Node", - "_name": "Enemy", - "_objFlags": 0, - "_parent": { - "__id__": 2 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 64 - }, - { - "__id__": 65 - }, - { - "__id__": 66 + "__id__": 40 } ], "_prefab": null, @@ -2806,29 +1947,1081 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "70ymRoXiBEPZuZ8fecKAiJ" + "_id": "39fzlAgcJHZJsv8VxgbgDj" }, { - "__type__": "1a58579uspNBqLnpsdWZDJz", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 39 }, "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "e2lPVblGBH2abBH2DdE8WI" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 38 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "82svNC9+BOPrO3VgvVMWy+" + }, + { + "__type__": "cc.Node", + "_name": "Root2", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 43 + } + ], "_active": true, - "_shadowNum": 10, - "_deltTime": 4, - "_shadowScale": 0.1, - "_shadowColor": { + "_components": [ + { + "__id__": 45 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, - "_opacity": 50, - "_id": "80js6w3WVBV7Bp5UTYVwin" + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.73, + 0.73, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "30IkRLXS5LI7+Kf5Y7nCF7" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 42 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "eeJCWlv8JPk7lr17ToVQI8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 43 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "4a6ivg4OlMFY8kLr2wukKd" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 42 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "eckk2akHhImr/1Tz9Inshe" + }, + { + "__type__": "cc.Node", + "_name": "Root3", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 47 + } + ], + "_active": true, + "_components": [ + { + "__id__": 49 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.64, + 0.64, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "8cLxFOU/ZILrRwGGJHjWoJ" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 46 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 48 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "a78liUsDlMQ7FXgPpxAeAo" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 47 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "d0CM/dElNJ2rTKoQlAEyb4" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 46 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "fckD8uQ1xIa6CG2BrLF/3W" + }, + { + "__type__": "cc.Node", + "_name": "Root4", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 51 + } + ], + "_active": true, + "_components": [ + { + "__id__": 53 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.55, + 0.55, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "c7BOONxh5C25ZxpzXd7deF" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 50 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 52 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "b4QJ/NQChO5ZUqSblDTCLU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 51 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "d0KMly9GJN/YoDCtyhOrIY" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 50 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "ceKpI5mVFEBLHKPBvEeuxR" + }, + { + "__type__": "cc.Node", + "_name": "Root5", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 55 + } + ], + "_active": true, + "_components": [ + { + "__id__": 57 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.45999999999999996, + 0.45999999999999996, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "39IeyF7lBNpq1pLFB+TZoo" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 54 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 56 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "8b75bX8V9NRqP+vlD6ikby" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 55 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "d8vOHuGEBGf7rCdGrqjdRC" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 54 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "69/JAk5XRKdI0lfSxuIumb" + }, + { + "__type__": "cc.Node", + "_name": "Root6", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 59 + } + ], + "_active": true, + "_components": [ + { + "__id__": 61 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.37, + 0.37, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "5ap3+JulhDCo3Ntw6NuvYG" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 58 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 60 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "63g0+0NDBOjpC8Sms6lKhE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 59 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "3cc6ggu5BCF578VWWppfv8" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 58 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "7dLBVi/hZJIbIWCe3hk4i4" + }, + { + "__type__": "cc.Node", + "_name": "Root7", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 63 + } + ], + "_active": true, + "_components": [ + { + "__id__": 65 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.28, + 0.28, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "39bBT9oJFBkp6sbDQaUQp0" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 62 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 64 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "3eUpqG6xBCnobkrLOQnzRo" }, { "__type__": "cc.Sprite", @@ -2860,14 +3053,14 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "e7Y3auveNKUI+Q/CWCOgxS" + "_id": "68fSXclTdKCLXPjl8nhTlI" }, { "__type__": "cc.Animation", "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 62 }, "_enabled": true, "_defaultClip": { @@ -2879,7 +3072,569 @@ } ], "playOnLoad": true, - "_id": "b8wayOpnhJeq61LW/iU5QO" + "_id": "c1aQiHe5RNrKMvg05JO5XR" + }, + { + "__type__": "cc.Node", + "_name": "Root8", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 67 + } + ], + "_active": true, + "_components": [ + { + "__id__": 69 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.19000000000000006, + 0.19000000000000006, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "939Tk4+VpBQpndPBpWk33+" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 66 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 68 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "78Z0FO06xHk61AV1jbQaXB" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 67 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "41BeIgiEpI9qGSpveP1XdE" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 66 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "15OtIPxZdHdp+Y8NtZImTR" + }, + { + "__type__": "cc.Node", + "_name": "Root9", + "_objFlags": 0, + "_parent": { + "__id__": 33 + }, + "_children": [ + { + "__id__": 71 + } + ], + "_active": true, + "_components": [ + { + "__id__": 73 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.10000000000000009, + 0.10000000000000009, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "77a6NYPWVB+KDXZa5p92nR" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 70 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 72 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "aadtPlLfJLGpQ0YEE0cQrL" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 71 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "78wCgFAIBJ44cFAeeMOjrY" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 70 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "17NGleCA9Hs5FiKdiU6g1T" + }, + { + "__type__": "cc.Node", + "_name": "Root", + "_objFlags": 0, + "_parent": { + "__id__": 32 + }, + "_children": [ + { + "__id__": 75 + } + ], + "_active": true, + "_components": [ + { + "__id__": 77 + }, + { + "__id__": 78 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 163, + "height": 141 + }, + "_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": "62d29wz9lPdrF5zvV14QpE" + }, + { + "__type__": "cc.Node", + "_name": "Body", + "_objFlags": 0, + "_parent": { + "__id__": 74 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 76 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 172, + "height": 163 + }, + "_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": "78GVnC1fpOo5YphXEZ8NoY" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 75 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "a1608VvZxJcqK+G8u+BHre" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 74 + }, + "_enabled": true, + "_defaultClip": { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + }, + "_clips": [ + { + "__uuid__": "4a0ec569-7488-45d6-9546-2a3adf8850e8" + } + ], + "playOnLoad": true, + "_id": "6aQX5LoRxMsZhvxLkgMtX3" + }, + { + "__type__": "1a58579uspNBqLnpsdWZDJz", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 74 + }, + "_enabled": true, + "_active": true, + "_shadowNum": 10, + "_deltTime": 4, + "_shadowColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_shadowScale": 0.1, + "_opacity": 50, + "_id": "b4iWmRv6RDkICnIr1pU1wh" }, { "__type__": "cc.Canvas", diff --git a/assets/Script/ActionShadow.ts b/assets/Script/ActionShadow.ts index 24be92c..6d8ad67 100644 --- a/assets/Script/ActionShadow.ts +++ b/assets/Script/ActionShadow.ts @@ -86,12 +86,15 @@ export default class ActionShadow extends cc.Component { private shadowData: ShadowData[] = []; protected start() { - let shadowNodeName = 'ActionShadow_' + this.node.name; + let shadowNodeName = this.node.name + ''; this.shadowNode = this.node.parent.getChildByName(shadowNodeName) if (!this.shadowNode) { this.shadowNode = new cc.Node(shadowNodeName); this.shadowNode.setParent(this.node.parent); this.shadowNode.setSiblingIndex(this.node.getSiblingIndex()); + } + if (CC_EDITOR) { + this.shadowNode['_objFlags'] = 0; this.shadowNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy; this.shadowNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor; } @@ -163,7 +166,7 @@ export default class ActionShadow extends cc.Component { this.shadowNode.destroyAllChildren(); for (let i = 0, len = this.shadowNum; i < len; ++i) { let node = cc.instantiate(this.node); - node.name = 'Shadow' + i; + node.name = `${this.node.name}${i}`; let cmps = node['_components']; for (let j = cmps.length - 1; j >= 0; --j) { if (cmps[j] instanceof cc.RenderComponent) continue; diff --git a/assets/Texture/Enemy.anim b/assets/Texture/Enemy.anim index 865cbbb..da036a7 100644 --- a/assets/Texture/Enemy.anim +++ b/assets/Texture/Enemy.anim @@ -3,45 +3,54 @@ "_name": "Enemy", "_objFlags": 0, "_native": "", - "_duration": 2.0166666666666666, + "_duration": 2, "sample": 60, "speed": 1, "wrapMode": 2, "curveData": { "comps": { "cc.Sprite": { - "spriteFrame": [ - { - "frame": 0.016666666666666666, - "value": { - "__uuid__": "095037c3-3d64-4271-9765-3618bf126cfb" - } - }, - { - "frame": 0.5, - "value": { - "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" - } - }, - { - "frame": 1, - "value": { - "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" - } - }, - { - "frame": 1.5, - "value": { - "__uuid__": "4a368e85-1e8c-4e15-b64c-2441b5123882" - } - }, - { - "frame": 2, - "value": { - "__uuid__": "095037c3-3d64-4271-9765-3618bf126cfb" - } + "spriteFrame": [] + } + }, + "paths": { + "Body": { + "comps": { + "cc.Sprite": { + "spriteFrame": [ + { + "frame": 0, + "value": { + "__uuid__": "095037c3-3d64-4271-9765-3618bf126cfb" + } + }, + { + "frame": 0.48333333333333334, + "value": { + "__uuid__": "b7eb72f8-b83d-46af-8655-1973518a1f6a" + } + }, + { + "frame": 0.9833333333333333, + "value": { + "__uuid__": "b4b90137-3a8e-48b8-9faa-ae9b30fa7928" + } + }, + { + "frame": 1.4833333333333334, + "value": { + "__uuid__": "4a368e85-1e8c-4e15-b64c-2441b5123882" + } + }, + { + "frame": 1.9833333333333334, + "value": { + "__uuid__": "095037c3-3d64-4271-9765-3618bf126cfb" + } + } + ] } - ] + } } } },