From 22f54d7a12c19819f4318ef9bc3f5c8392100ee6 Mon Sep 17 00:00:00 2001 From: ifengzp Date: Mon, 6 Apr 2020 02:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E6=AE=8B=E5=BD=B1=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Scene/Home/Home.fire | 2 +- assets/Scene/Home/Home.ts | 3 +- assets/Scene/Moving_ghost.meta | 7 + assets/Scene/Moving_ghost/Moving_ghost.fire | 1111 +++++++++++++++++ .../Scene/Moving_ghost/Moving_ghost.fire.meta | 7 + assets/Scene/Moving_ghost/Moving_ghost.ts | 43 + .../Scene/Moving_ghost/Moving_ghost.ts.meta | 9 + assets/Scene/Moving_ghost/Texture.meta | 7 + assets/Scene/Moving_ghost/Texture/sheep.png | Bin 0 -> 20863 bytes .../Scene/Moving_ghost/Texture/sheep.png.meta | 36 + .../Moving_ghost/Texture/single_color.png | Bin 0 -> 82 bytes .../Texture/single_color.png.meta | 36 + build-templates/web-mobile/index.html | 2 +- settings/project.json | 11 +- 14 files changed, 1268 insertions(+), 6 deletions(-) create mode 100644 assets/Scene/Moving_ghost.meta create mode 100644 assets/Scene/Moving_ghost/Moving_ghost.fire create mode 100644 assets/Scene/Moving_ghost/Moving_ghost.fire.meta create mode 100644 assets/Scene/Moving_ghost/Moving_ghost.ts create mode 100644 assets/Scene/Moving_ghost/Moving_ghost.ts.meta create mode 100644 assets/Scene/Moving_ghost/Texture.meta create mode 100755 assets/Scene/Moving_ghost/Texture/sheep.png create mode 100644 assets/Scene/Moving_ghost/Texture/sheep.png.meta create mode 100644 assets/Scene/Moving_ghost/Texture/single_color.png create mode 100644 assets/Scene/Moving_ghost/Texture/single_color.png.meta diff --git a/assets/Scene/Home/Home.fire b/assets/Scene/Home/Home.fire index 88a2ad5..5186733 100755 --- a/assets/Scene/Home/Home.fire +++ b/assets/Scene/Home/Home.fire @@ -189,7 +189,7 @@ "array": [ 0, 0, - 452.93128617926146, + 443.4050067376326, 0, 0, 0, diff --git a/assets/Scene/Home/Home.ts b/assets/Scene/Home/Home.ts index 874bebc..3919d13 100644 --- a/assets/Scene/Home/Home.ts +++ b/assets/Scene/Home/Home.ts @@ -8,7 +8,8 @@ enum sceneList { 'Magnifying_mirror' = '局部缩放效果', 'Change_clothes' = '换装', 'Typer' = '打字机效果', - 'Scratch_ticket' = '刮刮卡实现' + 'Scratch_ticket' = '刮刮卡实现', + 'Moving_ghost' = '移动残影效果' } @ccclass diff --git a/assets/Scene/Moving_ghost.meta b/assets/Scene/Moving_ghost.meta new file mode 100644 index 0000000..422fa48 --- /dev/null +++ b/assets/Scene/Moving_ghost.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.0.1", + "uuid": "2a7508e7-c0c0-42c3-b200-93f80c022ada", + "isSubpackage": false, + "subpackageName": "", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/Scene/Moving_ghost/Moving_ghost.fire b/assets/Scene/Moving_ghost/Moving_ghost.fire new file mode 100644 index 0000000..ee088e5 --- /dev/null +++ b/assets/Scene/Moving_ghost/Moving_ghost.fire @@ -0,0 +1,1111 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "", + "_objFlags": 0, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_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, + "y": 0 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_is3DNode": true, + "_groupIndex": 0, + "groupIndex": 0, + "autoReleaseAssets": false, + "_id": "aec53dfe-e702-4258-978a-51e2855d7fac" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_active": true, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1334, + "height": 750 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 667, + 375, + 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": "a5esZu+45LA5mBpvttspPD" + }, + { + "__type__": "cc.Node", + "_name": "Main Camera", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1334, + "height": 750 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 443.4050067376326, + 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": "e1WoFrQ79G7r4ZuQE3HlNb" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 3 + }, + "_enabled": true, + "_cullingMask": 4294967295, + "_clearFlags": 7, + "_backgroundColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_depth": -1, + "_zoomRatio": 1, + "_targetTexture": null, + "_fov": 60, + "_orthoSize": 10, + "_nearClip": 1, + "_farClip": 4096, + "_ortho": true, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_renderStages": 1, + "_alignWithScreen": true, + "_id": "81GN3uXINKVLeW4+iKSlim" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__id__": 7 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 27, + "g": 38, + "b": 46, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1334, + "height": 750 + }, + "_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": "1ad0GeXK9KlKN/Uu3KN0BG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "de0de72b-78cf-46f2-aa49-1d8c91cabc69" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "1675pN+59KbaL+MuMOeYKG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 2, + "_id": "cauo5tYi9D9JR0U7Ikxfs9" + }, + { + "__type__": "cc.Node", + "_name": "ghost_canvas_5", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + } + ], + "_prefab": null, + "_opacity": 155, + "_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": "cbQv1dxoBLFpagqOzLQ6Y7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "16Rsd34XhKE7KNxmZscowT" + }, + { + "__type__": "cc.Node", + "_name": "ghost_canvas_4", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + } + ], + "_prefab": null, + "_opacity": 175, + "_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": "f5zoKTEkJGu6AIoeG2eA+A" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "08Gw+O0axH0JekJRpCJVLH" + }, + { + "__type__": "cc.Node", + "_name": "ghost_canvas_3", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + } + ], + "_prefab": null, + "_opacity": 195, + "_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": "c2pBssjLBLXKbXJjhuAb4V" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 12 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "d4C19H/aZISa/sSQiGoV2l" + }, + { + "__type__": "cc.Node", + "_name": "ghost_canvas_2", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 15 + } + ], + "_prefab": null, + "_opacity": 215, + "_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": "914poY0+hER43PYo1zsIXT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 14 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "0cqpRO76pNcoijkn8RrQDq" + }, + { + "__type__": "cc.Node", + "_name": "ghost_canvas_1", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 17 + } + ], + "_prefab": null, + "_opacity": 235, + "_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": "03Z6yHCI9JE5jrLbUglArF" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 16 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "19WVPVXdtNb68goEuUt+cU" + }, + { + "__type__": "cc.Node", + "_name": "role", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 19 + } + ], + "_active": true, + "_components": [ + { + "__id__": 21 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 167, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -200.022, + 30.604, + 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": 2, + "groupIndex": 2, + "_id": "c6fzHdX2JBGrufsT2WoruM" + }, + { + "__type__": "cc.Node", + "_name": "camera", + "_objFlags": 0, + "_parent": { + "__id__": 18 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 20 + } + ], + "_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, + 443.4050067376326, + 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": "0asaQuE+BFQoTGmilcUJ+u" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 19 + }, + "_enabled": true, + "_cullingMask": -4, + "_clearFlags": 6, + "_backgroundColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_depth": 0, + "_zoomRatio": 1, + "_targetTexture": null, + "_fov": 60, + "_orthoSize": 10, + "_nearClip": 0.1, + "_farClip": 4096, + "_ortho": true, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_renderStages": 1, + "_alignWithScreen": true, + "_id": "91Y9u3OIFO4LbQ44SidELv" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 18 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "67109cb1-b42f-4731-ace1-98b0e220760a" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "c8q1EI7+pO+LJ3GlH5vqQd" + }, + { + "__type__": "cc.Canvas", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_designResolution": { + "__type__": "cc.Size", + "width": 1334, + "height": 750 + }, + "_fitWidth": false, + "_fitHeight": true, + "_id": "59Cd0ovbdF4byw5sbjJDx7" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "29zXboiXFBKoIV4PQ2liTe" + }, + { + "__type__": "0dc97ZIzztH7IJMDQwHUeiI", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "ghostCanvasList": [ + { + "__id__": 17 + }, + { + "__id__": 15 + }, + { + "__id__": 13 + }, + { + "__id__": 11 + }, + { + "__id__": 9 + } + ], + "role": { + "__id__": 18 + }, + "roleCamera": { + "__id__": 20 + }, + "_id": "575/ntD6xJLZYoQvTonnUU" + } +] \ No newline at end of file diff --git a/assets/Scene/Moving_ghost/Moving_ghost.fire.meta b/assets/Scene/Moving_ghost/Moving_ghost.fire.meta new file mode 100644 index 0000000..4159d8a --- /dev/null +++ b/assets/Scene/Moving_ghost/Moving_ghost.fire.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.2.6", + "uuid": "aec53dfe-e702-4258-978a-51e2855d7fac", + "asyncLoadAssets": false, + "autoReleaseAssets": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/Scene/Moving_ghost/Moving_ghost.ts b/assets/Scene/Moving_ghost/Moving_ghost.ts new file mode 100644 index 0000000..f63c373 --- /dev/null +++ b/assets/Scene/Moving_ghost/Moving_ghost.ts @@ -0,0 +1,43 @@ +const { ccclass, property } = cc._decorator; + +@ccclass +export default class Moving_ghost extends cc.Component { + @property([cc.Sprite]) + ghostCanvasList: cc.Sprite[] = []; + @property(cc.Node) + role: cc.Node = null; + @property(cc.Camera) + roleCamera: cc.Camera = null; + + onLoad() { + const texture = new cc.RenderTexture(); + texture.initWithSize(this.node.width, this.node.height); + const spriteFrame = new cc.SpriteFrame(); + spriteFrame.setTexture(texture); + this.roleCamera.targetTexture = texture; + this.ghostCanvasList.forEach((sprite) => { + sprite.spriteFrame = spriteFrame; + }); + + this.schedule(this.ghostFollow, 0.1, cc.macro.REPEAT_FOREVER); + this.node.on(cc.Node.EventType.TOUCH_MOVE, this.touchMoveEvent, this); + } + + touchMoveEvent(evt: cc.Event.EventTouch) { + this.role.x += evt.getDeltaX(); + this.role.y += evt.getDeltaY(); + } + + beforeDestroy() { + this.unschedule(this.ghostFollow); + } + + ghostFollow() { + this.ghostCanvasList.forEach((sprite, i) => { + const dis = (sprite.node.position as any).sub(this.role.position).mag(); + if (dis < 0.5) return; // 给个误差范围,涉及到浮点数计算,dis的结果不可能精确为0,小于0.5就可以认为是静止了 + sprite.node.stopAllActions(); + sprite.node.runAction(cc.moveTo(i * 0.04 + 0.02, this.role.x, this.role.y)); + }); + } +} diff --git a/assets/Scene/Moving_ghost/Moving_ghost.ts.meta b/assets/Scene/Moving_ghost/Moving_ghost.ts.meta new file mode 100644 index 0000000..f878296 --- /dev/null +++ b/assets/Scene/Moving_ghost/Moving_ghost.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.5", + "uuid": "0dc97648-cf3b-47ec-824c-0d0c0751e888", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/Scene/Moving_ghost/Texture.meta b/assets/Scene/Moving_ghost/Texture.meta new file mode 100644 index 0000000..4384cf9 --- /dev/null +++ b/assets/Scene/Moving_ghost/Texture.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.0.1", + "uuid": "8435a0d4-52a7-4838-b251-a5d451bb0d8b", + "isSubpackage": false, + "subpackageName": "", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/Scene/Moving_ghost/Texture/sheep.png b/assets/Scene/Moving_ghost/Texture/sheep.png new file mode 100755 index 0000000000000000000000000000000000000000..9cdfaef6f621055b02ba048806fdcc6aa8516996 GIT binary patch literal 20863 zcmcF~gL5X&_jPRZ6Fb@1wr%4{Ha0fi7*DjZwXtnIv2EMt#?CL__kVb6YUb8-S69uP z?mqYS?b8t|O47&(_y}NNV92sE5^CS};QP*jgZX}**1N@i8z@UrMNu%Yx>&?_W9aX9 zQd1cAQ;%|cTvCz7?>Li7}(iQFfhI}Ffd%FzaUkC?+O?bd1(o-um4@S zoh6B2U@E_4B}6qm*DkZ%Jc%@4hlMQ<^ft~N76SHEHsooqBKaA{_aYlc_PTf&^g2fN z*3=NNN>t9asO|ShCl}-I-u5RH=eX?ECoey*o_^nQOlI-BOijE@y=7~MBqboRjgSiF zy4{0)+h80sxO7n%YakLC`v_@t9GMvmULiUgaDp_LLo757&n!-A1dS~iX$}rg%py({ zpG%7wLRp{3Qo1XDGerALtth=D!?5#FgpjAXfF`atB_axFfK3C= zT=Z!Q6ZE(gMmRYGiOTI2y^{VnK?z?j1OTqcnLIuWcv=qK7AE8d^F-#sQ?CEU$(xMJ z(lM6tC+cs$8QO75Z30ZhWF|gTAt-54Q7P>8uykVae}-- zB?HEwrG0|sy^AfUCSTfQI1Kh9JD48M<(~84=URvMq746CDq7^FtTi<0obSoI-!g6) zdJ*f=gb+p0v{a<^;&MYj@ zEFj0uV3*zsqmwR`CB5zg9oaoa<9dWYYW~ivaC9H~%OA<c$Gw_^=(?_6V@+(iEljpCrjCh;Vyq|B|CTD@nuJWiOo9!rDTEy6zj(oW1nAR zg?dGGJ!uM%6me8wIlv=TVM;goye{zU{N9;mN7w^P8rmOSnKLzsx&06Bs&2m!VCFKtzP3{k^Wy1+%;_h`NW+O+?=;(hnBUA zLIphMtCN=6byUyLST-2xnTjklv6$DtLj&K4^9g?R4N*<}){firF$d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IfA>Fmtw1$G~%ssQ14Y< zhC_5Zc1tDI6|lz5#N!p6+~KDlDMr+#9xpVttID5L3s{qT&VaCfJ?x_Y~--&wV)+?)2Q`j7EG5zemR!TI1 zP7$br1QD0WnBLQ?dqq{%%-4#Rn=0hp%6uI@K~=tCs4tsPWRp`+!Y`Y^pIb6(73Ngv zMW~iZGwAl@7BPN1Hnc zOI#ZOc4Bf90NT#qy83I|xeumy3K|Q3=dI`$zkIAg(nnwx+yVso)$TXPIj%PL*Ka)e zYc!F;egR2p#$ZlYd;wAAk+i)Y-{0;x2Q$qeTH)uyf&f_`3zRvcCpd7jgzuL28V*Z^ zaF0HlqXY~y%?NnVAj*aO_f6K>2OGauRPIIhJY~^rqh-+yxL0fWZ<>@*l{<+58mJVW%pf5Zkc2wepX*zK4|00%gBz}P2iDC zLd@BG07mh=xm!pJDF@a>LZXamz(MY{HidVaJ9xo z%43~RIaH1LJmD0U3OQXS`YX|AzoIe*v9_(r!8c{3XHuJ2BXs&ByZADvov?L-a7&Gvx__<6LfNLa@E-{VkO zEHW#CNPXn#sKz?=`qWa~>GO6`l~j{UiFU&r5?Q!Oh!bz)S5~5jdbytdm!OsU zDIs0QUsyk?Qi{1$z7oFgq6Lq={7Sth^pUs6it=L5@IV<0;or9#*U!Hud`R=I9Ywsn zHR(X5NlMCu$uB?(pd!lXU?(^Aenk-C)3HXS7aRWib1U5(qY{Q%>H_0i%SGT-MYG{KErZsX-|! zg%bmxPk@{k<`Tax=oe!jIj*$+r>jS^lrhEee=Mo@zl!(a=z5BdfTZ3V?gTkPzEBLjxaqa2fc!d3jiRxIrU=$36a2MIgTe~DWM4fnP3tm literal 0 HcmV?d00001 diff --git a/assets/Scene/Moving_ghost/Texture/single_color.png.meta b/assets/Scene/Moving_ghost/Texture/single_color.png.meta new file mode 100644 index 0000000..fb7a1e9 --- /dev/null +++ b/assets/Scene/Moving_ghost/Texture/single_color.png.meta @@ -0,0 +1,36 @@ +{ + "ver": "2.3.4", + "uuid": "ad64223a-f067-4df0-9d6a-eee10808d220", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 2, + "height": 2, + "platformSettings": {}, + "subMetas": { + "single_color": { + "ver": "1.0.4", + "uuid": "de0de72b-78cf-46f2-aa49-1d8c91cabc69", + "rawTextureUuid": "ad64223a-f067-4df0-9d6a-eee10808d220", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 2, + "height": 2, + "rawWidth": 2, + "rawHeight": 2, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/build-templates/web-mobile/index.html b/build-templates/web-mobile/index.html index 623d090..833fac5 100644 --- a/build-templates/web-mobile/index.html +++ b/build-templates/web-mobile/index.html @@ -3,7 +3,7 @@ - 异名 | cocos-awesome + 异名 | Cocos Awesome