From 013d8d3d7eccf8f15f12757313e6944b68c4d8d5 Mon Sep 17 00:00:00 2001 From: tiendat3699 <96950844+tiendat3699@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:11 +0700 Subject: [PATCH] feat: update effect --- .prettierrc | 17 + assets/Animations.meta | 12 + assets/Animations/goal.anim | 210 ++ assets/Animations/goal.anim.meta | 13 + assets/Assets/P4P_BG-01.png | Bin 0 -> 14472 bytes assets/Assets/P4P_BG-01.png.meta | 134 + assets/Assets/streak.png | Bin 0 -> 7518 bytes assets/Assets/streak.png.meta | 43 + assets/Materials.meta | 12 + assets/Materials/mat_goal.mtl | 37 + assets/Materials/mat_goal.mtl.meta | 11 + assets/Materials/mat_trail.mtl | 37 + assets/Materials/mat_trail.mtl.meta | 11 + assets/Prefabs/Ball.prefab | 830 ++++- assets/Prefabs/Goal Particle.prefab | 159 +- .../Prefabs/Obstacles/Easy Obstacle 1.prefab | 168 +- .../Prefabs/Obstacles/Easy Obstacle 2.prefab | 164 +- .../Prefabs/Obstacles/Easy Obstacle 3.prefab | 166 +- assets/Scenes/TestScene.scene | 2929 +++++++++++------ assets/Scripts/BEConnector.ts | 111 +- assets/Scripts/Ball.ts | 49 +- assets/Scripts/EndGameUIController.ts | 43 +- assets/Scripts/Enums.ts | 18 +- assets/Scripts/Flipper.ts | 4 +- assets/Scripts/FlipperController.ts | 31 +- assets/Scripts/GameplayController.ts | 80 +- assets/Scripts/LevelController.ts | 21 +- assets/Scripts/ObstacleController.ts | 17 +- assets/Scripts/SoundManager.ts | 2 - assets/Scripts/Test.ts | 5 +- assets/Scripts/UIController.ts | 34 +- assets/Scripts/Utilities.meta | 12 + assets/Scripts/Utilities/Utilities.ts | 15 + assets/Scripts/Utilities/Utilities.ts.meta | 9 + settings/v2/packages/cocos-service.json | 2 +- settings/v2/packages/information.json | 23 + settings/v2/packages/project.json | 7 +- 37 files changed, 4057 insertions(+), 1379 deletions(-) create mode 100644 .prettierrc create mode 100644 assets/Animations.meta create mode 100644 assets/Animations/goal.anim create mode 100644 assets/Animations/goal.anim.meta create mode 100644 assets/Assets/P4P_BG-01.png create mode 100644 assets/Assets/P4P_BG-01.png.meta create mode 100644 assets/Assets/streak.png create mode 100644 assets/Assets/streak.png.meta create mode 100644 assets/Materials.meta create mode 100644 assets/Materials/mat_goal.mtl create mode 100644 assets/Materials/mat_goal.mtl.meta create mode 100644 assets/Materials/mat_trail.mtl create mode 100644 assets/Materials/mat_trail.mtl.meta create mode 100644 assets/Scripts/Utilities.meta create mode 100644 assets/Scripts/Utilities/Utilities.ts create mode 100644 assets/Scripts/Utilities/Utilities.ts.meta create mode 100644 settings/v2/packages/information.json diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..e0398b9 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,17 @@ +{ + "arrowParens": "always", + "bracketSameLine": false, + "bracketSpacing": true, + "embeddedLanguageFormatting": "auto", + "insertPragma": false, + "jsxSingleQuote": false, + "printWidth": 120, + "proseWrap": "preserve", + "quoteProps": "as-needed", + "requirePragma": false, + "semi": true, + "singleQuote": true, + "tabWidth": 4, + "trailingComma": "all", + "useTabs": false +} \ No newline at end of file diff --git a/assets/Animations.meta b/assets/Animations.meta new file mode 100644 index 0000000..12fc263 --- /dev/null +++ b/assets/Animations.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "8670cb90-7797-4574-b557-379a46b2bc37", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Animations/goal.anim b/assets/Animations/goal.anim new file mode 100644 index 0000000..630b232 --- /dev/null +++ b/assets/Animations/goal.anim @@ -0,0 +1,210 @@ +[ + { + "__type__": "cc.AnimationClip", + "_name": "goal", + "_objFlags": 0, + "__editorExtras__": { + "embeddedPlayerGroups": [] + }, + "_native": "", + "sample": 60, + "speed": 1, + "wrapMode": 1, + "enableTrsBlending": false, + "_duration": 0.25, + "_hash": 500763545, + "_tracks": [ + { + "__id__": 1 + } + ], + "_exoticAnimation": null, + "_events": [], + "_embeddedPlayers": [] + }, + { + "__type__": "cc.animation.VectorTrack", + "_binding": { + "__type__": "cc.animation.TrackBinding", + "path": { + "__id__": 2 + }, + "proxy": null + }, + "_channels": [ + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_nComponents": 3 + }, + { + "__type__": "cc.animation.TrackPath", + "_paths": [ + { + "__id__": 3 + }, + "position" + ] + }, + { + "__type__": "cc.animation.HierarchyPath", + "path": "Sprite" + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 5 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 0.03333333333333333, + 0.08333333333333333, + 0.15, + 0.2, + 0.25 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -10, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -2, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 10, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -3, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 7 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 9 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [], + "_values": [], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 11 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [], + "_values": [], + "preExtrapolation": 1, + "postExtrapolation": 1 + } +] \ No newline at end of file diff --git a/assets/Animations/goal.anim.meta b/assets/Animations/goal.anim.meta new file mode 100644 index 0000000..e46c6ce --- /dev/null +++ b/assets/Animations/goal.anim.meta @@ -0,0 +1,13 @@ +{ + "ver": "2.0.3", + "importer": "animation-clip", + "imported": true, + "uuid": "e0cda13a-c026-4d67-82c4-54acfe00f72d", + "files": [ + ".cconb" + ], + "subMetas": {}, + "userData": { + "name": "goal" + } +} diff --git a/assets/Assets/P4P_BG-01.png b/assets/Assets/P4P_BG-01.png new file mode 100644 index 0000000000000000000000000000000000000000..2b44bd46828a1b04c0d63d09d625043bdbde7e49 GIT binary patch literal 14472 zcmeI2Wl$W!x9DeC+>_u0Pap&*I02TRA-FpPNN{)EB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rpo)@|7m|`vA-FDTsA&WIv3NE*7`Hq=FNnTRTWX<8ybvZxJQOz63{)MFTKl zK}^s81OSRKt-r92m(8(SiFf+R1Z*U7xj_d8$f+XU3mz$O QAO_ycC`(tqGyU?v0ILSQtN;K2 literal 0 HcmV?d00001 diff --git a/assets/Assets/P4P_BG-01.png.meta b/assets/Assets/P4P_BG-01.png.meta new file mode 100644 index 0000000..adacddb --- /dev/null +++ b/assets/Assets/P4P_BG-01.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@6c48a", + "displayName": "P4P_BG-01", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@f9941", + "displayName": "P4P_BG-01", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 512, + "height": 512, + "rawWidth": 512, + "rawHeight": 512, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -256, + -256, + 0, + 256, + -256, + 0, + -256, + 256, + 0, + 256, + 256, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 512, + 512, + 512, + 0, + 0, + 512, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -256, + -256, + 0 + ], + "maxPos": [ + 256, + 256, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@f9941" + } +} diff --git a/assets/Assets/streak.png b/assets/Assets/streak.png new file mode 100644 index 0000000000000000000000000000000000000000..c6adfe901275a23c6aad5d83765e6c6cb14484b7 GIT binary patch literal 7518 zcmV-k9iifhP)KLZ*U+5Lu!Sk^o_Z5E4Meg@_7P6crJiNL9pw)e1;Xm069{HJUZAPk55R%$-RIA z6-eL&AQ0xu!e<4=008gy@A0LT~suv4>S3ILP<0Bm`DLLvaF4FK%)Nj?Pt*r}7;7Xa9z9H|HZjR63e zC`Tj$K)V27Re@400>HumpsYY5E(E}?0f1SyGDiY{y#)Yvj#!WnKwtoXnL;eg03bL5 z07D)V%>y7z1E4U{zu>7~aD})?0RX_umCct+(lZpemCzb@^6=o|A>zVpu|i=NDG+7} zl4`aK{0#b-!z=TL9Wt0BGO&T{GJWpjryhdijfaIQ&2!o}p04JRKYg3k&Tf zVxhe-O!X z{f;To;xw^bEES6JSc$k$B2CA6xl)ltA<32E66t?3@gJ7`36pmX0IY^jz)rRYwaaY4 ze(nJRiw;=Qb^t(r^DT@T3y}a2XEZW-_W%Hszxj_qD**t_m!#tW0KDiJT&R>6OvVTR z07RgHDzHHZ48atvzz&?j9lXF70$~P3Knx_nJP<+#`N z#-MZ2bTkiLfR>_b(HgWKJ%F~Nr_oF3b#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lcPfmHyJr|o8 z-teZp-{bMwlV|*78n*nSxKfHM|NN&frT9`xI2q0P_`l}jdtb`*|MCx4 zO0jj`zsvV}YV5lL@C*>=V4MQ-2jd?{f$hm0-~A!VzXX6U0OO0s-%nQhuX=Lyo4ml+ oUyQG_QD14%zZro4*4O_J0MKsYb+XI<1ONa407*qoM6N<$f?cFVvj6}9 literal 0 HcmV?d00001 diff --git a/assets/Assets/streak.png.meta b/assets/Assets/streak.png.meta new file mode 100644 index 0000000..329487a --- /dev/null +++ b/assets/Assets/streak.png.meta @@ -0,0 +1,43 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "d2e7191d-3d2d-41b9-9714-e81a24fbb176", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "ver": "1.0.22", + "importer": "texture", + "uuid": "d2e7191d-3d2d-41b9-9714-e81a24fbb176@6c48a", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "premultiplyAlpha": false, + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "d2e7191d-3d2d-41b9-9714-e81a24fbb176", + "visible": true + }, + "displayName": "streak", + "id": "6c48a", + "name": "texture" + } + }, + "userData": { + "type": "texture", + "redirect": "d2e7191d-3d2d-41b9-9714-e81a24fbb176@6c48a", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false + } +} diff --git a/assets/Materials.meta b/assets/Materials.meta new file mode 100644 index 0000000..4343ddd --- /dev/null +++ b/assets/Materials.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "ac37de03-472a-4f50-b416-d69ec65dad2f", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Materials/mat_goal.mtl b/assets/Materials/mat_goal.mtl new file mode 100644 index 0000000..4fcdbdf --- /dev/null +++ b/assets/Materials/mat_goal.mtl @@ -0,0 +1,37 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "d1346436-ac96-4271-b863-1f4fdead95b0", + "__expectedType__": "cc.EffectAsset" + }, + "_techIdx": 0, + "_defines": [ + {} + ], + "_states": [ + { + "stage": 200, + "rasterizerState": {}, + "depthStencilState": {}, + "blendState": { + "targets": [ + {} + ] + } + } + ], + "_props": [ + { + "tintColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + } + } + ] +} \ No newline at end of file diff --git a/assets/Materials/mat_goal.mtl.meta b/assets/Materials/mat_goal.mtl.meta new file mode 100644 index 0000000..123e485 --- /dev/null +++ b/assets/Materials/mat_goal.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.20", + "importer": "material", + "imported": true, + "uuid": "601118ed-3a55-4d36-9364-79083615a5d6", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Materials/mat_trail.mtl b/assets/Materials/mat_trail.mtl new file mode 100644 index 0000000..a27ac16 --- /dev/null +++ b/assets/Materials/mat_trail.mtl @@ -0,0 +1,37 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "17debcc3-0a6b-4b8a-b00b-dc58b885581e", + "__expectedType__": "cc.EffectAsset" + }, + "_techIdx": 0, + "_defines": [ + {} + ], + "_states": [ + { + "stage": 200, + "rasterizerState": {}, + "depthStencilState": {}, + "blendState": { + "targets": [ + {} + ] + } + } + ], + "_props": [ + { + "tintColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + } + } + ] +} \ No newline at end of file diff --git a/assets/Materials/mat_trail.mtl.meta b/assets/Materials/mat_trail.mtl.meta new file mode 100644 index 0000000..da1c13a --- /dev/null +++ b/assets/Materials/mat_trail.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.20", + "importer": "material", + "imported": true, + "uuid": "4ffbb8e9-885f-46a7-9c2e-dc3b9ed9f7e2", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Prefabs/Ball.prefab b/assets/Prefabs/Ball.prefab index 53a89a2..d2c0b01 100644 --- a/assets/Prefabs/Ball.prefab +++ b/assets/Prefabs/Ball.prefab @@ -16,27 +16,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": null, - "_children": [], + "_children": [ + { + "__id__": 2 + } + ], "_active": true, "_components": [ { - "__id__": 2 + "__id__": 61 }, { - "__id__": 4 + "__id__": 63 }, { - "__id__": 6 + "__id__": 65 }, { - "__id__": 8 + "__id__": 67 }, { - "__id__": 10 + "__id__": 69 } ], "_prefab": { - "__id__": 12 + "__id__": 71 }, "_lpos": { "__type__": "cc.Vec3", @@ -53,8 +57,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.3, - "y": 0.3, + "x": 0.2, + "y": 0.2, "z": 1 }, "_mobility": 0, @@ -67,6 +71,762 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "Trail", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + } + ], + "_prefab": { + "__id__": 60 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 10 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.ParticleSystem", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_materials": [ + { + "__uuid__": "ea7478b0-408d-4052-b703-f0d2355e095f", + "__expectedType__": "cc.Material" + }, + null + ], + "_visFlags": 0, + "startColor": { + "__id__": 5 + }, + "scaleSpace": 1, + "startSize3D": false, + "startSizeX": { + "__id__": 6 + }, + "startSize": { + "__id__": 6 + }, + "startSizeY": { + "__id__": 7 + }, + "startSizeZ": { + "__id__": 8 + }, + "startSpeed": { + "__id__": 9 + }, + "startRotation3D": false, + "startRotationX": { + "__id__": 10 + }, + "startRotationY": { + "__id__": 11 + }, + "startRotationZ": { + "__id__": 12 + }, + "startRotation": { + "__id__": 12 + }, + "startDelay": { + "__id__": 13 + }, + "startLifetime": { + "__id__": 14 + }, + "duration": 1, + "loop": true, + "simulationSpeed": 1, + "playOnAwake": true, + "gravityModifier": { + "__id__": 15 + }, + "rateOverTime": { + "__id__": 16 + }, + "rateOverDistance": { + "__id__": 17 + }, + "bursts": [], + "_renderCulling": false, + "_cullingMode": 0, + "_aabbHalfX": 0, + "_aabbHalfY": 0, + "_aabbHalfZ": 0, + "_dataCulling": false, + "enableCulling": false, + "_colorOverLifetimeModule": { + "__id__": 18 + }, + "_shapeModule": { + "__id__": 20 + }, + "_sizeOvertimeModule": { + "__id__": 22 + }, + "_velocityOvertimeModule": { + "__id__": 27 + }, + "_forceOvertimeModule": { + "__id__": 32 + }, + "_limitVelocityOvertimeModule": { + "__id__": 36 + }, + "_rotationOvertimeModule": { + "__id__": 41 + }, + "_textureAnimationModule": { + "__id__": 45 + }, + "_noiseModule": { + "__id__": 49 + }, + "_trailModule": { + "__id__": 50 + }, + "renderer": { + "__id__": 59 + }, + "_prewarm": true, + "_capacity": 1, + "_simulationSpace": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "46cV34eRFEJo7sL1+RIesi" + }, + { + "__type__": "cc.GradientRange", + "_mode": 0, + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + } + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 30, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 1000, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 1, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.ColorOvertimeModule", + "_enable": false, + "color": { + "__id__": 19 + } + }, + { + "__type__": "cc.GradientRange", + "_mode": 0, + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + } + }, + { + "__type__": "cc.ShapeModule", + "_enable": false, + "_shapeType": 2, + "shapeType": 2, + "emitFrom": 0, + "alignToDirection": false, + "randomDirectionAmount": 0, + "sphericalDirectionAmount": 0, + "randomPositionAmount": 0, + "radius": 1, + "radiusThickness": 1, + "arcMode": 0, + "arcSpread": 0, + "arcSpeed": { + "__id__": 21 + }, + "length": 5, + "boxThickness": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_rotation": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_arc": 6.283185307179586, + "_angle": 0.4363323129985824 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 1, + "multiplier": 1 + }, + { + "__type__": "cc.SizeOvertimeModule", + "_enable": false, + "separateAxes": false, + "size": { + "__id__": 23 + }, + "x": { + "__id__": 24 + }, + "y": { + "__id__": 25 + }, + "z": { + "__id__": 26 + } + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.VelocityOvertimeModule", + "_enable": false, + "x": { + "__id__": 28 + }, + "y": { + "__id__": 29 + }, + "z": { + "__id__": 30 + }, + "speedModifier": { + "__id__": 31 + }, + "space": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 1, + "multiplier": 1 + }, + { + "__type__": "cc.ForceOvertimeModule", + "_enable": false, + "x": { + "__id__": 33 + }, + "y": { + "__id__": 34 + }, + "z": { + "__id__": 35 + }, + "space": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.LimitVelocityOvertimeModule", + "_enable": false, + "limitX": { + "__id__": 37 + }, + "limitY": { + "__id__": 38 + }, + "limitZ": { + "__id__": 39 + }, + "limit": { + "__id__": 40 + }, + "dampen": 3, + "separateAxes": false, + "space": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.RotationOvertimeModule", + "_enable": false, + "_separateAxes": false, + "x": { + "__id__": 42 + }, + "y": { + "__id__": 43 + }, + "z": { + "__id__": 44 + } + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.TextureAnimationModule", + "_enable": false, + "_numTilesX": 0, + "numTilesX": 0, + "_numTilesY": 0, + "numTilesY": 0, + "_mode": 0, + "animation": 0, + "frameOverTime": { + "__id__": 46 + }, + "startFrame": { + "__id__": 48 + }, + "cycleCount": 0, + "_flipU": 0, + "_flipV": 0, + "_uvChannelMask": -1, + "randomRow": false, + "rowIndex": 0 + }, + { + "__type__": "cc.CurveRange", + "mode": 1, + "spline": { + "__id__": 47 + }, + "multiplier": 1 + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 1 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 2, + "tangentWeightMode": 0, + "value": 1, + "rightTangent": 0, + "rightTangentWeight": 0, + "leftTangent": 0, + "leftTangentWeight": 0, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 2, + "tangentWeightMode": 0, + "value": 1, + "rightTangent": 0, + "rightTangentWeight": 0, + "leftTangent": 0, + "leftTangentWeight": 0, + "easingMethod": 0, + "__editorExtras__": null + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.NoiseModule", + "_enable": false, + "_strengthX": 10, + "_strengthY": 10, + "_strengthZ": 10, + "_noiseSpeedX": 0, + "_noiseSpeedY": 0, + "_noiseSpeedZ": 0, + "_noiseFrequency": 1, + "_remapX": 0, + "_remapY": 0, + "_remapZ": 0, + "_octaves": 1, + "_octaveMultiplier": 0.5, + "_octaveScale": 2 + }, + { + "__type__": "cc.TrailModule", + "_enable": true, + "mode": 0, + "lifeTime": { + "__id__": 51 + }, + "_minParticleDistance": 0.1, + "existWithParticles": true, + "textureMode": 0, + "widthFromParticle": true, + "widthRatio": { + "__id__": 52 + }, + "colorFromParticle": false, + "colorOverTrail": { + "__id__": 54 + }, + "colorOvertime": { + "__id__": 58 + }, + "_space": 0, + "_particleSystem": { + "__id__": 3 + } + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0.2, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 1, + "spline": { + "__id__": 53 + }, + "multiplier": 1 + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 0.29, + 1 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 2, + "tangentWeightMode": 0, + "value": 1, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 2, + "tangentWeightMode": 0, + "value": 0.42592592592592593, + "rightTangent": -1.0937886661717398, + "rightTangentWeight": 0.10006138082593509, + "leftTangent": -1.0937886661717398, + "leftTangentWeight": 0.0047293447293447295, + "easingMethod": 0, + "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 2, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": null + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.GradientRange", + "_mode": 1, + "gradient": { + "__id__": 55 + } + }, + { + "__type__": "cc.Gradient", + "colorKeys": [], + "alphaKeys": [ + { + "__id__": 56 + }, + { + "__id__": 57 + } + ], + "mode": 0 + }, + { + "__type__": "cc.AlphaKey", + "alpha": 255, + "time": 0 + }, + { + "__type__": "cc.AlphaKey", + "alpha": 0, + "time": 1 + }, + { + "__type__": "cc.GradientRange", + "_mode": 0, + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + } + }, + { + "__type__": "cc.ParticleSystemRenderer", + "_renderMode": 0, + "_velocityScale": 1, + "_lengthScale": 1, + "_mesh": null, + "_cpuMaterial": { + "__uuid__": "ea7478b0-408d-4052-b703-f0d2355e095f", + "__expectedType__": "cc.Material" + }, + "_gpuMaterial": null, + "_mainTexture": { + "__uuid__": "b5b27ab1-e740-4398-b407-848fc2b2c897@6c48a", + "__expectedType__": "cc.Texture2D" + }, + "_useGPU": false, + "_alignSpace": 2 + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "74Oi+ZAplPMoqFJ0+Pm+/N", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -77,7 +837,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 3 + "__id__": 62 }, "_contentSize": { "__type__": "cc.Size", @@ -105,7 +865,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 5 + "__id__": 64 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -150,13 +910,13 @@ }, "_enabled": true, "__prefab": { - "__id__": 7 + "__id__": 66 }, "tag": 0, "_group": 1, "_density": 1, "_sensor": false, - "_friction": 0, + "_friction": 2, "_restitution": 0.5, "_offset": { "__type__": "cc.Vec2", @@ -180,7 +940,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 9 + "__id__": 68 }, "enabledContactListener": true, "bullet": true, @@ -188,9 +948,9 @@ "_group": 1, "_type": 2, "_allowSleep": true, - "_gravityScale": 1, + "_gravityScale": 2, "_linearDamping": 0, - "_angularDamping": 0, + "_angularDamping": 0.05, "_linearVelocity": { "__type__": "cc.Vec2", "x": 0, @@ -208,19 +968,23 @@ "__type__": "cad12cEubBIXb2NvvCon5Ge", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 1 }, "_enabled": true, "__prefab": { - "__id__": 11 + "__id__": 70 }, - "maxSpeed": 2, + "maxSpeed": 70, "rigidbody": { - "__id__": 8 + "__id__": 67 }, "collider": { - "__id__": 6 + "__id__": 65 + }, + "trail": { + "__id__": 3 }, "_id": "" }, @@ -238,30 +1002,6 @@ }, "fileId": "ecwvc2xHdIf6kSfbLqrETl", "instance": null, - "targetOverrides": [ - { - "__id__": 13 - } - ] - }, - { - "__type__": "cc.TargetOverrideInfo", - "source": { - "__id__": 10 - }, - "sourceInfo": null, - "propertyPath": [ - "goalParticle" - ], - "target": null, - "targetInfo": { - "__id__": 14 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "74gD9Y10BHHIFl8LKXE/Rx" - ] + "targetOverrides": null } ] \ No newline at end of file diff --git a/assets/Prefabs/Goal Particle.prefab b/assets/Prefabs/Goal Particle.prefab index 8d823bb..0b9c7de 100644 --- a/assets/Prefabs/Goal Particle.prefab +++ b/assets/Prefabs/Goal Particle.prefab @@ -24,7 +24,7 @@ } ], "_prefab": { - "__id__": 59 + "__id__": 62 }, "_lpos": { "__type__": "cc.Vec3", @@ -79,53 +79,57 @@ "scaleSpace": 1, "startSize3D": true, "startSizeX": { - "__id__": 9 - }, - "startSize": { - "__id__": 9 - }, - "startSizeY": { "__id__": 10 }, - "startSizeZ": { + "startSize": { + "__id__": 10 + }, + "startSizeY": { "__id__": 11 }, - "startSpeed": { + "startSizeZ": { "__id__": 12 }, + "startSpeed": { + "__id__": 13 + }, "startRotation3D": true, "startRotationX": { - "__id__": 13 - }, - "startRotationY": { "__id__": 14 }, + "startRotationY": { + "__id__": 15 + }, "startRotationZ": { - "__id__": 15 - }, - "startRotation": { - "__id__": 15 - }, - "startDelay": { "__id__": 16 }, - "startLifetime": { + "startRotation": { + "__id__": 16 + }, + "startDelay": { "__id__": 17 }, + "startLifetime": { + "__id__": 18 + }, "duration": 1.5, - "loop": false, + "loop": true, "simulationSpeed": 1, "playOnAwake": true, "gravityModifier": { - "__id__": 18 - }, - "rateOverTime": { "__id__": 19 }, - "rateOverDistance": { + "rateOverTime": { "__id__": 20 }, - "bursts": [], + "rateOverDistance": { + "__id__": 21 + }, + "bursts": [ + { + "__id__": 22 + } + ], "_renderCulling": false, "_cullingMode": 0, "_aabbHalfX": 0, @@ -134,37 +138,37 @@ "_dataCulling": false, "enableCulling": false, "_colorOverLifetimeModule": { - "__id__": 21 + "__id__": 24 }, "_shapeModule": { - "__id__": 23 + "__id__": 26 }, "_sizeOvertimeModule": { - "__id__": 25 + "__id__": 28 }, "_velocityOvertimeModule": { - "__id__": 30 + "__id__": 33 }, "_forceOvertimeModule": { - "__id__": 35 + "__id__": 38 }, "_limitVelocityOvertimeModule": { - "__id__": 39 + "__id__": 42 }, "_rotationOvertimeModule": { - "__id__": 44 + "__id__": 47 }, "_textureAnimationModule": { - "__id__": 48 + "__id__": 51 }, "_noiseModule": { - "__id__": 52 + "__id__": 55 }, "_trailModule": { - "__id__": 53 + "__id__": 56 }, "renderer": { - "__id__": 58 + "__id__": 61 }, "_prewarm": false, "_capacity": 100, @@ -177,7 +181,7 @@ }, { "__type__": "cc.GradientRange", - "_mode": 1, + "_mode": 4, "gradient": { "__id__": 5 } @@ -195,7 +199,11 @@ "__id__": 8 } ], - "alphaKeys": [], + "alphaKeys": [ + { + "__id__": 9 + } + ], "mode": 0 }, { @@ -231,6 +239,11 @@ }, "time": 0.75 }, + { + "__type__": "cc.AlphaKey", + "alpha": 255, + "time": 0 + }, { "__type__": "cc.CurveRange", "mode": 3, @@ -310,11 +323,26 @@ "constant": 0, "multiplier": 1 }, + { + "__type__": "cc.Burst", + "_time": 0.05, + "_repeatCount": 1, + "repeatInterval": 0.01, + "count": { + "__id__": 23 + } + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 100, + "multiplier": 1 + }, { "__type__": "cc.ColorOvertimeModule", "_enable": false, "color": { - "__id__": 22 + "__id__": 25 } }, { @@ -343,7 +371,7 @@ "arcMode": 0, "arcSpread": 0, "arcSpeed": { - "__id__": 24 + "__id__": 27 }, "length": 5, "boxThickness": { @@ -384,16 +412,16 @@ "_enable": false, "separateAxes": false, "size": { - "__id__": 26 + "__id__": 29 }, "x": { - "__id__": 27 + "__id__": 30 }, "y": { - "__id__": 28 + "__id__": 31 }, "z": { - "__id__": 29 + "__id__": 32 } }, { @@ -424,16 +452,16 @@ "__type__": "cc.VelocityOvertimeModule", "_enable": false, "x": { - "__id__": 31 + "__id__": 34 }, "y": { - "__id__": 32 + "__id__": 35 }, "z": { - "__id__": 33 + "__id__": 36 }, "speedModifier": { - "__id__": 34 + "__id__": 37 }, "space": 1 }, @@ -465,13 +493,13 @@ "__type__": "cc.ForceOvertimeModule", "_enable": false, "x": { - "__id__": 36 + "__id__": 39 }, "y": { - "__id__": 37 + "__id__": 40 }, "z": { - "__id__": 38 + "__id__": 41 }, "space": 1 }, @@ -497,16 +525,16 @@ "__type__": "cc.LimitVelocityOvertimeModule", "_enable": false, "limitX": { - "__id__": 40 + "__id__": 43 }, "limitY": { - "__id__": 41 + "__id__": 44 }, "limitZ": { - "__id__": 42 + "__id__": 45 }, "limit": { - "__id__": 43 + "__id__": 46 }, "dampen": 3, "separateAxes": false, @@ -541,13 +569,13 @@ "_enable": false, "_separateAxes": false, "x": { - "__id__": 45 + "__id__": 48 }, "y": { - "__id__": 46 + "__id__": 49 }, "z": { - "__id__": 47 + "__id__": 50 } }, { @@ -578,10 +606,10 @@ "_mode": 0, "animation": 0, "frameOverTime": { - "__id__": 49 + "__id__": 52 }, "startFrame": { - "__id__": 51 + "__id__": 54 }, "cycleCount": 0, "_flipU": 0, @@ -594,7 +622,7 @@ "__type__": "cc.CurveRange", "mode": 1, "spline": { - "__id__": 50 + "__id__": 53 }, "multiplier": 1 }, @@ -661,21 +689,21 @@ "_enable": false, "mode": 0, "lifeTime": { - "__id__": 54 + "__id__": 57 }, "_minParticleDistance": 0.1, "existWithParticles": true, "textureMode": 0, "widthFromParticle": true, "widthRatio": { - "__id__": 55 + "__id__": 58 }, "colorFromParticle": false, "colorOverTrail": { - "__id__": 56 + "__id__": 59 }, "colorOvertime": { - "__id__": 57 + "__id__": 60 }, "_space": 0, "_particleSystem": { @@ -743,6 +771,7 @@ "__id__": 0 }, "fileId": "65yusfkDBDE68dh4sqPVS4", + "instance": null, "targetOverrides": null } ] \ No newline at end of file diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab b/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab index aae8048..de01042 100644 --- a/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab +++ b/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab @@ -27,23 +27,23 @@ "__id__": 6 }, { - "__id__": 14 + "__id__": 17 }, { - "__id__": 22 + "__id__": 28 } ], "_active": true, "_components": [ { - "__id__": 30 + "__id__": 39 }, { - "__id__": 32 + "__id__": 41 } ], "_prefab": { - "__id__": 34 + "__id__": 43 }, "_lpos": { "__type__": "cc.Vec3", @@ -230,6 +230,12 @@ }, { "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 16 } ], "removedComponents": [] @@ -296,6 +302,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, { "__type__": "cc.Node", "_objFlags": 0, @@ -303,14 +335,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 15 + "__id__": 18 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 14 + "__id__": 17 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -318,7 +350,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 16 + "__id__": 19 }, "targetOverrides": null }, @@ -331,17 +363,23 @@ "mountedChildren": [], "mountedComponents": [], "propertyOverrides": [ - { - "__id__": 17 - }, - { - "__id__": 19 - }, { "__id__": 20 }, { - "__id__": 21 + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + }, + { + "__id__": 25 + }, + { + "__id__": 27 } ], "removedComponents": [] @@ -349,7 +387,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_name" @@ -365,7 +403,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_lpos" @@ -380,7 +418,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_lrot" @@ -396,7 +434,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_euler" @@ -408,6 +446,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, { "__type__": "cc.Node", "_objFlags": 0, @@ -415,14 +479,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 23 + "__id__": 29 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 22 + "__id__": 28 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -430,7 +494,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 24 + "__id__": 30 }, "targetOverrides": null }, @@ -444,16 +508,22 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 25 + "__id__": 31 }, { - "__id__": 27 + "__id__": 33 }, { - "__id__": 28 + "__id__": 34 }, { - "__id__": 29 + "__id__": 35 + }, + { + "__id__": 36 + }, + { + "__id__": 38 } ], "removedComponents": [] @@ -461,7 +531,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_name" @@ -477,7 +547,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_lpos" @@ -492,7 +562,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_lrot" @@ -508,7 +578,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_euler" @@ -520,6 +590,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, { "__type__": "cc.UITransform", "_name": "", @@ -529,7 +625,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 40 }, "_contentSize": { "__type__": "cc.Size", @@ -556,17 +652,17 @@ }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 42 }, "targets": [ { "__id__": 6 }, { - "__id__": 14 + "__id__": 17 }, { - "__id__": 22 + "__id__": 28 } ], "waypoints": [ @@ -598,10 +694,10 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 22 + "__id__": 28 }, { - "__id__": 14 + "__id__": 17 }, { "__id__": 6 diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab b/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab index 0adf2d3..f2f2aa4 100644 --- a/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab +++ b/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab @@ -27,23 +27,23 @@ "__id__": 6 }, { - "__id__": 14 + "__id__": 17 }, { - "__id__": 22 + "__id__": 28 } ], "_active": true, "_components": [ { - "__id__": 30 + "__id__": 39 }, { - "__id__": 32 + "__id__": 41 } ], "_prefab": { - "__id__": 34 + "__id__": 43 }, "_lpos": { "__type__": "cc.Vec3", @@ -230,6 +230,12 @@ }, { "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 16 } ], "removedComponents": [] @@ -296,6 +302,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, { "__type__": "cc.Node", "_objFlags": 0, @@ -303,14 +335,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 15 + "__id__": 18 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 14 + "__id__": 17 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -318,7 +350,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 16 + "__id__": 19 }, "targetOverrides": null }, @@ -331,17 +363,23 @@ "mountedChildren": [], "mountedComponents": [], "propertyOverrides": [ - { - "__id__": 17 - }, - { - "__id__": 19 - }, { "__id__": 20 }, { - "__id__": 21 + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + }, + { + "__id__": 25 + }, + { + "__id__": 27 } ], "removedComponents": [] @@ -349,7 +387,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_name" @@ -365,7 +403,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_lpos" @@ -380,7 +418,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_lrot" @@ -396,7 +434,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_euler" @@ -408,6 +446,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, { "__type__": "cc.Node", "_objFlags": 0, @@ -415,14 +479,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 23 + "__id__": 29 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 22 + "__id__": 28 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -430,7 +494,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 24 + "__id__": 30 }, "targetOverrides": null }, @@ -444,16 +508,22 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 25 + "__id__": 31 }, { - "__id__": 27 + "__id__": 33 }, { - "__id__": 28 + "__id__": 34 }, { - "__id__": 29 + "__id__": 35 + }, + { + "__id__": 36 + }, + { + "__id__": 38 } ], "removedComponents": [] @@ -461,7 +531,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_name" @@ -477,7 +547,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_lpos" @@ -492,7 +562,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_lrot" @@ -508,7 +578,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_euler" @@ -520,6 +590,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, { "__type__": "cc.UITransform", "_name": "", @@ -529,7 +625,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 40 }, "_contentSize": { "__type__": "cc.Size", @@ -556,7 +652,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 42 }, "targets": [], "waypoints": [ @@ -588,10 +684,10 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 22 + "__id__": 28 }, { - "__id__": 14 + "__id__": 17 }, { "__id__": 6 diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab b/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab index d95a622..079af92 100644 --- a/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab +++ b/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab @@ -27,23 +27,23 @@ "__id__": 6 }, { - "__id__": 14 + "__id__": 17 }, { - "__id__": 22 + "__id__": 28 } ], "_active": true, "_components": [ { - "__id__": 30 + "__id__": 39 }, { - "__id__": 32 + "__id__": 41 } ], "_prefab": { - "__id__": 34 + "__id__": 43 }, "_lpos": { "__type__": "cc.Vec3", @@ -230,6 +230,12 @@ }, { "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 16 } ], "removedComponents": [] @@ -296,6 +302,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, { "__type__": "cc.Node", "_objFlags": 0, @@ -303,14 +335,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 15 + "__id__": 18 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 14 + "__id__": 17 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -318,7 +350,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 16 + "__id__": 19 }, "targetOverrides": null }, @@ -331,17 +363,23 @@ "mountedChildren": [], "mountedComponents": [], "propertyOverrides": [ - { - "__id__": 17 - }, - { - "__id__": 19 - }, { "__id__": 20 }, { - "__id__": 21 + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + }, + { + "__id__": 25 + }, + { + "__id__": 27 } ], "removedComponents": [] @@ -349,7 +387,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_name" @@ -365,7 +403,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_lpos" @@ -380,7 +418,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_lrot" @@ -396,7 +434,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 18 + "__id__": 21 }, "propertyPath": [ "_euler" @@ -408,6 +446,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, { "__type__": "cc.Node", "_objFlags": 0, @@ -415,14 +479,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 23 + "__id__": 29 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 22 + "__id__": 28 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -430,7 +494,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 24 + "__id__": 30 }, "targetOverrides": null }, @@ -444,16 +508,22 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 25 + "__id__": 31 }, { - "__id__": 27 + "__id__": 33 }, { - "__id__": 28 + "__id__": 34 }, { - "__id__": 29 + "__id__": 35 + }, + { + "__id__": 36 + }, + { + "__id__": 38 } ], "removedComponents": [] @@ -461,7 +531,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_name" @@ -477,7 +547,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_lpos" @@ -492,7 +562,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_lrot" @@ -508,7 +578,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 26 + "__id__": 32 }, "propertyPath": [ "_euler" @@ -520,6 +590,32 @@ "z": -90 } }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 + }, + "propertyPath": [ + "_restitution" + ], + "value": 0.3 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7egu3Zm5tHjb52E6fmax1G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 + }, + "propertyPath": [ + "_friction" + ], + "value": 2 + }, { "__type__": "cc.UITransform", "_name": "", @@ -529,7 +625,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 40 }, "_contentSize": { "__type__": "cc.Size", @@ -556,11 +652,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 42 }, "targets": [ { - "__id__": 14 + "__id__": 17 } ], "waypoints": [ @@ -592,10 +688,10 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 22 + "__id__": 28 }, { - "__id__": 14 + "__id__": 17 }, { "__id__": 6 diff --git a/assets/Scenes/TestScene.scene b/assets/Scenes/TestScene.scene index d14cab1..c3895b3 100644 --- a/assets/Scenes/TestScene.scene +++ b/assets/Scenes/TestScene.scene @@ -22,7 +22,7 @@ "_active": true, "_components": [], "_prefab": { - "__id__": 374 + "__id__": 433 }, "_lpos": { "__type__": "cc.Vec3", @@ -53,7 +53,7 @@ }, "autoReleaseAssets": false, "_globals": { - "__id__": 375 + "__id__": 439 }, "_id": "4c16bf85-f009-4abe-b793-f3a1924392e4" }, @@ -73,29 +73,29 @@ "__id__": 5 }, { - "__id__": 179 + "__id__": 238 }, { - "__id__": 367 + "__id__": 426 } ], "_active": true, "_components": [ { - "__id__": 371 + "__id__": 430 }, { - "__id__": 372 + "__id__": 431 }, { - "__id__": 373 + "__id__": 432 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 960, - "y": 720, + "x": 720, + "y": 540, "z": 0 }, "_lrot": { @@ -170,6 +170,7 @@ "__type__": "cc.Camera", "_name": "Camera", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 3 }, @@ -179,14 +180,14 @@ "_priority": 0, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 720, + "_orthoHeight": 540, "_near": 0, "_far": 1000, "_color": { "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, + "r": 11, + "g": 133, + "b": 133, "a": 255 }, "_depth": 1, @@ -225,40 +226,40 @@ "__id__": 29 }, { - "__id__": 35 + "__id__": 90 }, { - "__id__": 60 + "__id__": 97 }, { - "__id__": 70 + "__id__": 122 }, { - "__id__": 80 + "__id__": 132 }, { - "__id__": 96 + "__id__": 142 }, { - "__id__": 143 + "__id__": 158 }, { - "__id__": 146 + "__id__": 205 } ], "_active": true, "_components": [ { - "__id__": 175 + "__id__": 234 }, { - "__id__": 176 + "__id__": 235 }, { - "__id__": 177 + "__id__": 236 }, { - "__id__": 366 + "__id__": 425 } ], "_prefab": null, @@ -488,6 +489,7 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 7 }, @@ -658,6 +660,7 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 12 }, @@ -828,6 +831,7 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 17 }, @@ -998,6 +1002,7 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 22 }, @@ -1036,6 +1041,7 @@ "__type__": "cc.PolygonCollider2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 6 }, @@ -1110,6 +1116,7 @@ "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 6 }, @@ -1133,6 +1140,909 @@ "_fixedRotation": false, "_id": "4bNTrQ2tdCZb/VqDRh4M+x" }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 5 + }, + "_prefab": { + "__id__": 30 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 29 + }, + "asset": { + "__uuid__": "f54a7c19-37d5-4255-9336-f6df0e956be7", + "__expectedType__": "cc.Prefab" + }, + "fileId": "65yusfkDBDE68dh4sqPVS4", + "instance": { + "__id__": 31 + }, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "fbG2D69oNJPpLi5Ui2SiiB", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 32 + }, + { + "__id__": 34 + }, + { + "__id__": 35 + }, + { + "__id__": 36 + }, + { + "__id__": 37 + }, + { + "__id__": 38 + }, + { + "__id__": 39 + }, + { + "__id__": 41 + }, + { + "__id__": 42 + }, + { + "__id__": 43 + }, + { + "__id__": 44 + }, + { + "__id__": 45 + }, + { + "__id__": 46 + }, + { + "__id__": 47 + }, + { + "__id__": 48 + }, + { + "__id__": 49 + }, + { + "__id__": 50 + }, + { + "__id__": 51 + }, + { + "__id__": 52 + }, + { + "__id__": 53 + }, + { + "__id__": 54 + }, + { + "__id__": 55 + }, + { + "__id__": 56 + }, + { + "__id__": 57 + }, + { + "__id__": 58 + }, + { + "__id__": 59 + }, + { + "__id__": 60 + }, + { + "__id__": 61 + }, + { + "__id__": 62 + }, + { + "__id__": 63 + }, + { + "__id__": 64 + }, + { + "__id__": 65 + }, + { + "__id__": 66 + }, + { + "__id__": 67 + }, + { + "__id__": 68 + }, + { + "__id__": 69 + }, + { + "__id__": 70 + }, + { + "__id__": 71 + }, + { + "__id__": 72 + }, + { + "__id__": 73 + }, + { + "__id__": 74 + }, + { + "__id__": 75 + }, + { + "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 80 + }, + { + "__id__": 82 + }, + { + "__id__": 84 + }, + { + "__id__": 86 + }, + { + "__id__": 88 + }, + { + "__id__": 89 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_name" + ], + "value": "Goal Particle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "65yusfkDBDE68dh4sqPVS4" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -480, + "z": 10 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_active" + ], + "value": true + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 80, + "y": 80, + "z": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startSizeX", + "constantMin" + ], + "value": 0.1 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "74gD9Y10BHHIFl8LKXE/Rx" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startSizeX", + "constantMax" + ], + "value": 0.3 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startSizeY", + "constantMin" + ], + "value": 0.1 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startSizeY", + "constantMax" + ], + "value": 0.3 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_shapeModule", + "radius" + ], + "value": 0.05 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "duration" + ], + "value": 1.5 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "bursts", + "0", + "_time" + ], + "value": 0.05 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "gravityModifier", + "constant" + ], + "value": 2 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_materials", + "length" + ], + "value": 2 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_materials", + "1" + ], + "value": null + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "renderer", + "_renderMode" + ], + "value": 0 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_materials", + "0" + ], + "value": { + "__uuid__": "601118ed-3a55-4d36-9364-79083615a5d6", + "__expectedType__": "cc.Material" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "renderer", + "_cpuMaterial" + ], + "value": { + "__uuid__": "601118ed-3a55-4d36-9364-79083615a5d6", + "__expectedType__": "cc.Material" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "renderer", + "_mainTexture" + ], + "value": null + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startRotationX", + "constantMax" + ], + "value": 0.8726646259971648 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startRotationY", + "constantMax" + ], + "value": 0.8726646259971648 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startRotationZ", + "constantMax" + ], + "value": 6.283185307179586 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_velocityOvertimeModule", + "_enable" + ], + "value": true + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_velocityOvertimeModule", + "speedModifier", + "constant" + ], + "value": 1 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_velocityOvertimeModule", + "z", + "constant" + ], + "value": 0 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_velocityOvertimeModule", + "x", + "constant" + ], + "value": 0 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_forceOvertimeModule", + "_enable" + ], + "value": false + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_forceOvertimeModule", + "y", + "constant" + ], + "value": 1 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_rotationOvertimeModule", + "_enable" + ], + "value": true + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_rotationOvertimeModule", + "z", + "constant" + ], + "value": 3.141592653589793 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_rotationOvertimeModule", + "_separateAxes" + ], + "value": true + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_rotationOvertimeModule", + "y", + "constant" + ], + "value": 3.141592653589793 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "_rotationOvertimeModule", + "x", + "constant" + ], + "value": 3.141592653589793 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "loop" + ], + "value": false + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "playOnAwake" + ], + "value": false + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "_mode" + ], + "value": 4 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "length" + ], + "value": 6 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "1", + "color" + ], + "value": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "1", + "time" + ], + "value": 0.251 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "2", + "color" + ], + "value": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "2", + "time" + ], + "value": 0.5 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "3" + ], + "value": { + "__id__": 77 + } + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 255, + "a": 255 + }, + "time": 0.501 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "4" + ], + "value": { + "__id__": 79 + } + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 255, + "a": 255 + }, + "time": 0.75 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "5" + ], + "value": { + "__id__": 81 + } + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 200, + "g": 0, + "b": 200, + "a": 255 + }, + "time": 0.7509999999999999 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "6" + ], + "value": { + "__id__": 83 + } + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 200, + "g": 0, + "b": 200, + "a": 255 + }, + "time": 0.7666249999999999 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "7" + ], + "value": { + "__id__": 85 + } + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "time": 0.7522321428571429 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "8" + ], + "value": { + "__id__": 87 + } + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "time": 0.7522321428571429 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "0", + "color" + ], + "value": { + "__type__": "cc.Color", + "r": 255, + "g": 0, + "b": 0, + "a": 255 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 40 + }, + "propertyPath": [ + "startColor", + "gradient", + "colorKeys", + "0", + "time" + ], + "value": 0.25 + }, { "__type__": "cc.Node", "_name": "Goal", @@ -1143,16 +2053,19 @@ }, "_children": [ { - "__id__": 30 + "__id__": 91 } ], "_active": true, "_components": [ { - "__id__": 33 + "__id__": 94 }, { - "__id__": 34 + "__id__": 95 + }, + { + "__id__": 96 } ], "_prefab": null, @@ -1191,16 +2104,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 29 + "__id__": 90 }, "_children": [], "_active": true, "_components": [ { - "__id__": 31 + "__id__": 92 }, { - "__id__": 32 + "__id__": 93 } ], "_prefab": null, @@ -1239,7 +2152,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 30 + "__id__": 91 }, "_enabled": true, "__prefab": null, @@ -1261,7 +2174,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 30 + "__id__": 91 }, "_enabled": true, "__prefab": null, @@ -1300,7 +2213,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 90 }, "_enabled": true, "__prefab": null, @@ -1322,7 +2235,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 90 }, "_enabled": true, "__prefab": null, @@ -1344,6 +2257,28 @@ }, "_id": "01ZlEmi8hFDr4ZV6mAwGZr" }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 90 + }, + "_enabled": true, + "__prefab": null, + "playOnLoad": false, + "_clips": [ + { + "__uuid__": "e0cda13a-c026-4d67-82c4-54acfe00f72d", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "e0cda13a-c026-4d67-82c4-54acfe00f72d", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "4dGhXzDiRH2p4n/RlFX0Xk" + }, { "__type__": "cc.Node", "_name": "Walls", @@ -1354,10 +2289,10 @@ }, "_children": [ { - "__id__": 36 + "__id__": 98 }, { - "__id__": 48 + "__id__": 110 } ], "_active": true, @@ -1398,26 +2333,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 97 }, "_children": [ { - "__id__": 37 + "__id__": 99 }, { - "__id__": 40 + "__id__": 102 }, { - "__id__": 43 + "__id__": 105 } ], "_active": true, "_components": [ { - "__id__": 46 + "__id__": 108 }, { - "__id__": 47 + "__id__": 109 } ], "_prefab": null, @@ -1456,16 +2391,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 36 + "__id__": 98 }, "_children": [], "_active": true, "_components": [ { - "__id__": 38 + "__id__": 100 }, { - "__id__": 39 + "__id__": 101 } ], "_prefab": null, @@ -1504,7 +2439,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 99 }, "_enabled": true, "__prefab": null, @@ -1526,7 +2461,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 99 }, "_enabled": true, "__prefab": null, @@ -1565,16 +2500,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 36 + "__id__": 98 }, "_children": [], "_active": true, "_components": [ { - "__id__": 41 + "__id__": 103 }, { - "__id__": 42 + "__id__": 104 } ], "_prefab": null, @@ -1613,7 +2548,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 102 }, "_enabled": true, "__prefab": null, @@ -1635,7 +2570,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 102 }, "_enabled": true, "__prefab": null, @@ -1674,16 +2609,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 36 + "__id__": 98 }, "_children": [], "_active": true, "_components": [ { - "__id__": 44 + "__id__": 106 }, { - "__id__": 45 + "__id__": 107 } ], "_prefab": null, @@ -1722,7 +2657,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 43 + "__id__": 105 }, "_enabled": true, "__prefab": null, @@ -1744,7 +2679,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 43 + "__id__": 105 }, "_enabled": true, "__prefab": null, @@ -1783,7 +2718,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 36 + "__id__": 98 }, "_enabled": true, "__prefab": null, @@ -1791,8 +2726,8 @@ "_group": 1, "_density": 0, "_sensor": false, - "_friction": 0, - "_restitution": 0, + "_friction": 2, + "_restitution": 0.8, "_offset": { "__type__": "cc.Vec2", "x": 0, @@ -1848,7 +2783,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 36 + "__id__": 98 }, "_enabled": true, "__prefab": null, @@ -1876,26 +2811,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 97 }, "_children": [ { - "__id__": 49 + "__id__": 111 }, { - "__id__": 52 + "__id__": 114 }, { - "__id__": 55 + "__id__": 117 } ], "_active": true, "_components": [ { - "__id__": 58 + "__id__": 120 }, { - "__id__": 59 + "__id__": 121 } ], "_prefab": null, @@ -1934,16 +2869,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 110 }, "_children": [], "_active": true, "_components": [ { - "__id__": 50 + "__id__": 112 }, { - "__id__": 51 + "__id__": 113 } ], "_prefab": null, @@ -1982,7 +2917,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 111 }, "_enabled": true, "__prefab": null, @@ -2004,7 +2939,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 111 }, "_enabled": true, "__prefab": null, @@ -2043,16 +2978,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 110 }, "_children": [], "_active": true, "_components": [ { - "__id__": 53 + "__id__": 115 }, { - "__id__": 54 + "__id__": 116 } ], "_prefab": null, @@ -2091,7 +3026,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 52 + "__id__": 114 }, "_enabled": true, "__prefab": null, @@ -2113,7 +3048,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 52 + "__id__": 114 }, "_enabled": true, "__prefab": null, @@ -2152,16 +3087,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 110 }, "_children": [], "_active": true, "_components": [ { - "__id__": 56 + "__id__": 118 }, { - "__id__": 57 + "__id__": 119 } ], "_prefab": null, @@ -2200,7 +3135,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 117 }, "_enabled": true, "__prefab": null, @@ -2222,7 +3157,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 117 }, "_enabled": true, "__prefab": null, @@ -2261,7 +3196,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 48 + "__id__": 110 }, "_enabled": true, "__prefab": null, @@ -2269,8 +3204,8 @@ "_group": 1, "_density": 0, "_sensor": false, - "_friction": 0, - "_restitution": 0, + "_friction": 2, + "_restitution": 0.5, "_offset": { "__type__": "cc.Vec2", "x": 0, @@ -2326,7 +3261,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 48 + "__id__": 110 }, "_enabled": true, "__prefab": null, @@ -2358,13 +3293,13 @@ }, "_children": [ { - "__id__": 61 + "__id__": 123 } ], "_active": true, "_components": [ { - "__id__": 67 + "__id__": 129 } ], "_prefab": null, @@ -2403,26 +3338,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 60 + "__id__": 122 }, "_children": [ { - "__id__": 62 + "__id__": 124 } ], "_active": true, "_components": [ { - "__id__": 65 + "__id__": 127 }, { - "__id__": 68 + "__id__": 130 }, { - "__id__": 66 + "__id__": 128 }, { - "__id__": 69 + "__id__": 131 } ], "_prefab": null, @@ -2461,16 +3396,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 61 + "__id__": 123 }, "_children": [], "_active": true, "_components": [ { - "__id__": 63 + "__id__": 125 }, { - "__id__": 64 + "__id__": 126 } ], "_prefab": null, @@ -2509,7 +3444,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 124 }, "_enabled": true, "__prefab": null, @@ -2531,7 +3466,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 124 }, "_enabled": true, "__prefab": null, @@ -2568,13 +3503,14 @@ "__type__": "c3f2bNTX6ZFF5O4nsjI/wAG", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 123 }, "_enabled": true, "__prefab": null, "_hingeJoint": { - "__id__": 66 + "__id__": 128 }, "_motorSpeedActive": -10000, "_motorSpeedDeActive": 10000, @@ -2586,7 +3522,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 123 }, "_enabled": true, "__prefab": null, @@ -2602,7 +3538,7 @@ }, "collideConnected": false, "connectedBody": { - "__id__": 67 + "__id__": 129 }, "_enableLimit": true, "_lowerAngle": -5, @@ -2618,7 +3554,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 60 + "__id__": 122 }, "_enabled": true, "__prefab": null, @@ -2646,7 +3582,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 123 }, "_enabled": true, "__prefab": null, @@ -2674,7 +3610,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 123 }, "_enabled": true, "__prefab": null, @@ -2682,7 +3618,7 @@ "_group": 1, "_density": 5, "_sensor": false, - "_friction": 0, + "_friction": 0.2, "_restitution": 0, "_offset": { "__type__": "cc.Vec2", @@ -2723,13 +3659,13 @@ }, "_children": [ { - "__id__": 71 + "__id__": 133 } ], "_active": true, "_components": [ { - "__id__": 77 + "__id__": 139 } ], "_prefab": null, @@ -2768,26 +3704,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 70 + "__id__": 132 }, "_children": [ { - "__id__": 72 + "__id__": 134 } ], "_active": true, "_components": [ { - "__id__": 75 + "__id__": 137 }, { - "__id__": 78 + "__id__": 140 }, { - "__id__": 76 + "__id__": 138 }, { - "__id__": 79 + "__id__": 141 } ], "_prefab": null, @@ -2826,16 +3762,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 71 + "__id__": 133 }, "_children": [], "_active": true, "_components": [ { - "__id__": 73 + "__id__": 135 }, { - "__id__": 74 + "__id__": 136 } ], "_prefab": null, @@ -2874,7 +3810,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 134 }, "_enabled": true, "__prefab": null, @@ -2896,7 +3832,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 134 }, "_enabled": true, "__prefab": null, @@ -2933,13 +3869,14 @@ "__type__": "c3f2bNTX6ZFF5O4nsjI/wAG", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 133 }, "_enabled": true, "__prefab": null, "_hingeJoint": { - "__id__": 76 + "__id__": 138 }, "_motorSpeedActive": 10000, "_motorSpeedDeActive": -10000, @@ -2951,7 +3888,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 133 }, "_enabled": true, "__prefab": null, @@ -2967,7 +3904,7 @@ }, "collideConnected": false, "connectedBody": { - "__id__": 77 + "__id__": 139 }, "_enableLimit": true, "_lowerAngle": -40, @@ -2983,7 +3920,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 70 + "__id__": 132 }, "_enabled": true, "__prefab": null, @@ -3011,7 +3948,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 133 }, "_enabled": true, "__prefab": null, @@ -3039,7 +3976,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 133 }, "_enabled": true, "__prefab": null, @@ -3047,7 +3984,7 @@ "_group": 1, "_density": 5, "_sensor": false, - "_friction": 0, + "_friction": 0.2, "_restitution": 0, "_offset": { "__type__": "cc.Vec2", @@ -3082,27 +4019,28 @@ "__type__": "cc.Node", "_name": "Obstacle holder", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { "__id__": 5 }, "_children": [ { - "__id__": 81 + "__id__": 143 }, { - "__id__": 90 + "__id__": 152 }, { - "__id__": 92 + "__id__": 154 } ], "_active": false, "_components": [ { - "__id__": 94 + "__id__": 156 }, { - "__id__": 95 + "__id__": 157 } ], "_prefab": null, @@ -3139,17 +4077,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 80 + "__id__": 142 }, "_prefab": { - "__id__": 82 + "__id__": 144 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 81 + "__id__": 143 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -3157,7 +4095,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 83 + "__id__": 145 }, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3170,19 +4108,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 84 + "__id__": 146 }, { - "__id__": 86 + "__id__": 148 }, { - "__id__": 87 + "__id__": 149 }, { - "__id__": 88 + "__id__": 150 }, { - "__id__": 89 + "__id__": 151 } ], "removedComponents": [] @@ -3190,7 +4128,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 85 + "__id__": 147 }, "propertyPath": [ "_name" @@ -3206,7 +4144,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 85 + "__id__": 147 }, "propertyPath": [ "_lpos" @@ -3221,7 +4159,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 85 + "__id__": 147 }, "propertyPath": [ "_lrot" @@ -3237,7 +4175,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 85 + "__id__": 147 }, "propertyPath": [ "_euler" @@ -3252,7 +4190,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 85 + "__id__": 147 }, "propertyPath": [ "_active" @@ -3263,14 +4201,15 @@ "__type__": "cc.Node", "_name": "Right side", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 80 + "__id__": 142 }, "_children": [], "_active": true, "_components": [ { - "__id__": 91 + "__id__": 153 } ], "_prefab": null, @@ -3307,8 +4246,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 90 + "__id__": 152 }, "_enabled": true, "__prefab": null, @@ -3328,14 +4268,15 @@ "__type__": "cc.Node", "_name": "Left side", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 80 + "__id__": 142 }, "_children": [], "_active": true, "_components": [ { - "__id__": 93 + "__id__": 155 } ], "_prefab": null, @@ -3372,8 +4313,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 92 + "__id__": 154 }, "_enabled": true, "__prefab": null, @@ -3393,8 +4335,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 80 + "__id__": 142 }, "_enabled": true, "__prefab": null, @@ -3414,20 +4357,21 @@ "__type__": "2fd1frYBelGFaew/YvIrPUP", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 80 + "__id__": 142 }, "_enabled": true, "__prefab": null, "target": { - "__id__": 81 + "__id__": 143 }, "waypoints": [ { - "__id__": 90 + "__id__": 152 }, { - "__id__": 92 + "__id__": 154 } ], "speed": 3, @@ -3437,24 +4381,25 @@ "__type__": "cc.Node", "_name": "Obstacles controller", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { "__id__": 5 }, "_children": [ { - "__id__": 97 + "__id__": 159 }, { - "__id__": 117 + "__id__": 179 } ], "_active": false, "_components": [ { - "__id__": 141 + "__id__": 203 }, { - "__id__": 142 + "__id__": 204 } ], "_prefab": null, @@ -3493,32 +4438,32 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 96 + "__id__": 158 }, "_children": [ { - "__id__": 98 + "__id__": 160 }, { - "__id__": 99 + "__id__": 161 }, { - "__id__": 100 + "__id__": 162 }, { - "__id__": 105 + "__id__": 167 }, { - "__id__": 110 + "__id__": 172 } ], "_active": false, "_components": [ { - "__id__": 115 + "__id__": 177 }, { - "__id__": 116 + "__id__": 178 } ], "_prefab": null, @@ -3555,8 +4500,9 @@ "__type__": "cc.Node", "_name": "Waypoint L", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 97 + "__id__": 159 }, "_children": [], "_active": true, @@ -3595,8 +4541,9 @@ "__type__": "cc.Node", "_name": "Waypoint R", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 97 + "__id__": 159 }, "_children": [], "_active": true, @@ -3637,22 +4584,22 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 97 + "__id__": 159 }, "_children": [], "_active": true, "_components": [ { - "__id__": 101 + "__id__": 163 }, { - "__id__": 102 + "__id__": 164 }, { - "__id__": 103 + "__id__": 165 }, { - "__id__": 104 + "__id__": 166 } ], "_prefab": null, @@ -3689,8 +4636,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 162 }, "_enabled": true, "__prefab": null, @@ -3710,8 +4658,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 162 }, "_enabled": true, "__prefab": null, @@ -3748,8 +4697,9 @@ "__type__": "cc.BoxCollider2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 162 }, "_enabled": true, "__prefab": null, @@ -3775,8 +4725,9 @@ "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 162 }, "_enabled": true, "__prefab": null, @@ -3804,22 +4755,22 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 97 + "__id__": 159 }, "_children": [], "_active": true, "_components": [ { - "__id__": 106 + "__id__": 168 }, { - "__id__": 107 + "__id__": 169 }, { - "__id__": 108 + "__id__": 170 }, { - "__id__": 109 + "__id__": 171 } ], "_prefab": null, @@ -3856,8 +4807,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 167 }, "_enabled": true, "__prefab": null, @@ -3877,8 +4829,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 167 }, "_enabled": true, "__prefab": null, @@ -3915,8 +4868,9 @@ "__type__": "cc.BoxCollider2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 167 }, "_enabled": true, "__prefab": null, @@ -3942,8 +4896,9 @@ "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 167 }, "_enabled": true, "__prefab": null, @@ -3971,22 +4926,22 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 97 + "__id__": 159 }, "_children": [], "_active": true, "_components": [ { - "__id__": 111 + "__id__": 173 }, { - "__id__": 112 + "__id__": 174 }, { - "__id__": 113 + "__id__": 175 }, { - "__id__": 114 + "__id__": 176 } ], "_prefab": null, @@ -4023,8 +4978,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 110 + "__id__": 172 }, "_enabled": true, "__prefab": null, @@ -4044,8 +5000,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 110 + "__id__": 172 }, "_enabled": true, "__prefab": null, @@ -4082,8 +5039,9 @@ "__type__": "cc.BoxCollider2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 110 + "__id__": 172 }, "_enabled": true, "__prefab": null, @@ -4109,8 +5067,9 @@ "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 110 + "__id__": 172 }, "_enabled": true, "__prefab": null, @@ -4136,8 +5095,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 97 + "__id__": 159 }, "_enabled": true, "__prefab": null, @@ -4157,28 +5117,29 @@ "__type__": "c8e705yAJlBEKcUg/gyt/xJ", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 97 + "__id__": 159 }, "_enabled": true, "__prefab": null, "targets": [ { - "__id__": 100 + "__id__": 162 }, { - "__id__": 105 + "__id__": 167 }, { - "__id__": 110 + "__id__": 172 } ], "waypoints": [ { - "__id__": 99 + "__id__": 161 }, { - "__id__": 98 + "__id__": 160 } ], "speed": 1, @@ -4191,32 +5152,32 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 96 + "__id__": 158 }, "_children": [ { - "__id__": 118 + "__id__": 180 }, { - "__id__": 119 + "__id__": 181 }, { - "__id__": 120 + "__id__": 182 }, { - "__id__": 125 + "__id__": 187 }, { - "__id__": 130 + "__id__": 192 } ], "_active": false, "_components": [ { - "__id__": 139 + "__id__": 201 }, { - "__id__": 140 + "__id__": 202 } ], "_prefab": null, @@ -4253,8 +5214,9 @@ "__type__": "cc.Node", "_name": "Waypoint L", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 117 + "__id__": 179 }, "_children": [], "_active": true, @@ -4293,8 +5255,9 @@ "__type__": "cc.Node", "_name": "Waypoint R", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 117 + "__id__": 179 }, "_children": [], "_active": true, @@ -4335,22 +5298,22 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 117 + "__id__": 179 }, "_children": [], "_active": true, "_components": [ { - "__id__": 121 + "__id__": 183 }, { - "__id__": 122 + "__id__": 184 }, { - "__id__": 123 + "__id__": 185 }, { - "__id__": 124 + "__id__": 186 } ], "_prefab": null, @@ -4387,8 +5350,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 120 + "__id__": 182 }, "_enabled": true, "__prefab": null, @@ -4408,8 +5372,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 120 + "__id__": 182 }, "_enabled": true, "__prefab": null, @@ -4446,8 +5411,9 @@ "__type__": "cc.BoxCollider2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 120 + "__id__": 182 }, "_enabled": true, "__prefab": null, @@ -4473,8 +5439,9 @@ "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 120 + "__id__": 182 }, "_enabled": true, "__prefab": null, @@ -4502,22 +5469,22 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 117 + "__id__": 179 }, "_children": [], "_active": true, "_components": [ { - "__id__": 126 + "__id__": 188 }, { - "__id__": 127 + "__id__": 189 }, { - "__id__": 128 + "__id__": 190 }, { - "__id__": 129 + "__id__": 191 } ], "_prefab": null, @@ -4554,8 +5521,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 187 }, "_enabled": true, "__prefab": null, @@ -4575,8 +5543,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 187 }, "_enabled": true, "__prefab": null, @@ -4613,8 +5582,9 @@ "__type__": "cc.BoxCollider2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 187 }, "_enabled": true, "__prefab": null, @@ -4640,8 +5610,9 @@ "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 187 }, "_enabled": true, "__prefab": null, @@ -4669,22 +5640,22 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 117 + "__id__": 179 }, "_children": [], "_active": true, "_components": [ { - "__id__": 131 + "__id__": 193 }, { - "__id__": 133 + "__id__": 195 }, { - "__id__": 135 + "__id__": 197 }, { - "__id__": 137 + "__id__": 199 } ], "_prefab": null, @@ -4721,12 +5692,13 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 130 + "__id__": 192 }, "_enabled": true, "__prefab": { - "__id__": 132 + "__id__": 194 }, "_contentSize": { "__type__": "cc.Size", @@ -4748,12 +5720,13 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 130 + "__id__": 192 }, "_enabled": true, "__prefab": { - "__id__": 134 + "__id__": 196 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4792,12 +5765,13 @@ "__type__": "cc.BoxCollider2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 130 + "__id__": 192 }, "_enabled": true, "__prefab": { - "__id__": 136 + "__id__": 198 }, "tag": 3, "_group": 1, @@ -4825,12 +5799,13 @@ "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 130 + "__id__": 192 }, "_enabled": true, "__prefab": { - "__id__": 138 + "__id__": 200 }, "enabledContactListener": false, "bullet": false, @@ -4858,8 +5833,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 117 + "__id__": 179 }, "_enabled": true, "__prefab": null, @@ -4879,28 +5855,29 @@ "__type__": "c8e705yAJlBEKcUg/gyt/xJ", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 117 + "__id__": 179 }, "_enabled": true, "__prefab": null, "targets": [ { - "__id__": 120 + "__id__": 182 }, { - "__id__": 125 + "__id__": 187 }, { - "__id__": 130 + "__id__": 192 } ], "waypoints": [ { - "__id__": 119 + "__id__": 181 }, { - "__id__": 118 + "__id__": 180 } ], "speed": 1, @@ -4911,8 +5888,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 96 + "__id__": 158 }, "_enabled": false, "__prefab": null, @@ -4932,221 +5910,48 @@ "__type__": "139dcQ3jdtAnLDpn8Qd3ErD", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 96 + "__id__": 158 }, "_enabled": true, "__prefab": null, "obstaclesSet": [ { - "__id__": 97 + "__id__": 159 }, { - "__id__": 117 + "__id__": 179 } ], "_id": "f40fib3FhKiJszR7ZrSDKh" }, - { - "__type__": "cc.Node", - "_name": "Goal Particle", - "_objFlags": 0, - "_parent": { - "__id__": 5 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 144 - }, - { - "__id__": 145 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 2604.768, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "aafOIBg8BGhbiElg7iNoY/" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 143 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "bagjRCqGVBDr8ZaEeuXpEB" - }, - { - "__type__": "cc.ParticleSystem2D", - "_name": "Node", - "_objFlags": 0, - "node": { - "__id__": 143 - }, - "_enabled": true, - "__prefab": null, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 1, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "duration": 1, - "emissionRate": 100, - "life": 0.20000000298023224, - "lifeVar": 0.5, - "angle": 0, - "angleVar": 360, - "startSize": 1, - "startSizeVar": 500, - "endSize": 0, - "endSizeVar": 500, - "startSpin": -47.369998931884766, - "startSpinVar": 0, - "endSpin": -47.369998931884766, - "endSpinVar": -142.11000061035156, - "sourcePos": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "posVar": { - "__type__": "cc.Vec2", - "x": 7, - "y": 7 - }, - "emitterMode": 0, - "gravity": { - "__type__": "cc.Vec2", - "x": 0.25, - "y": 0.8600000143051147 - }, - "speed": 0, - "speedVar": 190.7899932861328, - "tangentialAccel": -92.11000061035156, - "tangentialAccelVar": 65.79000091552734, - "radialAccel": 600, - "radialAccelVar": 600, - "rotationIsDir": false, - "startRadius": 100, - "startRadiusVar": 0, - "endRadius": 0, - "endRadiusVar": 0, - "rotatePerS": 0, - "rotatePerSVar": 0, - "playOnLoad": true, - "autoRemoveOnFinish": false, - "_preview": true, - "preview": true, - "_custom": true, - "_file": { - "__uuid__": "e17b4526-57a2-48d3-acc9-cf09f30aa138", - "__expectedType__": "cc.ParticleAsset" - }, - "_spriteFrame": { - "__uuid__": "24c419ea-63a8-4ea1-a9d0-7fc469489bbc@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_totalParticles": 200, - "_startColor": { - "__type__": "cc.Color", - "r": 202, - "g": 200, - "b": 86, - "a": 163 - }, - "_startColorVar": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 0 - }, - "_endColor": { - "__type__": "cc.Color", - "r": 173, - "g": 161, - "b": 19, - "a": 214 - }, - "_endColorVar": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 0 - }, - "_positionType": 0, - "_id": "54syYJNoxDPb2aGHdfw5OX" - }, { "__type__": "cc.Node", "_name": "Obstacles with Levels", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { "__id__": 5 }, "_children": [ { - "__id__": 147 + "__id__": 206 }, { - "__id__": 155 + "__id__": 214 }, { - "__id__": 163 + "__id__": 222 } ], "_active": true, "_components": [ { - "__id__": 173 + "__id__": 232 }, { - "__id__": 174 + "__id__": 233 } ], "_prefab": null, @@ -5183,17 +5988,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 146 + "__id__": 205 }, "_prefab": { - "__id__": 148 + "__id__": 207 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 147 + "__id__": 206 }, "asset": { "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", @@ -5201,7 +6006,7 @@ }, "fileId": "a0kYAhzm5AAa3h8r/fe/j5", "instance": { - "__id__": 149 + "__id__": 208 }, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -5214,16 +6019,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 150 + "__id__": 209 }, { - "__id__": 152 + "__id__": 211 }, { - "__id__": 153 + "__id__": 212 }, { - "__id__": 154 + "__id__": 213 } ], "removedComponents": [] @@ -5231,7 +6036,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 151 + "__id__": 210 }, "propertyPath": [ "_name" @@ -5247,7 +6052,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 151 + "__id__": 210 }, "propertyPath": [ "_lpos" @@ -5262,7 +6067,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 151 + "__id__": 210 }, "propertyPath": [ "_lrot" @@ -5278,7 +6083,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 151 + "__id__": 210 }, "propertyPath": [ "_euler" @@ -5294,17 +6099,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 146 + "__id__": 205 }, "_prefab": { - "__id__": 156 + "__id__": 215 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 155 + "__id__": 214 }, "asset": { "__uuid__": "36df1e3d-a2ea-4b8d-8a5c-fc97275927ed", @@ -5312,7 +6117,7 @@ }, "fileId": "8bAB5AG0pEMal3JgTX45pf", "instance": { - "__id__": 157 + "__id__": 216 }, "targetOverrides": null }, @@ -5324,16 +6129,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 158 + "__id__": 217 }, { - "__id__": 160 + "__id__": 219 }, { - "__id__": 161 + "__id__": 220 }, { - "__id__": 162 + "__id__": 221 } ], "removedComponents": [] @@ -5341,7 +6146,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 159 + "__id__": 218 }, "propertyPath": [ "_name" @@ -5357,7 +6162,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 159 + "__id__": 218 }, "propertyPath": [ "_lpos" @@ -5372,7 +6177,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 159 + "__id__": 218 }, "propertyPath": [ "_lrot" @@ -5388,7 +6193,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 159 + "__id__": 218 }, "propertyPath": [ "_euler" @@ -5404,17 +6209,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 146 + "__id__": 205 }, "_prefab": { - "__id__": 164 + "__id__": 223 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 163 + "__id__": 222 }, "asset": { "__uuid__": "1f197242-be22-45c5-8050-73114637003e", @@ -5422,7 +6227,7 @@ }, "fileId": "8bAB5AG0pEMal3JgTX45pf", "instance": { - "__id__": 165 + "__id__": 224 }, "targetOverrides": null }, @@ -5434,19 +6239,19 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 166 + "__id__": 225 }, { - "__id__": 168 + "__id__": 227 }, { - "__id__": 169 + "__id__": 228 }, { - "__id__": 170 + "__id__": 229 }, { - "__id__": 171 + "__id__": 230 } ], "removedComponents": [] @@ -5454,7 +6259,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 167 + "__id__": 226 }, "propertyPath": [ "_name" @@ -5470,7 +6275,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 167 + "__id__": 226 }, "propertyPath": [ "_lpos" @@ -5485,7 +6290,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 167 + "__id__": 226 }, "propertyPath": [ "_lrot" @@ -5501,7 +6306,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 167 + "__id__": 226 }, "propertyPath": [ "_euler" @@ -5516,7 +6321,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 172 + "__id__": 231 }, "propertyPath": [ "_lpos" @@ -5539,8 +6344,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 146 + "__id__": 205 }, "_enabled": false, "__prefab": null, @@ -5560,8 +6366,9 @@ "__type__": "f8855evE65FJqQjblRwLsAO", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 146 + "__id__": 205 }, "_enabled": true, "__prefab": null, @@ -5569,13 +6376,13 @@ "currentLevel": 5, "levelObstacles": [ { - "__id__": 147 + "__id__": 206 }, { - "__id__": 155 + "__id__": 214 }, { - "__id__": 163 + "__id__": 222 } ], "levelBalls": [], @@ -5586,6 +6393,7 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 5 }, @@ -5607,16 +6415,17 @@ "__type__": "e458e1SXShHG6rlCRbLLMNE", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 5 }, "_enabled": true, "__prefab": null, "lFlipper": { - "__id__": 65 + "__id__": 127 }, "rFlipper": { - "__id__": 75 + "__id__": 137 }, "_id": "celgqx7zpPw4oYFK6/qx8a" }, @@ -5624,6 +6433,7 @@ "__type__": "b343eeKBU1NGom3qA6hrm7y", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 5 }, @@ -5657,10 +6467,10 @@ ], "controllingBall": null, "uiController": { - "__id__": 178 + "__id__": 237 }, "levelController": { - "__id__": 366 + "__id__": 425 }, "score": 0, "streak": 0, @@ -5668,9 +6478,7 @@ "ball": 10, "scoreToSpawnObstacle": 1, "currentGameState": 0, - "particle": { - "__id__": 145 - }, + "particle": null, "startGameCountDown": 3, "_id": "52Cpw4D1lK64PpyKf20KgI" }, @@ -5678,49 +6486,50 @@ "__type__": "575ed8kzbpDApGxiolEHOek", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 179 + "__id__": 238 }, "_enabled": true, "__prefab": null, "mainMenuPnl": { - "__id__": 180 + "__id__": 239 }, "startGameBtn": { - "__id__": 184 + "__id__": 243 }, "countdownPnl": { - "__id__": 188 + "__id__": 247 }, "countdownTxt": { - "__id__": 191 + "__id__": 250 }, "inGamePnl": { - "__id__": 195 + "__id__": 254 }, "goalTxt": { - "__id__": 198 + "__id__": 257 }, "currentStreakTxt": { - "__id__": 202 + "__id__": 261 }, "highestStreakTxt": { - "__id__": 206 + "__id__": 265 }, "ballTxt": { - "__id__": 210 + "__id__": 269 }, "currentLevelTxt": { - "__id__": 214 + "__id__": 273 }, "endGamePnl": { - "__id__": 303 + "__id__": 362 }, "yourScoreTxt": { - "__id__": 330 + "__id__": 389 }, "replayBtn": { - "__id__": 337 + "__id__": 396 }, "_id": "08nJofsO9Po7QjUBK5tPgd" }, @@ -5734,34 +6543,34 @@ }, "_children": [ { - "__id__": 180 + "__id__": 239 }, { - "__id__": 188 + "__id__": 247 }, { - "__id__": 195 + "__id__": 254 }, { - "__id__": 219 + "__id__": 278 }, { - "__id__": 236 + "__id__": 295 }, { - "__id__": 303 + "__id__": 362 } ], "_active": true, "_components": [ { - "__id__": 364 + "__id__": 423 }, { - "__id__": 178 + "__id__": 237 }, { - "__id__": 365 + "__id__": 424 } ], "_prefab": null, @@ -5798,24 +6607,25 @@ "__type__": "cc.Node", "_name": "Main Menu Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 179 + "__id__": 238 }, "_children": [ { - "__id__": 181 + "__id__": 240 } ], "_active": true, "_components": [ { - "__id__": 185 + "__id__": 244 }, { - "__id__": 186 + "__id__": 245 }, { - "__id__": 187 + "__id__": 246 } ], "_prefab": null, @@ -5852,20 +6662,21 @@ "__type__": "cc.Node", "_name": "Play Btn", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 239 }, "_children": [], "_active": true, "_components": [ { - "__id__": 182 + "__id__": 241 }, { - "__id__": 183 + "__id__": 242 }, { - "__id__": 184 + "__id__": 243 } ], "_prefab": null, @@ -5902,8 +6713,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 240 }, "_enabled": true, "__prefab": null, @@ -5923,8 +6735,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 240 }, "_enabled": true, "__prefab": null, @@ -5961,8 +6774,9 @@ "__type__": "cc.Button", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 240 }, "_enabled": true, "__prefab": null, @@ -6016,7 +6830,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 181 + "__id__": 240 }, "_id": "cfU+0PdlRNBIig1EWk0YQv" }, @@ -6024,15 +6838,16 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 239 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 1920, - "height": 1440 + "width": 4000, + "height": 4000 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -6045,8 +6860,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 239 }, "_enabled": true, "__prefab": null, @@ -6061,10 +6877,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__uuid__": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@f9941", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 2, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -6083,17 +6899,18 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 239 }, "_enabled": true, "__prefab": null, "_alignFlags": 45, "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, + "_left": -1280, + "_right": -1280, + "_top": -1460, + "_bottom": -1460, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -6112,24 +6929,25 @@ "__type__": "cc.Node", "_name": "Countdown Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 179 + "__id__": 238 }, "_children": [ { - "__id__": 189 + "__id__": 248 } ], "_active": false, "_components": [ { - "__id__": 192 + "__id__": 251 }, { - "__id__": 193 + "__id__": 252 }, { - "__id__": 194 + "__id__": 253 } ], "_prefab": null, @@ -6166,17 +6984,18 @@ "__type__": "cc.Node", "_name": "Countdown Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 188 + "__id__": 247 }, "_children": [], "_active": true, "_components": [ { - "__id__": 190 + "__id__": 249 }, { - "__id__": 191 + "__id__": 250 } ], "_prefab": null, @@ -6213,8 +7032,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 189 + "__id__": 248 }, "_enabled": true, "__prefab": null, @@ -6234,8 +7054,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 189 + "__id__": 248 }, "_enabled": true, "__prefab": null, @@ -6272,8 +7093,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 188 + "__id__": 247 }, "_enabled": true, "__prefab": null, @@ -6293,8 +7115,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 188 + "__id__": 247 }, "_enabled": true, "__prefab": null, @@ -6328,8 +7151,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 188 + "__id__": 247 }, "_enabled": true, "__prefab": null, @@ -6357,36 +7181,37 @@ "__type__": "cc.Node", "_name": "Ingame Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 179 + "__id__": 238 }, "_children": [ { - "__id__": 196 + "__id__": 255 }, { - "__id__": 200 + "__id__": 259 }, { - "__id__": 204 + "__id__": 263 }, { - "__id__": 208 + "__id__": 267 }, { - "__id__": 212 + "__id__": 271 } ], "_active": false, "_components": [ { - "__id__": 216 + "__id__": 275 }, { - "__id__": 217 + "__id__": 276 }, { - "__id__": 218 + "__id__": 277 } ], "_prefab": null, @@ -6423,27 +7248,28 @@ "__type__": "cc.Node", "_name": "Goal Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 197 + "__id__": 256 }, { - "__id__": 198 + "__id__": 257 }, { - "__id__": 199 + "__id__": 258 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -936, - "y": 620.4, + "x": -696, + "y": 440.4, "z": 0 }, "_lrot": { @@ -6473,8 +7299,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 255 }, "_enabled": true, "__prefab": null, @@ -6494,8 +7321,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 255 }, "_enabled": true, "__prefab": null, @@ -6532,8 +7360,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 255 }, "_enabled": true, "__prefab": null, @@ -6561,27 +7390,28 @@ "__type__": "cc.Node", "_name": "Streak Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 201 + "__id__": 260 }, { - "__id__": 202 + "__id__": 261 }, { - "__id__": 203 + "__id__": 262 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -936, - "y": 548.4, + "x": -696, + "y": 368.4, "z": 0 }, "_lrot": { @@ -6611,8 +7441,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 200 + "__id__": 259 }, "_enabled": true, "__prefab": null, @@ -6632,8 +7463,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 200 + "__id__": 259 }, "_enabled": true, "__prefab": null, @@ -6670,8 +7502,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 200 + "__id__": 259 }, "_enabled": true, "__prefab": null, @@ -6699,27 +7532,28 @@ "__type__": "cc.Node", "_name": "Highest Streak Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 205 + "__id__": 264 }, { - "__id__": 206 + "__id__": 265 }, { - "__id__": 207 + "__id__": 266 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -936, - "y": 476.4, + "x": -696, + "y": 296.4, "z": 0 }, "_lrot": { @@ -6749,8 +7583,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 204 + "__id__": 263 }, "_enabled": true, "__prefab": null, @@ -6770,8 +7605,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 204 + "__id__": 263 }, "_enabled": true, "__prefab": null, @@ -6808,8 +7644,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 204 + "__id__": 263 }, "_enabled": true, "__prefab": null, @@ -6837,27 +7674,28 @@ "__type__": "cc.Node", "_name": "Ball Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 209 + "__id__": 268 }, { - "__id__": 210 + "__id__": 269 }, { - "__id__": 211 + "__id__": 270 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -936, - "y": 404.4, + "x": -696, + "y": 224.4, "z": 0 }, "_lrot": { @@ -6887,8 +7725,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 208 + "__id__": 267 }, "_enabled": true, "__prefab": null, @@ -6908,8 +7747,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 208 + "__id__": 267 }, "_enabled": true, "__prefab": null, @@ -6946,8 +7786,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 208 + "__id__": 267 }, "_enabled": true, "__prefab": null, @@ -6975,27 +7816,28 @@ "__type__": "cc.Node", "_name": "Current Level Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 195 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 213 + "__id__": 272 }, { - "__id__": 214 + "__id__": 273 }, { - "__id__": 215 + "__id__": 274 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 769.24, - "y": -696, + "x": 564.925, + "y": -478.2, "z": 0 }, "_lrot": { @@ -7025,8 +7867,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 271 }, "_enabled": true, "__prefab": null, @@ -7037,8 +7880,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "5b+5CFybxFNZAxPnVOi69A" }, @@ -7046,8 +7889,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 271 }, "_enabled": true, "__prefab": null, @@ -7063,7 +7907,7 @@ }, "_string": "Level: 0", "_horizontalAlign": 2, - "_verticalAlign": 0, + "_verticalAlign": 1, "_actualFontSize": 60, "_fontSize": 60, "_fontFamily": "Arial", @@ -7084,15 +7928,16 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 271 }, "_enabled": true, "__prefab": null, "_alignFlags": 36, "_target": null, - "_left": 960, - "_right": -19.39000000000003, + "_left": 1397.4800000000002, + "_right": 50, "_top": 644.4, "_bottom": 24, "_horizontalCenter": 0, @@ -7103,7 +7948,7 @@ "_isAbsBottom": true, "_isAbsHorizontalCenter": true, "_isAbsVerticalCenter": true, - "_originalWidth": 0, + "_originalWidth": 226.82, "_originalHeight": 0, "_alignMode": 2, "_lockFlags": 0, @@ -7113,15 +7958,16 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 254 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 1920, - "height": 1440 + "width": 1440, + "height": 1080 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -7134,8 +7980,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 254 }, "_enabled": true, "__prefab": null, @@ -7169,8 +8016,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 254 }, "_enabled": true, "__prefab": null, @@ -7198,30 +8046,31 @@ "__type__": "cc.Node", "_name": "End Game Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 179 + "__id__": 238 }, "_children": [ { - "__id__": 220 + "__id__": 279 }, { - "__id__": 223 + "__id__": 282 }, { - "__id__": 226 + "__id__": 285 } ], "_active": false, "_components": [ { - "__id__": 233 + "__id__": 292 }, { - "__id__": 234 + "__id__": 293 }, { - "__id__": 235 + "__id__": 294 } ], "_prefab": null, @@ -7258,17 +8107,18 @@ "__type__": "cc.Node", "_name": "End game Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 219 + "__id__": 278 }, "_children": [], "_active": true, "_components": [ { - "__id__": 221 + "__id__": 280 }, { - "__id__": 222 + "__id__": 281 } ], "_prefab": null, @@ -7305,8 +8155,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 220 + "__id__": 279 }, "_enabled": true, "__prefab": null, @@ -7326,8 +8177,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 220 + "__id__": 279 }, "_enabled": true, "__prefab": null, @@ -7364,17 +8216,18 @@ "__type__": "cc.Node", "_name": "Score Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 219 + "__id__": 278 }, "_children": [], "_active": true, "_components": [ { - "__id__": 224 + "__id__": 283 }, { - "__id__": 225 + "__id__": 284 } ], "_prefab": null, @@ -7411,8 +8264,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 282 }, "_enabled": true, "__prefab": null, @@ -7432,8 +8286,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 282 }, "_enabled": true, "__prefab": null, @@ -7470,24 +8325,25 @@ "__type__": "cc.Node", "_name": "Replay Btn", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 219 + "__id__": 278 }, "_children": [ { - "__id__": 227 + "__id__": 286 } ], "_active": true, "_components": [ { - "__id__": 230 + "__id__": 289 }, { - "__id__": 231 + "__id__": 290 }, { - "__id__": 232 + "__id__": 291 } ], "_prefab": null, @@ -7524,17 +8380,18 @@ "__type__": "cc.Node", "_name": "Label", "_objFlags": 512, + "__editorExtras__": {}, "_parent": { - "__id__": 226 + "__id__": 285 }, "_children": [], "_active": true, "_components": [ { - "__id__": 228 + "__id__": 287 }, { - "__id__": 229 + "__id__": 288 } ], "_prefab": null, @@ -7571,8 +8428,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 227 + "__id__": 286 }, "_enabled": true, "__prefab": null, @@ -7592,8 +8450,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 227 + "__id__": 286 }, "_enabled": true, "__prefab": null, @@ -7630,8 +8489,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 285 }, "_enabled": true, "__prefab": null, @@ -7651,8 +8511,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 285 }, "_enabled": true, "__prefab": null, @@ -7689,8 +8550,9 @@ "__type__": "cc.Button", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 285 }, "_enabled": true, "__prefab": null, @@ -7744,7 +8606,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 226 + "__id__": 285 }, "_id": "9cQSNePbdBAoNRjz+RDWll" }, @@ -7752,15 +8614,16 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 219 + "__id__": 278 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 1920, - "height": 1440 + "width": 4000, + "height": 4000 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -7773,8 +8636,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 219 + "__id__": 278 }, "_enabled": true, "__prefab": null, @@ -7789,10 +8653,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__uuid__": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@f9941", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 2, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -7811,17 +8675,18 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 219 + "__id__": 278 }, "_enabled": true, "__prefab": null, "_alignFlags": 45, "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, + "_left": -1280, + "_right": -1280, + "_top": -1460, + "_bottom": -1460, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -7842,26 +8707,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 179 + "__id__": 238 }, "_children": [ { - "__id__": 237 + "__id__": 296 }, { - "__id__": 273 + "__id__": 332 } ], "_active": false, "_components": [ { - "__id__": 300 + "__id__": 359 }, { - "__id__": 301 + "__id__": 360 }, { - "__id__": 302 + "__id__": 361 } ], "_prefab": null, @@ -7900,29 +8765,29 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 236 + "__id__": 295 }, "_children": [ { - "__id__": 238 + "__id__": 297 }, { - "__id__": 244 + "__id__": 303 }, { - "__id__": 250 + "__id__": 309 }, { - "__id__": 253 + "__id__": 312 } ], "_active": true, "_components": [ { - "__id__": 271 + "__id__": 330 }, { - "__id__": 272 + "__id__": 331 } ], "_prefab": null, @@ -7961,20 +8826,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 237 + "__id__": 296 }, "_children": [ { - "__id__": 239 + "__id__": 298 } ], "_active": true, "_components": [ { - "__id__": 242 + "__id__": 301 }, { - "__id__": 243 + "__id__": 302 } ], "_prefab": null, @@ -8013,16 +8878,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 238 + "__id__": 297 }, "_children": [], "_active": true, "_components": [ { - "__id__": 240 + "__id__": 299 }, { - "__id__": 241 + "__id__": 300 } ], "_prefab": null, @@ -8061,7 +8926,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 239 + "__id__": 298 }, "_enabled": true, "__prefab": null, @@ -8083,7 +8948,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 239 + "__id__": 298 }, "_enabled": true, "__prefab": null, @@ -8122,7 +8987,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 238 + "__id__": 297 }, "_enabled": true, "__prefab": null, @@ -8144,7 +9009,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 238 + "__id__": 297 }, "_enabled": true, "__prefab": null, @@ -8183,20 +9048,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 237 + "__id__": 296 }, "_children": [ { - "__id__": 245 + "__id__": 304 } ], "_active": true, "_components": [ { - "__id__": 248 + "__id__": 307 }, { - "__id__": 249 + "__id__": 308 } ], "_prefab": null, @@ -8235,16 +9100,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 244 + "__id__": 303 }, "_children": [], "_active": true, "_components": [ { - "__id__": 246 + "__id__": 305 }, { - "__id__": 247 + "__id__": 306 } ], "_prefab": null, @@ -8283,7 +9148,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 245 + "__id__": 304 }, "_enabled": true, "__prefab": null, @@ -8305,7 +9170,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 245 + "__id__": 304 }, "_enabled": true, "__prefab": null, @@ -8344,7 +9209,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 244 + "__id__": 303 }, "_enabled": true, "__prefab": null, @@ -8366,7 +9231,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 244 + "__id__": 303 }, "_enabled": true, "__prefab": null, @@ -8405,16 +9270,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 237 + "__id__": 296 }, "_children": [], "_active": true, "_components": [ { - "__id__": 251 + "__id__": 310 }, { - "__id__": 252 + "__id__": 311 } ], "_prefab": null, @@ -8453,7 +9318,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 250 + "__id__": 309 }, "_enabled": true, "__prefab": null, @@ -8475,7 +9340,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 250 + "__id__": 309 }, "_enabled": true, "__prefab": null, @@ -8514,20 +9379,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 237 + "__id__": 296 }, "_children": [ { - "__id__": 254 + "__id__": 313 }, { - "__id__": 262 + "__id__": 321 } ], "_active": true, "_components": [ { - "__id__": 270 + "__id__": 329 } ], "_prefab": null, @@ -8566,23 +9431,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 253 + "__id__": 312 }, "_children": [ { - "__id__": 255 + "__id__": 314 } ], "_active": true, "_components": [ { - "__id__": 258 + "__id__": 317 }, { - "__id__": 259 + "__id__": 318 }, { - "__id__": 260 + "__id__": 319 } ], "_prefab": null, @@ -8621,16 +9486,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 254 + "__id__": 313 }, "_children": [], "_active": true, "_components": [ { - "__id__": 256 + "__id__": 315 }, { - "__id__": 257 + "__id__": 316 } ], "_prefab": null, @@ -8669,7 +9534,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 255 + "__id__": 314 }, "_enabled": true, "__prefab": null, @@ -8691,7 +9556,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 255 + "__id__": 314 }, "_enabled": true, "__prefab": null, @@ -8730,7 +9595,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 254 + "__id__": 313 }, "_enabled": true, "__prefab": null, @@ -8752,7 +9617,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 254 + "__id__": 313 }, "_enabled": true, "__prefab": null, @@ -8791,13 +9656,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 254 + "__id__": 313 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 261 + "__id__": 320 } ], "_interactable": true, @@ -8840,14 +9705,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 254 + "__id__": 313 }, "_id": "01oME/jVpPtomG3jPDJOzh" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 236 + "__id__": 295 }, "component": "", "_componentId": "d43dbswXsVC/oIw+cObi4Uv", @@ -8860,23 +9725,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 253 + "__id__": 312 }, "_children": [ { - "__id__": 263 + "__id__": 322 } ], "_active": true, "_components": [ { - "__id__": 266 + "__id__": 325 }, { - "__id__": 267 + "__id__": 326 }, { - "__id__": 268 + "__id__": 327 } ], "_prefab": null, @@ -8915,16 +9780,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 262 + "__id__": 321 }, "_children": [], "_active": true, "_components": [ { - "__id__": 264 + "__id__": 323 }, { - "__id__": 265 + "__id__": 324 } ], "_prefab": null, @@ -8963,7 +9828,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 263 + "__id__": 322 }, "_enabled": true, "__prefab": null, @@ -8985,7 +9850,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 263 + "__id__": 322 }, "_enabled": true, "__prefab": null, @@ -9024,7 +9889,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 262 + "__id__": 321 }, "_enabled": true, "__prefab": null, @@ -9046,7 +9911,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 262 + "__id__": 321 }, "_enabled": true, "__prefab": null, @@ -9085,13 +9950,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 262 + "__id__": 321 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 269 + "__id__": 328 } ], "_interactable": true, @@ -9134,14 +9999,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 262 + "__id__": 321 }, "_id": "4c/ik/1j5EuJHnw6+3B74e" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 236 + "__id__": 295 }, "component": "", "_componentId": "d43dbswXsVC/oIw+cObi4Uv", @@ -9154,7 +10019,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 253 + "__id__": 312 }, "_enabled": true, "__prefab": null, @@ -9176,7 +10041,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 237 + "__id__": 296 }, "_enabled": true, "__prefab": null, @@ -9198,7 +10063,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 237 + "__id__": 296 }, "_enabled": true, "__prefab": null, @@ -9230,29 +10095,29 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 236 + "__id__": 295 }, "_children": [ { - "__id__": 274 + "__id__": 333 }, { - "__id__": 277 + "__id__": 336 } ], "_active": false, "_components": [ { - "__id__": 295 + "__id__": 354 }, { - "__id__": 296 + "__id__": 355 }, { - "__id__": 297 + "__id__": 356 }, { - "__id__": 298 + "__id__": 357 } ], "_prefab": null, @@ -9291,16 +10156,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 273 + "__id__": 332 }, "_children": [], "_active": true, "_components": [ { - "__id__": 275 + "__id__": 334 }, { - "__id__": 276 + "__id__": 335 } ], "_prefab": null, @@ -9339,7 +10204,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 274 + "__id__": 333 }, "_enabled": true, "__prefab": null, @@ -9361,7 +10226,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 274 + "__id__": 333 }, "_enabled": true, "__prefab": null, @@ -9400,20 +10265,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 273 + "__id__": 332 }, "_children": [ { - "__id__": 278 + "__id__": 337 }, { - "__id__": 286 + "__id__": 345 } ], "_active": true, "_components": [ { - "__id__": 294 + "__id__": 353 } ], "_prefab": null, @@ -9452,23 +10317,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 277 + "__id__": 336 }, "_children": [ { - "__id__": 279 + "__id__": 338 } ], "_active": true, "_components": [ { - "__id__": 282 + "__id__": 341 }, { - "__id__": 283 + "__id__": 342 }, { - "__id__": 284 + "__id__": 343 } ], "_prefab": null, @@ -9507,16 +10372,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 278 + "__id__": 337 }, "_children": [], "_active": true, "_components": [ { - "__id__": 280 + "__id__": 339 }, { - "__id__": 281 + "__id__": 340 } ], "_prefab": null, @@ -9555,7 +10420,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 279 + "__id__": 338 }, "_enabled": true, "__prefab": null, @@ -9577,7 +10442,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 279 + "__id__": 338 }, "_enabled": true, "__prefab": null, @@ -9616,7 +10481,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 278 + "__id__": 337 }, "_enabled": true, "__prefab": null, @@ -9638,7 +10503,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 278 + "__id__": 337 }, "_enabled": true, "__prefab": null, @@ -9674,13 +10539,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 278 + "__id__": 337 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 285 + "__id__": 344 } ], "_interactable": true, @@ -9720,14 +10585,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 278 + "__id__": 337 }, "_id": "8eSElI7LlP9bSWCqrmyJfq" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 273 + "__id__": 332 }, "component": "", "_componentId": "09897zz6ZpFdredS9HvFdtE", @@ -9740,23 +10605,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 277 + "__id__": 336 }, "_children": [ { - "__id__": 287 + "__id__": 346 } ], "_active": true, "_components": [ { - "__id__": 290 + "__id__": 349 }, { - "__id__": 291 + "__id__": 350 }, { - "__id__": 292 + "__id__": 351 } ], "_prefab": null, @@ -9795,16 +10660,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 286 + "__id__": 345 }, "_children": [], "_active": true, "_components": [ { - "__id__": 288 + "__id__": 347 }, { - "__id__": 289 + "__id__": 348 } ], "_prefab": null, @@ -9843,7 +10708,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 287 + "__id__": 346 }, "_enabled": true, "__prefab": null, @@ -9865,7 +10730,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 287 + "__id__": 346 }, "_enabled": true, "__prefab": null, @@ -9904,7 +10769,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 286 + "__id__": 345 }, "_enabled": true, "__prefab": null, @@ -9926,7 +10791,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 286 + "__id__": 345 }, "_enabled": true, "__prefab": null, @@ -9962,13 +10827,13 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 286 + "__id__": 345 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 293 + "__id__": 352 } ], "_interactable": true, @@ -10008,14 +10873,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 286 + "__id__": 345 }, "_id": "a35jR4F/NFQ44q0MdJf0wW" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 273 + "__id__": 332 }, "component": "", "_componentId": "09897zz6ZpFdredS9HvFdtE", @@ -10028,7 +10893,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 277 + "__id__": 336 }, "_enabled": true, "__prefab": null, @@ -10050,7 +10915,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 332 }, "_enabled": true, "__prefab": null, @@ -10072,7 +10937,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 332 }, "_enabled": true, "__prefab": null, @@ -10111,7 +10976,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 332 }, "_enabled": true, "__prefab": null, @@ -10139,15 +11004,16 @@ "__type__": "09897zz6ZpFdredS9HvFdtE", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 332 }, "_enabled": true, "__prefab": { - "__id__": 299 + "__id__": 358 }, "ticketWaringText": { - "__id__": 276 + "__id__": 335 }, "_id": "c4zuPYYh5CnrdL5RLlSwtf" }, @@ -10161,14 +11027,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 236 + "__id__": 295 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 4640, - "height": 4720 + "width": 4000, + "height": 4000 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -10183,7 +11049,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 236 + "__id__": 295 }, "_enabled": true, "__prefab": null, @@ -10198,7 +11064,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__uuid__": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@f9941", "__expectedType__": "cc.SpriteFrame" }, "_type": 2, @@ -10222,16 +11088,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 236 + "__id__": 295 }, "_enabled": true, "__prefab": null, "_alignFlags": 45, "_target": null, - "_left": -1360, - "_right": -1360, - "_top": -1640, - "_bottom": -1640, + "_left": -1280, + "_right": -1280, + "_top": -1460, + "_bottom": -1460, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -10250,42 +11116,43 @@ "__type__": "cc.Node", "_name": "End Game Controller Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 179 + "__id__": 238 }, "_children": [ { - "__id__": 304 + "__id__": 363 }, { - "__id__": 317 + "__id__": 376 }, { - "__id__": 324 + "__id__": 383 }, { - "__id__": 341 + "__id__": 400 }, { - "__id__": 349 + "__id__": 408 }, { - "__id__": 357 + "__id__": 416 } ], "_active": false, "_components": [ { - "__id__": 360 + "__id__": 419 }, { - "__id__": 361 + "__id__": 420 }, { - "__id__": 362 + "__id__": 421 }, { - "__id__": 363 + "__id__": 422 } ], "_prefab": null, @@ -10322,30 +11189,31 @@ "__type__": "cc.Node", "_name": "Compare Score Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 303 + "__id__": 362 }, "_children": [ { - "__id__": 305 + "__id__": 364 }, { - "__id__": 308 + "__id__": 367 }, { - "__id__": 311 + "__id__": 370 } ], "_active": false, "_components": [ { - "__id__": 314 + "__id__": 373 }, { - "__id__": 315 + "__id__": 374 }, { - "__id__": 316 + "__id__": 375 } ], "_prefab": null, @@ -10382,17 +11250,18 @@ "__type__": "cc.Node", "_name": "Your score Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 304 + "__id__": 363 }, "_children": [], "_active": true, "_components": [ { - "__id__": 306 + "__id__": 365 }, { - "__id__": 307 + "__id__": 366 } ], "_prefab": null, @@ -10429,8 +11298,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 305 + "__id__": 364 }, "_enabled": true, "__prefab": null, @@ -10450,8 +11320,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 305 + "__id__": 364 }, "_enabled": true, "__prefab": null, @@ -10488,17 +11359,18 @@ "__type__": "cc.Node", "_name": "Top score Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 304 + "__id__": 363 }, "_children": [], "_active": true, "_components": [ { - "__id__": 309 + "__id__": 368 }, { - "__id__": 310 + "__id__": 369 } ], "_prefab": null, @@ -10535,8 +11407,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 308 + "__id__": 367 }, "_enabled": true, "__prefab": null, @@ -10556,8 +11429,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 308 + "__id__": 367 }, "_enabled": true, "__prefab": null, @@ -10594,17 +11468,18 @@ "__type__": "cc.Node", "_name": "Message Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 304 + "__id__": 363 }, "_children": [], "_active": true, "_components": [ { - "__id__": 312 + "__id__": 371 }, { - "__id__": 313 + "__id__": 372 } ], "_prefab": null, @@ -10641,8 +11516,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 311 + "__id__": 370 }, "_enabled": true, "__prefab": null, @@ -10662,8 +11538,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 311 + "__id__": 370 }, "_enabled": true, "__prefab": null, @@ -10700,8 +11577,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 304 + "__id__": 363 }, "_enabled": true, "__prefab": null, @@ -10721,8 +11599,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 304 + "__id__": 363 }, "_enabled": false, "__prefab": null, @@ -10759,8 +11638,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 304 + "__id__": 363 }, "_enabled": true, "__prefab": null, @@ -10788,24 +11668,25 @@ "__type__": "cc.Node", "_name": "Continue Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 303 + "__id__": 362 }, "_children": [ { - "__id__": 318 + "__id__": 377 } ], "_active": false, "_components": [ { - "__id__": 321 + "__id__": 380 }, { - "__id__": 322 + "__id__": 381 }, { - "__id__": 323 + "__id__": 382 } ], "_prefab": null, @@ -10842,17 +11723,18 @@ "__type__": "cc.Node", "_name": "Message Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 317 + "__id__": 376 }, "_children": [], "_active": true, "_components": [ { - "__id__": 319 + "__id__": 378 }, { - "__id__": 320 + "__id__": 379 } ], "_prefab": null, @@ -10889,8 +11771,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 318 + "__id__": 377 }, "_enabled": true, "__prefab": null, @@ -10910,8 +11793,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 318 + "__id__": 377 }, "_enabled": true, "__prefab": null, @@ -10948,8 +11832,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 317 + "__id__": 376 }, "_enabled": true, "__prefab": null, @@ -10969,8 +11854,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 317 + "__id__": 376 }, "_enabled": false, "__prefab": null, @@ -11007,8 +11893,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 317 + "__id__": 376 }, "_enabled": true, "__prefab": null, @@ -11036,30 +11923,31 @@ "__type__": "cc.Node", "_name": "Final Result Pnl", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 303 + "__id__": 362 }, "_children": [ { - "__id__": 325 + "__id__": 384 }, { - "__id__": 328 + "__id__": 387 }, { - "__id__": 331 + "__id__": 390 } ], "_active": false, "_components": [ { - "__id__": 338 + "__id__": 397 }, { - "__id__": 339 + "__id__": 398 }, { - "__id__": 340 + "__id__": 399 } ], "_prefab": null, @@ -11096,17 +11984,18 @@ "__type__": "cc.Node", "_name": "End game Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 324 + "__id__": 383 }, "_children": [], "_active": true, "_components": [ { - "__id__": 326 + "__id__": 385 }, { - "__id__": 327 + "__id__": 386 } ], "_prefab": null, @@ -11143,8 +12032,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 325 + "__id__": 384 }, "_enabled": true, "__prefab": null, @@ -11164,8 +12054,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 325 + "__id__": 384 }, "_enabled": true, "__prefab": null, @@ -11202,17 +12093,18 @@ "__type__": "cc.Node", "_name": "Score Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 324 + "__id__": 383 }, "_children": [], "_active": true, "_components": [ { - "__id__": 329 + "__id__": 388 }, { - "__id__": 330 + "__id__": 389 } ], "_prefab": null, @@ -11249,8 +12141,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 328 + "__id__": 387 }, "_enabled": true, "__prefab": null, @@ -11270,8 +12163,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 328 + "__id__": 387 }, "_enabled": true, "__prefab": null, @@ -11308,24 +12202,25 @@ "__type__": "cc.Node", "_name": "Replay Btn", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 324 + "__id__": 383 }, "_children": [ { - "__id__": 332 + "__id__": 391 } ], "_active": true, "_components": [ { - "__id__": 335 + "__id__": 394 }, { - "__id__": 336 + "__id__": 395 }, { - "__id__": 337 + "__id__": 396 } ], "_prefab": null, @@ -11362,17 +12257,18 @@ "__type__": "cc.Node", "_name": "Label", "_objFlags": 512, + "__editorExtras__": {}, "_parent": { - "__id__": 331 + "__id__": 390 }, "_children": [], "_active": true, "_components": [ { - "__id__": 333 + "__id__": 392 }, { - "__id__": 334 + "__id__": 393 } ], "_prefab": null, @@ -11409,8 +12305,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 391 }, "_enabled": true, "__prefab": null, @@ -11430,8 +12327,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 391 }, "_enabled": true, "__prefab": null, @@ -11468,8 +12366,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 331 + "__id__": 390 }, "_enabled": true, "__prefab": null, @@ -11489,8 +12388,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 331 + "__id__": 390 }, "_enabled": true, "__prefab": null, @@ -11527,8 +12427,9 @@ "__type__": "cc.Button", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 331 + "__id__": 390 }, "_enabled": true, "__prefab": null, @@ -11582,7 +12483,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 331 + "__id__": 390 }, "_id": "aa/Iejl0BKXLdeZhgoxNvW" }, @@ -11590,8 +12491,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 383 }, "_enabled": true, "__prefab": null, @@ -11611,8 +12513,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 383 }, "_enabled": false, "__prefab": null, @@ -11649,8 +12552,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 324 + "__id__": 383 }, "_enabled": true, "__prefab": null, @@ -11678,24 +12582,25 @@ "__type__": "cc.Node", "_name": "Yes Btn", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 303 + "__id__": 362 }, "_children": [ { - "__id__": 342 + "__id__": 401 } ], "_active": true, "_components": [ { - "__id__": 345 + "__id__": 404 }, { - "__id__": 346 + "__id__": 405 }, { - "__id__": 347 + "__id__": 406 } ], "_prefab": null, @@ -11732,17 +12637,18 @@ "__type__": "cc.Node", "_name": "Label", "_objFlags": 512, + "__editorExtras__": {}, "_parent": { - "__id__": 341 + "__id__": 400 }, "_children": [], "_active": true, "_components": [ { - "__id__": 343 + "__id__": 402 }, { - "__id__": 344 + "__id__": 403 } ], "_prefab": null, @@ -11779,8 +12685,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 342 + "__id__": 401 }, "_enabled": true, "__prefab": null, @@ -11800,8 +12707,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 342 + "__id__": 401 }, "_enabled": true, "__prefab": null, @@ -11838,8 +12746,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 341 + "__id__": 400 }, "_enabled": true, "__prefab": null, @@ -11859,8 +12768,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 341 + "__id__": 400 }, "_enabled": true, "__prefab": null, @@ -11897,14 +12807,15 @@ "__type__": "cc.Button", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 341 + "__id__": 400 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 348 + "__id__": 407 } ], "_interactable": true, @@ -11956,14 +12867,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 341 + "__id__": 400 }, "_id": "92fB2X3F5G9pVodbLlJyeh" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 303 + "__id__": 362 }, "component": "", "_componentId": "27b91WVyaFD2pEJcWsN17bu", @@ -11974,24 +12885,25 @@ "__type__": "cc.Node", "_name": "No Btn", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 303 + "__id__": 362 }, "_children": [ { - "__id__": 350 + "__id__": 409 } ], "_active": true, "_components": [ { - "__id__": 353 + "__id__": 412 }, { - "__id__": 354 + "__id__": 413 }, { - "__id__": 355 + "__id__": 414 } ], "_prefab": null, @@ -12028,17 +12940,18 @@ "__type__": "cc.Node", "_name": "Label", "_objFlags": 512, + "__editorExtras__": {}, "_parent": { - "__id__": 349 + "__id__": 408 }, "_children": [], "_active": true, "_components": [ { - "__id__": 351 + "__id__": 410 }, { - "__id__": 352 + "__id__": 411 } ], "_prefab": null, @@ -12075,8 +12988,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 350 + "__id__": 409 }, "_enabled": true, "__prefab": null, @@ -12096,8 +13010,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 350 + "__id__": 409 }, "_enabled": true, "__prefab": null, @@ -12134,8 +13049,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 349 + "__id__": 408 }, "_enabled": true, "__prefab": null, @@ -12155,8 +13071,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 349 + "__id__": 408 }, "_enabled": true, "__prefab": null, @@ -12193,14 +13110,15 @@ "__type__": "cc.Button", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 349 + "__id__": 408 }, "_enabled": true, "__prefab": null, "clickEvents": [ { - "__id__": 356 + "__id__": 415 } ], "_interactable": true, @@ -12252,14 +13170,14 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 349 + "__id__": 408 }, "_id": "55FoeitGFOFZP/S/zLW2EK" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 303 + "__id__": 362 }, "component": "", "_componentId": "27b91WVyaFD2pEJcWsN17bu", @@ -12270,17 +13188,18 @@ "__type__": "cc.Node", "_name": "Countdown Txt", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { - "__id__": 303 + "__id__": 362 }, "_children": [], "_active": true, "_components": [ { - "__id__": 358 + "__id__": 417 }, { - "__id__": 359 + "__id__": 418 } ], "_prefab": null, @@ -12317,8 +13236,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 357 + "__id__": 416 }, "_enabled": true, "__prefab": null, @@ -12338,8 +13258,9 @@ "__type__": "cc.Label", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 357 + "__id__": 416 }, "_enabled": true, "__prefab": null, @@ -12376,15 +13297,16 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 303 + "__id__": 362 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 1920, - "height": 1440 + "width": 4000, + "height": 4000 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -12397,8 +13319,9 @@ "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 303 + "__id__": 362 }, "_enabled": true, "__prefab": null, @@ -12413,10 +13336,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__uuid__": "98ce9fe6-ed8c-477d-96ba-d283b6ac387a@f9941", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 2, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -12435,17 +13358,18 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 303 + "__id__": 362 }, "_enabled": true, "__prefab": null, "_alignFlags": 45, "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, + "_left": -1280, + "_right": -1280, + "_top": -1460, + "_bottom": -1460, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -12464,38 +13388,39 @@ "__type__": "27b91WVyaFD2pEJcWsN17bu", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 303 + "__id__": 362 }, "_enabled": true, "__prefab": null, "countdownTime": 15, "yourScoreTxt": { - "__id__": 307 + "__id__": 366 }, "topScoreTxt": { - "__id__": 310 + "__id__": 369 }, "continueTxt": { - "__id__": 320 + "__id__": 379 }, "countdownToReplayTxt": { - "__id__": 359 + "__id__": 418 }, "yesBtn": { - "__id__": 347 + "__id__": 406 }, "noBtn": { - "__id__": 355 + "__id__": 414 }, "compareScorePnl": { - "__id__": 304 + "__id__": 363 }, "continuePnl": { - "__id__": 317 + "__id__": 376 }, "finalResultPnl": { - "__id__": 324 + "__id__": 383 }, "_id": "916BqoykVOnI1q8LFCQt6j" }, @@ -12503,15 +13428,16 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 179 + "__id__": 238 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 1920, - "height": 1440 + "width": 1440, + "height": 1080 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -12524,8 +13450,9 @@ "__type__": "cc.Widget", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 179 + "__id__": 238 }, "_enabled": true, "__prefab": null, @@ -12553,6 +13480,7 @@ "__type__": "f8855evE65FJqQjblRwLsAO", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { "__id__": 5 }, @@ -12562,13 +13490,13 @@ "currentLevel": 0, "levelObstacles": [ { - "__id__": 147 + "__id__": 206 }, { - "__id__": 155 + "__id__": 214 }, { - "__id__": 163 + "__id__": 222 } ], "levelBalls": [ @@ -12590,6 +13518,7 @@ "__type__": "cc.Node", "_name": "Sound Manager", "_objFlags": 0, + "__editorExtras__": {}, "_parent": { "__id__": 2 }, @@ -12597,13 +13526,13 @@ "_active": true, "_components": [ { - "__id__": 368 + "__id__": 427 }, { - "__id__": 369 + "__id__": 428 }, { - "__id__": 370 + "__id__": 429 } ], "_prefab": null, @@ -12640,8 +13569,9 @@ "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 367 + "__id__": 426 }, "_enabled": true, "__prefab": null, @@ -12661,8 +13591,9 @@ "__type__": "cc.AudioSource", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 367 + "__id__": 426 }, "_enabled": true, "__prefab": null, @@ -12676,13 +13607,14 @@ "__type__": "f4bdcXir9VDB4cA2jAmIE/p", "_name": "", "_objFlags": 0, + "__editorExtras__": {}, "node": { - "__id__": 367 + "__id__": 426 }, "_enabled": true, "__prefab": null, "audioSource": { - "__id__": 369 + "__id__": 428 }, "hitGround": { "__uuid__": "6a432293-3852-4267-be19-c671f36fe9f0", @@ -12722,8 +13654,8 @@ "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 1920, - "height": 1440 + "width": 1440, + "height": 1080 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -12784,41 +13716,104 @@ "asset": null, "fileId": "4c16bf85-f009-4abe-b793-f3a1924392e4", "instance": null, - "targetOverrides": null, + "targetOverrides": [ + { + "__id__": 434 + }, + { + "__id__": 437 + } + ], "nestedPrefabInstanceRoots": [ { - "__id__": 81 + "__id__": 29 }, { - "__id__": 147 + "__id__": 143 }, { - "__id__": 155 + "__id__": 206 }, { - "__id__": 163 + "__id__": 214 + }, + { + "__id__": 222 } ] }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 29 + }, + "sourceInfo": { + "__id__": 435 + }, + "propertyPath": [ + "_trailModule", + "_particleSystem" + ], + "target": { + "__id__": 29 + }, + "targetInfo": { + "__id__": 436 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "74gD9Y10BHHIFl8LKXE/Rx" + ] + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "74gD9Y10BHHIFl8LKXE/Rx" + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 236 + }, + "sourceInfo": null, + "propertyPath": [ + "particle" + ], + "target": { + "__id__": 29 + }, + "targetInfo": { + "__id__": 438 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "74gD9Y10BHHIFl8LKXE/Rx" + ] + }, { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 376 + "__id__": 440 }, "shadows": { - "__id__": 377 + "__id__": 441 }, "_skybox": { - "__id__": 378 + "__id__": 442 }, "fog": { - "__id__": 379 + "__id__": 443 }, "octree": { - "__id__": 380 + "__id__": 444 }, "lightProbeInfo": { - "__id__": 381 + "__id__": 445 }, "bakedWithStationaryMainLight": false, "bakedWithHighpLightmap": false diff --git a/assets/Scripts/BEConnector.ts b/assets/Scripts/BEConnector.ts index c606a6f..661c69a 100644 --- a/assets/Scripts/BEConnector.ts +++ b/assets/Scripts/BEConnector.ts @@ -1,11 +1,10 @@ import { _decorator } from 'cc'; -import * as CryptoES from "crypto-es"; +import * as CryptoES from 'crypto-es'; import { GameplayController } from './GameplayController'; export let CryptoESDefault = CryptoES.default; const { ccclass, property } = _decorator; - @ccclass('BEConnector') export default class BEConnector { public static _instance: BEConnector = null; @@ -21,7 +20,7 @@ export default class BEConnector { public maxScore: number; private mileStone: string; - private gameURL: string = ""; + private gameURL: string = ''; public static get instance() { if (null == this._instance) { @@ -37,52 +36,52 @@ export default class BEConnector { public getGameData() { let url = new URLSearchParams(window.location.search); - this.token = url.get('token') - this.skinId = url.get('skinId') - this.tournamentId = url.get('tournamentId') - this.deviceInfo = url.get('deviceInfo') + this.token = url.get('token'); + this.skinId = url.get('skinId'); + this.tournamentId = url.get('tournamentId'); + this.deviceInfo = url.get('deviceInfo'); this.numberTicket = parseInt(url.get('numberTicket')); this.maxScore = parseInt(url.get('maxScore')); - this.mileStone = url.get("mileStone"); + this.mileStone = url.get('mileStone'); this.gameURL = ENV_CONFIG[url.get('env')]; } public async authenticate() { - await fetch(`${this.gameURL}/promotions/authenticate-tournament?token=${this.token}&tournamentId=${this.tournamentId}&skinId=${this.skinId}&deviceInfo=${this.deviceInfo}`) + await fetch( + `${this.gameURL}/promotions/authenticate-tournament?token=${this.token}&tournamentId=${this.tournamentId}&skinId=${this.skinId}&deviceInfo=${this.deviceInfo}`, + ) .then((response) => { if (response.ok) { return response.json(); } }) - .then(data => { + .then((data) => { if (data.ResultCode == 1) { this.key = data.Data.Key; - console.log("authen success", this.key); - } - else { - throw new Error(""); + console.log('authen success', this.key); + } else { + throw new Error(''); } }) - .catch(err => console.log("authen failed")); + .catch((err) => console.log('authen failed')); } - public ticketMinus(type: "auth" | "revive") { - let numberTicket = type === "auth" ? 1 : this.getTicketCanBeMinus(); + public ticketMinus(type: 'auth' | 'revive') { + let numberTicket = type === 'auth' ? 1 : this.getTicketCanBeMinus(); let dataEncrypted: string = this.getDataEncrypted({ type: type, total: numberTicket }); fetch(`${this.gameURL}/promotions/ticket-minus/${this.tournamentId}/${this.skinId}?cocos=1`, { headers: { - 'Accept': 'application/json', + Accept: 'application/json', 'Content-Type': 'application/json', 'x-access-refactor-token': this.token, }, - method: "POST", - body: JSON.stringify({ data: dataEncrypted }) - }) - .then(() => { - this.numberTicket -= numberTicket; - }) + method: 'POST', + body: JSON.stringify({ data: dataEncrypted }), + }).then(() => { + this.numberTicket -= numberTicket; + }); } public calculatingTicketToContinue(scoreRange: object, yourScore: number) { @@ -96,22 +95,22 @@ export default class BEConnector { const minValue = Math.min(...Object.values(scoreRange)); closestMilestone = minValue; } - return closestMilestone + return closestMilestone; } public async checkGameScoreTicket() { let totalScore: number = GameplayController.Instance().score; - let dataEncrypted: string = this.getDataEncrypted({ score: totalScore, ticket: this.getTicketCanBeMinus() }) + let dataEncrypted: string = this.getDataEncrypted({ score: totalScore, ticket: this.getTicketCanBeMinus() }); await fetch(`${this.gameURL}/promotions/check-game-score-ticket/${this.tournamentId}/${this.skinId}?cocos=1`, { headers: { - 'Accept': 'application/json', + Accept: 'application/json', 'Content-Type': 'application/json', 'x-access-refactor-token': this.token, }, - method: "POST", - body: JSON.stringify({ data: dataEncrypted }) - }) + method: 'POST', + body: JSON.stringify({ data: dataEncrypted }), + }); } public postMessage() { @@ -126,38 +125,40 @@ export default class BEConnector { // "*" // ); setTimeout(() => { - BEConnector.instance.numberTicket += 5 + BEConnector.instance.numberTicket += 5; GameplayController.Instance().OnRevive(); }, 2000); - - } public postScoreToServer(score: number) { - let dataEncrypted: string = this.getDataEncrypted({ Score: score, TournamentId: this.tournamentId, SkinId: this.skinId }); + let dataEncrypted: string = this.getDataEncrypted({ + Score: score, + TournamentId: this.tournamentId, + SkinId: this.skinId, + }); - fetch(`${this.gameURL}/promotions/store-score-tournament?tournamentId=${this.tournamentId}&skinId=${this.skinId}&cocos=1`, { - headers: { - 'Accept': 'application/json', - 'Content-Type': 'application/json', - 'x-access-refactor-token': this.token, + fetch( + `${this.gameURL}/promotions/store-score-tournament?tournamentId=${this.tournamentId}&skinId=${this.skinId}&cocos=1`, + { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/json', + 'x-access-refactor-token': this.token, + }, + method: 'POST', + body: JSON.stringify({ data: dataEncrypted }), }, - method: "POST", - body: JSON.stringify({ data: dataEncrypted }) - - - }) - .catch(err => console.log(err)); - console.log("send score to server: " + score); + ).catch((err) => console.log(err)); + console.log('send score to server: ' + score); window.parent.postMessage( JSON.stringify({ error: false, - message: "Hello World", + message: 'Hello World', score: score, - type: "game_tournament", + type: 'game_tournament', }), - "*" + '*', ); } @@ -165,7 +166,7 @@ export default class BEConnector { return CryptoESDefault.AES.encrypt(JSON.stringify(data), this.key, { iv: CryptoESDefault.enc.Utf8.parse('16'), mode: CryptoESDefault.mode.CBC, - padding: CryptoESDefault.pad.Pkcs7 + padding: CryptoESDefault.pad.Pkcs7, }).toString(); } @@ -179,12 +180,10 @@ export default class BEConnector { public canRelive() { return this.numberTicket > this.getTicketCanBeMinus(); } - } const ENV_CONFIG = { - "development": "http://192.168.1.144:3009/api", - "staging": "https://api.play4promote.com/api", - "production": "https://api.play4promo.com/api" -} - + development: 'http://192.168.1.144:3009/api', + staging: 'https://api.play4promote.com/api', + production: 'https://api.play4promo.com/api', +}; diff --git a/assets/Scripts/Ball.ts b/assets/Scripts/Ball.ts index 4d8c369..e53f28d 100644 --- a/assets/Scripts/Ball.ts +++ b/assets/Scripts/Ball.ts @@ -1,4 +1,18 @@ -import { _decorator, CCFloat, Collider, Collider2D, Component, Contact2DType, director, EventTarget, IPhysics2DContact, ParticleSystem, RigidBody2D, Vec2, } from 'cc'; +import { + _decorator, + Animation, + CCFloat, + Collider2D, + Component, + Contact2DType, + Director, + director, + EventTarget, + IPhysics2DContact, + ParticleSystem, + RigidBody2D, + Vec2, +} from 'cc'; import { GameplayController } from './GameplayController'; import { SoundManager } from './SoundManager'; const { ccclass, property } = _decorator; @@ -11,22 +25,20 @@ export class Ball extends Component { public rigidbody: RigidBody2D; @property(Collider2D) public collider: Collider2D; + @property(ParticleSystem) + private trail: ParticleSystem; public isActive: boolean; public eventHitObstacle = new EventTarget(); public eventGoal = new EventTarget(); - protected start(): void { + protected onLoad(): void { if (this.getComponent(Collider2D)) { this.collider.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this); this.collider.on(Contact2DType.END_CONTACT, this.onEndContact, this); } - } - protected update(dt: number): void { - // if (this.rigidbody.linearVelocity.length() > this.maxSpeed) { - // //this.rigidbody.linearVelocity.set(this.rigidbody.linearVelocity.normalize().multiplyScalar(this.maxSpeed)); - // this.rigidbody.applyLinearImpulseToCenter(this.rigidbody.linearVelocity.normalize().multiplyScalar(this.maxSpeed), true); - // } + + director.on(Director.EVENT_AFTER_PHYSICS, this.setMaxVelocity, this); } private onBeginContact(selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) { @@ -41,26 +53,39 @@ export class Ball extends Component { // Hit goal if (otherCollider.tag == 2) { + otherCollider.getComponent(Animation)?.play(); this.node.active = false; GameplayController.Instance().AddScore(1); // GameplayController.Instance().SpawnBallInTime(1); SoundManager.Instance().PlayOneShot(SoundManager.Instance().goal); - this.eventGoal.emit("Goal"); + this.eventGoal.emit('Goal'); return; } // Hit obstacle if (otherCollider.tag == 3) { - this.eventHitObstacle.emit("HitObstacle", otherCollider.node); + this.eventHitObstacle.emit('HitObstacle', otherCollider.node); return; } - SoundManager.Instance().PlayOneShot(SoundManager.Instance().hitPlayer); + if (this.rigidbody.linearVelocity.length() >= 2) { + SoundManager.Instance().PlayOneShot(SoundManager.Instance().hitPlayer); + } + } + + private setMaxVelocity() { + if (this.rigidbody.linearVelocity.length() > this.maxSpeed) { + this.rigidbody.linearVelocity = this.rigidbody.linearVelocity.normalize().multiplyScalar(this.maxSpeed); + } } private onEndContact(selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) { // console.log(otherCollider.tag, otherCollider.node.name); } -} \ No newline at end of file + + public resetTrail() { + this.trail.clear(); + } +} diff --git a/assets/Scripts/EndGameUIController.ts b/assets/Scripts/EndGameUIController.ts index 92f7647..cb82d7a 100644 --- a/assets/Scripts/EndGameUIController.ts +++ b/assets/Scripts/EndGameUIController.ts @@ -1,4 +1,4 @@ -import { _decorator, bezier, Button, CCInteger, Component, EventTarget, Label, log, Node, EventTouch } from 'cc'; +import { _decorator, Button, CCInteger, Component, EventTarget, Label, Node, EventTouch } from 'cc'; import { GameplayController } from './GameplayController'; import BEConnector from './BEConnector'; const { ccclass, property } = _decorator; @@ -7,7 +7,7 @@ export enum PanelState { NotShowing, CompareScore, Continue, - ShowResult + ShowResult, } @ccclass('EndGameUIController') export class EndGameUIController extends Component { @@ -65,10 +65,8 @@ export class EndGameUIController extends Component { //#endregion private Setup(): void { - if (this.isContinuable) - this.ChangeState(PanelState.CompareScore); - else - this.ChangeState(PanelState.ShowResult); + if (this.isContinuable) this.ChangeState(PanelState.CompareScore); + else this.ChangeState(PanelState.ShowResult); } private ChangeState(newState: PanelState): void { @@ -79,7 +77,7 @@ export class EndGameUIController extends Component { case PanelState.CompareScore: this.TurnOffAllPanels(this.compareScorePnl); var totalScore = GameplayController.Instance().score + GameplayController.Instance().highestStreak * 2; - this.yourScoreTxt.string = "Your score: " + totalScore; + this.yourScoreTxt.string = 'Your score: ' + totalScore; /// Todo: set top score here break; @@ -88,10 +86,9 @@ export class EndGameUIController extends Component { var ticket = BEConnector.instance.numberTicket; if (ticket >= BEConnector.instance.getTicketCanBeMinus()) { - this.continueTxt.string = "To continue playing, you will be deducted " + ticket + - " Extras. Do you want to proceed?"; - } - else { + this.continueTxt.string = + 'To continue playing, you will be deducted ' + ticket + ' Extras. Do you want to proceed?'; + } else { this.continueTxt.string = "You don't have enough Extras to continue playing. Would you like to buy more tickets?"; } @@ -110,39 +107,31 @@ export class EndGameUIController extends Component { this.compareScorePnl.active = false; this.continuePnl.active = false; this.finalResultPnl.active = false; - if (activePnl != null) - activePnl.active = true; + if (activePnl != null) activePnl.active = true; } public YesNoClick(e: EventTouch, yesNoString: string): void { var isYesClick = true; - if (yesNoString == "true") - isYesClick = true; + if (yesNoString == 'true') isYesClick = true; else isYesClick = false; switch (this.currentState) { case PanelState.CompareScore: - if (isYesClick) - this.ChangeState(PanelState.Continue); - else - this.ChangeState(PanelState.ShowResult); + if (isYesClick) this.ChangeState(PanelState.Continue); + else this.ChangeState(PanelState.ShowResult); break; case PanelState.Continue: if (isYesClick) { var ticket = BEConnector.instance.getTicketCanBeMinus(); if (BEConnector.instance.numberTicket >= ticket) { GameplayController.Instance().OnRevive(); - BEConnector.instance.ticketMinus("revive"); + BEConnector.instance.ticketMinus('revive'); this.isContinuable = false; - } - else - BEConnector.instance.postMessage(); - } - else { + } else BEConnector.instance.postMessage(); + } else { this.ChangeState(PanelState.CompareScore); } break; } } - -} \ No newline at end of file +} diff --git a/assets/Scripts/Enums.ts b/assets/Scripts/Enums.ts index 43a7362..8a5ed61 100644 --- a/assets/Scripts/Enums.ts +++ b/assets/Scripts/Enums.ts @@ -1,10 +1,10 @@ export enum EventType { - MainMenu = "MainMenu", - StartGame = "StartGame", - PlayGame = "Playgame", - UpdateScore = "SendScore", - UpdateStreak = "UpdateSteak", - UpdateHighestStreak = "UpdateHighestStreak", - UpdateBall = "UpdateBall", - EndGame = "EndGame" -} \ No newline at end of file + MainMenu = 'MainMenu', + StartGame = 'StartGame', + PlayGame = 'Playgame', + UpdateScore = 'SendScore', + UpdateStreak = 'UpdateSteak', + UpdateHighestStreak = 'UpdateHighestStreak', + UpdateBall = 'UpdateBall', + EndGame = 'EndGame', +} diff --git a/assets/Scripts/Flipper.ts b/assets/Scripts/Flipper.ts index eb65c43..84be9ba 100644 --- a/assets/Scripts/Flipper.ts +++ b/assets/Scripts/Flipper.ts @@ -9,7 +9,7 @@ export class Flipper extends Component { public _motorSpeedActive: number; @property({ visible: true, type: CCFloat }) public _motorSpeedDeActive: number; - + public ActiveFlipper(): void { this._hingeJoint.motorSpeed = this._motorSpeedActive; } @@ -17,5 +17,3 @@ export class Flipper extends Component { this._hingeJoint.motorSpeed = this._motorSpeedDeActive; } } - - diff --git a/assets/Scripts/FlipperController.ts b/assets/Scripts/FlipperController.ts index ce249c4..d686e12 100644 --- a/assets/Scripts/FlipperController.ts +++ b/assets/Scripts/FlipperController.ts @@ -1,4 +1,14 @@ -import { _decorator, Component, EventKeyboard, EventMouse, EventTouch, Input, input, KeyCode, log, Node, view } from 'cc'; +import { + _decorator, + Component, + EventKeyboard, + EventMouse, + EventTouch, + Input, + input, + KeyCode, + screen as Screen, +} from 'cc'; import { Flipper } from './Flipper'; const { ccclass, property } = _decorator; @@ -24,8 +34,7 @@ export class FlipperController extends Component { } //#region Handle mouse/touch input private HandleFlipperActive(params: EventMouse): void { - if (params.getLocationX() > screen.width / 2) - this.rFlipper.ActiveFlipper(); + if (params.getLocationX() > screen.width / 2) this.rFlipper.ActiveFlipper(); else this.lFlipper.ActiveFlipper(); } private HandleFlipperDeActive(params: EventMouse): void { @@ -33,13 +42,11 @@ export class FlipperController extends Component { this.lFlipper.DeActiveFlipper(); } private HandleFlipperActiveTouch(params: EventTouch): void { - if (params.getLocationX() > view.getFrameSize().x) { - console.log("right"); + if (params.getLocationX() > Screen.windowSize.x / 2) { + console.log('right'); this.rFlipper.ActiveFlipper(); - } - - else { - console.log("left"); + } else { + console.log('left'); this.lFlipper.ActiveFlipper(); } } @@ -51,9 +58,11 @@ export class FlipperController extends Component { private OnKeyDown(event: EventKeyboard) { switch (event.keyCode) { + case KeyCode.ARROW_LEFT: case KeyCode.KEY_A: this.lFlipper.ActiveFlipper(); break; + case KeyCode.ARROW_RIGHT: case KeyCode.KEY_D: this.rFlipper.ActiveFlipper(); break; @@ -61,14 +70,14 @@ export class FlipperController extends Component { } private OnKeyUp(event: EventKeyboard) { switch (event.keyCode) { + case KeyCode.ARROW_LEFT: case KeyCode.KEY_A: this.lFlipper.DeActiveFlipper(); break; + case KeyCode.ARROW_RIGHT: case KeyCode.KEY_D: this.rFlipper.DeActiveFlipper(); break; } } } - - diff --git a/assets/Scripts/GameplayController.ts b/assets/Scripts/GameplayController.ts index 8c899be..7a9f7de 100644 --- a/assets/Scripts/GameplayController.ts +++ b/assets/Scripts/GameplayController.ts @@ -1,27 +1,43 @@ -import { _decorator, CCInteger, Component, Enum, EventTarget, instantiate, Node, ParticleSystem2D, Prefab, randomRange, randomRangeInt, RigidBody2D, Vec2 } from 'cc'; +import { + _decorator, + CCInteger, + Component, + Enum, + EventTarget, + instantiate, + Node, + ParticleSystem, + ParticleSystem2D, + Prefab, + randomRangeInt, + RigidBody2D, + Vec2, +} from 'cc'; import { Ball } from './Ball'; import { EventType } from './Enums'; import { SoundManager } from './SoundManager'; import BEConnector from './BEConnector'; import { UIController } from './UIController'; import { LevelController } from './LevelController'; +import Utilities from './Utilities/Utilities'; const { ccclass, property } = _decorator; - -window.addEventListener("message", (data) => { - const { data: res } = data - const objectRes = JSON.parse(res) - const { type, value } = objectRes - if (type === "newTicket") { - BEConnector.instance.numberTicket += value - GameplayController.Instance().OnRevive(); +window.addEventListener('message', (data) => { + const { data: res } = data; + const objectRes = Utilities.getJson(res); + if (objectRes) { + const { type, value } = objectRes; + if (type === 'newTicket') { + BEConnector.instance.numberTicket += value; + GameplayController.Instance().OnRevive(); + } } -}) +}); export enum GameState { MainMenu, StartGame, PlayGame, - EndGame + EndGame, } @ccclass('GameplayController') export class GameplayController extends Component { @@ -65,8 +81,8 @@ export class GameplayController extends Component { @property({ type: Enum(GameState) }) public currentGameState: GameState = GameState.MainMenu; - @property(ParticleSystem2D) - public particle: ParticleSystem2D = null; + @property(ParticleSystem) + public particle: ParticleSystem = null; @property(CCInteger) public startGameCountDown: number = 3; @@ -88,7 +104,6 @@ export class GameplayController extends Component { protected start(): void { BEConnector.instance.authenticate(); this.ChangeGameState(GameState.MainMenu); - } private SpawnBall(): void { @@ -101,17 +116,20 @@ export class GameplayController extends Component { let randonPos = randomRangeInt(0, this.startPositions.length); this.controllingBall.setPosition(this.startPositions[randonPos].x, this.startPositions[randonPos].y, 0); this.controllingBall.active = true; - - this.controllingBall.getComponent(Ball).eventHitObstacle.on("HitObstacle", this.ObstacleHitControl, this); - this.controllingBall.getComponent(Ball).eventGoal.on("Goal", this.GoalControl, this); + const ball = this.controllingBall.getComponent(Ball); + ball.eventHitObstacle.on('HitObstacle', this.ObstacleHitControl, this); + ball.getComponent(Ball).eventGoal.on('Goal', this.GoalControl, this); return; } else { - this.controllingBall.getComponent(RigidBody2D).linearVelocity = Vec2.ZERO; + const rigi = this.controllingBall.getComponent(RigidBody2D); + rigi.angularVelocity = 0; + rigi.linearVelocity = Vec2.ZERO.clone(); let randonPos = randomRangeInt(0, this.startPositions.length); this.controllingBall.parent = this.node; this.controllingBall.setPosition(this.startPositions[randonPos].x, this.startPositions[randonPos].y, 0); this.controllingBall.active = true; + this.controllingBall.getComponent(Ball).resetTrail(); } SoundManager.Instance().PlayOneShot(SoundManager.Instance().whistle); } @@ -148,8 +166,7 @@ export class GameplayController extends Component { SoundManager.Instance().PlayOneShot(SoundManager.Instance().sfxGoal); - if (this.ball <= 0) - this.ChangeGameState(GameState.EndGame); + if (this.ball <= 0) this.ChangeGameState(GameState.EndGame); else this.SpawnBallInTime(1); } public LoseStreak(): void { @@ -157,10 +174,8 @@ export class GameplayController extends Component { this.eventUpdateStreak.emit(EventType.UpdateStreak, this.streak); this.ball--; this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); - if (this.ball <= 0) - this.ChangeGameState(GameState.EndGame); + if (this.ball <= 0) this.ChangeGameState(GameState.EndGame); else this.SpawnBallInTime(1); - } public ChangeGameState(newState: GameState): void { if (this.currentGameState == newState) return; @@ -175,12 +190,11 @@ export class GameplayController extends Component { break; case GameState.StartGame: - this.eventStartGame.emit(EventType.StartGame); this.SpawnBallInTime(this.startGameCountDown); this.levelController.LevelUp(); - BEConnector.instance.ticketMinus("auth"); - + BEConnector.instance.ticketMinus('auth'); + break; case GameState.PlayGame: this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); @@ -199,11 +213,9 @@ export class GameplayController extends Component { } //#endregion - private SetupObstacle(): void { - if (this.score < this.scoreToSpawnObstacle + 2) - return; - this.eventSpawnObstacle.emit("SpawnObstacle"); + if (this.score < this.scoreToSpawnObstacle + 2) return; + this.eventSpawnObstacle.emit('SpawnObstacle'); // this.harderObstacle.active = true; } private ObstacleHitControl(node: Node): void { @@ -213,8 +225,10 @@ export class GameplayController extends Component { }, 3); } private GoalControl(): void { - this.particle.node.setPosition(this.controllingBall.position); - this.particle.resetSystem(); + const pos = this.controllingBall.position.clone(); + pos.z = this.particle.node.position.z; + this.particle.node.setPosition(pos); + this.particle.play(); } public OnRevive(): void { @@ -223,4 +237,4 @@ export class GameplayController extends Component { this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); this.SpawnBallInTime(1); } -} \ No newline at end of file +} diff --git a/assets/Scripts/LevelController.ts b/assets/Scripts/LevelController.ts index 008fd8c..8c7d7f2 100644 --- a/assets/Scripts/LevelController.ts +++ b/assets/Scripts/LevelController.ts @@ -18,7 +18,7 @@ export class LevelController extends Component { private isLeveledUp: boolean = false; protected start(): void { - this.maxLevel=5; + this.maxLevel = 5; GameplayController.Instance().eventUpdateScore.on(EventType.UpdateScore, this.HandleLevelUp, this); } @@ -30,11 +30,10 @@ export class LevelController extends Component { } } if (this.currentLevel >= this.maxLevel) { - console.log("Current level is: " + this.currentLevel + " while max level is: " + this.maxLevel); - + console.log('Current level is: ' + this.currentLevel + ' while max level is: ' + this.maxLevel); } - this.scoreToLevelUp.forEach(scoreCheck => { + this.scoreToLevelUp.forEach((scoreCheck) => { if (score == scoreCheck) return; this.isLeveledUp = false; }); @@ -48,7 +47,7 @@ export class LevelController extends Component { this.ObstacleControl(); - GameplayController.Instance().uiController.currentLevelTxt.string = "Level: " + this.currentLevel; + GameplayController.Instance().uiController.currentLevelTxt.string = 'Level: ' + this.currentLevel; } public GetCurrentLevel(): number { return this.currentLevel; @@ -57,24 +56,24 @@ export class LevelController extends Component { private ObstacleControl(): void { switch (this.currentLevel) { case 1: - this.levelObstacles.forEach(obstacle => { + this.levelObstacles.forEach((obstacle) => { obstacle.active = false; }); break; case 2: - this.levelObstacles.forEach(obstacle => { + this.levelObstacles.forEach((obstacle) => { obstacle.active = false; }); this.levelObstacles[0].active = true; break; case 3: - this.levelObstacles.forEach(obstacle => { + this.levelObstacles.forEach((obstacle) => { obstacle.active = false; }); this.levelObstacles[1].active = true; break; case 4: - this.levelObstacles.forEach(obstacle => { + this.levelObstacles.forEach((obstacle) => { obstacle.active = false; }); this.levelObstacles[2].active = true; @@ -87,10 +86,10 @@ export class LevelController extends Component { private RandomSetObstacle(): void { setTimeout(() => { let random = randomRangeInt(0, this.levelObstacles.length); - this.levelObstacles.forEach(element => { + this.levelObstacles.forEach((element) => { element.active = false; }); this.levelObstacles[random].active = true; }, 200); } -} \ No newline at end of file +} diff --git a/assets/Scripts/ObstacleController.ts b/assets/Scripts/ObstacleController.ts index 4e23684..8c383d7 100644 --- a/assets/Scripts/ObstacleController.ts +++ b/assets/Scripts/ObstacleController.ts @@ -1,4 +1,4 @@ -import { _decorator, CCFloat, Component, log, Node, randomRange, Tween, tween, Vec2, Vec3 } from 'cc'; +import { _decorator, CCFloat, Component, Node, tween } from 'cc'; const { ccclass, property, float } = _decorator; @ccclass('ObstacleController') @@ -10,22 +10,21 @@ export class ObstacleController extends Component { @property(CCFloat) private speed: number = 0; - protected start() { + protected start() { //if (this.target !== null) this.target.setPosition(this.waypoints[this.waypoints.length - 1].position); - this.followPath(); } - private followPath() { + private followPath() { const tweenPath = tween(this.target); - + for (let i = 0; i < this.waypoints.length; i++) { - let a = tween(this.target).to(this.speed,{position: this.waypoints[i].getPosition()}) - tweenPath.then(a) + let a = tween(this.target).to(this.speed, { position: this.waypoints[i].getPosition() }); + tweenPath.then(a); } // tweenPath.union().repeat(10) - tweenPath.union().repeatForever() + tweenPath.union().repeatForever(); tweenPath.start(); } -} \ No newline at end of file +} diff --git a/assets/Scripts/SoundManager.ts b/assets/Scripts/SoundManager.ts index 6fc7b6b..dd3a1e0 100644 --- a/assets/Scripts/SoundManager.ts +++ b/assets/Scripts/SoundManager.ts @@ -15,7 +15,6 @@ export class SoundManager extends Component { SoundManager.instance = this; } - @property(AudioSource) private audioSource: AudioSource; @property(AudioClip) @@ -35,4 +34,3 @@ export class SoundManager extends Component { this.audioSource.playOneShot(clip); } } - diff --git a/assets/Scripts/Test.ts b/assets/Scripts/Test.ts index aac2e9d..314efe9 100644 --- a/assets/Scripts/Test.ts +++ b/assets/Scripts/Test.ts @@ -3,7 +3,6 @@ const { ccclass, property } = _decorator; @ccclass('Test') export class Test extends Component { - @property(Prefab) private someThing: Prefab; @@ -19,12 +18,10 @@ export class Test extends Component { this.someNode.parent = this.node; this.someNode.setPosition(0, 0, 0); - } - else this.someNode.active = true; + } else this.someNode.active = true; } private DeActiveNode(): void { this.someNode.active = false; } } - diff --git a/assets/Scripts/UIController.ts b/assets/Scripts/UIController.ts index 791fa0c..963c677 100644 --- a/assets/Scripts/UIController.ts +++ b/assets/Scripts/UIController.ts @@ -1,4 +1,4 @@ -import { _decorator, Button, Component, director, Label, log, Node, view, View } from 'cc'; +import { _decorator, Button, Component, director, Label, Node } from 'cc'; import { GameplayController, GameState } from './GameplayController'; import { EventType } from './Enums'; import { SoundManager } from './SoundManager'; @@ -6,7 +6,6 @@ const { ccclass, property } = _decorator; @ccclass('UIController') export class UIController extends Component { - @property(Node) private mainMenuPnl: Node; @property(Button) @@ -56,7 +55,11 @@ export class UIController extends Component { GameplayController.Instance().eventUpdateScore.on(EventType.UpdateScore, this.UpdateScore, this); GameplayController.Instance().eventUpdateStreak.on(EventType.UpdateStreak, this.UpdateStreak, this); - GameplayController.Instance().eventUpdateHighestStreak.on(EventType.UpdateHighestStreak, this.UpdateHighestStreak, this); + GameplayController.Instance().eventUpdateHighestStreak.on( + EventType.UpdateHighestStreak, + this.UpdateHighestStreak, + this, + ); GameplayController.Instance().eventUpdateBall.on(EventType.UpdateBall, this.UpdateBall, this); } @@ -87,29 +90,28 @@ export class UIController extends Component { this.inGamePnl.active = true; } private UpdateScore(score: number): void { - console.log("Score: " + score); + console.log('Score: ' + score); this.score = score; - this.goalTxt.string = "Goal: " + score.toString(); + this.goalTxt.string = 'Goal: ' + score.toString(); } private UpdateStreak(streak: number): void { - console.log("Streak: " + streak); - this.currentStreakTxt.string = "Streak: " + streak.toString(); + console.log('Streak: ' + streak); + this.currentStreakTxt.string = 'Streak: ' + streak.toString(); } private UpdateHighestStreak(streak: number): void { - console.log("Highest Streak: " + streak); + console.log('Highest Streak: ' + streak); this.hStreak = streak; - this.highestStreakTxt.string = "Highest Streak: " + streak.toString(); + this.highestStreakTxt.string = 'Highest Streak: ' + streak.toString(); } private UpdateBall(ball: number): void { - console.log("Ball: " + ball); - this.ballTxt.string = "Ball: " + ball.toString(); + console.log('Ball: ' + ball); + this.ballTxt.string = 'Ball: ' + ball.toString(); } private EndGameEvent(): void { this.inGamePnl.active = false; this.endGamePnl.active = true; - if ((this.score + this.hStreak * 2) > 0) - this.yourScoreTxt.string = (this.score + this.hStreak * 2).toString(); - else this.yourScoreTxt.string = "0"; + if (this.score + this.hStreak * 2 > 0) this.yourScoreTxt.string = (this.score + this.hStreak * 2).toString(); + else this.yourScoreTxt.string = '0'; } public ShutEndPnl(): void { this.endGamePnl.active = false; @@ -122,6 +124,6 @@ export class UIController extends Component { SoundManager.Instance().PlayOneShot(SoundManager.Instance().menuTap); } private RestartClicked(): void { - director.loadScene(director.getScene().name) + director.loadScene(director.getScene().name); } -} \ No newline at end of file +} diff --git a/assets/Scripts/Utilities.meta b/assets/Scripts/Utilities.meta new file mode 100644 index 0000000..858db8a --- /dev/null +++ b/assets/Scripts/Utilities.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "98007d4c-5f1f-4bf2-a5fa-ad07f4be4471", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Scripts/Utilities/Utilities.ts b/assets/Scripts/Utilities/Utilities.ts new file mode 100644 index 0000000..b62dff3 --- /dev/null +++ b/assets/Scripts/Utilities/Utilities.ts @@ -0,0 +1,15 @@ +import { Vec3 } from 'cc'; + +export default class Utilities { + public static delay(time: number): Promise { + return new Promise((resolve) => setTimeout(resolve, time)); + } + + public static getJson(json: string): any { + try { + return JSON.parse(json); + } catch (error) { + return false; + } + } +} diff --git a/assets/Scripts/Utilities/Utilities.ts.meta b/assets/Scripts/Utilities/Utilities.ts.meta new file mode 100644 index 0000000..9817156 --- /dev/null +++ b/assets/Scripts/Utilities/Utilities.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "d70404b0-c2fe-4a29-9dcc-8cf6586ec85f", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/settings/v2/packages/cocos-service.json b/settings/v2/packages/cocos-service.json index 46e0bb4..3392624 100644 --- a/settings/v2/packages/cocos-service.json +++ b/settings/v2/packages/cocos-service.json @@ -1,5 +1,5 @@ { - "__version__": "3.0.7", + "__version__": "3.0.5", "game": { "name": "UNKNOW GAME", "app_id": "UNKNOW", diff --git a/settings/v2/packages/information.json b/settings/v2/packages/information.json new file mode 100644 index 0000000..305ce5a --- /dev/null +++ b/settings/v2/packages/information.json @@ -0,0 +1,23 @@ +{ + "__version__": "1.0.0", + "information": { + "customSplash": { + "id": "customSplash", + "label": "customSplash", + "enable": false, + "customSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?" + } + }, + "removeSplash": { + "id": "removeSplash", + "label": "removeSplash", + "enable": false, + "removeSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?" + } + } + } +} diff --git a/settings/v2/packages/project.json b/settings/v2/packages/project.json index 4908496..f835329 100644 --- a/settings/v2/packages/project.json +++ b/settings/v2/packages/project.json @@ -2,15 +2,16 @@ "__version__": "1.0.4", "general": { "designResolution": { - "width": 1920, - "height": 1440, + "width": 1440, + "height": 1080, "fitHeight": true } }, "physics": { "gravity": { "y": -9.81 - } + }, + "fixedTimeStep": 0.016667 }, "custom_joint_texture_layouts": [] }