commit 720b8ebfc2afccbd6f35b7454bf784b720e5ae90 Author: TamNguyen0511 <96899941+TamNguyen0511@users.noreply.github.com> Date: Wed Feb 28 09:19:33 2024 +0700 Initial commit diff --git a/.creator/asset-template/typescript/Custom Script Template Help Documentation.url b/.creator/asset-template/typescript/Custom Script Template Help Documentation.url new file mode 100644 index 0000000..7606df0 --- /dev/null +++ b/.creator/asset-template/typescript/Custom Script Template Help Documentation.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://docs.cocos.com/creator/manual/en/scripting/setup.html#custom-script-template \ No newline at end of file diff --git a/.creator/default-meta.json b/.creator/default-meta.json new file mode 100644 index 0000000..abb1239 --- /dev/null +++ b/.creator/default-meta.json @@ -0,0 +1,5 @@ +{ + "image": { + "type": "sprite-frame" + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a231b3f --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ + +#/////////////////////////// +# Cocos Creator 3D Project +#/////////////////////////// +library/ +temp/ +local/ +build/ +profiles/ +native +#////////////////////////// +# NPM +#////////////////////////// +node_modules/ + +#////////////////////////// +# VSCode +#////////////////////////// +.vscode/ + +#////////////////////////// +# WebStorm +#////////////////////////// +.idea/ \ No newline at end of file diff --git a/assets/Assets.meta b/assets/Assets.meta new file mode 100644 index 0000000..9a95bac --- /dev/null +++ b/assets/Assets.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "78b85539-ce17-48d8-b265-ae4db4c51cc0", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Assets/BG.png b/assets/Assets/BG.png new file mode 100644 index 0000000..3d4dbe4 Binary files /dev/null and b/assets/Assets/BG.png differ diff --git a/assets/Assets/BG.png.meta b/assets/Assets/BG.png.meta new file mode 100644 index 0000000..4c70072 --- /dev/null +++ b/assets/Assets/BG.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@6c48a", + "displayName": "BG", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87", + "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": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "displayName": "BG", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 1920, + "height": 1080, + "rawWidth": 1920, + "rawHeight": 1080, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -960, + -540, + 0, + 960, + -540, + 0, + -960, + 540, + 0, + 960, + 540, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 1080, + 1920, + 1080, + 0, + 0, + 1920, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -960, + -540, + 0 + ], + "maxPos": [ + 960, + 540, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941" + } +} diff --git a/assets/Assets/Gameover_Board.png b/assets/Assets/Gameover_Board.png new file mode 100644 index 0000000..b3d4f0e Binary files /dev/null and b/assets/Assets/Gameover_Board.png differ diff --git a/assets/Assets/Gameover_Board.png.meta b/assets/Assets/Gameover_Board.png.meta new file mode 100644 index 0000000..a7c2953 --- /dev/null +++ b/assets/Assets/Gameover_Board.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "39e019fb-5f0a-4620-9772-63da8db7d311", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "39e019fb-5f0a-4620-9772-63da8db7d311@6c48a", + "displayName": "Gameover_Board", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "39e019fb-5f0a-4620-9772-63da8db7d311", + "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": "39e019fb-5f0a-4620-9772-63da8db7d311@f9941", + "displayName": "Gameover_Board", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 981, + "height": 590, + "rawWidth": 981, + "rawHeight": 590, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -490.5, + -295, + 0, + 490.5, + -295, + 0, + -490.5, + 295, + 0, + 490.5, + 295, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 590, + 981, + 590, + 0, + 0, + 981, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -490.5, + -295, + 0 + ], + "maxPos": [ + 490.5, + 295, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "39e019fb-5f0a-4620-9772-63da8db7d311@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "39e019fb-5f0a-4620-9772-63da8db7d311@f9941" + } +} diff --git a/assets/Assets/Play_Button.png b/assets/Assets/Play_Button.png new file mode 100644 index 0000000..67e3e9f Binary files /dev/null and b/assets/Assets/Play_Button.png differ diff --git a/assets/Assets/Play_Button.png.meta b/assets/Assets/Play_Button.png.meta new file mode 100644 index 0000000..896ce49 --- /dev/null +++ b/assets/Assets/Play_Button.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "ff046972-01bd-4d20-b27d-92120e050ca3", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ff046972-01bd-4d20-b27d-92120e050ca3@6c48a", + "displayName": "Play_Button", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "ff046972-01bd-4d20-b27d-92120e050ca3", + "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": "ff046972-01bd-4d20-b27d-92120e050ca3@f9941", + "displayName": "Play_Button", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 478, + "height": 194, + "rawWidth": 478, + "rawHeight": 194, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -239, + -97, + 0, + 239, + -97, + 0, + -239, + 97, + 0, + 239, + 97, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 194, + 478, + 194, + 0, + 0, + 478, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -239, + -97, + 0 + ], + "maxPos": [ + 239, + 97, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "ff046972-01bd-4d20-b27d-92120e050ca3@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "ff046972-01bd-4d20-b27d-92120e050ca3@f9941" + } +} diff --git a/assets/Assets/T_goal.png b/assets/Assets/T_goal.png new file mode 100644 index 0000000..9d832a8 Binary files /dev/null and b/assets/Assets/T_goal.png differ diff --git a/assets/Assets/T_goal.png.meta b/assets/Assets/T_goal.png.meta new file mode 100644 index 0000000..d49e018 --- /dev/null +++ b/assets/Assets/T_goal.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "2ee842e1-bb95-48f7-b919-59aadb8e138a", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "2ee842e1-bb95-48f7-b919-59aadb8e138a@6c48a", + "displayName": "T_goal", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "2ee842e1-bb95-48f7-b919-59aadb8e138a", + "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": "2ee842e1-bb95-48f7-b919-59aadb8e138a@f9941", + "displayName": "T_goal", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0.5, + "trimX": 10, + "trimY": 15, + "width": 236, + "height": 88, + "rawWidth": 256, + "rawHeight": 119, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -118, + -44, + 0, + 118, + -44, + 0, + -118, + 44, + 0, + 118, + 44, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 10, + 104, + 246, + 104, + 10, + 16, + 246, + 16 + ], + "nuv": [ + 0.0390625, + 0.13445378151260504, + 0.9609375, + 0.13445378151260504, + 0.0390625, + 0.8739495798319328, + 0.9609375, + 0.8739495798319328 + ], + "minPos": [ + -118, + -44, + 0 + ], + "maxPos": [ + 118, + 44, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "2ee842e1-bb95-48f7-b919-59aadb8e138a@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "2ee842e1-bb95-48f7-b919-59aadb8e138a@f9941" + } +} diff --git a/assets/Assets/Yes_Button.png b/assets/Assets/Yes_Button.png new file mode 100644 index 0000000..e74774b Binary files /dev/null and b/assets/Assets/Yes_Button.png differ diff --git a/assets/Assets/Yes_Button.png.meta b/assets/Assets/Yes_Button.png.meta new file mode 100644 index 0000000..f707fa0 --- /dev/null +++ b/assets/Assets/Yes_Button.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "b32b8e37-0a90-4a56-ad3a-060cb0e83298", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@6c48a", + "displayName": "Yes_Button", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "b32b8e37-0a90-4a56-ad3a-060cb0e83298", + "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": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@f9941", + "displayName": "Yes_Button", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 377, + "height": 114, + "rawWidth": 377, + "rawHeight": 114, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -188.5, + -57, + 0, + 188.5, + -57, + 0, + -188.5, + 57, + 0, + 188.5, + 57, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 114, + 377, + 114, + 0, + 0, + 377, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -188.5, + -57, + 0 + ], + "maxPos": [ + 188.5, + 57, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@f9941" + } +} diff --git a/assets/Assets/ball1.png b/assets/Assets/ball1.png new file mode 100644 index 0000000..1f933f9 Binary files /dev/null and b/assets/Assets/ball1.png differ diff --git a/assets/Assets/ball1.png.meta b/assets/Assets/ball1.png.meta new file mode 100644 index 0000000..b0b34f0 --- /dev/null +++ b/assets/Assets/ball1.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "4f72234d-abd9-4cef-acf2-bd453ad42c8d", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "4f72234d-abd9-4cef-acf2-bd453ad42c8d@6c48a", + "displayName": "ball1", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "4f72234d-abd9-4cef-acf2-bd453ad42c8d", + "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": "4f72234d-abd9-4cef-acf2-bd453ad42c8d@f9941", + "displayName": "ball1", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 200, + "height": 200, + "rawWidth": 200, + "rawHeight": 200, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -100, + -100, + 0, + 100, + -100, + 0, + -100, + 100, + 0, + 100, + 100, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 200, + 200, + 200, + 0, + 0, + 200, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -100, + -100, + 0 + ], + "maxPos": [ + 100, + 100, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "4f72234d-abd9-4cef-acf2-bd453ad42c8d@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "4f72234d-abd9-4cef-acf2-bd453ad42c8d@f9941" + } +} diff --git a/assets/Assets/characterRed.png b/assets/Assets/characterRed.png new file mode 100644 index 0000000..dbb945b Binary files /dev/null and b/assets/Assets/characterRed.png differ diff --git a/assets/Assets/characterRed.png.meta b/assets/Assets/characterRed.png.meta new file mode 100644 index 0000000..23dc23c --- /dev/null +++ b/assets/Assets/characterRed.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@6c48a", + "displayName": "characterRed", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e", + "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": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "displayName": "characterRed", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 21, + "height": 31, + "rawWidth": 21, + "rawHeight": 31, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -10.5, + -15.5, + 0, + 10.5, + -15.5, + 0, + -10.5, + 15.5, + 0, + 10.5, + 15.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 31, + 21, + 31, + 0, + 0, + 21, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -10.5, + -15.5, + 0 + ], + "maxPos": [ + 10.5, + 15.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941" + } +} diff --git a/assets/Assets/flipper.png b/assets/Assets/flipper.png new file mode 100644 index 0000000..e706943 Binary files /dev/null and b/assets/Assets/flipper.png differ diff --git a/assets/Assets/flipper.png.meta b/assets/Assets/flipper.png.meta new file mode 100644 index 0000000..fd38a44 --- /dev/null +++ b/assets/Assets/flipper.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "99965ba1-0be3-4b32-be47-131eaac4b520", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "99965ba1-0be3-4b32-be47-131eaac4b520@6c48a", + "displayName": "flipper", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "99965ba1-0be3-4b32-be47-131eaac4b520", + "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": "99965ba1-0be3-4b32-be47-131eaac4b520@f9941", + "displayName": "flipper", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 328, + "height": 90, + "rawWidth": 328, + "rawHeight": 90, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -164, + -45, + 0, + 164, + -45, + 0, + -164, + 45, + 0, + 164, + 45, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 90, + 328, + 90, + 0, + 0, + 328, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -164, + -45, + 0 + ], + "maxPos": [ + 164, + 45, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "99965ba1-0be3-4b32-be47-131eaac4b520@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "99965ba1-0be3-4b32-be47-131eaac4b520@f9941" + } +} diff --git a/assets/Assets/slingshot.png b/assets/Assets/slingshot.png new file mode 100644 index 0000000..8817b1f Binary files /dev/null and b/assets/Assets/slingshot.png differ diff --git a/assets/Assets/slingshot.png.meta b/assets/Assets/slingshot.png.meta new file mode 100644 index 0000000..1c1137f --- /dev/null +++ b/assets/Assets/slingshot.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "ed7b6eb5-9598-4de9-bb0d-acd3fabe4867", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ed7b6eb5-9598-4de9-bb0d-acd3fabe4867@6c48a", + "displayName": "slingshot", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "ed7b6eb5-9598-4de9-bb0d-acd3fabe4867", + "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": "ed7b6eb5-9598-4de9-bb0d-acd3fabe4867@f9941", + "displayName": "slingshot", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 197, + "height": 301, + "rawWidth": 197, + "rawHeight": 301, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -98.5, + -150.5, + 0, + 98.5, + -150.5, + 0, + -98.5, + 150.5, + 0, + 98.5, + 150.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 301, + 197, + 301, + 0, + 0, + 197, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -98.5, + -150.5, + 0 + ], + "maxPos": [ + 98.5, + 150.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "ed7b6eb5-9598-4de9-bb0d-acd3fabe4867@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "ed7b6eb5-9598-4de9-bb0d-acd3fabe4867@f9941" + } +} diff --git a/assets/Assets/test.meta b/assets/Assets/test.meta new file mode 100644 index 0000000..8914795 --- /dev/null +++ b/assets/Assets/test.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "808f6a72-4905-4684-b0ef-a138191db715", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Assets/test/Boucy.pmtl b/assets/Assets/test/Boucy.pmtl new file mode 100644 index 0000000..84db8cb --- /dev/null +++ b/assets/Assets/test/Boucy.pmtl @@ -0,0 +1,10 @@ +{ + "__type__": "cc.PhysicsMaterial", + "_name": "", + "_objFlags": 0, + "_native": "", + "_friction": 2, + "_rollingFriction": 0, + "_spinningFriction": 0, + "_restitution": 0.5 +} \ No newline at end of file diff --git a/assets/Assets/test/Boucy.pmtl.meta b/assets/Assets/test/Boucy.pmtl.meta new file mode 100644 index 0000000..4126a31 --- /dev/null +++ b/assets/Assets/test/Boucy.pmtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.1", + "importer": "physics-material", + "imported": true, + "uuid": "e48b2190-6e7f-4293-99c7-18cdcc00d3c3", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Assets/wall.png b/assets/Assets/wall.png new file mode 100644 index 0000000..847abbe Binary files /dev/null and b/assets/Assets/wall.png differ diff --git a/assets/Assets/wall.png.meta b/assets/Assets/wall.png.meta new file mode 100644 index 0000000..5ccd7eb --- /dev/null +++ b/assets/Assets/wall.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "f72f1770-f28c-4784-a68e-83a814c5af3d", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "f72f1770-f28c-4784-a68e-83a814c5af3d@6c48a", + "displayName": "wall", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "f72f1770-f28c-4784-a68e-83a814c5af3d", + "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": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "displayName": "wall", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 351, + "height": 69, + "rawWidth": 351, + "rawHeight": 69, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -175.5, + -34.5, + 0, + 175.5, + -34.5, + 0, + -175.5, + 34.5, + 0, + 175.5, + 34.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 69, + 351, + 69, + 0, + 0, + 351, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -175.5, + -34.5, + 0 + ], + "maxPos": [ + 175.5, + 34.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "f72f1770-f28c-4784-a68e-83a814c5af3d@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.11", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "redirect": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941" + } +} diff --git a/assets/Prefabs.meta b/assets/Prefabs.meta new file mode 100644 index 0000000..fa4777a --- /dev/null +++ b/assets/Prefabs.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "730ca6ee-2864-4f40-a17c-4eb910458473", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Prefabs/Ball.prefab b/assets/Prefabs/Ball.prefab new file mode 100644 index 0000000..53a89a2 --- /dev/null +++ b/assets/Prefabs/Ball.prefab @@ -0,0 +1,267 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Ball", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Ball", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2 + }, + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 12 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.3, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 3 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "beBPBHPMpEJraWP8VptTuG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4f72234d-abd9-4cef-acf2-bd453ad42c8d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bbNUf7fcREKbdMzeD2KyNQ" + }, + { + "__type__": "cc.CircleCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "tag": 0, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0, + "_restitution": 0.5, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_radius": 100, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dqSoMImdC0rB01Xr+HmI/" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "enabledContactListener": true, + "bullet": true, + "awakeOnLoad": true, + "_group": 1, + "_type": 2, + "_allowSleep": true, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9crXsAtjdEQIcD0a2IceFl" + }, + { + "__type__": "cad12cEubBIXb2NvvCon5Ge", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "maxSpeed": 2, + "rigidbody": { + "__id__": 8 + }, + "collider": { + "__id__": 6 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c1lmpQL0VK3q2DI79nkPRA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "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" + ] + } +] \ No newline at end of file diff --git a/assets/Prefabs/Ball.prefab.meta b/assets/Prefabs/Ball.prefab.meta new file mode 100644 index 0000000..b71ae71 --- /dev/null +++ b/assets/Prefabs/Ball.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.43", + "importer": "prefab", + "imported": true, + "uuid": "9b471c78-2e1d-4db8-ab08-b3df7c938d64", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Ball" + } +} diff --git a/assets/Prefabs/Goal Particle.prefab b/assets/Prefabs/Goal Particle.prefab new file mode 100644 index 0000000..8d823bb --- /dev/null +++ b/assets/Prefabs/Goal Particle.prefab @@ -0,0 +1,748 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Goal Particle", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Goal Particle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2 + } + ], + "_prefab": { + "__id__": 59 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.ParticleSystem", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 3 + }, + "_materials": [ + { + "__uuid__": "ea7478b0-408d-4052-b703-f0d2355e095f", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "startColor": { + "__id__": 4 + }, + "scaleSpace": 1, + "startSize3D": true, + "startSizeX": { + "__id__": 9 + }, + "startSize": { + "__id__": 9 + }, + "startSizeY": { + "__id__": 10 + }, + "startSizeZ": { + "__id__": 11 + }, + "startSpeed": { + "__id__": 12 + }, + "startRotation3D": true, + "startRotationX": { + "__id__": 13 + }, + "startRotationY": { + "__id__": 14 + }, + "startRotationZ": { + "__id__": 15 + }, + "startRotation": { + "__id__": 15 + }, + "startDelay": { + "__id__": 16 + }, + "startLifetime": { + "__id__": 17 + }, + "duration": 1.5, + "loop": false, + "simulationSpeed": 1, + "playOnAwake": true, + "gravityModifier": { + "__id__": 18 + }, + "rateOverTime": { + "__id__": 19 + }, + "rateOverDistance": { + "__id__": 20 + }, + "bursts": [], + "_renderCulling": false, + "_cullingMode": 0, + "_aabbHalfX": 0, + "_aabbHalfY": 0, + "_aabbHalfZ": 0, + "_dataCulling": false, + "enableCulling": false, + "_colorOverLifetimeModule": { + "__id__": 21 + }, + "_shapeModule": { + "__id__": 23 + }, + "_sizeOvertimeModule": { + "__id__": 25 + }, + "_velocityOvertimeModule": { + "__id__": 30 + }, + "_forceOvertimeModule": { + "__id__": 35 + }, + "_limitVelocityOvertimeModule": { + "__id__": 39 + }, + "_rotationOvertimeModule": { + "__id__": 44 + }, + "_textureAnimationModule": { + "__id__": 48 + }, + "_noiseModule": { + "__id__": 52 + }, + "_trailModule": { + "__id__": 53 + }, + "renderer": { + "__id__": 58 + }, + "_prewarm": false, + "_capacity": 100, + "_simulationSpace": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "74gD9Y10BHHIFl8LKXE/Rx" + }, + { + "__type__": "cc.GradientRange", + "_mode": 1, + "gradient": { + "__id__": 5 + } + }, + { + "__type__": "cc.Gradient", + "colorKeys": [ + { + "__id__": 6 + }, + { + "__id__": 7 + }, + { + "__id__": 8 + } + ], + "alphaKeys": [], + "mode": 0 + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 0, + "b": 0, + "a": 255 + }, + "time": 0.25 + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 51, + "a": 255 + }, + "time": 0.5 + }, + { + "__type__": "cc.ColorKey", + "color": { + "__type__": "cc.Color", + "r": 0, + "g": 173, + "b": 255, + "a": 255 + }, + "time": 0.75 + }, + { + "__type__": "cc.CurveRange", + "mode": 3, + "constantMin": 0.1, + "constantMax": 0.3, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 3, + "constantMin": 0.1, + "constantMax": 0.3, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 1, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 3, + "constantMin": 5, + "constantMax": 10, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 3, + "constantMin": 0, + "constantMax": 0.015230877516916316, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 3, + "constantMin": 0, + "constantMax": 0.015230877516916316, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 3, + "constantMin": 0, + "constantMax": 0.0003046123143505703, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 3, + "constantMin": 0.3, + "constantMax": 1.5, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 1, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.ColorOvertimeModule", + "_enable": false, + "color": { + "__id__": 22 + } + }, + { + "__type__": "cc.GradientRange", + "_mode": 0, + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + } + }, + { + "__type__": "cc.ShapeModule", + "_enable": true, + "_shapeType": 4, + "shapeType": 4, + "emitFrom": 3, + "alignToDirection": false, + "randomDirectionAmount": 0, + "sphericalDirectionAmount": 0, + "randomPositionAmount": 0, + "radius": 0.05, + "radiusThickness": 0, + "arcMode": 0, + "arcSpread": 0, + "arcSpeed": { + "__id__": 24 + }, + "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__": 26 + }, + "x": { + "__id__": 27 + }, + "y": { + "__id__": 28 + }, + "z": { + "__id__": 29 + } + }, + { + "__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__": 31 + }, + "y": { + "__id__": 32 + }, + "z": { + "__id__": 33 + }, + "speedModifier": { + "__id__": 34 + }, + "space": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 3, + "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__": 36 + }, + "y": { + "__id__": 37 + }, + "z": { + "__id__": 38 + }, + "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__": 40 + }, + "limitY": { + "__id__": 41 + }, + "limitZ": { + "__id__": 42 + }, + "limit": { + "__id__": 43 + }, + "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__": 45 + }, + "y": { + "__id__": 46 + }, + "z": { + "__id__": 47 + } + }, + { + "__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__": 49 + }, + "startFrame": { + "__id__": 51 + }, + "cycleCount": 0, + "_flipU": 0, + "_flipV": 0, + "_uvChannelMask": -1, + "randomRow": false, + "rowIndex": 0 + }, + { + "__type__": "cc.CurveRange", + "mode": 1, + "spline": { + "__id__": 50 + }, + "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": false, + "mode": 0, + "lifeTime": { + "__id__": 54 + }, + "_minParticleDistance": 0.1, + "existWithParticles": true, + "textureMode": 0, + "widthFromParticle": true, + "widthRatio": { + "__id__": 55 + }, + "colorFromParticle": false, + "colorOverTrail": { + "__id__": 56 + }, + "colorOvertime": { + "__id__": 57 + }, + "_space": 0, + "_particleSystem": { + "__id__": 2 + } + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 1, + "multiplier": 1 + }, + { + "__type__": "cc.CurveRange", + "mode": 0, + "constant": 0, + "multiplier": 1 + }, + { + "__type__": "cc.GradientRange", + "_mode": 0, + "color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + } + }, + { + "__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": "65yusfkDBDE68dh4sqPVS4", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/Prefabs/Goal Particle.prefab.meta b/assets/Prefabs/Goal Particle.prefab.meta new file mode 100644 index 0000000..8ff3888 --- /dev/null +++ b/assets/Prefabs/Goal Particle.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.43", + "importer": "prefab", + "imported": true, + "uuid": "f54a7c19-37d5-4255-9336-f6df0e956be7", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Goal Particle" + } +} diff --git a/assets/Prefabs/Obstacles.meta b/assets/Prefabs/Obstacles.meta new file mode 100644 index 0000000..f77b1af --- /dev/null +++ b/assets/Prefabs/Obstacles.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "4b7ba894-d27b-4472-9a6b-5a08f677f44f", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab b/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab new file mode 100644 index 0000000..aae8048 --- /dev/null +++ b/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab @@ -0,0 +1,611 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Easy Obstacle 1", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Easy Obstacle 1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 14 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "Waypoint L", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 3 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -75, + "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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "de8VqIuyVFIJIRj77PlLqI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Waypoint R", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 5 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 75, + "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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8ezI4xD7dPB7nmq1CTcPMa", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 7 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 6 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 8 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "e633jfzBlG8YZuWVy1ieV8", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 9 + }, + { + "__id__": 11 + }, + { + "__id__": 12 + }, + { + "__id__": 13 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 75, + "y": -80, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 15 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 14 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 16 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "369FaOtYlAMoSc+EHcwivl", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 17 + }, + { + "__id__": 19 + }, + { + "__id__": 20 + }, + { + "__id__": 21 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -75, + "y": -80, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 23 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 22 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 24 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "c5w6eyXR5HprwDgmS1eEzX", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 25 + }, + { + "__id__": 27 + }, + { + "__id__": 28 + }, + { + "__id__": 29 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95+Xig555LLYmKXCqZB+hR" + }, + { + "__type__": "c8e705yAJlBEKcUg/gyt/xJ", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "targets": [ + { + "__id__": 6 + }, + { + "__id__": 14 + }, + { + "__id__": 22 + } + ], + "waypoints": [ + { + "__id__": 4 + }, + { + "__id__": 2 + } + ], + "speed": 1, + "selectedObstacle": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9d9KKHmPlB6JUx7ketBzxb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8bAB5AG0pEMal3JgTX45pf", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 22 + }, + { + "__id__": 14 + }, + { + "__id__": 6 + } + ] + } +] \ No newline at end of file diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab.meta b/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab.meta new file mode 100644 index 0000000..1dfc635 --- /dev/null +++ b/assets/Prefabs/Obstacles/Easy Obstacle 1.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.43", + "importer": "prefab", + "imported": true, + "uuid": "f30b309a-4220-4c22-b3d5-ac450258eb77", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Easy Obstacle 1" + } +} diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab b/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab new file mode 100644 index 0000000..0adf2d3 --- /dev/null +++ b/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab @@ -0,0 +1,601 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Easy Obstacle 2", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Easy Obstacle 2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 14 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 200, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "Waypoint L", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 3 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -60, + "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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "de8VqIuyVFIJIRj77PlLqI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Waypoint R", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 5 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8ezI4xD7dPB7nmq1CTcPMa", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 7 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 6 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 8 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "d5MUuJhTtHPqoYxWAJkdvs", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 9 + }, + { + "__id__": 11 + }, + { + "__id__": 12 + }, + { + "__id__": 13 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 60, + "y": -90, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 15 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 14 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 16 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "e1NT6f+hhFro0n3pDSh9q8", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 17 + }, + { + "__id__": 19 + }, + { + "__id__": 20 + }, + { + "__id__": 21 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 60, + "y": -170, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 23 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 22 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 24 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "80I6iQCNhH2LFLQwLhSOR/", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 25 + }, + { + "__id__": 27 + }, + { + "__id__": 28 + }, + { + "__id__": 29 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 60, + "y": -250, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95+Xig555LLYmKXCqZB+hR" + }, + { + "__type__": "c8e705yAJlBEKcUg/gyt/xJ", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "targets": [], + "waypoints": [ + { + "__id__": 4 + }, + { + "__id__": 2 + } + ], + "speed": 1, + "selectedObstacle": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9d9KKHmPlB6JUx7ketBzxb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8bAB5AG0pEMal3JgTX45pf", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 22 + }, + { + "__id__": 14 + }, + { + "__id__": 6 + } + ] + } +] \ No newline at end of file diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab.meta b/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab.meta new file mode 100644 index 0000000..edff7ac --- /dev/null +++ b/assets/Prefabs/Obstacles/Easy Obstacle 2.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.43", + "importer": "prefab", + "imported": true, + "uuid": "36df1e3d-a2ea-4b8d-8a5c-fc97275927ed", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Easy Obstacle 2" + } +} diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab b/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab new file mode 100644 index 0000000..d95a622 --- /dev/null +++ b/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab @@ -0,0 +1,605 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Easy Obstacle 3", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Easy Obstacle 3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 14 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 200, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "Waypoint L", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 3 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -60, + "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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "de8VqIuyVFIJIRj77PlLqI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Waypoint R", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 5 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "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": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8ezI4xD7dPB7nmq1CTcPMa", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 7 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 6 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 8 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "d5MUuJhTtHPqoYxWAJkdvs", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 9 + }, + { + "__id__": 11 + }, + { + "__id__": 12 + }, + { + "__id__": 13 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -120, + "y": 120, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 10 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 15 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 14 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 16 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "e1NT6f+hhFro0n3pDSh9q8", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 17 + }, + { + "__id__": 19 + }, + { + "__id__": 20 + }, + { + "__id__": 21 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -60, + "y": -20, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 18 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 23 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 22 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 24 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "80I6iQCNhH2LFLQwLhSOR/", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 25 + }, + { + "__id__": 27 + }, + { + "__id__": 28 + }, + { + "__id__": 29 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -50, + "y": -150, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 26 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95+Xig555LLYmKXCqZB+hR" + }, + { + "__type__": "c8e705yAJlBEKcUg/gyt/xJ", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "targets": [ + { + "__id__": 14 + } + ], + "waypoints": [ + { + "__id__": 4 + }, + { + "__id__": 2 + } + ], + "speed": 1, + "selectedObstacle": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9d9KKHmPlB6JUx7ketBzxb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8bAB5AG0pEMal3JgTX45pf", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 22 + }, + { + "__id__": 14 + }, + { + "__id__": 6 + } + ] + } +] \ No newline at end of file diff --git a/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab.meta b/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab.meta new file mode 100644 index 0000000..53ff19a --- /dev/null +++ b/assets/Prefabs/Obstacles/Easy Obstacle 3.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.43", + "importer": "prefab", + "imported": true, + "uuid": "1f197242-be22-45c5-8050-73114637003e", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Easy Obstacle 3" + } +} diff --git a/assets/Prefabs/Obstacles/Obstacle.prefab b/assets/Prefabs/Obstacles/Obstacle.prefab new file mode 100644 index 0000000..100d86a --- /dev/null +++ b/assets/Prefabs/Obstacles/Obstacle.prefab @@ -0,0 +1,216 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Obstacle", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Obstacle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2 + }, + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -175, + "y": 380, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 3 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "45QTNNbC9OUYDRRzKHu6WV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "08nypWEwZI2pSnaYoRCRKW" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "tag": 3, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 20, + "height": 32 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7egu3Zm5tHjb52E6fmax1G" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": false, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "39ENf+Cn1O95ZEF7CNhWT+" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/Prefabs/Obstacles/Obstacle.prefab.meta b/assets/Prefabs/Obstacles/Obstacle.prefab.meta new file mode 100644 index 0000000..a7cbd84 --- /dev/null +++ b/assets/Prefabs/Obstacles/Obstacle.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.43", + "importer": "prefab", + "imported": true, + "uuid": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Obstacle" + } +} diff --git a/assets/Scenes.meta b/assets/Scenes.meta new file mode 100644 index 0000000..ae4bfeb --- /dev/null +++ b/assets/Scenes.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "0eceae98-c740-447e-a39b-70f6d695ceb6", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Scenes/2D Gameplay.scene b/assets/Scenes/2D Gameplay.scene new file mode 100644 index 0000000..e7f122e --- /dev/null +++ b/assets/Scenes/2D Gameplay.scene @@ -0,0 +1,1245 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "2D Gameplay", + "_objFlags": 0, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "2D Gameplay", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 17 + }, + { + "__id__": 27 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 32 + }, + "_id": "3ce41ed6-6584-40b1-94f9-8464439aa57d" + }, + { + "__type__": "cc.Node", + "_name": "Main Light", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.06397656665577071, + "y": -0.44608233363525845, + "z": -0.8239028751062036, + "w": -0.3436591377065261 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -117.894, + "y": -194.909, + "z": 38.562 + }, + "_id": "c0y6F5f+pAvI805TdmxIjx" + }, + { + "__type__": "cc.DirectionalLight", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 250, + "b": 240, + "a": 255 + }, + "_useColorTemperature": false, + "_colorTemperature": 6550, + "_staticSettings": { + "__id__": 4 + }, + "_visibility": -325058561, + "_illuminanceHDR": 65000, + "_illuminance": 65000, + "_illuminanceLDR": 1.6927083333333335, + "_shadowEnabled": false, + "_shadowPcf": 0, + "_shadowBias": 0.00001, + "_shadowNormalBias": 0, + "_shadowSaturation": 1, + "_shadowDistance": 50, + "_shadowInvisibleOcclusionRange": 200, + "_csmLevel": 4, + "_csmLayerLambda": 0.75, + "_csmOptimizationMode": 2, + "_csmAdvancedOptions": false, + "_csmLayersTransition": false, + "_csmTransitionRange": 0.05, + "_shadowFixedArea": false, + "_shadowNear": 0.1, + "_shadowFar": 10, + "_shadowOrthoSize": 5, + "_id": "597uMYCbhEtJQc0ffJlcgA" + }, + { + "__type__": "cc.StaticLightSettings", + "_baked": false, + "_editorOnly": false, + "_castShadow": false + }, + { + "__type__": "cc.Node", + "_name": "Main Camera", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 20 + }, + "_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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c9DMICJLFO5IeO07EPon7U" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_projection": 1, + "_priority": 0, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 10, + "_near": 1, + "_far": 1000, + "_color": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 14, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 1822425087, + "_targetTexture": null, + "_cameraType": -1, + "_trackingType": 0, + "_id": "7dWQTpwS5LrIHnc1zAPUtf" + }, + { + "__type__": "cc.Node", + "_name": "Walls left", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 8 + }, + { + "__id__": 11 + }, + { + "__id__": 14 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -5, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c90zJrQKVCTbtcO2J2T1sM" + }, + { + "__type__": "cc.Node", + "_name": "Wall", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "dbzHzNjmRJXZQCbrhjRlm7" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Cylinder", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 10 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "08gCbLo61LV4Iu39Brsa7o" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "Wall-001", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": -6, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.42261826174069944, + "w": 0.9063077870366499 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 50 + }, + "_id": "27TD2yw1hGaJ2A6ifiAMry" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Cylinder", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 13 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "12moCfavlDbKMj6QbuHrNX" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "Wall-002", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 15 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -1.5, + "y": 6, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.42261826174069944, + "w": 0.9063077870366499 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 50 + }, + "_id": "f0of3g+45FXL5st+xoYjo8" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Cylinder", + "_objFlags": 0, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 16 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "ea8sgQ9pdC1Zh3NwLbfUSx" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "Walls right", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 18 + }, + { + "__id__": 21 + }, + { + "__id__": 24 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 5, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": -1, + "z": 0, + "w": 6.123233995736766e-17 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": -180, + "z": 0 + }, + "_id": "75KfZFqm5KdZMEs98WgPmL" + }, + { + "__type__": "cc.Node", + "_name": "Wall", + "_objFlags": 0, + "_parent": { + "__id__": 17 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 19 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "ee28DwaQlO4ZsyFunjB0dy" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Cylinder", + "_objFlags": 0, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 20 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "28E8jg5+9KJ4aWeepFnCSp" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "Wall-001", + "_objFlags": 0, + "_parent": { + "__id__": 17 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 22 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": -6, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.42261826174069944, + "w": 0.9063077870366499 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 50 + }, + "_id": "cbDil8EhFIypZEyrquBI7l" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Cylinder", + "_objFlags": 0, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 23 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "3cbQ0xvgpHVZ0XgQTqmXU4" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "Wall-002", + "_objFlags": 0, + "_parent": { + "__id__": 17 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 25 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -1.5, + "y": 6, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.42261826174069944, + "w": 0.9063077870366499 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 50 + }, + "_id": "96KPyIhdRL2IJ6LsC2K1Uz" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Cylinder", + "_objFlags": 0, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 26 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "72LqYZBnxPBZvzia7jmcgu" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "Ball 3D", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + }, + { + "__id__": 31 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c8F0VLPlBJb7E5/RBf71Ru" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Sphere", + "_objFlags": 0, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 29 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@17020", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "f1HOmcHclFGJoF1GMvs9tP" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.SphereCollider", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_material": null, + "_isTrigger": false, + "_center": { + "__type__": "cc.Vec3", + "x": 0.0010054856538772583, + "y": 0, + "z": 7.450580596923828e-8 + }, + "_radius": 0.5, + "_id": "96r5J3LwdMW7J1YAR3bNYS" + }, + { + "__type__": "cc.RigidBody", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_group": 1, + "_type": 1, + "_mass": 1, + "_allowSleep": true, + "_linearDamping": 0.1, + "_angularDamping": 0.1, + "_useGravity": true, + "_linearFactor": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_angularFactor": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_id": "60TdbxQGlHR5cx1GAKo5hA" + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 33 + }, + "shadows": { + "__id__": 34 + }, + "_skybox": { + "__id__": 35 + }, + "fog": { + "__id__": 36 + }, + "octree": { + "__id__": 37 + }, + "lightProbeInfo": { + "__id__": 38 + }, + "bakedWithStationaryMainLight": false, + "bakedWithHighpLightmap": false + }, + { + "__type__": "cc.AmbientInfo", + "_skyColorHDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 0.520833125 + }, + "_skyColor": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 0.520833125 + }, + "_skyIllumHDR": 20000, + "_skyIllum": 20000, + "_groundAlbedoHDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + }, + "_groundAlbedo": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + }, + "_skyColorLDR": { + "__type__": "cc.Vec4", + "x": 0.452588, + "y": 0.607642, + "z": 0.755699, + "w": 0 + }, + "_skyIllumLDR": 0.8, + "_groundAlbedoLDR": { + "__type__": "cc.Vec4", + "x": 0.618555, + "y": 0.577848, + "z": 0.544564, + "w": 0 + } + }, + { + "__type__": "cc.ShadowsInfo", + "_enabled": false, + "_type": 0, + "_normal": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 0 + }, + "_distance": 0, + "_shadowColor": { + "__type__": "cc.Color", + "r": 76, + "g": 76, + "b": 76, + "a": 255 + }, + "_maxReceived": 4, + "_size": { + "__type__": "cc.Vec2", + "x": 1024, + "y": 1024 + } + }, + { + "__type__": "cc.SkyboxInfo", + "_envLightingType": 0, + "_envmapHDR": { + "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_envmap": { + "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_envmapLDR": { + "__uuid__": "6f01cf7f-81bf-4a7e-bd5d-0afc19696480@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_diffuseMapHDR": null, + "_diffuseMapLDR": null, + "_enabled": true, + "_useHDR": true, + "_editableMaterial": null, + "_reflectionHDR": null, + "_reflectionLDR": null, + "_rotationAngle": 0 + }, + { + "__type__": "cc.FogInfo", + "_type": 0, + "_fogColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_enabled": false, + "_fogDensity": 0.3, + "_fogStart": 0.5, + "_fogEnd": 300, + "_fogAtten": 5, + "_fogTop": 1.5, + "_fogRange": 1.2, + "_accurate": false + }, + { + "__type__": "cc.OctreeInfo", + "_enabled": false, + "_minPos": { + "__type__": "cc.Vec3", + "x": -1024, + "y": -1024, + "z": -1024 + }, + "_maxPos": { + "__type__": "cc.Vec3", + "x": 1024, + "y": 1024, + "z": 1024 + }, + "_depth": 8 + }, + { + "__type__": "cc.LightProbeInfo", + "_giScale": 1, + "_giSamples": 1024, + "_bounces": 2, + "_reduceRinging": 0, + "_showProbe": true, + "_showWireframe": true, + "_showConvex": false, + "_data": null + } +] \ No newline at end of file diff --git a/assets/Scenes/2D Gameplay.scene.meta b/assets/Scenes/2D Gameplay.scene.meta new file mode 100644 index 0000000..bf27b32 --- /dev/null +++ b/assets/Scenes/2D Gameplay.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.43", + "importer": "scene", + "imported": true, + "uuid": "3ce41ed6-6584-40b1-94f9-8464439aa57d", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scenes/TestScene.scene b/assets/Scenes/TestScene.scene new file mode 100644 index 0000000..d14cab1 --- /dev/null +++ b/assets/Scenes/TestScene.scene @@ -0,0 +1,12961 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "TestScene", + "_objFlags": 0, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "TestScene", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 374 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 375 + }, + "_id": "4c16bf85-f009-4abe-b793-f3a1924392e4" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 179 + }, + { + "__id__": 367 + } + ], + "_active": true, + "_components": [ + { + "__id__": 371 + }, + { + "__id__": 372 + }, + { + "__id__": 373 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 960, + "y": 720, + "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": "beI88Z2HpFELqR4T5EMHpg" + }, + { + "__type__": "cc.Node", + "_name": "Camera", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 1000 + }, + "_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": "55PfzFPphOAqETwUAaiRr4" + }, + { + "__type__": "cc.Camera", + "_name": "Camera", + "_objFlags": 0, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 0, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 720, + "_near": 0, + "_far": 1000, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 7, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 1108344832, + "_targetTexture": null, + "_cameraType": -1, + "_trackingType": 0, + "_id": "83NDizZXhHDpX2U2pDTfCm" + }, + { + "__type__": "cc.Node", + "_name": "Gameplay", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 6 + }, + { + "__id__": 29 + }, + { + "__id__": 35 + }, + { + "__id__": 60 + }, + { + "__id__": 70 + }, + { + "__id__": 80 + }, + { + "__id__": 96 + }, + { + "__id__": 143 + }, + { + "__id__": 146 + } + ], + "_active": true, + "_components": [ + { + "__id__": 175 + }, + { + "__id__": 176 + }, + { + "__id__": 177 + }, + { + "__id__": 366 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "b8QGUPkaFMsYzggVHwJiwe" + }, + { + "__type__": "cc.Node", + "_name": "Boundaries", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 7 + }, + { + "__id__": 12 + }, + { + "__id__": 17 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [ + { + "__id__": 27 + }, + { + "__id__": 28 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "efSRwwRT5G3ZA7Q9kXBy1Y" + }, + { + "__type__": "cc.Node", + "_name": "Top Boundary", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 6 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 11 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 540, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 45, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "3bIvaOGrRABI2Eq30xwg0Y" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "dfe12+SVpAGr2QnfgfcJHc" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 2000, + "height": 50 + }, + "_id": "caIUjvHUJIr6YnbUYs7vTF" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "00OntLPZJEdoEqprTsaHHV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "53ICE5ycFA96+0YbUagjNY" + }, + { + "__type__": "cc.Node", + "_name": "Bot Boundary", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 6 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -720, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 45, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "59XdemWsxPtLkyPSDzwNoc" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b7a3OW8PFAS5LnxVEzLbnJ" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": null, + "tag": 1, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 2000, + "height": 50 + }, + "_id": "caCyzBPq1IWYfM3Zv4f10Z" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "b6XDg+DvlLKr7FfVH3SNfU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "1fhf20ngxLQqGymq6A5ZAU" + }, + { + "__type__": "cc.Node", + "_name": "Left Boundary", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 6 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 19 + }, + { + "__id__": 20 + }, + { + "__id__": 21 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -360, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 35, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "3cdKJT3M9JQKDzRaQ6yNrm" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "61xX+W6FhFHL7yMHOO9aNz" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 50, + "height": 1500 + }, + "_id": "2fOp1v1RhGiYBx0uSQ50o1" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "2eQbu25U9EgLQxJL6ImSny" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "2asElk3Y9AzYwYhrcbGgC7" + }, + { + "__type__": "cc.Node", + "_name": "Right Boundary", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 6 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 23 + }, + { + "__id__": 24 + }, + { + "__id__": 25 + }, + { + "__id__": 26 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 360, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 35, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "6a5Uwb+b1IMLXqOAjrDDJX" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b7itqbtb1CZ5DGxwwvR1tO" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 50, + "height": 1500 + }, + "_id": "05DpZFMfxENqO3UYGYGcs1" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "e5wxbouPJJCKzb5fH3ujDV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "cfStdHTcFHL5kRXEqSgWXb" + }, + { + "__type__": "cc.PolygonCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 6 + }, + "_enabled": false, + "__prefab": null, + "tag": 1, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_points": [ + { + "__type__": "cc.Vec2", + "x": -1060, + "y": -820 + }, + { + "__type__": "cc.Vec2", + "x": 1040, + "y": -820 + }, + { + "__type__": "cc.Vec2", + "x": 1040, + "y": 780 + }, + { + "__type__": "cc.Vec2", + "x": 960, + "y": 780 + }, + { + "__type__": "cc.Vec2", + "x": 960, + "y": -720 + }, + { + "__type__": "cc.Vec2", + "x": -960, + "y": -720 + }, + { + "__type__": "cc.Vec2", + "x": -960, + "y": 720 + }, + { + "__type__": "cc.Vec2", + "x": 1000, + "y": 720 + }, + { + "__type__": "cc.Vec2", + "x": 1000, + "y": 780 + }, + { + "__type__": "cc.Vec2", + "x": -1060, + "y": 780 + } + ], + "_id": "98oTaSGlZFDIICy8zNQI8E" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 6 + }, + "_enabled": false, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "4bNTrQ2tdCZb/VqDRh4M+x" + }, + { + "__type__": "cc.Node", + "_name": "Goal", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 30 + } + ], + "_active": true, + "_components": [ + { + "__id__": 33 + }, + { + "__id__": 34 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 480, + "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": "ecqUtiBT9H4potKN6UTGoL" + }, + { + "__type__": "cc.Node", + "_name": "Sprite", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 29 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 31 + }, + { + "__id__": 32 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "17TVHk57BPoZ0wkN2/0p+t" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 30 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 351, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "2d6oWhdudEoL/3gbYf5qge" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 30 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "c4T71VP35DIrH/8No0ow9T" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "edDl2tjKBHm7YGjhDThec8" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "tag": 2, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 360, + "height": 72 + }, + "_id": "01ZlEmi8hFDr4ZV6mAwGZr" + }, + { + "__type__": "cc.Node", + "_name": "Walls", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 36 + }, + { + "__id__": 48 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -60, + "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": "54fHgwJqpEAoM32z/rA4vU" + }, + { + "__type__": "cc.Node", + "_name": "Left Wall", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 35 + }, + "_children": [ + { + "__id__": 37 + }, + { + "__id__": 40 + }, + { + "__id__": 43 + } + ], + "_active": true, + "_components": [ + { + "__id__": 46 + }, + { + "__id__": 47 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 24, + "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": "a0F0psXzFCYKN3vTDMAJes" + }, + { + "__type__": "cc.Node", + "_name": "1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 36 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 38 + }, + { + "__id__": 39 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -240, + "y": 239, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.4218271981739759, + "w": 0.9066762459007588 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.3, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -49.9 + }, + "_id": "98ltBdqcRJQ72Bayk8wCSb" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 351, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a2Bo0h/IBEFbq3f0ykbvK8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "78xBkkFPpF/7JFB0QkjT2G" + }, + { + "__type__": "cc.Node", + "_name": "2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 36 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 41 + }, + { + "__id__": 42 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -210, + "y": -48, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 90 + }, + "_id": "ed/heOUVRKn5VKphk5LBbT" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 40 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 351, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "35H6GTqRRCPYUZwoG0Dv53" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 40 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "8db13eWxdMBb4FZnfpnGmr" + }, + { + "__type__": "cc.Node", + "_name": "3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 36 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 45 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -180, + "y": -330, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.42261826174069944, + "w": 0.9063077870366499 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.3, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -50 + }, + "_id": "d9omUc4FFBIYBsbPIrpmRM" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 351, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "90yfqguudONps1/ff8jVjw" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "0boeoocIZCNL4q/u6sCqbg" + }, + { + "__type__": "cc.PolygonCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 0, + "_sensor": false, + "_friction": 0, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_points": [ + { + "__type__": "cc.Vec2", + "x": -168.2, + "y": -360.6 + }, + { + "__type__": "cc.Vec2", + "x": -163.3, + "y": -333.1 + }, + { + "__type__": "cc.Vec2", + "x": -199.7, + "y": -287.6 + }, + { + "__type__": "cc.Vec2", + "x": -199, + "y": 210.5 + }, + { + "__type__": "cc.Vec2", + "x": -265.2, + "y": 285.5 + }, + { + "__type__": "cc.Vec2", + "x": -281.7, + "y": 274.2 + }, + { + "__type__": "cc.Vec2", + "x": -220.4, + "y": 198.3 + }, + { + "__type__": "cc.Vec2", + "x": -220.8, + "y": -297.9 + } + ], + "_id": "523iC3zDBHTI+32aTW31xK" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "29GpX+InpHIp8BtL1p4XiA" + }, + { + "__type__": "cc.Node", + "_name": "RightWall", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 35 + }, + "_children": [ + { + "__id__": 49 + }, + { + "__id__": 52 + }, + { + "__id__": 55 + } + ], + "_active": true, + "_components": [ + { + "__id__": 58 + }, + { + "__id__": 59 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -24, + "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": "a1PaEyZ9xC5LJiEWbVah4N" + }, + { + "__type__": "cc.Node", + "_name": "1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 48 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 50 + }, + { + "__id__": 51 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 240, + "y": 240, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.42261826174069944, + "w": 0.9063077870366499 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.3, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 50 + }, + "_id": "67ZnIpCehGlp/ruJiGR0Rp" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 49 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 351, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "311raC9itL952H1gD6A9FT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 49 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "62iB9esZdJiaKxwTShr178" + }, + { + "__type__": "cc.Node", + "_name": "2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 48 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 53 + }, + { + "__id__": 54 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 210, + "y": -48, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 90 + }, + "_id": "d606RZrppCqJne1inOSBb8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 52 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 351, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "08/LLrecpIXLfcqhMsJ9iz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 52 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "73JN0GUUlASYhI1lyfr55F" + }, + { + "__type__": "cc.Node", + "_name": "3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 48 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 56 + }, + { + "__id__": 57 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 180, + "y": -330, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.42261826174069944, + "w": 0.9063077870366499 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.3, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 50 + }, + "_id": "a128sh9LtD2q128z33Xfdr" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 55 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 351, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "11lfRPUoBAy5Iog5YEasiR" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 55 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f72f1770-f28c-4784-a68e-83a814c5af3d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "7buUhrbgJNiqwxHbX7533r" + }, + { + "__type__": "cc.PolygonCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 0, + "_sensor": false, + "_friction": 0, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_points": [ + { + "__type__": "cc.Vec2", + "x": 160.1, + "y": -338.6 + }, + { + "__type__": "cc.Vec2", + "x": 170.2, + "y": -357.6 + }, + { + "__type__": "cc.Vec2", + "x": 222.1, + "y": -297.1 + }, + { + "__type__": "cc.Vec2", + "x": 220.4, + "y": 198.6 + }, + { + "__type__": "cc.Vec2", + "x": 282.2, + "y": 271.2 + }, + { + "__type__": "cc.Vec2", + "x": 265.7, + "y": 283.7 + }, + { + "__type__": "cc.Vec2", + "x": 198.3, + "y": 207.8 + }, + { + "__type__": "cc.Vec2", + "x": 197.9, + "y": -290.8 + } + ], + "_id": "e9/7HmvBRE/oDwlaZaVE1f" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "58EhudTsxMWrGqHjzroJyD" + }, + { + "__type__": "cc.Node", + "_name": "Sick holder L", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 61 + } + ], + "_active": true, + "_components": [ + { + "__id__": 67 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -120, + "y": -425, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d5SFWC1OZHmKnql3AE9T/O" + }, + { + "__type__": "cc.Node", + "_name": "Stick Left", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 60 + }, + "_children": [ + { + "__id__": 62 + } + ], + "_active": true, + "_components": [ + { + "__id__": 65 + }, + { + "__id__": 68 + }, + { + "__id__": 66 + }, + { + "__id__": 69 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.043619387365336, + "w": 0.9990482215818578 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -5 + }, + "_id": "a3Z0BiX1JH9ahbmK99+Yeu" + }, + { + "__type__": "cc.Node", + "_name": "Sprite", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 61 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 63 + }, + { + "__id__": 64 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 35, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": -0.3, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f13HmDcilOWa0SwdNjkaN+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 328, + "height": 90 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c6X7JhbiZIrITrxa38L8MW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "99965ba1-0be3-4b32-be47-131eaac4b520@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "137CUDPdNEiJoSTy070tOu" + }, + { + "__type__": "c3f2bNTX6ZFF5O4nsjI/wAG", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": null, + "_hingeJoint": { + "__id__": 66 + }, + "_motorSpeedActive": -10000, + "_motorSpeedDeActive": 10000, + "_id": "9dmqVIOYxAP6TS5p7ZlSmM" + }, + { + "__type__": "cc.HingeJoint2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": null, + "anchor": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "connectedAnchor": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "collideConnected": false, + "connectedBody": { + "__id__": 67 + }, + "_enableLimit": true, + "_lowerAngle": -5, + "_upperAngle": 40, + "_enableMotor": true, + "_maxMotorTorque": 10000, + "_motorSpeed": 10000, + "_id": "f7jO2cfINIG4twogHoT8KD" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 60 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "5eiydr+cFJXI1xyxF1ucUf" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 2, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "59dGaJtktHY69M+vlxtXzh" + }, + { + "__type__": "cc.PolygonCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 61 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 5, + "_sensor": false, + "_friction": 0, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 35, + "y": 0 + }, + "_points": [ + { + "__type__": "cc.Vec2", + "x": -44.1, + "y": -13 + }, + { + "__type__": "cc.Vec2", + "x": 47.4, + "y": -12.7 + }, + { + "__type__": "cc.Vec2", + "x": 49.4, + "y": 2.8 + }, + { + "__type__": "cc.Vec2", + "x": -51.7, + "y": 15.9 + } + ], + "_id": "aaoaDiIhtNYbNbvVgm1f4X" + }, + { + "__type__": "cc.Node", + "_name": "Sick holder R", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 71 + } + ], + "_active": true, + "_components": [ + { + "__id__": 77 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 120, + "y": -425, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "295n25ghJN7Lr8I1i/hxRU" + }, + { + "__type__": "cc.Node", + "_name": "Stick Right", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 70 + }, + "_children": [ + { + "__id__": 72 + } + ], + "_active": true, + "_components": [ + { + "__id__": 75 + }, + { + "__id__": 78 + }, + { + "__id__": 76 + }, + { + "__id__": 79 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.043619387365336, + "w": 0.9990482215818578 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 5 + }, + "_id": "75aBYt/ChAf5fEHBsUnJrA" + }, + { + "__type__": "cc.Node", + "_name": "Sprite", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 71 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 73 + }, + { + "__id__": 74 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -35, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.3, + "y": 0.3, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d8ycLUvqNBhoSE9fHZ40wV" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 328, + "height": 90 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "89FKTvlKBEspxaZlPa+4Uy" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "99965ba1-0be3-4b32-be47-131eaac4b520@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "bf7cR8FYVFdLelzSMp2bxA" + }, + { + "__type__": "c3f2bNTX6ZFF5O4nsjI/wAG", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": null, + "_hingeJoint": { + "__id__": 76 + }, + "_motorSpeedActive": 10000, + "_motorSpeedDeActive": -10000, + "_id": "a9wauGgPNMB7GGnZjgXhwO" + }, + { + "__type__": "cc.HingeJoint2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": null, + "anchor": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "connectedAnchor": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "collideConnected": false, + "connectedBody": { + "__id__": 77 + }, + "_enableLimit": true, + "_lowerAngle": -40, + "_upperAngle": 5, + "_enableMotor": true, + "_maxMotorTorque": 10000, + "_motorSpeed": -10000, + "_id": "90JSmRmjFMVIXZS6pvbWyc" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "8aQ//kbgtPqZWSh1058BBu" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 2, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "a05aEmHXlLopZ9mtqnDfZf" + }, + { + "__type__": "cc.PolygonCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 5, + "_sensor": false, + "_friction": 0, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 35, + "y": 0 + }, + "_points": [ + { + "__type__": "cc.Vec2", + "x": -118, + "y": -13.8 + }, + { + "__type__": "cc.Vec2", + "x": -26.4, + "y": -13 + }, + { + "__type__": "cc.Vec2", + "x": -21.2, + "y": 15.4 + }, + { + "__type__": "cc.Vec2", + "x": -119.8, + "y": 0.8 + } + ], + "_id": "adTtWoHc9Hlp+q9JlN1QPg" + }, + { + "__type__": "cc.Node", + "_name": "Obstacle holder", + "_objFlags": 0, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 81 + }, + { + "__id__": 90 + }, + { + "__id__": 92 + } + ], + "_active": false, + "_components": [ + { + "__id__": 94 + }, + { + "__id__": 95 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "75C85YEgRFP68tfwnfewBs" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 80 + }, + "_prefab": { + "__id__": 82 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 81 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 83 + }, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "24JHmypbJAxZe7DsPOvYNs", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 84 + }, + { + "__id__": 86 + }, + { + "__id__": 87 + }, + { + "__id__": 88 + }, + { + "__id__": 89 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 85 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 85 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -175, + "y": 380, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 85 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 85 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 85 + }, + "propertyPath": [ + "_active" + ], + "value": true + }, + { + "__type__": "cc.Node", + "_name": "Right side", + "_objFlags": 0, + "_parent": { + "__id__": 80 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 91 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 175, + "y": 380, + "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": "c9UMCBeZ5KGLbdHMc8bBcM" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 90 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "07qhkd47FOG5qLKNqAvpOc" + }, + { + "__type__": "cc.Node", + "_name": "Left side", + "_objFlags": 0, + "_parent": { + "__id__": 80 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 93 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -175, + "y": 380, + "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": "e0mlRDAUJJireGUYrXtO4t" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 92 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b21TsL5TZO/bu39ggLClDI" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 80 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "74H3rDnjNMIY+AWUVTasMC" + }, + { + "__type__": "2fd1frYBelGFaew/YvIrPUP", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 80 + }, + "_enabled": true, + "__prefab": null, + "target": { + "__id__": 81 + }, + "waypoints": [ + { + "__id__": 90 + }, + { + "__id__": 92 + } + ], + "speed": 3, + "_id": "29KXiD3kBGs785Iw29loTY" + }, + { + "__type__": "cc.Node", + "_name": "Obstacles controller", + "_objFlags": 0, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 97 + }, + { + "__id__": 117 + } + ], + "_active": false, + "_components": [ + { + "__id__": 141 + }, + { + "__id__": 142 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "bcrOHFnshD+Y5HWwqoFxgc" + }, + { + "__type__": "cc.Node", + "_name": "Easy Obstacle 1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 96 + }, + "_children": [ + { + "__id__": 98 + }, + { + "__id__": 99 + }, + { + "__id__": 100 + }, + { + "__id__": 105 + }, + { + "__id__": 110 + } + ], + "_active": false, + "_components": [ + { + "__id__": 115 + }, + { + "__id__": 116 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "817mmw+a1HGo8X9869TK7Q" + }, + { + "__type__": "cc.Node", + "_name": "Waypoint L", + "_objFlags": 0, + "_parent": { + "__id__": 97 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -75, + "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": "a7XmWmO0pKcYV6mAB6LK62" + }, + { + "__type__": "cc.Node", + "_name": "Waypoint R", + "_objFlags": 0, + "_parent": { + "__id__": 97 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 75, + "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": "423NXnzvtHSpVoUX1T2+Ks" + }, + { + "__type__": "cc.Node", + "_name": "Obstacle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 97 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 101 + }, + { + "__id__": 102 + }, + { + "__id__": 103 + }, + { + "__id__": 104 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 75, + "y": -80, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_id": "a6V+tStsNFrr3+wjdl1ECP" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 100 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "8dqsMTm9dD3JdFqCGyVuP2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 100 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "4d52KBOlVOMoSQlkQWF11T" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 100 + }, + "_enabled": true, + "__prefab": null, + "tag": 3, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 20, + "height": 32 + }, + "_id": "deoewEXvxEApr50HeNko+0" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 100 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": false, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": true, + "_id": "1dMXWnQeZEi6raEBTn/IIU" + }, + { + "__type__": "cc.Node", + "_name": "Obstacle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 97 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 106 + }, + { + "__id__": 107 + }, + { + "__id__": 108 + }, + { + "__id__": 109 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -75, + "y": -80, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_id": "1cJqK+IdtHVb5WPD1BEOA5" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "11nCPEheFFDqYgzSiwZcYN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "ffTB6x7cVIuoiQINE0fBJP" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": null, + "tag": 3, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 20, + "height": 32 + }, + "_id": "50HaQ7tIhC+bHEij2dysoW" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": false, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": true, + "_id": "a8JyCgCtRBfpV2+Raoe4Ui" + }, + { + "__type__": "cc.Node", + "_name": "Obstacle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 97 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 111 + }, + { + "__id__": 112 + }, + { + "__id__": 113 + }, + { + "__id__": 114 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_id": "72uus7YV9Ft7ofwJlk4UxT" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 110 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f8awOZ2TZEE4pUFsemM+Y0" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 110 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "1d2DHbP5dIz4W5r8BSq34P" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 110 + }, + "_enabled": true, + "__prefab": null, + "tag": 3, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 20, + "height": 32 + }, + "_id": "66rp+77/NJEKaoIF5Vv5L7" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 110 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": false, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": true, + "_id": "b7m0SgG6lGUbhHWGEI+YZ+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "cbAWQ9qpBEE4XuStzO5I7K" + }, + { + "__type__": "c8e705yAJlBEKcUg/gyt/xJ", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": null, + "targets": [ + { + "__id__": 100 + }, + { + "__id__": 105 + }, + { + "__id__": 110 + } + ], + "waypoints": [ + { + "__id__": 99 + }, + { + "__id__": 98 + } + ], + "speed": 1, + "selectedObstacle": null, + "_id": "aeil0PlGtBXYxkGROa7dtf" + }, + { + "__type__": "cc.Node", + "_name": "Easy Obstacle 2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 96 + }, + "_children": [ + { + "__id__": 118 + }, + { + "__id__": 119 + }, + { + "__id__": 120 + }, + { + "__id__": 125 + }, + { + "__id__": 130 + } + ], + "_active": false, + "_components": [ + { + "__id__": 139 + }, + { + "__id__": 140 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 200, + "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": "28zwy32DZFd5qsfkA602aO" + }, + { + "__type__": "cc.Node", + "_name": "Waypoint L", + "_objFlags": 0, + "_parent": { + "__id__": 117 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -60, + "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": "adVE2jg71F3YoxBVr80FJ8" + }, + { + "__type__": "cc.Node", + "_name": "Waypoint R", + "_objFlags": 0, + "_parent": { + "__id__": 117 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "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": "e9mbIKR8JDIp7gzz6ziop1" + }, + { + "__type__": "cc.Node", + "_name": "Obstacle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 117 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 121 + }, + { + "__id__": 122 + }, + { + "__id__": 123 + }, + { + "__id__": 124 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "y": -90, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_id": "bdCkq2HRFCkIkhGDaF6a/F" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 120 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "2aEUOX8ghIroR8AUGxVsq4" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 120 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "5aBJzBiIFFqrmrHpdpC2AP" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 120 + }, + "_enabled": true, + "__prefab": null, + "tag": 3, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 20, + "height": 32 + }, + "_id": "7d5XeL2M1Hf6cOpaC8ahjI" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 120 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": false, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": true, + "_id": "0cpOc+ktVCe7R3yGbqiyiS" + }, + { + "__type__": "cc.Node", + "_name": "Obstacle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 117 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 126 + }, + { + "__id__": 127 + }, + { + "__id__": 128 + }, + { + "__id__": 129 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "y": -170, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_id": "99w1D5ey1FB6MduQ+X/w/o" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c4V0FfpLVOnpJAYPvWTRNO" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "dbFXCCfsdCqYt/NpxnWkjt" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": null, + "tag": 3, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 20, + "height": 32 + }, + "_id": "fdtbqw7YtNnJHdp6VvUtWq" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": false, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": true, + "_id": "0aer7RzoJE553ijq6bFBP3" + }, + { + "__type__": "cc.Node", + "_name": "Obstacle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 117 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 131 + }, + { + "__id__": 133 + }, + { + "__id__": 135 + }, + { + "__id__": 137 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "y": -250, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_id": "24tV00cJFPdrrjpVX3B6A5" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": { + "__id__": 132 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "baan/mC6RFc4dptNDjcjqh" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "45QTNNbC9OUYDRRzKHu6WV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": { + "__id__": 134 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8bc52c2c-7db5-4951-9bf1-a38f1914bf0e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "08Er0h9SJCYIhBtJuKNDBL" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "08nypWEwZI2pSnaYoRCRKW" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": { + "__id__": 136 + }, + "tag": 3, + "_group": 1, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 20, + "height": 32 + }, + "_id": "04syZuuF1BuqML1ctNAW45" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7egu3Zm5tHjb52E6fmax1G" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": { + "__id__": 138 + }, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": false, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": true, + "_id": "d1DQ90/I5BPrUPwT6sz07z" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "39ENf+Cn1O95ZEF7CNhWT+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "99aVL63VxMu5OlSbu+CJhA" + }, + { + "__type__": "c8e705yAJlBEKcUg/gyt/xJ", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": null, + "targets": [ + { + "__id__": 120 + }, + { + "__id__": 125 + }, + { + "__id__": 130 + } + ], + "waypoints": [ + { + "__id__": 119 + }, + { + "__id__": 118 + } + ], + "speed": 1, + "selectedObstacle": null, + "_id": "a8RDDRuHZKTYC3TVV/gCQC" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 96 + }, + "_enabled": false, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "07XaxsfX1FA7YS9tftYd71" + }, + { + "__type__": "139dcQ3jdtAnLDpn8Qd3ErD", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": null, + "obstaclesSet": [ + { + "__id__": 97 + }, + { + "__id__": 117 + } + ], + "_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, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 147 + }, + { + "__id__": 155 + }, + { + "__id__": 163 + } + ], + "_active": true, + "_components": [ + { + "__id__": 173 + }, + { + "__id__": 174 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "f4XWVoQeROX57rfpI3UjR9" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 146 + }, + "_prefab": { + "__id__": 148 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 147 + }, + "asset": { + "__uuid__": "f49ff774-8d49-42fd-81de-aeb7f53d03f5", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a0kYAhzm5AAa3h8r/fe/j5", + "instance": { + "__id__": 149 + }, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "5eFmNCBbtCuoBRNf/EiQ2l", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 150 + }, + { + "__id__": 152 + }, + { + "__id__": 153 + }, + { + "__id__": 154 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 151 + }, + "propertyPath": [ + "_name" + ], + "value": "Obstacle" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 151 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 50, + "y": 150, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 151 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.7071067811865475, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 151 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 146 + }, + "_prefab": { + "__id__": 156 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 155 + }, + "asset": { + "__uuid__": "36df1e3d-a2ea-4b8d-8a5c-fc97275927ed", + "__expectedType__": "cc.Prefab" + }, + "fileId": "8bAB5AG0pEMal3JgTX45pf", + "instance": { + "__id__": 157 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "c5EQAUDEBIOoG58kDssH+X", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 158 + }, + { + "__id__": 160 + }, + { + "__id__": 161 + }, + { + "__id__": 162 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 159 + }, + "propertyPath": [ + "_name" + ], + "value": "Easy Obstacle 2" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "8bAB5AG0pEMal3JgTX45pf" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 159 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 200, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 159 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 159 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 146 + }, + "_prefab": { + "__id__": 164 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 163 + }, + "asset": { + "__uuid__": "1f197242-be22-45c5-8050-73114637003e", + "__expectedType__": "cc.Prefab" + }, + "fileId": "8bAB5AG0pEMal3JgTX45pf", + "instance": { + "__id__": 165 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "d2+SxFOQhJnoELks8EOq7U", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 166 + }, + { + "__id__": 168 + }, + { + "__id__": 169 + }, + { + "__id__": 170 + }, + { + "__id__": 171 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 167 + }, + "propertyPath": [ + "_name" + ], + "value": "Easy Obstacle 3" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "8bAB5AG0pEMal3JgTX45pf" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 167 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 200, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 167 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 167 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 172 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -113.464, + "y": 115.988, + "z": 0 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "d5MUuJhTtHPqoYxWAJkdvs", + "a0kYAhzm5AAa3h8r/fe/j5" + ] + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 146 + }, + "_enabled": false, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "77zDwpXL1Hmr1G3wbB3dVw" + }, + { + "__type__": "f8855evE65FJqQjblRwLsAO", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 146 + }, + "_enabled": true, + "__prefab": null, + "maxLevel": 0, + "currentLevel": 5, + "levelObstacles": [ + { + "__id__": 147 + }, + { + "__id__": 155 + }, + { + "__id__": 163 + } + ], + "levelBalls": [], + "scoreToLevelUp": [], + "_id": "0cON5WhehKDaqZR0Ur1zbR" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "79IdOCQ/dEzoI70UU/heUu" + }, + { + "__type__": "e458e1SXShHG6rlCRbLLMNE", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "lFlipper": { + "__id__": 65 + }, + "rFlipper": { + "__id__": 75 + }, + "_id": "celgqx7zpPw4oYFK6/qx8a" + }, + { + "__type__": "b343eeKBU1NGom3qA6hrm7y", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "ballPrefab": { + "__uuid__": "9b471c78-2e1d-4db8-ab08-b3df7c938d64", + "__expectedType__": "cc.Prefab" + }, + "startPositions": [ + { + "__type__": "cc.Vec2", + "x": -150, + "y": 300 + }, + { + "__type__": "cc.Vec2", + "x": -100, + "y": 300 + }, + { + "__type__": "cc.Vec2", + "x": 100, + "y": 300 + }, + { + "__type__": "cc.Vec2", + "x": 150, + "y": 300 + } + ], + "controllingBall": null, + "uiController": { + "__id__": 178 + }, + "levelController": { + "__id__": 366 + }, + "score": 0, + "streak": 0, + "highestStreak": 0, + "ball": 10, + "scoreToSpawnObstacle": 1, + "currentGameState": 0, + "particle": { + "__id__": 145 + }, + "startGameCountDown": 3, + "_id": "52Cpw4D1lK64PpyKf20KgI" + }, + { + "__type__": "575ed8kzbpDApGxiolEHOek", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 179 + }, + "_enabled": true, + "__prefab": null, + "mainMenuPnl": { + "__id__": 180 + }, + "startGameBtn": { + "__id__": 184 + }, + "countdownPnl": { + "__id__": 188 + }, + "countdownTxt": { + "__id__": 191 + }, + "inGamePnl": { + "__id__": 195 + }, + "goalTxt": { + "__id__": 198 + }, + "currentStreakTxt": { + "__id__": 202 + }, + "highestStreakTxt": { + "__id__": 206 + }, + "ballTxt": { + "__id__": 210 + }, + "currentLevelTxt": { + "__id__": 214 + }, + "endGamePnl": { + "__id__": 303 + }, + "yourScoreTxt": { + "__id__": 330 + }, + "replayBtn": { + "__id__": 337 + }, + "_id": "08nJofsO9Po7QjUBK5tPgd" + }, + { + "__type__": "cc.Node", + "_name": "UI", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 180 + }, + { + "__id__": 188 + }, + { + "__id__": 195 + }, + { + "__id__": 219 + }, + { + "__id__": 236 + }, + { + "__id__": 303 + } + ], + "_active": true, + "_components": [ + { + "__id__": 364 + }, + { + "__id__": 178 + }, + { + "__id__": 365 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "9f5fkYvOhPyZmhxgrjmxGc" + }, + { + "__type__": "cc.Node", + "_name": "Main Menu Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 179 + }, + "_children": [ + { + "__id__": 181 + } + ], + "_active": true, + "_components": [ + { + "__id__": 185 + }, + { + "__id__": 186 + }, + { + "__id__": 187 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "adKrkfm85F07EAm7sPzVfM" + }, + { + "__type__": "cc.Node", + "_name": "Play Btn", + "_objFlags": 0, + "_parent": { + "__id__": 180 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 182 + }, + { + "__id__": 183 + }, + { + "__id__": 184 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "e1MJpuWAJF/6bpavYI5ftZ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 181 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 480, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "80ikKEv/VI+r99RF4xaGCW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 181 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ff046972-01bd-4d20-b27d-92120e050ca3@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "07D7ArYUFH3rDQaoPdwZrc" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 181 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "ff046972-01bd-4d20-b27d-92120e050ca3@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 181 + }, + "_id": "cfU+0PdlRNBIig1EWk0YQv" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 180 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a0ModSIyxNiaB/vmpwGIfT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 180 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "77QDTuwedBirZ6M+cmd8f3" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 180 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 40, + "_originalHeight": 36, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "edlavz6wZFOrhp3m6ysXym" + }, + { + "__type__": "cc.Node", + "_name": "Countdown Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 179 + }, + "_children": [ + { + "__id__": 189 + } + ], + "_active": false, + "_components": [ + { + "__id__": 192 + }, + { + "__id__": 193 + }, + { + "__id__": 194 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "0aZf6wDdBBOaJdM7ZillzO" + }, + { + "__type__": "cc.Node", + "_name": "Countdown Txt", + "_objFlags": 0, + "_parent": { + "__id__": 188 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 190 + }, + { + "__id__": 191 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "76VVtyXS1FgZJ/Z1wmTy7j" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 189 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40.04, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "56siJSDA1Jro7KeGVa/JAB" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 189 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "3", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "8ekMo9m+JLzKgKSfDHtbdm" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 188 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "8bjcJ+2nBJt7vpcYCg6Y/u" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 188 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "56mMFqd59N064YXnm+9kwW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 188 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 40, + "_originalHeight": 36, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "b8sG60DBZNCbUrEy0tOqbl" + }, + { + "__type__": "cc.Node", + "_name": "Ingame Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 179 + }, + "_children": [ + { + "__id__": 196 + }, + { + "__id__": 200 + }, + { + "__id__": 204 + }, + { + "__id__": 208 + }, + { + "__id__": 212 + } + ], + "_active": false, + "_components": [ + { + "__id__": 216 + }, + { + "__id__": 217 + }, + { + "__id__": 218 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "d2t0sK05JAbb1fRxoy/+xN" + }, + { + "__type__": "cc.Node", + "_name": "Goal Txt", + "_objFlags": 0, + "_parent": { + "__id__": 195 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 197 + }, + { + "__id__": 198 + }, + { + "__id__": 199 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -936, + "y": 620.4, + "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": "ee4m87j4pA+b/QkHr4NAz6" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 196 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 193.45, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "96VyTzRypG+ZzHI8fOujmB" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 196 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Goal: 0", + "_horizontalAlign": 1, + "_verticalAlign": 0, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "c0Z9PRFylM/rl8ygIQgjfT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 196 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 9, + "_target": null, + "_left": 24, + "_right": 0, + "_top": 24, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "01IgR0IIJEr5neBhNtBImO" + }, + { + "__type__": "cc.Node", + "_name": "Streak Txt", + "_objFlags": 0, + "_parent": { + "__id__": 195 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 201 + }, + { + "__id__": 202 + }, + { + "__id__": 203 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -936, + "y": 548.4, + "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": "3d1V9Ke+NKEKA4dTcsCDq4" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 200 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 240.12, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "99K1gfb1FJgr9uNpMiUUFx" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 200 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Streak: 0", + "_horizontalAlign": 1, + "_verticalAlign": 0, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "143G8RqXNOlqIOPZVZXnL3" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 200 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 9, + "_target": null, + "_left": 24, + "_right": 0, + "_top": 96, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "fdU1muEe9LPYT65Ws4CfU+" + }, + { + "__type__": "cc.Node", + "_name": "Highest Streak Txt", + "_objFlags": 0, + "_parent": { + "__id__": 195 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 205 + }, + { + "__id__": 206 + }, + { + "__id__": 207 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -936, + "y": 476.4, + "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": "cflf5v0UtAVZCPHXzP6vsP" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 204 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 440.24, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "8cfEQBWg1E0rSat4jho84A" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 204 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Highest Steak: 0", + "_horizontalAlign": 1, + "_verticalAlign": 0, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "fd+DPV1lhCE5I7QitCNFAb" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 204 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 9, + "_target": null, + "_left": 24, + "_right": 0, + "_top": 168, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "47z1jb3+lMxovm+ue+q0of" + }, + { + "__type__": "cc.Node", + "_name": "Ball Txt", + "_objFlags": 0, + "_parent": { + "__id__": 195 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 209 + }, + { + "__id__": 210 + }, + { + "__id__": 211 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -936, + "y": 404.4, + "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": "2fE3UCAP5OvKR71BeC+urH" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 208 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 166.76, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "07RKbu6EFDYrMaDzyUT/UG" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 208 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Ball: 0", + "_horizontalAlign": 1, + "_verticalAlign": 0, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "5eyxhOA+1Mi4mOavha4V1j" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 208 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 9, + "_target": null, + "_left": 24, + "_right": 0, + "_top": 240, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "86lVVak8tF5497eaPR1FeQ" + }, + { + "__type__": "cc.Node", + "_name": "Current Level Txt", + "_objFlags": 0, + "_parent": { + "__id__": 195 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 213 + }, + { + "__id__": 214 + }, + { + "__id__": 215 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 769.24, + "y": -696, + "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": "f9wvucSydKT6Q80Gfci9HX" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 212 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210.15, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "5b+5CFybxFNZAxPnVOi69A" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 212 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Level: 0", + "_horizontalAlign": 2, + "_verticalAlign": 0, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "8ajE5TnxdHs6aLjebpBghR" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 212 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 36, + "_target": null, + "_left": 960, + "_right": -19.39000000000003, + "_top": 644.4, + "_bottom": 24, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "b8Nt2jRbhLvIiPq0e4dDMS" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 195 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "73ycSXDQ5OUItYkOvpLGFW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 195 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "ac5V98NMNM0b15ZY4vDK79" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 195 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 40, + "_originalHeight": 36, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "0fnXxFeetDJILHXPLFo0iH" + }, + { + "__type__": "cc.Node", + "_name": "End Game Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 179 + }, + "_children": [ + { + "__id__": 220 + }, + { + "__id__": 223 + }, + { + "__id__": 226 + } + ], + "_active": false, + "_components": [ + { + "__id__": 233 + }, + { + "__id__": 234 + }, + { + "__id__": 235 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "59nb4QWXtKtL4mcKH+/xXC" + }, + { + "__type__": "cc.Node", + "_name": "End game Txt", + "_objFlags": 0, + "_parent": { + "__id__": 219 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 221 + }, + { + "__id__": 222 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 261.795, + "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": "38CRRh/ipNaZxAJmC7xfmt" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 220 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 484.28, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "2aNc6LNr9EzaMj70bBif9l" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 220 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Game Ended!!!", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "d24c6XjChLfLSQpnHo7Y78" + }, + { + "__type__": "cc.Node", + "_name": "Score Txt", + "_objFlags": 0, + "_parent": { + "__id__": 219 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 224 + }, + { + "__id__": 225 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -36.248, + "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": "79E5mx3LZOWalLhTw4GZbD" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 421.59, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "76tqyH6aFB6K/+Qtk8qlU1" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Your score: 0", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "f6zbsw5C9F15b3VAXZSPh2" + }, + { + "__type__": "cc.Node", + "_name": "Replay Btn", + "_objFlags": 0, + "_parent": { + "__id__": 219 + }, + "_children": [ + { + "__id__": 227 + } + ], + "_active": true, + "_components": [ + { + "__id__": 230 + }, + { + "__id__": 231 + }, + { + "__id__": 232 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -370.54, + "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": "5d9y8nyLBIZZpHdAU0x6+5" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "_parent": { + "__id__": 226 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 228 + }, + { + "__id__": 229 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "72XxdT8j9PVofco7ltHVPL" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 227 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 360, + "height": 72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "72pGxN0apErZsLlpOrMtgS" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 227 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "Replay", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "9azp2FY8FGp4MCDoXE7sLC" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 226 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 480, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f87jN6sJ5A+aHD1jXOMMXn" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 226 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "51EKJ2+25HgpYUaiRBNLTo" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 226 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 226 + }, + "_id": "9cQSNePbdBAoNRjz+RDWll" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "42fUccgMZC/I5ojHMOiz1R" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "efNGlS+ydDmr9xBTQWOXSB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 40, + "_originalHeight": 36, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "3866gmHLtBT7b/9A+28YFE" + }, + { + "__type__": "cc.Node", + "_name": "OverPanel", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 179 + }, + "_children": [ + { + "__id__": 237 + }, + { + "__id__": 273 + } + ], + "_active": false, + "_components": [ + { + "__id__": 300 + }, + { + "__id__": 301 + }, + { + "__id__": 302 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "738ZIDV5NCF4z8JrdDDokr" + }, + { + "__type__": "cc.Node", + "_name": "Layout", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 236 + }, + "_children": [ + { + "__id__": 238 + }, + { + "__id__": 244 + }, + { + "__id__": 250 + }, + { + "__id__": 253 + } + ], + "_active": true, + "_components": [ + { + "__id__": 271 + }, + { + "__id__": 272 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "3c3K9+jxdCzYPdJ3PpkOBv" + }, + { + "__type__": "cc.Node", + "_name": "TopResult", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 237 + }, + "_children": [ + { + "__id__": 239 + } + ], + "_active": true, + "_components": [ + { + "__id__": 242 + }, + { + "__id__": 243 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 220.49999999999997, + "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": "75d39LAKVO8JQAnwtFam8h" + }, + { + "__type__": "cc.Node", + "_name": "score", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 238 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 240 + }, + { + "__id__": 241 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 124.808, + "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": "368xkqM+FKHouK/jFCnXTE" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 239 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 111.23, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0c/ASHrJJM1KppOf/hHUKA" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 239 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "1000", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "91nMs7VpVC7pLfRkNdaaL1" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 238 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 191.21, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "00whOoGExKj732yb1I5maN" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 238 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Top Score:", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "95zLvPLcBD4aRsbls7p01t" + }, + { + "__type__": "cc.Node", + "_name": "Result", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 237 + }, + "_children": [ + { + "__id__": 245 + } + ], + "_active": true, + "_components": [ + { + "__id__": 248 + }, + { + "__id__": 249 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 139.89999999999998, + "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": "6ew+udQbdOTqwqI0E0oxA3" + }, + { + "__type__": "cc.Node", + "_name": "score", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 244 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 246 + }, + { + "__id__": 247 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 124.808, + "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": "fbwkfBlc1BrJoGvzSW1g33" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 245 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 83.42, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "52EZ09u+tCVpXO27epLlid" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 245 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "100", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "faw5IQUSlIZ5Q77A+uw9GS" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 244 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 207.54, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "82jTd4/o5FrIHvIFJFGs0B" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 244 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Your Score:", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "1bH8ygLGdNuYbPdaHXQurN" + }, + { + "__type__": "cc.Node", + "_name": "Information", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 237 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 251 + }, + { + "__id__": 252 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 84.49999999999997, + "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": "65tqJOINpEhbLEZGT4jf6H" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 250 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "38LWMbw9VJRobVztWomWln" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 250 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Do you want to continue playing with your current score?", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 51, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 48.4, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "edfJvV5K9LvrIAGvh5vtDw" + }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 237 + }, + "_children": [ + { + "__id__": 254 + }, + { + "__id__": 262 + } + ], + "_active": true, + "_components": [ + { + "__id__": 270 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -170.70000000000005, + "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": "cb7uJWLfNHdq2sJjpBnqqe" + }, + { + "__type__": "cc.Node", + "_name": "Yes", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 253 + }, + "_children": [ + { + "__id__": 255 + } + ], + "_active": true, + "_components": [ + { + "__id__": 258 + }, + { + "__id__": 259 + }, + { + "__id__": 260 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 200, + "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": "efodguk35MNoLIIaiZCpS1" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 254 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 256 + }, + { + "__id__": 257 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "07xyUeCftIvp8AKBo7JR3C" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 255 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 120.06, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d718cVaWVOFooi4YGL7GSk" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 255 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "YES", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "79l2RrUiBJaI60SVt1w0/5" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 254 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 295.19100000000003, + "height": 119.80555230125523 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ceaf86wpVDYKE7er4F+iCV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 254 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "2605CKTE9GzrXJRelbw1jt" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 254 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 261 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 254 + }, + "_id": "01oME/jVpPtomG3jPDJOzh" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 236 + }, + "component": "", + "_componentId": "d43dbswXsVC/oIw+cObi4Uv", + "handler": "onClickYesButton", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "No", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 253 + }, + "_children": [ + { + "__id__": 263 + } + ], + "_active": true, + "_components": [ + { + "__id__": 266 + }, + { + "__id__": 267 + }, + { + "__id__": 268 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "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": "76LazeK+xKI4WyrXv34Xp8" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 262 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 264 + }, + { + "__id__": 265 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "afaUoVc9BKMo0DfyeQUkbO" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 263 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1bfe91FRtHfInBtWP2FDrI" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 263 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "NO", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "d3JvkwYNVCaJJgBlHit6ea" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 262 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 295.19100000000003, + "height": 119.80555230125523 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "49xU+oMLlMo67eBNDv0Jq3" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 262 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "41MWpu8ZpCcpUEzgw6XD2k" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 262 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 269 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "b32b8e37-0a90-4a56-ad3a-060cb0e83298@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 262 + }, + "_id": "4c/ik/1j5EuJHnw6+3B74e" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 236 + }, + "component": "", + "_componentId": "d43dbswXsVC/oIw+cObi4Uv", + "handler": "onClickNoButton", + "customEventData": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 253 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "332ugc01ZBpaC1HED417vw" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 237 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 491.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a5vBe7kXJCG7Ns3idZ1kfu" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 237 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 30.2, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "664oOzh05L8bb5dBIR2DlB" + }, + { + "__type__": "cc.Node", + "_name": "ConfirmPanel", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 236 + }, + "_children": [ + { + "__id__": 274 + }, + { + "__id__": 277 + } + ], + "_active": false, + "_components": [ + { + "__id__": 295 + }, + { + "__id__": 296 + }, + { + "__id__": 297 + }, + { + "__id__": 298 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "5b4zKhVI5KgYZ6BqUfE1cs" + }, + { + "__type__": "cc.Node", + "_name": "Information", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 273 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 275 + }, + { + "__id__": 276 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 153.422, + "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": "89lddYW5lC0LKO0eiZ0DC2" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 274 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "c6P1ORNbBOC5dqoI9LZGgf" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 274 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "To continue playing, you will be deducted 1 extras. Do you want to proceed?", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 50, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "9c+ZVRT+lHiJhtGUtkpQEn" + }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 273 + }, + "_children": [ + { + "__id__": 278 + }, + { + "__id__": 286 + } + ], + "_active": true, + "_components": [ + { + "__id__": 294 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -170.70000000000005, + "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": "0c0EO2SHhD+qYEvkYWeXVX" + }, + { + "__type__": "cc.Node", + "_name": "Yes", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 277 + }, + "_children": [ + { + "__id__": 279 + } + ], + "_active": true, + "_components": [ + { + "__id__": 282 + }, + { + "__id__": 283 + }, + { + "__id__": 284 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 200, + "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": "6fAeoJTfNKoI6ejkur038e" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 278 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 280 + }, + { + "__id__": 281 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "52G4RM1LdEJoFoXBgo/bbu" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 279 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100.048828125, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "551yn5BlpKO6HObRpm4XSO" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 279 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "YES", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "c4Sc14vnRIrKL8vxqNp+V0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 278 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 295.19100000000003, + "height": 119.80555230125523 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "04JJAIZ59C1bog6e7jFEEE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 278 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_spriteFrame": null, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "90lR9OkRdNDaFkzEw5NZ5p" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 278 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 285 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 278 + }, + "_id": "8eSElI7LlP9bSWCqrmyJfq" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 273 + }, + "component": "", + "_componentId": "09897zz6ZpFdredS9HvFdtE", + "handler": "onClickYesButton", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "No", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 277 + }, + "_children": [ + { + "__id__": 287 + } + ], + "_active": true, + "_components": [ + { + "__id__": 290 + }, + { + "__id__": 291 + }, + { + "__id__": 292 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "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": "2dp1vhu9RJQKhOcpbAJ1+K" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 286 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 288 + }, + { + "__id__": 289 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "38YqMV7etOgKtaUhanmaQK" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 287 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c1HJ0zyzZERJQSFlTiwxEB" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 287 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "NO", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 1, + "_id": "0b3dpokM9PvJ+8bCvH7bT8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 286 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 295.19100000000003, + "height": 119.80555230125523 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "36ADpSxzdBG57zW/Vpp85d" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 286 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_spriteFrame": null, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "5ctO76m+JHs5QAqiVRZ2oN" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 286 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 293 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 286 + }, + "_id": "a35jR4F/NFQ44q0MdJf0wW" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 273 + }, + "component": "", + "_componentId": "09897zz6ZpFdredS9HvFdtE", + "handler": "onClickNoButton", + "customEventData": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 277 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f6Q/DcLNhJTadpmy95Hba3" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 273 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 4000, + "height": 4000 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a6QkHBQjxOSI8xWxX+tLKM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 273 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 2, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "92TyU6PgxFmp+M9Cm6uy2u" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 273 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 40, + "_originalHeight": 36, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "2eZ5UN9idCCYeK7rqX98WF" + }, + { + "__type__": "09897zz6ZpFdredS9HvFdtE", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 273 + }, + "_enabled": true, + "__prefab": { + "__id__": 299 + }, + "ticketWaringText": { + "__id__": 276 + }, + "_id": "c4zuPYYh5CnrdL5RLlSwtf" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71a/1qwCRIoYzRfGOYoVe7" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 236 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 4640, + "height": 4720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "76G/Fv6utI0qz5YuGDoPtZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 236 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 2, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "a1Gd0vtwxLMovpYJFEAFuu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 236 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": -1360, + "_right": -1360, + "_top": -1640, + "_bottom": -1640, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 40, + "_originalHeight": 36, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "d9i+aF9tlCxZpLd6ogmCkO" + }, + { + "__type__": "cc.Node", + "_name": "End Game Controller Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 179 + }, + "_children": [ + { + "__id__": 304 + }, + { + "__id__": 317 + }, + { + "__id__": 324 + }, + { + "__id__": 341 + }, + { + "__id__": 349 + }, + { + "__id__": 357 + } + ], + "_active": false, + "_components": [ + { + "__id__": 360 + }, + { + "__id__": 361 + }, + { + "__id__": 362 + }, + { + "__id__": 363 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "bd2bUYdmlL/KTx4yo/vUcg" + }, + { + "__type__": "cc.Node", + "_name": "Compare Score Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 303 + }, + "_children": [ + { + "__id__": 305 + }, + { + "__id__": 308 + }, + { + "__id__": 311 + } + ], + "_active": false, + "_components": [ + { + "__id__": 314 + }, + { + "__id__": 315 + }, + { + "__id__": 316 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "0dOP8BuOZD7bM+vg1MvFKe" + }, + { + "__type__": "cc.Node", + "_name": "Your score Txt", + "_objFlags": 0, + "_parent": { + "__id__": 304 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 306 + }, + { + "__id__": 307 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 328, + "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": "8cafAfuRVOO6DWTJayyAcO" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 305 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 361.55, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5cYoPWvkhPdoUAXY7cpltd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 305 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Your score:", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "1cnwsfUK9JqIrKUMTE0uYy" + }, + { + "__type__": "cc.Node", + "_name": "Top score Txt", + "_objFlags": 0, + "_parent": { + "__id__": 304 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 309 + }, + { + "__id__": 310 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 220, + "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": "5762InhqNN+bBFEMV7MlMo" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 308 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 332.16, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "098kwVashEkYRbxYOxzwoq" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 308 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Top score:", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "86vn6uyqVNEqNgsUH2G1Qs" + }, + { + "__type__": "cc.Node", + "_name": "Message Txt", + "_objFlags": 0, + "_parent": { + "__id__": 304 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 312 + }, + { + "__id__": 313 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 72, + "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": "66teGKLY1Pz4AZXVYL4LZn" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 311 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1808.96, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "34IM0RnMJLHKJwakz7aGac" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 311 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Do you want to continue playing with your current score?", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "0eNl8T1+1NUoFBrWzkQMJ/" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 304 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d5r7+1fcJDLqRgJnrIQB+Y" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 304 + }, + "_enabled": false, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "06EccaMctKAJUnz53LBd6I" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 304 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 0, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "0eXJjApzpPtqBqIZEEkv5t" + }, + { + "__type__": "cc.Node", + "_name": "Continue Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 303 + }, + "_children": [ + { + "__id__": 318 + } + ], + "_active": false, + "_components": [ + { + "__id__": 321 + }, + { + "__id__": 322 + }, + { + "__id__": 323 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "18H86WCHxFKIRr+gUx1HQJ" + }, + { + "__type__": "cc.Node", + "_name": "Message Txt", + "_objFlags": 0, + "_parent": { + "__id__": 317 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 319 + }, + { + "__id__": 320 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 252, + "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": "7eYcrlqHRBM5LiN7e4yrHZ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 318 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 960, + "height": 234.71999999999997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "94giSuutJEB5MZtxHHLxZo" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 318 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "You don't have enough Extras to continue playing. Wound you like to buy more tickets?", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 3, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "cbkH+q0d5IK5LIRsg+vjwS" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 317 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5a8JNt5oJLDqMt5mJ62tE7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 317 + }, + "_enabled": false, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "2dMERCrYRMq4TdMfLwNTnx" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 317 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 0, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "4d42k1wk5KL7E02DbNnJ+n" + }, + { + "__type__": "cc.Node", + "_name": "Final Result Pnl", + "_objFlags": 0, + "_parent": { + "__id__": 303 + }, + "_children": [ + { + "__id__": 325 + }, + { + "__id__": 328 + }, + { + "__id__": 331 + } + ], + "_active": false, + "_components": [ + { + "__id__": 338 + }, + { + "__id__": 339 + }, + { + "__id__": 340 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "15VZqGjt1I1ojo0Hr1QbRP" + }, + { + "__type__": "cc.Node", + "_name": "End game Txt", + "_objFlags": 0, + "_parent": { + "__id__": 324 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 326 + }, + { + "__id__": 327 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 261.7950000000001, + "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": "61BiQ1P3pKtJg5V4aOXwcD" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 325 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 484.28, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "11l2a/QNVOuLyfwqf7Eu6X" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 325 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Game Ended!!!", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "a8TiOe5x1AOqLufKNyof6K" + }, + { + "__type__": "cc.Node", + "_name": "Score Txt", + "_objFlags": 0, + "_parent": { + "__id__": 324 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 329 + }, + { + "__id__": 330 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -36.24800000000005, + "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": "20qwPHLhlCwLGZoOwk98SP" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 328 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 421.59, + "height": 90.72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "036rCbSIZF17j4I1D2ZqmH" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 328 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Your score: 0", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "c5ctVq/IZBRYYafxlcvM3F" + }, + { + "__type__": "cc.Node", + "_name": "Replay Btn", + "_objFlags": 0, + "_parent": { + "__id__": 324 + }, + "_children": [ + { + "__id__": 332 + } + ], + "_active": true, + "_components": [ + { + "__id__": 335 + }, + { + "__id__": 336 + }, + { + "__id__": 337 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -370.54, + "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": "95ib+G4RpHkKIvzEbII4Tt" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "_parent": { + "__id__": 331 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 333 + }, + { + "__id__": 334 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "adm9G0wu1MR6udPSN7qB+Q" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 332 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 360, + "height": 72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e5yMLv8sVIHaLGDCwvvf4Y" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 332 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "Replay", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 72, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "844hQ5srhJJLDnir08n0+O" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 331 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 480, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e8dh52iT5GR4PZYFyJbeqR" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 331 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "b6Bu4yhvJHr7LfXDxhOo4N" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 331 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 331 + }, + "_id": "aa/Iejl0BKXLdeZhgoxNvW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 324 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "caDkMEVqNFdoPhDxWJsl3u" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 324 + }, + "_enabled": false, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "cbSdglE6FApr4GmfK6vgqG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 324 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 0, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "38CginupZAVYJNKWO+Mrhn" + }, + { + "__type__": "cc.Node", + "_name": "Yes Btn", + "_objFlags": 0, + "_parent": { + "__id__": 303 + }, + "_children": [ + { + "__id__": 342 + } + ], + "_active": true, + "_components": [ + { + "__id__": 345 + }, + { + "__id__": 346 + }, + { + "__id__": 347 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 300, + "y": -280, + "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": "a8yAu2LhtOVq1J27Ath76+" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "_parent": { + "__id__": 341 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 343 + }, + { + "__id__": 344 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "bc4RsP5LtKlq2UByN83mm4" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 342 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 240.1, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "aeMFs4zD1LzqrUuHPsVqbL" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 342 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "Yes", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 120, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "8bG2UY9s5GhZ9GJLbrNYYr" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 341 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 380, + "height": 110 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "bbeHzyVrZH5IyrLd4wk4tk" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 341 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "dbgUh22nNKyZB8tF6kW3JW" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 341 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 348 + } + ], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 341 + }, + "_id": "92fB2X3F5G9pVodbLlJyeh" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 303 + }, + "component": "", + "_componentId": "27b91WVyaFD2pEJcWsN17bu", + "handler": "YesNoClick", + "customEventData": "true" + }, + { + "__type__": "cc.Node", + "_name": "No Btn", + "_objFlags": 0, + "_parent": { + "__id__": 303 + }, + "_children": [ + { + "__id__": 350 + } + ], + "_active": true, + "_components": [ + { + "__id__": 353 + }, + { + "__id__": 354 + }, + { + "__id__": 355 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -300, + "y": -280, + "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": "53faCTBe1Kuqf7vMIbkC5K" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "_parent": { + "__id__": 349 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 351 + }, + { + "__id__": 352 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "80J9k8OI1I6pVWx5MqmHCq" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 350 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 240.1, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0eNYKSEeBNuoNGNjPVHHEU" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 350 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "No", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 120, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "b08MxT2dVNhpCosIH0E40K" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 349 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 380, + "height": 110 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "53B+YJQmVN8IUIRFsY3I7I" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 349 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "9fX5iZkrRB3axuFk1Ahkzf" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 349 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 356 + } + ], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 349 + }, + "_id": "55FoeitGFOFZP/S/zLW2EK" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 303 + }, + "component": "", + "_componentId": "27b91WVyaFD2pEJcWsN17bu", + "handler": "YesNoClick", + "customEventData": "false" + }, + { + "__type__": "cc.Node", + "_name": "Countdown Txt", + "_objFlags": 0, + "_parent": { + "__id__": 303 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 358 + }, + { + "__id__": 359 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -100, + "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": "10EDO/Ba1Lsp9KYUFF9k6C" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 357 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 152.12, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "89DuZyjBNIO6mBwWXoMJMy" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 357 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "label", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 72, + "_fontSize": 72, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "dasMbshHZPvL8jTbdmElQV" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 303 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "2eMwC9YvNHrr4rHwzZO4tl" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 303 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ebc7ce3b-e6fd-4be1-a6a3-c54ff2e5db87@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "f88jqZPztBbZh4r8p8t3+S" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 303 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 40, + "_originalHeight": 36, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "4baGreh9JKfbyfMnelHnQp" + }, + { + "__type__": "27b91WVyaFD2pEJcWsN17bu", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 303 + }, + "_enabled": true, + "__prefab": null, + "countdownTime": 15, + "yourScoreTxt": { + "__id__": 307 + }, + "topScoreTxt": { + "__id__": 310 + }, + "continueTxt": { + "__id__": 320 + }, + "countdownToReplayTxt": { + "__id__": 359 + }, + "yesBtn": { + "__id__": 347 + }, + "noBtn": { + "__id__": 355 + }, + "compareScorePnl": { + "__id__": 304 + }, + "continuePnl": { + "__id__": 317 + }, + "finalResultPnl": { + "__id__": 324 + }, + "_id": "916BqoykVOnI1q8LFCQt6j" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 179 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "99GP3eiSpEM6S4vjuQtmWq" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 179 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 1920, + "_originalHeight": 1440, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "a3FLJxYgVHmLiP0mqiJoGI" + }, + { + "__type__": "f8855evE65FJqQjblRwLsAO", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "maxLevel": 5, + "currentLevel": 0, + "levelObstacles": [ + { + "__id__": 147 + }, + { + "__id__": 155 + }, + { + "__id__": 163 + } + ], + "levelBalls": [ + 10, + 10, + 10, + 10, + 5 + ], + "scoreToLevelUp": [ + 3, + 5, + 7, + 10 + ], + "_id": "98AquMwJ5PwLegbddxrKoz" + }, + { + "__type__": "cc.Node", + "_name": "Sound Manager", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 368 + }, + { + "__id__": 369 + }, + { + "__id__": 370 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "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": "52xiwgBDBPBIf4VKokx3u6" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 367 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "26qaqthNJFdKX77spO+0No" + }, + { + "__type__": "cc.AudioSource", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 367 + }, + "_enabled": true, + "__prefab": null, + "_clip": null, + "_loop": false, + "_playOnAwake": true, + "_volume": 1, + "_id": "ccgEH1nyBEOahD5nZJt0El" + }, + { + "__type__": "f4bdcXir9VDB4cA2jAmIE/p", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 367 + }, + "_enabled": true, + "__prefab": null, + "audioSource": { + "__id__": 369 + }, + "hitGround": { + "__uuid__": "6a432293-3852-4267-be19-c671f36fe9f0", + "__expectedType__": "cc.AudioClip" + }, + "hitPlayer": { + "__uuid__": "97c8a166-c717-41bd-837f-bd1733e2ee1c", + "__expectedType__": "cc.AudioClip" + }, + "goal": { + "__uuid__": "b8e26fea-3d75-4254-8fe6-4a57c40d6121", + "__expectedType__": "cc.AudioClip" + }, + "menuTap": { + "__uuid__": "5318386a-c072-4982-b604-d79513736912", + "__expectedType__": "cc.AudioClip" + }, + "sfxGoal": { + "__uuid__": "d93b45ca-fea1-4d38-b460-170b6b65ae08", + "__expectedType__": "cc.AudioClip" + }, + "whistle": { + "__uuid__": "6452248b-259c-4844-b0e1-70f47d69955e", + "__expectedType__": "cc.AudioClip" + }, + "_id": "e3KUx5iAZIibqNrcbp3DUj" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 1440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d6rUX5yfhMlKoWX2bSbawx" + }, + { + "__type__": "cc.Canvas", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_cameraComponent": { + "__id__": 4 + }, + "_alignCanvasWithScreen": true, + "_id": "12O/ljcVlEqLmVm3U2gEOQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 5.684341886080802e-14, + "_right": 5.684341886080802e-14, + "_top": 5.684341886080802e-14, + "_bottom": 5.684341886080802e-14, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "c5V1EV8IpMtrIvY1OE9t2u" + }, + { + "__type__": "cc.PrefabInfo", + "root": null, + "asset": null, + "fileId": "4c16bf85-f009-4abe-b793-f3a1924392e4", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 81 + }, + { + "__id__": 147 + }, + { + "__id__": 155 + }, + { + "__id__": 163 + } + ] + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 376 + }, + "shadows": { + "__id__": 377 + }, + "_skybox": { + "__id__": 378 + }, + "fog": { + "__id__": 379 + }, + "octree": { + "__id__": 380 + }, + "lightProbeInfo": { + "__id__": 381 + }, + "bakedWithStationaryMainLight": false, + "bakedWithHighpLightmap": false + }, + { + "__type__": "cc.AmbientInfo", + "_skyColorHDR": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0.520833125 + }, + "_skyColor": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0.520833125 + }, + "_skyIllumHDR": 20000, + "_skyIllum": 20000, + "_groundAlbedoHDR": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_groundAlbedo": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_skyColorLDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 1 + }, + "_skyIllumLDR": 20000, + "_groundAlbedoLDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + } + }, + { + "__type__": "cc.ShadowsInfo", + "_enabled": false, + "_type": 0, + "_normal": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 0 + }, + "_distance": 0, + "_shadowColor": { + "__type__": "cc.Color", + "r": 76, + "g": 76, + "b": 76, + "a": 255 + }, + "_maxReceived": 4, + "_size": { + "__type__": "cc.Vec2", + "x": 512, + "y": 512 + } + }, + { + "__type__": "cc.SkyboxInfo", + "_envLightingType": 0, + "_envmapHDR": null, + "_envmap": null, + "_envmapLDR": null, + "_diffuseMapHDR": null, + "_diffuseMapLDR": null, + "_enabled": false, + "_useHDR": true, + "_editableMaterial": null, + "_reflectionHDR": null, + "_reflectionLDR": null, + "_rotationAngle": 0 + }, + { + "__type__": "cc.FogInfo", + "_type": 0, + "_fogColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_enabled": false, + "_fogDensity": 0.3, + "_fogStart": 0.5, + "_fogEnd": 300, + "_fogAtten": 5, + "_fogTop": 1.5, + "_fogRange": 1.2, + "_accurate": false + }, + { + "__type__": "cc.OctreeInfo", + "_enabled": false, + "_minPos": { + "__type__": "cc.Vec3", + "x": -1024, + "y": -1024, + "z": -1024 + }, + "_maxPos": { + "__type__": "cc.Vec3", + "x": 1024, + "y": 1024, + "z": 1024 + }, + "_depth": 8 + }, + { + "__type__": "cc.LightProbeInfo", + "_giScale": 1, + "_giSamples": 1024, + "_bounces": 2, + "_reduceRinging": 0, + "_showProbe": true, + "_showWireframe": true, + "_showConvex": false, + "_data": null + } +] \ No newline at end of file diff --git a/assets/Scenes/TestScene.scene.meta b/assets/Scenes/TestScene.scene.meta new file mode 100644 index 0000000..8998d16 --- /dev/null +++ b/assets/Scenes/TestScene.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.43", + "importer": "scene", + "imported": true, + "uuid": "4c16bf85-f009-4abe-b793-f3a1924392e4", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts.meta b/assets/Scripts.meta new file mode 100644 index 0000000..d10a95c --- /dev/null +++ b/assets/Scripts.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "8008f10e-fa35-4d25-84e2-e3f6ab2b470f", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Scripts/BEConnector.ts b/assets/Scripts/BEConnector.ts new file mode 100644 index 0000000..c606a6f --- /dev/null +++ b/assets/Scripts/BEConnector.ts @@ -0,0 +1,190 @@ +import { _decorator } from 'cc'; +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; + + private token: string; + private skinId: string; + private tournamentId: string; + private key: string; + private deviceInfo: string; + + // Ticket infors + public numberTicket: number; + public maxScore: number; + private mileStone: string; + + private gameURL: string = ""; + + public static get instance() { + if (null == this._instance) { + this._instance = new BEConnector(); + } + return this._instance; + } + + constructor() { + this.getGameData(); + } + + 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.numberTicket = parseInt(url.get('numberTicket')); + this.maxScore = parseInt(url.get('maxScore')); + 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}`) + .then((response) => { + if (response.ok) { + return response.json(); + } + }) + .then(data => { + if (data.ResultCode == 1) { + this.key = data.Data.Key; + console.log("authen success", this.key); + } + else { + throw new Error(""); + } + }) + .catch(err => console.log("authen failed")); + } + + 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', + 'Content-Type': 'application/json', + 'x-access-refactor-token': this.token, + }, + method: "POST", + body: JSON.stringify({ data: dataEncrypted }) + }) + .then(() => { + this.numberTicket -= numberTicket; + }) + } + + public calculatingTicketToContinue(scoreRange: object, yourScore: number) { + let closestMilestone: number = 0; + for (const milestone in scoreRange) { + if (parseInt(milestone) <= yourScore) { + closestMilestone = scoreRange[milestone]; + } + } + if (!closestMilestone) { + const minValue = Math.min(...Object.values(scoreRange)); + closestMilestone = minValue; + } + return closestMilestone + } + + public async checkGameScoreTicket() { + let totalScore: number = GameplayController.Instance().score; + 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', + 'Content-Type': 'application/json', + 'x-access-refactor-token': this.token, + }, + method: "POST", + body: JSON.stringify({ data: dataEncrypted }) + }) + } + + public postMessage() { + let totalScore: number = GameplayController.Instance().score; + // window.parent.postMessage( + // JSON.stringify({ + // error: false, + // message: "Hello World", + // score: totalScore, + // type: "paypal_modal", + // }), + // "*" + // ); + setTimeout(() => { + 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 }); + + 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 }) + + + }) + .catch(err => console.log(err)); + console.log("send score to server: " + score); + + window.parent.postMessage( + JSON.stringify({ + error: false, + message: "Hello World", + score: score, + type: "game_tournament", + }), + "*" + ); + } + + private getDataEncrypted(data: any): string { + return CryptoESDefault.AES.encrypt(JSON.stringify(data), this.key, { + iv: CryptoESDefault.enc.Utf8.parse('16'), + mode: CryptoESDefault.mode.CBC, + padding: CryptoESDefault.pad.Pkcs7 + }).toString(); + } + + public getTicketCanBeMinus() { + let mileStone = JSON.parse(this.mileStone); + let currentScore = GameplayController.Instance().score; + let total = this.calculatingTicketToContinue(mileStone, currentScore); + return total; + } + + 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" +} + diff --git a/assets/Scripts/BEConnector.ts.meta b/assets/Scripts/BEConnector.ts.meta new file mode 100644 index 0000000..9a2b39e --- /dev/null +++ b/assets/Scripts/BEConnector.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "28d9c88b-9c32-4adf-96e3-00872db954da", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Ball.ts b/assets/Scripts/Ball.ts new file mode 100644 index 0000000..4d8c369 --- /dev/null +++ b/assets/Scripts/Ball.ts @@ -0,0 +1,66 @@ +import { _decorator, CCFloat, Collider, Collider2D, Component, Contact2DType, director, EventTarget, IPhysics2DContact, ParticleSystem, RigidBody2D, Vec2, } from 'cc'; +import { GameplayController } from './GameplayController'; +import { SoundManager } from './SoundManager'; +const { ccclass, property } = _decorator; + +@ccclass('Ball') +export class Ball extends Component { + @property({ visible: true, type: CCFloat }) + public maxSpeed: number; + @property({ visible: true, type: RigidBody2D }) + public rigidbody: RigidBody2D; + @property(Collider2D) + public collider: Collider2D; + public isActive: boolean; + + public eventHitObstacle = new EventTarget(); + public eventGoal = new EventTarget(); + + protected start(): 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); + // } + } + + private onBeginContact(selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) { + // Hit boundary + if (otherCollider.tag == 1) { + this.node.active = false; + // GameplayController.Instance().SpawnBallInTime(1); + GameplayController.Instance().LoseStreak(); + SoundManager.Instance().PlayOneShot(SoundManager.Instance().hitGround); + return; + } + + // Hit goal + if (otherCollider.tag == 2) { + this.node.active = false; + GameplayController.Instance().AddScore(1); + // GameplayController.Instance().SpawnBallInTime(1); + SoundManager.Instance().PlayOneShot(SoundManager.Instance().goal); + + this.eventGoal.emit("Goal"); + + return; + } + + // Hit obstacle + if (otherCollider.tag == 3) { + this.eventHitObstacle.emit("HitObstacle", otherCollider.node); + return; + } + + SoundManager.Instance().PlayOneShot(SoundManager.Instance().hitPlayer); + } + + private onEndContact(selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) { + // console.log(otherCollider.tag, otherCollider.node.name); + } +} \ No newline at end of file diff --git a/assets/Scripts/Ball.ts.meta b/assets/Scripts/Ball.ts.meta new file mode 100644 index 0000000..ab6f347 --- /dev/null +++ b/assets/Scripts/Ball.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "cad12704-b9b0-485d-bd8d-bef0a89f919e", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/EndGameUIController.ts b/assets/Scripts/EndGameUIController.ts new file mode 100644 index 0000000..92f7647 --- /dev/null +++ b/assets/Scripts/EndGameUIController.ts @@ -0,0 +1,148 @@ +import { _decorator, bezier, Button, CCInteger, Component, EventTarget, Label, log, Node, EventTouch } from 'cc'; +import { GameplayController } from './GameplayController'; +import BEConnector from './BEConnector'; +const { ccclass, property } = _decorator; + +export enum PanelState { + NotShowing, + CompareScore, + Continue, + ShowResult +} +@ccclass('EndGameUIController') +export class EndGameUIController extends Component { + @property(CCInteger) + private countdownTime: number = 15; + private currentCD: number = 15; + + private isContinuable: boolean = true; + private isEndGameByTime: boolean = false; + private currentState: PanelState = PanelState.NotShowing; + + // Texts + @property(Label) + private yourScoreTxt: Label = null; + @property(Label) + private topScoreTxt: Label = null; + @property(Label) + private continueTxt: Label = null; + @property(Label) + private countdownToReplayTxt: Label = null; + + // Buttons + @property(Button) + private yesBtn: Label = null; + @property(Button) + private noBtn: Label = null; + + // Panel + @property(Node) + private compareScorePnl: Node = null; + @property(Node) + private continuePnl: Node = null; + @property(Node) + private finalResultPnl: Node = null; + + private eventRevive = new EventTarget(); + + //#region Cocos methods + protected onEnable(): void { + this.Setup(); + this.currentCD = this.countdownTime; + } + protected update(dt: number): void { + if (this.isEndGameByTime == true) return; + + this.currentCD -= dt; + this.countdownToReplayTxt.string = Math.round(this.currentCD).toString(); + + if (this.currentCD <= 0 && !this.isEndGameByTime) { + this.currentCD = 0; + this.ChangeState(PanelState.ShowResult); + this.isEndGameByTime = true; + } + } + //#endregion + + private Setup(): void { + if (this.isContinuable) + this.ChangeState(PanelState.CompareScore); + else + this.ChangeState(PanelState.ShowResult); + } + + private ChangeState(newState: PanelState): void { + if (this.currentState == newState) return; + + this.currentState = newState; + switch (this.currentState) { + case PanelState.CompareScore: + this.TurnOffAllPanels(this.compareScorePnl); + var totalScore = GameplayController.Instance().score + GameplayController.Instance().highestStreak * 2; + this.yourScoreTxt.string = "Your score: " + totalScore; + + /// Todo: set top score here + break; + case PanelState.Continue: + this.TurnOffAllPanels(this.continuePnl); + 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 = + "You don't have enough Extras to continue playing. Would you like to buy more tickets?"; + } + break; + case PanelState.ShowResult: + this.yesBtn.node.active = false; + this.noBtn.node.active = false; + this.countdownToReplayTxt.node.active = false; + + this.TurnOffAllPanels(this.finalResultPnl); + BEConnector.instance.postScoreToServer(GameplayController.Instance().score); + break; + } + } + private TurnOffAllPanels(activePnl: Node): void { + this.compareScorePnl.active = false; + this.continuePnl.active = false; + this.finalResultPnl.active = false; + if (activePnl != null) + activePnl.active = true; + } + + public YesNoClick(e: EventTouch, yesNoString: string): void { + var 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); + break; + case PanelState.Continue: + if (isYesClick) { + var ticket = BEConnector.instance.getTicketCanBeMinus(); + if (BEConnector.instance.numberTicket >= ticket) { + GameplayController.Instance().OnRevive(); + BEConnector.instance.ticketMinus("revive"); + this.isContinuable = false; + } + else + BEConnector.instance.postMessage(); + } + else { + this.ChangeState(PanelState.CompareScore); + } + break; + } + } + +} \ No newline at end of file diff --git a/assets/Scripts/EndGameUIController.ts.meta b/assets/Scripts/EndGameUIController.ts.meta new file mode 100644 index 0000000..41d5767 --- /dev/null +++ b/assets/Scripts/EndGameUIController.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "27b91595-c9a1-43da-9109-716b0dd7b6ee", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Enums.ts b/assets/Scripts/Enums.ts new file mode 100644 index 0000000..43a7362 --- /dev/null +++ b/assets/Scripts/Enums.ts @@ -0,0 +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 diff --git a/assets/Scripts/Enums.ts.meta b/assets/Scripts/Enums.ts.meta new file mode 100644 index 0000000..0e2f789 --- /dev/null +++ b/assets/Scripts/Enums.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "ed2d5377-8be4-48b3-87bd-af395745c81d", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Flipper.ts b/assets/Scripts/Flipper.ts new file mode 100644 index 0000000..eb65c43 --- /dev/null +++ b/assets/Scripts/Flipper.ts @@ -0,0 +1,21 @@ +import { _decorator, Component, HingeJoint2D, Node, input, Input, EventMouse, CCFloat } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('Flipper') +export class Flipper extends Component { + @property({ visible: true, type: HingeJoint2D }) + public _hingeJoint: HingeJoint2D; + @property({ visible: true, type: CCFloat }) + public _motorSpeedActive: number; + @property({ visible: true, type: CCFloat }) + public _motorSpeedDeActive: number; + + public ActiveFlipper(): void { + this._hingeJoint.motorSpeed = this._motorSpeedActive; + } + public DeActiveFlipper(): void { + this._hingeJoint.motorSpeed = this._motorSpeedDeActive; + } +} + + diff --git a/assets/Scripts/Flipper.ts.meta b/assets/Scripts/Flipper.ts.meta new file mode 100644 index 0000000..eba56d9 --- /dev/null +++ b/assets/Scripts/Flipper.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "c3f2b353-5fa6-4517-93b8-9ec8c8ff0006", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/FlipperController.ts b/assets/Scripts/FlipperController.ts new file mode 100644 index 0000000..ce249c4 --- /dev/null +++ b/assets/Scripts/FlipperController.ts @@ -0,0 +1,74 @@ +import { _decorator, Component, EventKeyboard, EventMouse, EventTouch, Input, input, KeyCode, log, Node, view } from 'cc'; +import { Flipper } from './Flipper'; +const { ccclass, property } = _decorator; + +@ccclass('FlipperController') +export class FlipperController extends Component { + @property(Flipper) + public lFlipper: Flipper; + @property(Flipper) + public rFlipper: Flipper; + + protected onLoad(): void { + // Mouse input + // input.on(Input.EventType.MOUSE_DOWN, this.HandleFlipperActive, this); + // input.on(Input.EventType.MOUSE_UP, this.HandleFlipperDeActive, this); + + // Keyboard + input.on(Input.EventType.KEY_DOWN, this.OnKeyDown, this); + input.on(Input.EventType.KEY_UP, this.OnKeyUp, this); + + // Touch + input.on(Input.EventType.TOUCH_START, this.HandleFlipperActiveTouch, this); + input.on(Input.EventType.TOUCH_END, this.HandleFlipperDeActiveTouch, this); + } + //#region Handle mouse/touch input + private HandleFlipperActive(params: EventMouse): void { + if (params.getLocationX() > screen.width / 2) + this.rFlipper.ActiveFlipper(); + else this.lFlipper.ActiveFlipper(); + } + private HandleFlipperDeActive(params: EventMouse): void { + this.rFlipper.DeActiveFlipper(); + this.lFlipper.DeActiveFlipper(); + } + private HandleFlipperActiveTouch(params: EventTouch): void { + if (params.getLocationX() > view.getFrameSize().x) { + console.log("right"); + this.rFlipper.ActiveFlipper(); + } + + else { + console.log("left"); + this.lFlipper.ActiveFlipper(); + } + } + private HandleFlipperDeActiveTouch(params: EventTouch): void { + this.rFlipper.DeActiveFlipper(); + this.lFlipper.DeActiveFlipper(); + } + //#endregion + + private OnKeyDown(event: EventKeyboard) { + switch (event.keyCode) { + case KeyCode.KEY_A: + this.lFlipper.ActiveFlipper(); + break; + case KeyCode.KEY_D: + this.rFlipper.ActiveFlipper(); + break; + } + } + private OnKeyUp(event: EventKeyboard) { + switch (event.keyCode) { + case KeyCode.KEY_A: + this.lFlipper.DeActiveFlipper(); + break; + case KeyCode.KEY_D: + this.rFlipper.DeActiveFlipper(); + break; + } + } +} + + diff --git a/assets/Scripts/FlipperController.ts.meta b/assets/Scripts/FlipperController.ts.meta new file mode 100644 index 0000000..cb27352 --- /dev/null +++ b/assets/Scripts/FlipperController.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "e458ed52-5d28-471b-aae5-0916cb2cc344", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/GameplayController.ts b/assets/Scripts/GameplayController.ts new file mode 100644 index 0000000..8c899be --- /dev/null +++ b/assets/Scripts/GameplayController.ts @@ -0,0 +1,226 @@ +import { _decorator, CCInteger, Component, Enum, EventTarget, instantiate, Node, ParticleSystem2D, Prefab, randomRange, 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'; +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(); + } +}) +export enum GameState { + MainMenu, + StartGame, + PlayGame, + EndGame +} +@ccclass('GameplayController') +export class GameplayController extends Component { + //#region Singleton + private static instance: GameplayController; + public static Instance(): GameplayController { + if (!GameplayController.instance) { + GameplayController.instance = new Node().addComponent(GameplayController); + } + + return GameplayController.instance; + } + protected onLoad(): void { + GameplayController.instance = this; + } + //#endregion + //#region Properties + @property(Prefab) + private ballPrefab: Prefab; + @property([Vec2]) + private startPositions: Vec2[] = []; + @property({ readonly: true, type: Node }) + private controllingBall: Node = null; + @property(UIController) + public uiController: UIController = null; + @property(LevelController) + private levelController: LevelController = null; + + @property({ readonly: true, type: CCInteger }) + public score: number = 0; + @property({ readonly: true, type: CCInteger }) + private streak: number = 0; + @property({ readonly: true, type: CCInteger }) + public highestStreak: number = 0; + // @property({ readonly: true, type: CCInteger }) + @property(CCInteger) + private ball: number = 10; + @property(CCInteger) + private scoreToSpawnObstacle: number = 5; + + @property({ type: Enum(GameState) }) + public currentGameState: GameState = GameState.MainMenu; + + @property(ParticleSystem2D) + public particle: ParticleSystem2D = null; + + @property(CCInteger) + public startGameCountDown: number = 3; + //#endregion + + public eventMenuGame = new EventTarget(); + + public eventStartGame = new EventTarget(); + public eventPlayGame = new EventTarget(); + public eventEndGame = new EventTarget(); + + public eventSpawnObstacle = new EventTarget(); + + public eventUpdateScore = new EventTarget(); + public eventUpdateStreak = new EventTarget(); + public eventUpdateHighestStreak = new EventTarget(); + public eventUpdateBall = new EventTarget(); + + protected start(): void { + BEConnector.instance.authenticate(); + this.ChangeGameState(GameState.MainMenu); + + } + + private SpawnBall(): void { + if (this.currentGameState == GameState.EndGame) return; + + if (this.controllingBall == null) { + this.controllingBall = instantiate(this.ballPrefab); + this.controllingBall.parent = this.node; + + 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); + return; + } else { + this.controllingBall.getComponent(RigidBody2D).linearVelocity = Vec2.ZERO; + 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; + } + SoundManager.Instance().PlayOneShot(SoundManager.Instance().whistle); + } + public SpawnBallInTime(time: number): void { + if (this.ball <= 0) return; + if (this.currentGameState == GameState.EndGame) return; + //this.unscheduleAllCallbacks(); + console.log(this.currentGameState.toString()); + + this.scheduleOnce(() => { + this.SpawnBall(); + }, time); + this.SetupObstacle(); + } + //#region Events + public AddScore(score: number): void { + this.score += score; + this.streak++; + this.eventUpdateStreak.emit(EventType.UpdateStreak, this.streak); + this.ball--; + + if (this.streak > 2) { + let addBall = this.streak - 2; + this.ball += addBall; + } + + if (this.highestStreak < this.streak) { + this.highestStreak = this.streak; + this.eventUpdateHighestStreak.emit(EventType.UpdateHighestStreak, this.highestStreak); + } + this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); + + this.eventUpdateScore.emit(EventType.UpdateScore, this.score); + + SoundManager.Instance().PlayOneShot(SoundManager.Instance().sfxGoal); + + if (this.ball <= 0) + this.ChangeGameState(GameState.EndGame); + else this.SpawnBallInTime(1); + } + public LoseStreak(): void { + this.streak = 0; + this.eventUpdateStreak.emit(EventType.UpdateStreak, this.streak); + this.ball--; + this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); + if (this.ball <= 0) + this.ChangeGameState(GameState.EndGame); + else this.SpawnBallInTime(1); + + } + public ChangeGameState(newState: GameState): void { + if (this.currentGameState == newState) return; + + this.currentGameState = newState; + this.StateChangeHandle(); + } + private StateChangeHandle(): void { + switch (this.currentGameState) { + case GameState.MainMenu: + this.eventMenuGame.emit(EventType.MainMenu); + + break; + case GameState.StartGame: + + this.eventStartGame.emit(EventType.StartGame); + this.SpawnBallInTime(this.startGameCountDown); + this.levelController.LevelUp(); + BEConnector.instance.ticketMinus("auth"); + + break; + case GameState.PlayGame: + this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); + this.eventPlayGame.emit(EventType.PlayGame); + break; + case GameState.EndGame: + this.eventEndGame.emit(EventType.EndGame); + BEConnector.instance.postScoreToServer(this.score); + break; + } + } + + public SetBall(ball: number): void { + this.ball = ball; + this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); + } + //#endregion + + + private SetupObstacle(): void { + if (this.score < this.scoreToSpawnObstacle + 2) + return; + this.eventSpawnObstacle.emit("SpawnObstacle"); + // this.harderObstacle.active = true; + } + private ObstacleHitControl(node: Node): void { + node.active = false; + this.scheduleOnce(function () { + node.active = true; + }, 3); + } + private GoalControl(): void { + this.particle.node.setPosition(this.controllingBall.position); + this.particle.resetSystem(); + } + + public OnRevive(): void { + this.uiController.ShutEndPnl(); + this.ball += 5; + this.eventUpdateBall.emit(EventType.UpdateBall, this.ball); + this.SpawnBallInTime(1); + } +} \ No newline at end of file diff --git a/assets/Scripts/GameplayController.ts.meta b/assets/Scripts/GameplayController.ts.meta new file mode 100644 index 0000000..52edfb4 --- /dev/null +++ b/assets/Scripts/GameplayController.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "b343e78a-054d-4d1a-89b7-a80ea1ae6ef2", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/LevelController.ts b/assets/Scripts/LevelController.ts new file mode 100644 index 0000000..008fd8c --- /dev/null +++ b/assets/Scripts/LevelController.ts @@ -0,0 +1,96 @@ +import { _decorator, CCInteger, Component, Node, randomRangeInt } from 'cc'; +import { GameplayController } from './GameplayController'; +import { EventType } from './Enums'; +const { ccclass, property } = _decorator; + +@ccclass('LevelController') +export class LevelController extends Component { + @property(CCInteger) + private maxLevel: number = 5; + @property({ type: CCInteger, readonly: true }) + private currentLevel: number = 0; + @property([Node]) + private levelObstacles: Node[] = []; + @property([CCInteger]) + private levelBalls: number[] = []; + @property([CCInteger]) + private scoreToLevelUp: number[] = []; + + private isLeveledUp: boolean = false; + protected start(): void { + this.maxLevel=5; + GameplayController.Instance().eventUpdateScore.on(EventType.UpdateScore, this.HandleLevelUp, this); + } + + public HandleLevelUp(score: number): void { + for (let i = this.scoreToLevelUp.length - 1; i >= 0; i--) { + if (score == this.scoreToLevelUp[i] && !this.isLeveledUp) { + this.LevelUp(); + this.isLeveledUp = true; + } + } + if (this.currentLevel >= this.maxLevel) { + console.log("Current level is: " + this.currentLevel + " while max level is: " + this.maxLevel); + + } + + this.scoreToLevelUp.forEach(scoreCheck => { + if (score == scoreCheck) return; + this.isLeveledUp = false; + }); + } + public LevelUp(): void { + if (this.currentLevel >= this.maxLevel) return; + + this.currentLevel++; + + GameplayController.Instance().SetBall(this.levelBalls[this.currentLevel - 1]); + + this.ObstacleControl(); + + GameplayController.Instance().uiController.currentLevelTxt.string = "Level: " + this.currentLevel; + } + public GetCurrentLevel(): number { + return this.currentLevel; + } + + private ObstacleControl(): void { + switch (this.currentLevel) { + case 1: + this.levelObstacles.forEach(obstacle => { + obstacle.active = false; + }); + break; + case 2: + this.levelObstacles.forEach(obstacle => { + obstacle.active = false; + }); + this.levelObstacles[0].active = true; + break; + case 3: + this.levelObstacles.forEach(obstacle => { + obstacle.active = false; + }); + this.levelObstacles[1].active = true; + break; + case 4: + this.levelObstacles.forEach(obstacle => { + obstacle.active = false; + }); + this.levelObstacles[2].active = true; + break; + case 5: + this.RandomSetObstacle(); + break; + } + } + private RandomSetObstacle(): void { + setTimeout(() => { + let random = randomRangeInt(0, this.levelObstacles.length); + this.levelObstacles.forEach(element => { + element.active = false; + }); + this.levelObstacles[random].active = true; + }, 200); + } +} \ No newline at end of file diff --git a/assets/Scripts/LevelController.ts.meta b/assets/Scripts/LevelController.ts.meta new file mode 100644 index 0000000..c3be5d2 --- /dev/null +++ b/assets/Scripts/LevelController.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "f88557af-13ae-4526-a423-6e54702ec00e", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/ObstacleController.ts b/assets/Scripts/ObstacleController.ts new file mode 100644 index 0000000..4e23684 --- /dev/null +++ b/assets/Scripts/ObstacleController.ts @@ -0,0 +1,31 @@ +import { _decorator, CCFloat, Component, log, Node, randomRange, Tween, tween, Vec2, Vec3 } from 'cc'; +const { ccclass, property, float } = _decorator; + +@ccclass('ObstacleController') +export class ObstacleController extends Component { + @property(Node) + private target: Node; + @property([Node]) + private waypoints: Node[] = []; + @property(CCFloat) + private speed: number = 0; + + protected start() { + //if (this.target !== null) + this.target.setPosition(this.waypoints[this.waypoints.length - 1].position); + + this.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) + } + // tweenPath.union().repeat(10) + tweenPath.union().repeatForever() + tweenPath.start(); + } +} \ No newline at end of file diff --git a/assets/Scripts/ObstacleController.ts.meta b/assets/Scripts/ObstacleController.ts.meta new file mode 100644 index 0000000..bdf15d0 --- /dev/null +++ b/assets/Scripts/ObstacleController.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "2fd1fad8-05e9-4615-a7b0-fd8bc8acf50f", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Obstacles.meta b/assets/Scripts/Obstacles.meta new file mode 100644 index 0000000..750d5f3 --- /dev/null +++ b/assets/Scripts/Obstacles.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "892a9e6d-ef47-4bf6-94bb-c2f393500fdf", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Scripts/Obstacles/ObstacleBehaviour.ts b/assets/Scripts/Obstacles/ObstacleBehaviour.ts new file mode 100644 index 0000000..a00806f --- /dev/null +++ b/assets/Scripts/Obstacles/ObstacleBehaviour.ts @@ -0,0 +1,41 @@ +import { _decorator, CCFloat, Component, Node, randomRangeInt, tween, Vec3 } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('ObstacleBehaviour') +export class ObstacleBehaviour extends Component { + @property([Node]) + private targets: Node[] = []; + @property([Node]) + private waypoints: Node[] = []; + @property(CCFloat) + private speed: number = 0; + @property({ type: Node, readonly: true }) + private selectedObstacle: Node = null; + + protected onEnable() { + if (this.targets == null || this.targets.length <= 0) return; + + let randomInt = randomRangeInt(0, this.targets.length); + this.selectedObstacle = this.targets[randomInt]; + this.waypoints.forEach(element => { + element.setPosition(element.position.x, this.selectedObstacle.position.y, element.position.z); + }); + this.selectedObstacle.setPosition(this.waypoints[this.waypoints.length - 1].position); + + this.followPath(this.selectedObstacle); + } + + private followPath(target: Node) { + const tweenPath = tween(target); + + for (let i = 0; i < this.waypoints.length; i++) { + + let a = tween(target).to(this.speed, { position: this.waypoints[i].getPosition() }) + tweenPath.then(a) + } + // tweenPath.union().repeat(10) + tweenPath.union().repeatForever() + tweenPath.start(); + } +} + diff --git a/assets/Scripts/Obstacles/ObstacleBehaviour.ts.meta b/assets/Scripts/Obstacles/ObstacleBehaviour.ts.meta new file mode 100644 index 0000000..57e9ae0 --- /dev/null +++ b/assets/Scripts/Obstacles/ObstacleBehaviour.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "c8e70e72-0099-4110-a714-83f832b7fc49", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Obstacles/ObstaclesController.ts b/assets/Scripts/Obstacles/ObstaclesController.ts new file mode 100644 index 0000000..c07b3ac --- /dev/null +++ b/assets/Scripts/Obstacles/ObstaclesController.ts @@ -0,0 +1,33 @@ +import { _decorator, Component, log, Node, randomRangeInt } from 'cc'; +import { ObstacleBehaviour } from './ObstacleBehaviour'; +import { GameplayController } from '../GameplayController'; +const { ccclass, property } = _decorator; + +@ccclass('ObstaclesController') +export class ObstaclesController extends Component { + // @property([ObstacleBehaviour]) + // private easyObstacle: ObstacleBehaviour[] = []; + // @property([ObstacleBehaviour]) + // private mediumObstacle: ObstacleBehaviour[] = []; + // @property([ObstacleBehaviour]) + // private hardObstacle: ObstacleBehaviour[] = []; + @property([Node]) + private obstaclesSet: Node[] = []; + protected onEnable(): void { + GameplayController.Instance().eventSpawnObstacle.on("SpawnObstacle", this.RandomSetObstacle, this); + // this.RandomSetObstacle(); + } + + private RandomSetObstacle(): void { + //let random = randomRangeInt(0, this.obstaclesSet.length); + setTimeout(() => { + let random = randomRangeInt(0, this.obstaclesSet.length); + this.obstaclesSet.forEach(element => { + element.active = false; + }); + this.obstaclesSet[random].active = true; + }, 200); + + } +} + diff --git a/assets/Scripts/Obstacles/ObstaclesController.ts.meta b/assets/Scripts/Obstacles/ObstaclesController.ts.meta new file mode 100644 index 0000000..30fb939 --- /dev/null +++ b/assets/Scripts/Obstacles/ObstaclesController.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "139dc437-8ddb-409c-b0e9-9fc41ddc4ac3", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/SoundManager.ts b/assets/Scripts/SoundManager.ts new file mode 100644 index 0000000..6fc7b6b --- /dev/null +++ b/assets/Scripts/SoundManager.ts @@ -0,0 +1,38 @@ +import { _decorator, AudioClip, AudioSource, Component, Node } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('SoundManager') +export class SoundManager extends Component { + private static instance: SoundManager; + public static Instance(): SoundManager { + if (!SoundManager.instance) { + SoundManager.instance = new Node().addComponent(SoundManager); + } + + return SoundManager.instance; + } + protected onLoad(): void { + SoundManager.instance = this; + } + + + @property(AudioSource) + private audioSource: AudioSource; + @property(AudioClip) + public hitGround: AudioClip; + @property(AudioClip) + public hitPlayer: AudioClip; + @property(AudioClip) + public goal: AudioClip; + @property(AudioClip) + public menuTap: AudioClip; + @property(AudioClip) + public sfxGoal: AudioClip; + @property(AudioClip) + public whistle: AudioClip; + + public PlayOneShot(clip: AudioClip): void { + this.audioSource.playOneShot(clip); + } +} + diff --git a/assets/Scripts/SoundManager.ts.meta b/assets/Scripts/SoundManager.ts.meta new file mode 100644 index 0000000..1d33270 --- /dev/null +++ b/assets/Scripts/SoundManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "f4bdc5e2-afd5-4307-8700-da3026204fe9", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Test.ts b/assets/Scripts/Test.ts new file mode 100644 index 0000000..aac2e9d --- /dev/null +++ b/assets/Scripts/Test.ts @@ -0,0 +1,30 @@ +import { _decorator, Component, Input, input, instantiate, Node, Prefab } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('Test') +export class Test extends Component { + + @property(Prefab) + private someThing: Prefab; + + someNode: Node; + + protected start(): void { + input.on(Input.EventType.MOUSE_DOWN, this.ActiveNode, this); + input.on(Input.EventType.MOUSE_UP, this.DeActiveNode, this); + } + private ActiveNode(): void { + if (this.someNode == null) { + this.someNode = instantiate(this.someThing); + + this.someNode.parent = this.node; + this.someNode.setPosition(0, 0, 0); + } + else this.someNode.active = true; + } + + private DeActiveNode(): void { + this.someNode.active = false; + } +} + diff --git a/assets/Scripts/Test.ts.meta b/assets/Scripts/Test.ts.meta new file mode 100644 index 0000000..a333a53 --- /dev/null +++ b/assets/Scripts/Test.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "4ae0c49c-cfd9-44b1-91ac-b15cd8280af6", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/UIController.ts b/assets/Scripts/UIController.ts new file mode 100644 index 0000000..791fa0c --- /dev/null +++ b/assets/Scripts/UIController.ts @@ -0,0 +1,127 @@ +import { _decorator, Button, Component, director, Label, log, Node, view, View } from 'cc'; +import { GameplayController, GameState } from './GameplayController'; +import { EventType } from './Enums'; +import { SoundManager } from './SoundManager'; +const { ccclass, property } = _decorator; + +@ccclass('UIController') +export class UIController extends Component { + + @property(Node) + private mainMenuPnl: Node; + @property(Button) + private startGameBtn: Button; + + @property(Node) + private countdownPnl: Node; + @property(Label) + private countdownTxt: Label; + + @property(Node) + private inGamePnl: Node; + @property(Label) + private goalTxt: Label; + @property(Label) + private currentStreakTxt: Label; + @property(Label) + private highestStreakTxt: Label; + @property(Label) + private ballTxt: Label; + @property(Label) + public currentLevelTxt: Label; + + @property(Node) + public endGamePnl: Node; + @property(Label) + private yourScoreTxt: Label; + @property(Button) + private replayBtn: Button; + + private isGameStarted: boolean; + private countdownTime: number; + + private score: number; + private hStreak: number; + + protected start(): void { + this.countdownTime = GameplayController.Instance().startGameCountDown; + + this.startGameBtn.node.on(Button.EventType.CLICK, this.StartGameClicked, this); + this.replayBtn.node.on(Button.EventType.CLICK, this.RestartClicked, this); + + GameplayController.Instance().eventMenuGame.on(EventType.MainMenu, this.ShowGameMenu, this); + GameplayController.Instance().eventStartGame.on(EventType.StartGame, this.StartCountdownEvent, this); + GameplayController.Instance().eventPlayGame.on(EventType.PlayGame, this.StartGameEvent, this); + GameplayController.Instance().eventEndGame.on(EventType.EndGame, this.EndGameEvent, this); + + 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().eventUpdateBall.on(EventType.UpdateBall, this.UpdateBall, this); + } + + protected update(dt: number): void { + if (!this.isGameStarted) return; + if (this.countdownTime < 0) { + if (GameplayController.Instance().currentGameState != GameState.PlayGame) + GameplayController.Instance().ChangeGameState(GameState.PlayGame); + return; + } + + this.countdownTime -= dt; + this.countdownTxt.string = Math.round(this.countdownTime).toString(); + } + + //#region Event listeners + + private ShowGameMenu(): void { + this.mainMenuPnl.active = true; + } + private StartCountdownEvent(): void { + this.mainMenuPnl.active = false; + this.countdownPnl.active = true; + this.isGameStarted = true; + } + private StartGameEvent(): void { + this.countdownPnl.active = false; + this.inGamePnl.active = true; + } + private UpdateScore(score: number): void { + console.log("Score: " + score); + this.score = score; + this.goalTxt.string = "Goal: " + score.toString(); + } + private UpdateStreak(streak: number): void { + console.log("Streak: " + streak); + this.currentStreakTxt.string = "Streak: " + streak.toString(); + } + private UpdateHighestStreak(streak: number): void { + console.log("Highest Streak: " + streak); + this.hStreak = streak; + this.highestStreakTxt.string = "Highest Streak: " + streak.toString(); + } + private UpdateBall(ball: number): void { + 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"; + } + public ShutEndPnl(): void { + this.endGamePnl.active = false; + } + + //#endregion + + private StartGameClicked(): void { + GameplayController.Instance().ChangeGameState(GameState.StartGame); + SoundManager.Instance().PlayOneShot(SoundManager.Instance().menuTap); + } + private RestartClicked(): void { + director.loadScene(director.getScene().name) + } +} \ No newline at end of file diff --git a/assets/Scripts/UIController.ts.meta b/assets/Scripts/UIController.ts.meta new file mode 100644 index 0000000..dbb8089 --- /dev/null +++ b/assets/Scripts/UIController.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "575edf24-cdba-4302-91b1-8a89441ce7a4", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Sounds.meta b/assets/Sounds.meta new file mode 100644 index 0000000..abea7e9 --- /dev/null +++ b/assets/Sounds.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "2f95ff08-f9dc-4a09-8173-d3844886c858", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/Sounds/Ball-Hit-Ground.mp3 b/assets/Sounds/Ball-Hit-Ground.mp3 new file mode 100644 index 0000000..ea63b5a Binary files /dev/null and b/assets/Sounds/Ball-Hit-Ground.mp3 differ diff --git a/assets/Sounds/Ball-Hit-Ground.mp3.meta b/assets/Sounds/Ball-Hit-Ground.mp3.meta new file mode 100644 index 0000000..a67a9c0 --- /dev/null +++ b/assets/Sounds/Ball-Hit-Ground.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "6a432293-3852-4267-be19-c671f36fe9f0", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/Sounds/BallHitPlayer.mp3 b/assets/Sounds/BallHitPlayer.mp3 new file mode 100644 index 0000000..70d6962 Binary files /dev/null and b/assets/Sounds/BallHitPlayer.mp3 differ diff --git a/assets/Sounds/BallHitPlayer.mp3.meta b/assets/Sounds/BallHitPlayer.mp3.meta new file mode 100644 index 0000000..b3f2d9f --- /dev/null +++ b/assets/Sounds/BallHitPlayer.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "97c8a166-c717-41bd-837f-bd1733e2ee1c", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/Sounds/Goal-02.mp3 b/assets/Sounds/Goal-02.mp3 new file mode 100644 index 0000000..2d63fda Binary files /dev/null and b/assets/Sounds/Goal-02.mp3 differ diff --git a/assets/Sounds/Goal-02.mp3.meta b/assets/Sounds/Goal-02.mp3.meta new file mode 100644 index 0000000..5eff14d --- /dev/null +++ b/assets/Sounds/Goal-02.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "b8e26fea-3d75-4254-8fe6-4a57c40d6121", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/Sounds/MenuTap.mp3 b/assets/Sounds/MenuTap.mp3 new file mode 100644 index 0000000..cb9d924 Binary files /dev/null and b/assets/Sounds/MenuTap.mp3 differ diff --git a/assets/Sounds/MenuTap.mp3.meta b/assets/Sounds/MenuTap.mp3.meta new file mode 100644 index 0000000..f16e802 --- /dev/null +++ b/assets/Sounds/MenuTap.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "5318386a-c072-4982-b604-d79513736912", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/Sounds/sfx_goal.mp3 b/assets/Sounds/sfx_goal.mp3 new file mode 100644 index 0000000..4ff4bfe Binary files /dev/null and b/assets/Sounds/sfx_goal.mp3 differ diff --git a/assets/Sounds/sfx_goal.mp3.meta b/assets/Sounds/sfx_goal.mp3.meta new file mode 100644 index 0000000..2f34fd5 --- /dev/null +++ b/assets/Sounds/sfx_goal.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "d93b45ca-fea1-4d38-b460-170b6b65ae08", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/Sounds/startWistle.mp3 b/assets/Sounds/startWistle.mp3 new file mode 100644 index 0000000..50c17a1 Binary files /dev/null and b/assets/Sounds/startWistle.mp3 differ diff --git a/assets/Sounds/startWistle.mp3.meta b/assets/Sounds/startWistle.mp3.meta new file mode 100644 index 0000000..f33f339 --- /dev/null +++ b/assets/Sounds/startWistle.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "6452248b-259c-4844-b0e1-70f47d69955e", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/_Game.meta b/assets/_Game.meta new file mode 100644 index 0000000..810da5d --- /dev/null +++ b/assets/_Game.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "7beb751f-720d-4d3f-b404-7130c61a1dea", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/_Game/Scripts.meta b/assets/_Game/Scripts.meta new file mode 100644 index 0000000..86b72cd --- /dev/null +++ b/assets/_Game/Scripts.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "907fcdde-1d95-4780-8f0d-1d5756cab63e", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/_Game/Scripts/UI.meta b/assets/_Game/Scripts/UI.meta new file mode 100644 index 0000000..f688eec --- /dev/null +++ b/assets/_Game/Scripts/UI.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "7e65366b-dce8-4c7a-9e6f-52fd3e9cad8d", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/_Game/Scripts/UI/ConfirmPanel.ts b/assets/_Game/Scripts/UI/ConfirmPanel.ts new file mode 100644 index 0000000..f8aa714 --- /dev/null +++ b/assets/_Game/Scripts/UI/ConfirmPanel.ts @@ -0,0 +1,35 @@ +import { _decorator, Component, Game, Label, Node } from 'cc'; +import BEConnector from '../../../Scripts/BEConnector'; +import { GameplayController, GameState } from '../../../Scripts/GameplayController'; +const { ccclass, property } = _decorator; + +@ccclass('ConfirmPanel') +export class ConfirmPanel extends Component { + @property(Label) ticketWaringText : Label = null; + + protected onEnable(): void { + this.ticketWaringText.string = `To continue playing, you will be deducted ${BEConnector.instance.getTicketCanBeMinus()} ticket`; + } + + onClickYesButton() + { + if(BEConnector.instance.canRelive()){ + BEConnector.instance.checkGameScoreTicket() + .then(()=>{ + GameplayController.Instance().OnRevive(); + }) + .catch(()=>{ + GameplayController.Instance().ChangeGameState(GameState.EndGame); + }) + }else{ + BEConnector.instance.postMessage(); + } + + } + + onClickNoButton(){ + this.node.active = false; + } +} + + diff --git a/assets/_Game/Scripts/UI/ConfirmPanel.ts.meta b/assets/_Game/Scripts/UI/ConfirmPanel.ts.meta new file mode 100644 index 0000000..745a5e2 --- /dev/null +++ b/assets/_Game/Scripts/UI/ConfirmPanel.ts.meta @@ -0,0 +1 @@ +{"ver":"4.0.23","importer":"typescript","imported":true,"uuid":"09897cf3-e99a-4576-b79d-4bd1ef15db44","files":[],"subMetas":{},"userData":{}} diff --git a/assets/_Game/Scripts/UI/GameOverPanel.ts b/assets/_Game/Scripts/UI/GameOverPanel.ts new file mode 100644 index 0000000..bc80db4 --- /dev/null +++ b/assets/_Game/Scripts/UI/GameOverPanel.ts @@ -0,0 +1,37 @@ +import { _decorator, Component, Label, Node } from 'cc'; +import BEConnector from '../../../Scripts/BEConnector'; +import { GameplayController, GameState } from '../../../Scripts/GameplayController'; +const { ccclass, property } = _decorator; + +@ccclass('GameOverPanel') +export class GameOverPanel extends Component { + @property(Label) private topScore: Label = null; + @property(Label) private yourScore: Label = null; + + + protected onEnable(): void { + let currentScore = GameplayController.Instance().score; + this.topScore.string = BEConnector.instance.maxScore.toString(); + this.yourScore.string = currentScore.toString(); + this.scheduleOnce(this.endGame,60); + } + + onClickYesButton(){ + let confirmPanel = this.node.getChildByName("ConfirmPanel"); + confirmPanel.active = true; + } + + onClickNoButton(){ + GameplayController.Instance().ChangeGameState(GameState.EndGame); + } + + protected onDisable(): void { + this.unschedule(this.endGame); + } + + private endGame(){ + GameplayController.Instance().ChangeGameState(GameState.EndGame); + } +} + + diff --git a/assets/_Game/Scripts/UI/GameOverPanel.ts.meta b/assets/_Game/Scripts/UI/GameOverPanel.ts.meta new file mode 100644 index 0000000..e18f051 --- /dev/null +++ b/assets/_Game/Scripts/UI/GameOverPanel.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "d43dbb30-5ec5-42fe-8230-f9c39b8b852f", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..3cf60a9 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,18 @@ +{ + "name": "PinBallTCC", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "PinBallTCC", + "dependencies": { + "crypto-es": "^2.1.0" + } + }, + "node_modules/crypto-es": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/crypto-es/-/crypto-es-2.1.0.tgz", + "integrity": "sha512-C5Dbuv4QTPGuloy5c5Vv/FZHtmK+lobLAypFfuRaBbwCsk3qbCWWESCH3MUcBsrgXloRNMrzwUAiPg4U6+IaKA==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..8e2e822 --- /dev/null +++ b/package.json @@ -0,0 +1,10 @@ +{ + "name": "PinBallTCC", + "uuid": "1dc6dfe4-8871-44d8-881e-f7fee9494679", + "creator": { + "version": "3.7.2" + }, + "dependencies": { + "crypto-es": "^2.1.0" + } +} diff --git a/settings/v2/packages/builder.json b/settings/v2/packages/builder.json new file mode 100644 index 0000000..0bd7d4f --- /dev/null +++ b/settings/v2/packages/builder.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.3.4" +} diff --git a/settings/v2/packages/cocos-service.json b/settings/v2/packages/cocos-service.json new file mode 100644 index 0000000..46e0bb4 --- /dev/null +++ b/settings/v2/packages/cocos-service.json @@ -0,0 +1,23 @@ +{ + "__version__": "3.0.7", + "game": { + "name": "UNKNOW GAME", + "app_id": "UNKNOW", + "c_id": "0" + }, + "appConfigMaps": [ + { + "app_id": "UNKNOW", + "config_id": "098859" + } + ], + "configs": [ + { + "app_id": "UNKNOW", + "config_id": "098859", + "config_name": "Default", + "config_remarks": "", + "services": [] + } + ] +} diff --git a/settings/v2/packages/device.json b/settings/v2/packages/device.json new file mode 100644 index 0000000..70e599e --- /dev/null +++ b/settings/v2/packages/device.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.1" +} diff --git a/settings/v2/packages/engine.json b/settings/v2/packages/engine.json new file mode 100644 index 0000000..dcb4c89 --- /dev/null +++ b/settings/v2/packages/engine.json @@ -0,0 +1,154 @@ +{ + "__version__": "1.0.7", + "modules": { + "cache": { + "base": { + "_value": true + }, + "graphcis": { + "_value": true + }, + "gfx-webgl": { + "_value": true + }, + "gfx-webgl2": { + "_value": true + }, + "animation": { + "_value": true + }, + "skeletal-animation": { + "_value": false + }, + "3d": { + "_value": true + }, + "2d": { + "_value": true + }, + "xr": { + "_value": false + }, + "ui": { + "_value": true + }, + "particle": { + "_value": true + }, + "physics": { + "_value": false, + "_option": "physics-physx" + }, + "physics-ammo": { + "_value": false + }, + "physics-cannon": { + "_value": false + }, + "physics-physx": { + "_value": false + }, + "physics-builtin": { + "_value": false + }, + "physics-2d": { + "_value": true, + "_option": "physics-2d-box2d" + }, + "physics-2d-box2d": { + "_value": false + }, + "physics-2d-builtin": { + "_value": false + }, + "intersection-2d": { + "_value": true + }, + "primitive": { + "_value": false + }, + "profiler": { + "_value": true + }, + "occlusion-query": { + "_value": false + }, + "geometry-renderer": { + "_value": false + }, + "debug-renderer": { + "_value": false + }, + "particle-2d": { + "_value": true + }, + "audio": { + "_value": true + }, + "video": { + "_value": true + }, + "webview": { + "_value": true + }, + "tween": { + "_value": true + }, + "websocket": { + "_value": true + }, + "websocket-server": { + "_value": false + }, + "terrain": { + "_value": false + }, + "light-probe": { + "_value": true + }, + "tiled-map": { + "_value": true + }, + "spine": { + "_value": true + }, + "dragon-bones": { + "_value": true + }, + "marionette": { + "_value": false + }, + "custom-pipeline": { + "_value": false + } + }, + "includeModules": [ + "2d", + "3d", + "animation", + "audio", + "base", + "dragon-bones", + "gfx-webgl", + "gfx-webgl2", + "intersection-2d", + "light-probe", + "particle", + "particle-2d", + "physics-2d-box2d", + "profiler", + "spine", + "tiled-map", + "tween", + "ui", + "video", + "websocket", + "webview" + ], + "noDeprecatedFeatures": { + "value": false, + "version": "" + }, + "flags": {} + } +} diff --git a/settings/v2/packages/program.json b/settings/v2/packages/program.json new file mode 100644 index 0000000..356db6b --- /dev/null +++ b/settings/v2/packages/program.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.3" +} diff --git a/settings/v2/packages/project.json b/settings/v2/packages/project.json new file mode 100644 index 0000000..4908496 --- /dev/null +++ b/settings/v2/packages/project.json @@ -0,0 +1,16 @@ +{ + "__version__": "1.0.4", + "general": { + "designResolution": { + "width": 1920, + "height": 1440, + "fitHeight": true + } + }, + "physics": { + "gravity": { + "y": -9.81 + } + }, + "custom_joint_texture_layouts": [] +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..1e5c222 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,10 @@ +{ + /* Base configuration. Do not edit this field. */ + "extends": "./temp/tsconfig.cocos.json", + + /* Add your custom configuration here. */ + "compilerOptions": { + "strict": false, + "lib": ["ES2017","DOM"] + } +}