commit ed6cca82db127e406dc76af6bf29570860477c1a Author: zzc <1761997216@qq.com> Date: Thu Jan 1 08:26:29 1970 +0800 first 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/.DS_Store b/assets/.DS_Store new file mode 100644 index 0000000..03a0d9f Binary files /dev/null and b/assets/.DS_Store differ diff --git a/assets/resources.meta b/assets/resources.meta new file mode 100644 index 0000000..e64d03a --- /dev/null +++ b/assets/resources.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "53535979-36cb-4303-96ba-81937cf2ebbf", + "files": [], + "subMetas": {}, + "userData": { + "isBundle": true, + "bundleConfigID": "default", + "bundleName": "resources", + "priority": 8 + } +} diff --git a/assets/resources/.DS_Store b/assets/resources/.DS_Store new file mode 100644 index 0000000..d2b9660 Binary files /dev/null and b/assets/resources/.DS_Store differ diff --git a/assets/resources/music.meta b/assets/resources/music.meta new file mode 100644 index 0000000..b9af821 --- /dev/null +++ b/assets/resources/music.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "57f6ecdb-cfd9-4fc3-bfe3-c0fb77edbc0a", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/music/.DS_Store b/assets/resources/music/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/assets/resources/music/.DS_Store differ diff --git a/assets/resources/music/boom.mp3 b/assets/resources/music/boom.mp3 new file mode 100644 index 0000000..1d92ba7 Binary files /dev/null and b/assets/resources/music/boom.mp3 differ diff --git a/assets/resources/music/boom.mp3.meta b/assets/resources/music/boom.mp3.meta new file mode 100644 index 0000000..8b5bfaf --- /dev/null +++ b/assets/resources/music/boom.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "72f846c7-63aa-454b-954e-631ba2b30448", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/music/boom1.mp3 b/assets/resources/music/boom1.mp3 new file mode 100644 index 0000000..113cce0 Binary files /dev/null and b/assets/resources/music/boom1.mp3 differ diff --git a/assets/resources/music/boom1.mp3.meta b/assets/resources/music/boom1.mp3.meta new file mode 100644 index 0000000..72f4475 --- /dev/null +++ b/assets/resources/music/boom1.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "a9c1c405-32fc-4f27-a94c-ed0fa0dbfcf7", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/music/boom2.mp3 b/assets/resources/music/boom2.mp3 new file mode 100644 index 0000000..021b357 Binary files /dev/null and b/assets/resources/music/boom2.mp3 differ diff --git a/assets/resources/music/boom2.mp3.meta b/assets/resources/music/boom2.mp3.meta new file mode 100644 index 0000000..874d359 --- /dev/null +++ b/assets/resources/music/boom2.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "a2214b87-c174-4093-958a-8127599085c6", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/music/cheer.mp3 b/assets/resources/music/cheer.mp3 new file mode 100644 index 0000000..9e98cd9 Binary files /dev/null and b/assets/resources/music/cheer.mp3 differ diff --git a/assets/resources/music/cheer.mp3.meta b/assets/resources/music/cheer.mp3.meta new file mode 100644 index 0000000..c5b0ff3 --- /dev/null +++ b/assets/resources/music/cheer.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "1249a178-91a7-4dd4-bb0c-054818b6a9de", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/music/coin.wav b/assets/resources/music/coin.wav new file mode 100644 index 0000000..689ad63 Binary files /dev/null and b/assets/resources/music/coin.wav differ diff --git a/assets/resources/music/coin.wav.meta b/assets/resources/music/coin.wav.meta new file mode 100644 index 0000000..09c8a99 --- /dev/null +++ b/assets/resources/music/coin.wav.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "c9116624-dcc5-4d0c-a166-d9c9824e8d72", + "files": [ + ".json", + ".wav" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/music/fail.mp3 b/assets/resources/music/fail.mp3 new file mode 100644 index 0000000..8925b1c Binary files /dev/null and b/assets/resources/music/fail.mp3 differ diff --git a/assets/resources/music/fail.mp3.meta b/assets/resources/music/fail.mp3.meta new file mode 100644 index 0000000..2c3c08b --- /dev/null +++ b/assets/resources/music/fail.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "b7f58657-429c-4d6f-8d8f-b687007ac1d9", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/music/mix.wav b/assets/resources/music/mix.wav new file mode 100644 index 0000000..ab30f2f Binary files /dev/null and b/assets/resources/music/mix.wav differ diff --git a/assets/resources/music/mix.wav.meta b/assets/resources/music/mix.wav.meta new file mode 100644 index 0000000..5af4332 --- /dev/null +++ b/assets/resources/music/mix.wav.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "d517e482-ffae-4805-a86c-dae75ce7dfcc", + "files": [ + ".json", + ".wav" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/music/play.mp3 b/assets/resources/music/play.mp3 new file mode 100644 index 0000000..8af6d9d Binary files /dev/null and b/assets/resources/music/play.mp3 differ diff --git a/assets/resources/music/play.mp3.meta b/assets/resources/music/play.mp3.meta new file mode 100644 index 0000000..0bbafec --- /dev/null +++ b/assets/resources/music/play.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "82a22eab-1575-4e38-94c4-e41ab794864e", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/prefab.meta b/assets/resources/prefab.meta new file mode 100644 index 0000000..b8c59ff --- /dev/null +++ b/assets/resources/prefab.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "a1552e1d-5a98-43cb-b8b3-01b900a7d4c3", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/prefab/Explosion.prefab b/assets/resources/prefab/Explosion.prefab new file mode 100644 index 0000000..0d9985c --- /dev/null +++ b/assets/resources/prefab/Explosion.prefab @@ -0,0 +1,213 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Explosion", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Explosion", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2 + }, + { + "__id__": 4 + } + ], + "_prefab": { + "__id__": 6 + }, + "_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.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 3 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0f1FYZD0RB5prw898oLAqS" + }, + { + "__type__": "cc.ParticleSystem2D", + "_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 + }, + "duration": 0.2, + "emissionRate": 200, + "life": 0.6, + "lifeVar": 0.3, + "angle": 0, + "angleVar": 360, + "startSize": 20, + "startSizeVar": 10, + "endSize": 5, + "endSizeVar": 0, + "startSpin": 0, + "startSpinVar": 0, + "endSpin": 0, + "endSpinVar": 0, + "sourcePos": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "posVar": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "emitterMode": 0, + "gravity": { + "__type__": "cc.Vec2", + "x": 0, + "y": -600 + }, + "speed": 300, + "speedVar": 100, + "tangentialAccel": 0, + "tangentialAccelVar": 0, + "radialAccel": 0, + "radialAccelVar": 0, + "rotationIsDir": false, + "startRadius": 0, + "startRadiusVar": 0, + "endRadius": 0, + "endRadiusVar": 0, + "rotatePerS": 0, + "rotatePerSVar": 0, + "playOnLoad": true, + "autoRemoveOnFinish": false, + "_preview": true, + "preview": true, + "_custom": true, + "_file": null, + "_spriteFrame": { + "__uuid__": "281146ac-4d17-48a3-9e93-87df0f3a41d9@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_totalParticles": 150, + "_startColor": { + "__type__": "cc.Color", + "r": 255, + "g": 200, + "b": 10, + "a": 255 + }, + "_startColorVar": { + "__type__": "cc.Color", + "r": 30, + "g": 30, + "b": 30, + "a": 0 + }, + "_endColor": { + "__type__": "cc.Color", + "r": 255, + "g": 50, + "b": 50, + "a": 0 + }, + "_endColorVar": { + "__type__": "cc.Color", + "r": 30, + "g": 30, + "b": 30, + "a": 0 + }, + "_positionType": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f9lWDfs39MVLhl3mu85Pp1" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/prefab/Explosion.prefab.meta b/assets/resources/prefab/Explosion.prefab.meta new file mode 100644 index 0000000..e91d5d7 --- /dev/null +++ b/assets/resources/prefab/Explosion.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "6fadf718-47bf-401a-ad18-900a6eba4af6", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Explosion" + } +} diff --git a/assets/resources/prefab/Fruit.prefab b/assets/resources/prefab/Fruit.prefab new file mode 100644 index 0000000..9698f46 --- /dev/null +++ b/assets/resources/prefab/Fruit.prefab @@ -0,0 +1,236 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Fruit", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Fruit", + "_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": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_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": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f2xURHZspCW6eOPX1Lqlic" + }, + { + "__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": null, + "_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": "a0IlngGyFJI472PyJnWRnk" + }, + { + "__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.2, + "_restitution": 0.2, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_radius": 50, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bnE5FcwlC7LRDhKHuP15A" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 2, + "_allowSleep": true, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0.2, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "33dsmtVs1AhZePxKQrfoUc" + }, + { + "__type__": "bb609SzM4pEHKgnMu3BRdxj", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "level": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "64+ujD+opEEaVAwU0nvHvG" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/prefab/Fruit.prefab.meta b/assets/resources/prefab/Fruit.prefab.meta new file mode 100644 index 0000000..146e0f5 --- /dev/null +++ b/assets/resources/prefab/Fruit.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "58d1b10e-557b-4f03-a5d7-e0fa15ca8e28", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Fruit" + } +} diff --git a/assets/resources/ui.meta b/assets/resources/ui.meta new file mode 100644 index 0000000..073c899 --- /dev/null +++ b/assets/resources/ui.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "2f86ad9d-8e50-4cd2-bb97-3a48b6d5462f", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/ui/.DS_Store b/assets/resources/ui/.DS_Store new file mode 100644 index 0000000..5186367 Binary files /dev/null and b/assets/resources/ui/.DS_Store differ diff --git a/assets/resources/ui/bg.png b/assets/resources/ui/bg.png new file mode 100644 index 0000000..6b9b12f Binary files /dev/null and b/assets/resources/ui/bg.png differ diff --git a/assets/resources/ui/bg.png.meta b/assets/resources/ui/bg.png.meta new file mode 100644 index 0000000..3baf72f --- /dev/null +++ b/assets/resources/ui/bg.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "e7b6b06d-45f2-44ba-90cd-d95772fb4225", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "e7b6b06d-45f2-44ba-90cd-d95772fb4225@6c48a", + "displayName": "bg", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "e7b6b06d-45f2-44ba-90cd-d95772fb4225", + "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": "e7b6b06d-45f2-44ba-90cd-d95772fb4225@f9941", + "displayName": "bg", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 720, + "height": 1280, + "rawWidth": 720, + "rawHeight": 1280, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -360, + -640, + 0, + 360, + -640, + 0, + -360, + 640, + 0, + 360, + 640, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 1280, + 720, + 1280, + 0, + 0, + 720, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -360, + -640, + 0 + ], + "maxPos": [ + 360, + 640, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "e7b6b06d-45f2-44ba-90cd-d95772fb4225@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": false, + "fixAlphaTransparencyArtifacts": false, + "redirect": "e7b6b06d-45f2-44ba-90cd-d95772fb4225@6c48a" + } +} diff --git a/assets/resources/ui/crown.png b/assets/resources/ui/crown.png new file mode 100644 index 0000000..95add4b Binary files /dev/null and b/assets/resources/ui/crown.png differ diff --git a/assets/resources/ui/crown.png.meta b/assets/resources/ui/crown.png.meta new file mode 100644 index 0000000..56593e0 --- /dev/null +++ b/assets/resources/ui/crown.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "0b2fd303-5502-4b3f-9ffc-219b0f7d7bf6", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "0b2fd303-5502-4b3f-9ffc-219b0f7d7bf6@6c48a", + "displayName": "crown", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "0b2fd303-5502-4b3f-9ffc-219b0f7d7bf6", + "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": "0b2fd303-5502-4b3f-9ffc-219b0f7d7bf6@f9941", + "displayName": "crown", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 5, + "trimX": 0, + "trimY": 0, + "width": 278, + "height": 246, + "rawWidth": 278, + "rawHeight": 256, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -139, + -123, + 0, + 139, + -123, + 0, + -139, + 123, + 0, + 139, + 123, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 256, + 278, + 256, + 0, + 10, + 278, + 10 + ], + "nuv": [ + 0, + 0.0390625, + 1, + 0.0390625, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -139, + -123, + 0 + ], + "maxPos": [ + 139, + 123, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "0b2fd303-5502-4b3f-9ffc-219b0f7d7bf6@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "0b2fd303-5502-4b3f-9ffc-219b0f7d7bf6@6c48a" + } +} diff --git a/assets/resources/ui/dead_line.png b/assets/resources/ui/dead_line.png new file mode 100644 index 0000000..ebf5ddb Binary files /dev/null and b/assets/resources/ui/dead_line.png differ diff --git a/assets/resources/ui/dead_line.png.meta b/assets/resources/ui/dead_line.png.meta new file mode 100644 index 0000000..16092b4 --- /dev/null +++ b/assets/resources/ui/dead_line.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "e1207835-23ff-415e-9732-d644fd0140f9", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "e1207835-23ff-415e-9732-d644fd0140f9@6c48a", + "displayName": "dead_line", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "e1207835-23ff-415e-9732-d644fd0140f9", + "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": "e1207835-23ff-415e-9732-d644fd0140f9@f9941", + "displayName": "dead_line", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 711, + "height": 8, + "rawWidth": 711, + "rawHeight": 8, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -355.5, + -4, + 0, + 355.5, + -4, + 0, + -355.5, + 4, + 0, + 355.5, + 4, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 8, + 711, + 8, + 0, + 0, + 711, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -355.5, + -4, + 0 + ], + "maxPos": [ + 355.5, + 4, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "e1207835-23ff-415e-9732-d644fd0140f9@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "e1207835-23ff-415e-9732-d644fd0140f9@6c48a" + } +} diff --git a/assets/resources/ui/fruits.meta b/assets/resources/ui/fruits.meta new file mode 100644 index 0000000..51db06f --- /dev/null +++ b/assets/resources/ui/fruits.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "7971a121-83bb-44d3-aa9f-109d2f8cc67a", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/ui/fruits/1.png b/assets/resources/ui/fruits/1.png new file mode 100644 index 0000000..815692f Binary files /dev/null and b/assets/resources/ui/fruits/1.png differ diff --git a/assets/resources/ui/fruits/1.png.meta b/assets/resources/ui/fruits/1.png.meta new file mode 100644 index 0000000..ebe9552 --- /dev/null +++ b/assets/resources/ui/fruits/1.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "84816a04-8b17-4892-9e1b-7735ea15f506", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "84816a04-8b17-4892-9e1b-7735ea15f506@6c48a", + "displayName": "1", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "84816a04-8b17-4892-9e1b-7735ea15f506", + "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": "84816a04-8b17-4892-9e1b-7735ea15f506@f9941", + "displayName": "1", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 52, + "height": 52, + "rawWidth": 52, + "rawHeight": 52, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -26, + -26, + 0, + 26, + -26, + 0, + -26, + 26, + 0, + 26, + 26, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 52, + 52, + 52, + 0, + 0, + 52, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -26, + -26, + 0 + ], + "maxPos": [ + 26, + 26, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "84816a04-8b17-4892-9e1b-7735ea15f506@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "84816a04-8b17-4892-9e1b-7735ea15f506@6c48a" + } +} diff --git a/assets/resources/ui/fruits/10.png b/assets/resources/ui/fruits/10.png new file mode 100644 index 0000000..935d711 Binary files /dev/null and b/assets/resources/ui/fruits/10.png differ diff --git a/assets/resources/ui/fruits/10.png.meta b/assets/resources/ui/fruits/10.png.meta new file mode 100644 index 0000000..7e70f0d --- /dev/null +++ b/assets/resources/ui/fruits/10.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "7f274084-6f3e-4d8a-a75c-9a42f100ac93", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "7f274084-6f3e-4d8a-a75c-9a42f100ac93@6c48a", + "displayName": "10", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "7f274084-6f3e-4d8a-a75c-9a42f100ac93", + "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": "7f274084-6f3e-4d8a-a75c-9a42f100ac93@f9941", + "displayName": "10", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": -0.5, + "trimX": 3, + "trimY": 4, + "width": 302, + "height": 302, + "rawWidth": 308, + "rawHeight": 309, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -151, + -151, + 0, + 151, + -151, + 0, + -151, + 151, + 0, + 151, + 151, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 3, + 305, + 305, + 305, + 3, + 3, + 305, + 3 + ], + "nuv": [ + 0.00974025974025974, + 0.009708737864077669, + 0.9902597402597403, + 0.009708737864077669, + 0.00974025974025974, + 0.9870550161812298, + 0.9902597402597403, + 0.9870550161812298 + ], + "minPos": [ + -151, + -151, + 0 + ], + "maxPos": [ + 151, + 151, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "7f274084-6f3e-4d8a-a75c-9a42f100ac93@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "7f274084-6f3e-4d8a-a75c-9a42f100ac93@6c48a" + } +} diff --git a/assets/resources/ui/fruits/11.png b/assets/resources/ui/fruits/11.png new file mode 100644 index 0000000..7596c1d Binary files /dev/null and b/assets/resources/ui/fruits/11.png differ diff --git a/assets/resources/ui/fruits/11.png.meta b/assets/resources/ui/fruits/11.png.meta new file mode 100644 index 0000000..fc08056 --- /dev/null +++ b/assets/resources/ui/fruits/11.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "f38ab1e3-817e-4557-8c56-2965ab33232f", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "f38ab1e3-817e-4557-8c56-2965ab33232f@6c48a", + "displayName": "11", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "f38ab1e3-817e-4557-8c56-2965ab33232f", + "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": "f38ab1e3-817e-4557-8c56-2965ab33232f@f9941", + "displayName": "11", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 2, + "trimY": 2, + "width": 404, + "height": 404, + "rawWidth": 408, + "rawHeight": 408, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -202, + -202, + 0, + 202, + -202, + 0, + -202, + 202, + 0, + 202, + 202, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 2, + 406, + 406, + 406, + 2, + 2, + 406, + 2 + ], + "nuv": [ + 0.004901960784313725, + 0.004901960784313725, + 0.9950980392156863, + 0.004901960784313725, + 0.004901960784313725, + 0.9950980392156863, + 0.9950980392156863, + 0.9950980392156863 + ], + "minPos": [ + -202, + -202, + 0 + ], + "maxPos": [ + 202, + 202, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "f38ab1e3-817e-4557-8c56-2965ab33232f@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "f38ab1e3-817e-4557-8c56-2965ab33232f@6c48a" + } +} diff --git a/assets/resources/ui/fruits/2.png b/assets/resources/ui/fruits/2.png new file mode 100644 index 0000000..2e1d78d Binary files /dev/null and b/assets/resources/ui/fruits/2.png differ diff --git a/assets/resources/ui/fruits/2.png.meta b/assets/resources/ui/fruits/2.png.meta new file mode 100644 index 0000000..499af8e --- /dev/null +++ b/assets/resources/ui/fruits/2.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "6bd1967a-cbe1-431e-9b86-66fe44383df8", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "6bd1967a-cbe1-431e-9b86-66fe44383df8@6c48a", + "displayName": "2", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "6bd1967a-cbe1-431e-9b86-66fe44383df8", + "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": "6bd1967a-cbe1-431e-9b86-66fe44383df8@f9941", + "displayName": "2", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1, + "trimY": 1, + "width": 78, + "height": 78, + "rawWidth": 80, + "rawHeight": 80, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -39, + -39, + 0, + 39, + -39, + 0, + -39, + 39, + 0, + 39, + 39, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 1, + 79, + 79, + 79, + 1, + 1, + 79, + 1 + ], + "nuv": [ + 0.0125, + 0.0125, + 0.9875, + 0.0125, + 0.0125, + 0.9875, + 0.9875, + 0.9875 + ], + "minPos": [ + -39, + -39, + 0 + ], + "maxPos": [ + 39, + 39, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "6bd1967a-cbe1-431e-9b86-66fe44383df8@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "6bd1967a-cbe1-431e-9b86-66fe44383df8@6c48a" + } +} diff --git a/assets/resources/ui/fruits/3.png b/assets/resources/ui/fruits/3.png new file mode 100644 index 0000000..42460a6 Binary files /dev/null and b/assets/resources/ui/fruits/3.png differ diff --git a/assets/resources/ui/fruits/3.png.meta b/assets/resources/ui/fruits/3.png.meta new file mode 100644 index 0000000..52e1a82 --- /dev/null +++ b/assets/resources/ui/fruits/3.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "371e1d75-2fe1-42f6-9537-77a13967b484", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "371e1d75-2fe1-42f6-9537-77a13967b484@6c48a", + "displayName": "3", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "371e1d75-2fe1-42f6-9537-77a13967b484", + "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": "371e1d75-2fe1-42f6-9537-77a13967b484@f9941", + "displayName": "3", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 108, + "height": 108, + "rawWidth": 108, + "rawHeight": 108, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -54, + -54, + 0, + 54, + -54, + 0, + -54, + 54, + 0, + 54, + 54, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 108, + 108, + 108, + 0, + 0, + 108, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -54, + -54, + 0 + ], + "maxPos": [ + 54, + 54, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "371e1d75-2fe1-42f6-9537-77a13967b484@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "371e1d75-2fe1-42f6-9537-77a13967b484@6c48a" + } +} diff --git a/assets/resources/ui/fruits/4.png b/assets/resources/ui/fruits/4.png new file mode 100644 index 0000000..3a4536a Binary files /dev/null and b/assets/resources/ui/fruits/4.png differ diff --git a/assets/resources/ui/fruits/4.png.meta b/assets/resources/ui/fruits/4.png.meta new file mode 100644 index 0000000..e2eff2b --- /dev/null +++ b/assets/resources/ui/fruits/4.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "4c5e158d-2fc5-43a3-82ec-d5b9fc598b94", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "4c5e158d-2fc5-43a3-82ec-d5b9fc598b94@6c48a", + "displayName": "4", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "4c5e158d-2fc5-43a3-82ec-d5b9fc598b94", + "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": "4c5e158d-2fc5-43a3-82ec-d5b9fc598b94@f9941", + "displayName": "4", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 119, + "height": 119, + "rawWidth": 119, + "rawHeight": 119, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -59.5, + -59.5, + 0, + 59.5, + -59.5, + 0, + -59.5, + 59.5, + 0, + 59.5, + 59.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 119, + 119, + 119, + 0, + 0, + 119, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -59.5, + -59.5, + 0 + ], + "maxPos": [ + 59.5, + 59.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "4c5e158d-2fc5-43a3-82ec-d5b9fc598b94@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "4c5e158d-2fc5-43a3-82ec-d5b9fc598b94@6c48a" + } +} diff --git a/assets/resources/ui/fruits/5.png b/assets/resources/ui/fruits/5.png new file mode 100644 index 0000000..286f0de Binary files /dev/null and b/assets/resources/ui/fruits/5.png differ diff --git a/assets/resources/ui/fruits/5.png.meta b/assets/resources/ui/fruits/5.png.meta new file mode 100644 index 0000000..a79e8c5 --- /dev/null +++ b/assets/resources/ui/fruits/5.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "ed717906-95a0-40e4-bc39-3f079723676c", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ed717906-95a0-40e4-bc39-3f079723676c@6c48a", + "displayName": "5", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "ed717906-95a0-40e4-bc39-3f079723676c", + "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": "ed717906-95a0-40e4-bc39-3f079723676c@f9941", + "displayName": "5", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 153, + "height": 152, + "rawWidth": 153, + "rawHeight": 152, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -76.5, + -76, + 0, + 76.5, + -76, + 0, + -76.5, + 76, + 0, + 76.5, + 76, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 152, + 153, + 152, + 0, + 0, + 153, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -76.5, + -76, + 0 + ], + "maxPos": [ + 76.5, + 76, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "ed717906-95a0-40e4-bc39-3f079723676c@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "ed717906-95a0-40e4-bc39-3f079723676c@6c48a" + } +} diff --git a/assets/resources/ui/fruits/6.png b/assets/resources/ui/fruits/6.png new file mode 100644 index 0000000..357f310 Binary files /dev/null and b/assets/resources/ui/fruits/6.png differ diff --git a/assets/resources/ui/fruits/6.png.meta b/assets/resources/ui/fruits/6.png.meta new file mode 100644 index 0000000..dc76e28 --- /dev/null +++ b/assets/resources/ui/fruits/6.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "b07dc052-d1ad-4a15-9c5e-269412084ecd", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "b07dc052-d1ad-4a15-9c5e-269412084ecd@6c48a", + "displayName": "6", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "b07dc052-d1ad-4a15-9c5e-269412084ecd", + "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": "b07dc052-d1ad-4a15-9c5e-269412084ecd@f9941", + "displayName": "6", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 183, + "height": 183, + "rawWidth": 183, + "rawHeight": 183, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -91.5, + -91.5, + 0, + 91.5, + -91.5, + 0, + -91.5, + 91.5, + 0, + 91.5, + 91.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 183, + 183, + 183, + 0, + 0, + 183, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -91.5, + -91.5, + 0 + ], + "maxPos": [ + 91.5, + 91.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "b07dc052-d1ad-4a15-9c5e-269412084ecd@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "b07dc052-d1ad-4a15-9c5e-269412084ecd@6c48a" + } +} diff --git a/assets/resources/ui/fruits/7.png b/assets/resources/ui/fruits/7.png new file mode 100644 index 0000000..a67f47b Binary files /dev/null and b/assets/resources/ui/fruits/7.png differ diff --git a/assets/resources/ui/fruits/7.png.meta b/assets/resources/ui/fruits/7.png.meta new file mode 100644 index 0000000..ed36a83 --- /dev/null +++ b/assets/resources/ui/fruits/7.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "672e25b4-c189-4145-bfe4-9a4a07bcfa87", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "672e25b4-c189-4145-bfe4-9a4a07bcfa87@6c48a", + "displayName": "7", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "672e25b4-c189-4145-bfe4-9a4a07bcfa87", + "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": "672e25b4-c189-4145-bfe4-9a4a07bcfa87@f9941", + "displayName": "7", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": -0.5, + "offsetY": 0.5, + "trimX": 3, + "trimY": 3, + "width": 186, + "height": 186, + "rawWidth": 193, + "rawHeight": 193, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -93, + -93, + 0, + 93, + -93, + 0, + -93, + 93, + 0, + 93, + 93, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 3, + 190, + 189, + 190, + 3, + 4, + 189, + 4 + ], + "nuv": [ + 0.015544041450777202, + 0.02072538860103627, + 0.9792746113989638, + 0.02072538860103627, + 0.015544041450777202, + 0.9844559585492227, + 0.9792746113989638, + 0.9844559585492227 + ], + "minPos": [ + -93, + -93, + 0 + ], + "maxPos": [ + 93, + 93, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "672e25b4-c189-4145-bfe4-9a4a07bcfa87@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "672e25b4-c189-4145-bfe4-9a4a07bcfa87@6c48a" + } +} diff --git a/assets/resources/ui/fruits/8.png b/assets/resources/ui/fruits/8.png new file mode 100644 index 0000000..5ccc376 Binary files /dev/null and b/assets/resources/ui/fruits/8.png differ diff --git a/assets/resources/ui/fruits/8.png.meta b/assets/resources/ui/fruits/8.png.meta new file mode 100644 index 0000000..baccb38 --- /dev/null +++ b/assets/resources/ui/fruits/8.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "732aeab5-4112-4e1b-9d6a-10cc7af6e74c", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "732aeab5-4112-4e1b-9d6a-10cc7af6e74c@6c48a", + "displayName": "8", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "732aeab5-4112-4e1b-9d6a-10cc7af6e74c", + "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": "732aeab5-4112-4e1b-9d6a-10cc7af6e74c@f9941", + "displayName": "8", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 258, + "height": 258, + "rawWidth": 258, + "rawHeight": 258, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -129, + -129, + 0, + 129, + -129, + 0, + -129, + 129, + 0, + 129, + 129, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 258, + 258, + 258, + 0, + 0, + 258, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -129, + -129, + 0 + ], + "maxPos": [ + 129, + 129, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "732aeab5-4112-4e1b-9d6a-10cc7af6e74c@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "732aeab5-4112-4e1b-9d6a-10cc7af6e74c@6c48a" + } +} diff --git a/assets/resources/ui/fruits/9.png b/assets/resources/ui/fruits/9.png new file mode 100644 index 0000000..83c7582 Binary files /dev/null and b/assets/resources/ui/fruits/9.png differ diff --git a/assets/resources/ui/fruits/9.png.meta b/assets/resources/ui/fruits/9.png.meta new file mode 100644 index 0000000..73323b9 --- /dev/null +++ b/assets/resources/ui/fruits/9.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "281146ac-4d17-48a3-9e93-87df0f3a41d9", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "281146ac-4d17-48a3-9e93-87df0f3a41d9@6c48a", + "displayName": "9", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "281146ac-4d17-48a3-9e93-87df0f3a41d9", + "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": "281146ac-4d17-48a3-9e93-87df0f3a41d9@f9941", + "displayName": "9", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 308, + "height": 308, + "rawWidth": 308, + "rawHeight": 308, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -154, + -154, + 0, + 154, + -154, + 0, + -154, + 154, + 0, + 154, + 154, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 308, + 308, + 308, + 0, + 0, + 308, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -154, + -154, + 0 + ], + "maxPos": [ + 154, + 154, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "281146ac-4d17-48a3-9e93-87df0f3a41d9@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "281146ac-4d17-48a3-9e93-87df0f3a41d9@6c48a" + } +} diff --git a/assets/resources/ui/home.png b/assets/resources/ui/home.png new file mode 100644 index 0000000..c0d9483 Binary files /dev/null and b/assets/resources/ui/home.png differ diff --git a/assets/resources/ui/home.png.meta b/assets/resources/ui/home.png.meta new file mode 100644 index 0000000..6e3b839 --- /dev/null +++ b/assets/resources/ui/home.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "7fd8e0a9-8426-4cb4-99ef-79789ec1b237", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "7fd8e0a9-8426-4cb4-99ef-79789ec1b237@6c48a", + "displayName": "home", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "7fd8e0a9-8426-4cb4-99ef-79789ec1b237", + "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": "7fd8e0a9-8426-4cb4-99ef-79789ec1b237@f9941", + "displayName": "home", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 54, + "height": 48, + "rawWidth": 54, + "rawHeight": 48, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -27, + -24, + 0, + 27, + -24, + 0, + -27, + 24, + 0, + 27, + 24, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 48, + 54, + 48, + 0, + 0, + 54, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -27, + -24, + 0 + ], + "maxPos": [ + 27, + 24, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "7fd8e0a9-8426-4cb4-99ef-79789ec1b237@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "7fd8e0a9-8426-4cb4-99ef-79789ec1b237@6c48a" + } +} diff --git a/assets/resources/ui/land.jpg b/assets/resources/ui/land.jpg new file mode 100644 index 0000000..fc9fbec Binary files /dev/null and b/assets/resources/ui/land.jpg differ diff --git a/assets/resources/ui/land.jpg.meta b/assets/resources/ui/land.jpg.meta new file mode 100644 index 0000000..5533994 --- /dev/null +++ b/assets/resources/ui/land.jpg.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "ddb84e46-6b8a-4060-9391-98ad064fdf82", + "files": [ + ".jpg", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ddb84e46-6b8a-4060-9391-98ad064fdf82@6c48a", + "displayName": "land", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "ddb84e46-6b8a-4060-9391-98ad064fdf82", + "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": "ddb84e46-6b8a-4060-9391-98ad064fdf82@f9941", + "displayName": "land", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 268, + "height": 72, + "rawWidth": 268, + "rawHeight": 72, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -134, + -36, + 0, + 134, + -36, + 0, + -134, + 36, + 0, + 134, + 36, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 72, + 268, + 72, + 0, + 0, + 268, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -134, + -36, + 0 + ], + "maxPos": [ + 134, + 36, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "ddb84e46-6b8a-4060-9391-98ad064fdf82@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": false, + "fixAlphaTransparencyArtifacts": false, + "redirect": "ddb84e46-6b8a-4060-9391-98ad064fdf82@6c48a" + } +} diff --git a/assets/resources/ui/round-filled.png b/assets/resources/ui/round-filled.png new file mode 100644 index 0000000..121fdc5 Binary files /dev/null and b/assets/resources/ui/round-filled.png differ diff --git a/assets/resources/ui/round-filled.png.meta b/assets/resources/ui/round-filled.png.meta new file mode 100644 index 0000000..1c44866 --- /dev/null +++ b/assets/resources/ui/round-filled.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "cc0607d5-bdf2-456b-9198-51a285a2cfc1", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "cc0607d5-bdf2-456b-9198-51a285a2cfc1@6c48a", + "displayName": "round-filled", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "cc0607d5-bdf2-456b-9198-51a285a2cfc1", + "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": "cc0607d5-bdf2-456b-9198-51a285a2cfc1@f9941", + "displayName": "round-filled", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 8, + "trimY": 8, + "width": 32, + "height": 32, + "rawWidth": 48, + "rawHeight": 48, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -16, + -16, + 0, + 16, + -16, + 0, + -16, + 16, + 0, + 16, + 16, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 8, + 40, + 40, + 40, + 8, + 8, + 40, + 8 + ], + "nuv": [ + 0.16666666666666666, + 0.16666666666666666, + 0.8333333333333334, + 0.16666666666666666, + 0.16666666666666666, + 0.8333333333333334, + 0.8333333333333334, + 0.8333333333333334 + ], + "minPos": [ + -16, + -16, + 0 + ], + "maxPos": [ + 16, + 16, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "cc0607d5-bdf2-456b-9198-51a285a2cfc1@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "cc0607d5-bdf2-456b-9198-51a285a2cfc1@6c48a" + } +} diff --git a/assets/resources/ui/setting.png b/assets/resources/ui/setting.png new file mode 100644 index 0000000..7e59a98 Binary files /dev/null and b/assets/resources/ui/setting.png differ diff --git a/assets/resources/ui/setting.png.meta b/assets/resources/ui/setting.png.meta new file mode 100644 index 0000000..5289b8d --- /dev/null +++ b/assets/resources/ui/setting.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "235caa9d-c75e-400b-b676-21533ee234f3", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "235caa9d-c75e-400b-b676-21533ee234f3@6c48a", + "displayName": "setting", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "235caa9d-c75e-400b-b676-21533ee234f3", + "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": "235caa9d-c75e-400b-b676-21533ee234f3@f9941", + "displayName": "setting", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 2, + "width": 48, + "height": 44, + "rawWidth": 48, + "rawHeight": 48, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -24, + -22, + 0, + 24, + -22, + 0, + -24, + 22, + 0, + 24, + 22, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 46, + 48, + 46, + 0, + 2, + 48, + 2 + ], + "nuv": [ + 0, + 0.041666666666666664, + 1, + 0.041666666666666664, + 0, + 0.9583333333333334, + 1, + 0.9583333333333334 + ], + "minPos": [ + -24, + -22, + 0 + ], + "maxPos": [ + 24, + 22, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "235caa9d-c75e-400b-b676-21533ee234f3@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "235caa9d-c75e-400b-b676-21533ee234f3@6c48a" + } +} diff --git a/assets/scene.meta b/assets/scene.meta new file mode 100644 index 0000000..43a98a4 --- /dev/null +++ b/assets/scene.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "eafd10e5-7931-4564-8653-bb82404f4321", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scene/game.scene b/assets/scene/game.scene new file mode 100644 index 0000000..7b1797e --- /dev/null +++ b/assets/scene/game.scene @@ -0,0 +1,4123 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "game", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "game", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 108 + }, + "_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__": 109 + }, + "_id": "ddb84ebf-cdb6-4d7d-951a-cd864f59fc31" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 105 + }, + { + "__id__": 106 + }, + { + "__id__": 107 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 360, + "y": 640, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "ebFwiq8gBFaYpqYbdoDODe" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 0, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 640, + "_near": 0, + "_far": 2000, + "_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, + "_postProcess": null, + "_usePostProcess": false, + "_cameraType": -1, + "_trackingType": 0, + "_id": "63WIch3o5BEYRlXzTT0oWc" + }, + { + "__type__": "cc.Node", + "_name": "Game", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 6 + }, + { + "__id__": 9 + }, + { + "__id__": 11 + }, + { + "__id__": 29 + }, + { + "__id__": 34 + }, + { + "__id__": 38 + }, + { + "__id__": 41 + }, + { + "__id__": 45 + }, + { + "__id__": 86 + } + ], + "_active": true, + "_components": [ + { + "__id__": 103 + }, + { + "__id__": 104 + } + ], + "_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": "4cywQTMJBCx57tl5mIfvhU" + }, + { + "__type__": "cc.Node", + "_name": "Background", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 7 + }, + { + "__id__": 8 + } + ], + "_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": "b5r7VhnbpCZrWYqCkvn/L+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "76U5flBCNMdb4Teyw0jtAD" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e7b6b06d-45f2-44ba-90cd-d95772fb4225@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": "78wiDg0IRDwpRfKSXv30dY" + }, + { + "__type__": "cc.Node", + "_name": "FruitRoot", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 10 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 485.915, + "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": "74Zkf63U1L8rVAo/lzsIbs" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d3KqAJcHhMCbSKAb9PuK8T" + }, + { + "__type__": "cc.Node", + "_name": "Walls", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 12 + }, + { + "__id__": 18 + }, + { + "__id__": 23 + } + ], + "_active": true, + "_components": [ + { + "__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": "c6hGHWRX1Ok6qTTNQwyRSb" + }, + { + "__type__": "cc.Node", + "_name": "Floor", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + }, + { + "__id__": 17 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -580, + "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": "59oADK6mlJXbMm7RFSzKYv" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "141cZGsfxEH5AN2P/G3VZv" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "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__": "ddb84e46-6b8a-4060-9391-98ad064fdf82@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": "d9ELWV2uBOuZsMQZPcgkei" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_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": 720, + "height": 200 + }, + "_id": "15RqHPNs5ATZNc69td8wK8" + }, + { + "__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": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "80sHm3VfxIZ6dNiU7oPTCj" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 4, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": -40, + "_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": "45XJqlZxtGEKo+BQqv2UMW" + }, + { + "__type__": "cc.Node", + "_name": "LeftWall", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 19 + }, + { + "__id__": 20 + }, + { + "__id__": 21 + }, + { + "__id__": 22 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -359, + "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": "e3r2u+q3JDCLD95FneOic1" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 2, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c1C03HkvNNYYvYF7woP+FH" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_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": 1, + "height": 1280 + }, + "_id": "8e+GreaxdPt4pzTHkXIJZs" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "90a+z38XNIFazInueVwZid" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 9, + "_target": { + "__id__": 2 + }, + "_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": "2ctS7tTwtEPKQaimiVmVZS" + }, + { + "__type__": "cc.Node", + "_name": "RightWall", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 11 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + }, + { + "__id__": 25 + }, + { + "__id__": 26 + }, + { + "__id__": 27 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 359, + "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": "3bH5CMsflOGp5Ivxbl+/Un" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 2, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ceVnUEvbhIGZ7Pk0HSjbHx" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_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": 2, + "height": 1280 + }, + "_id": "e3Pg/ARWhNo7MqnfOUXElW" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": false, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "57SzOKhFtJ/Z/Y0nw1Yp/O" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 33, + "_target": { + "__id__": 2 + }, + "_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": "5aq4/TLitBKLFp9UeMIsNE" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "23ToKkODJMpqo0ej2sbMco" + }, + { + "__type__": "cc.Node", + "_name": "TopSensor", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 31 + }, + { + "__id__": 32 + }, + { + "__id__": 33 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 351.641, + "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": "5ai26z10FKu463LWuX7SnL" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "001Mra4g9GBpI5tXF7dJ8/" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "tag": 0, + "_group": 1, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 720, + "height": 30 + }, + "_id": "f2vBvFysJCP4NiyBDMraeA" + }, + { + "__type__": "176fdMWqLNN2ot9NqPPCfTn", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "holdSeconds": 2, + "_id": "d6KszKOKpMb5JlR5xulBFr" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 0, + "_allowSleep": true, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "13FSce2G9PcKyKSe+esFuz" + }, + { + "__type__": "cc.Node", + "_name": "DropLine", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 35 + }, + { + "__id__": 36 + }, + { + "__id__": 37 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 311.5, + "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": "caNBowXrRFIYHb6Pm0Bvsq" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 711, + "height": 8 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "dd08K4c5xJqYmRJr2Jcz8O" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e1207835-23ff-415e-9732-d644fd0140f9@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": "22bfFNorJHh65STQrjRVWY" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 1, + "_target": { + "__id__": 2 + }, + "_left": 0, + "_right": 0, + "_top": 324.5, + "_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": "d8RWU3asdFRox9RurFyz6C" + }, + { + "__type__": "cc.Node", + "_name": "Preview", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 39 + }, + { + "__id__": 40 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 468.867, + "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": "b6IovzwGRANYFIbcCNvXm0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 38 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "619ltsMz5F740Wce8E3GAb" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 38 + }, + "_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": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "c8tAX4rQFNyrg8J9zIEA3l" + }, + { + "__type__": "cc.Node", + "_name": "NextPreview", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 42 + }, + { + "__id__": 43 + }, + { + "__id__": 44 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 330, + "y": 561.408, + "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": "56B5L6WSJL0rsrhcjSj3/U" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 41 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 1 + }, + "_id": "65r2oBEqNOO62D/pz9zhxy" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 41 + }, + "_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": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "b7swUfVQdH9qxEMmdvqn3K" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 41 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 32, + "_target": { + "__id__": 2 + }, + "_left": 589.0029999999999, + "_right": 30, + "_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": "c5BioPtmBBVpo4ltA6InXS" + }, + { + "__type__": "cc.Node", + "_name": "SafeArea", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 46 + }, + { + "__id__": 68 + } + ], + "_active": true, + "_components": [ + { + "__id__": 83 + }, + { + "__id__": 84 + }, + { + "__id__": 85 + } + ], + "_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": "53aeemS5tA3ZVvZsJXS6Io" + }, + { + "__type__": "cc.Node", + "_name": "Function", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 45 + }, + "_children": [ + { + "__id__": 47 + }, + { + "__id__": 57 + } + ], + "_active": true, + "_components": [ + { + "__id__": 67 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 544.396, + "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": "f2WRLtX2tMy71ORokVVAzl" + }, + { + "__type__": "cc.Node", + "_name": "HomeButton", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 46 + }, + "_children": [ + { + "__id__": 48 + }, + { + "__id__": 52 + } + ], + "_active": true, + "_components": [ + { + "__id__": 55 + }, + { + "__id__": 56 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -329, + "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": "7dnpS8HSdF/ocAXbqHzJmS" + }, + { + "__type__": "cc.Node", + "_name": "Mask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 49 + }, + { + "__id__": 50 + }, + { + "__id__": 51 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -2.9599999999999795, + "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": "4fjURIXe5Bh7u27u1b36zF" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 52, + "height": 52 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "6dflZ5tctGkIrtUmFTcqY0" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 8, + "g": 8, + "b": 8, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cc0607d5-bdf2-456b-9198-51a285a2cfc1@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": "cfenZp0e5MNJf1Zn7wgoXN" + }, + { + "__type__": "cc.UIOpacity", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": null, + "_opacity": 128, + "_id": "08zymLE6pC7a8yeH1h8Jwi" + }, + { + "__type__": "cc.Node", + "_name": "Home", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 53 + }, + { + "__id__": 54 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -2.9599999999999795, + "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": "d81RE5wMVKH5E8LEs+fRZe" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 52 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 32, + "height": 32 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a6N4VwspFFQq5PBJvnGgHO" + }, + { + "__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__": "7fd8e0a9-8426-4cb4-99ef-79789ec1b237@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": "c6L5IH4DVAEI7yXCzz+iN0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 52, + "height": 52 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3dTM1h3hhA/IP+5bi5cyW1" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 47 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 8, + "_target": { + "__id__": 2 + }, + "_left": 5, + "_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": "91Kn6vM9JJKokEMBOyt+HB" + }, + { + "__type__": "cc.Node", + "_name": "SettingBUtton", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 46 + }, + "_children": [ + { + "__id__": 58 + }, + { + "__id__": 62 + } + ], + "_active": true, + "_components": [ + { + "__id__": 65 + }, + { + "__id__": 66 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -279, + "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": "59wrnHxK5H6JnKXqB2rb1v" + }, + { + "__type__": "cc.Node", + "_name": "Mask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 57 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 59 + }, + { + "__id__": 60 + }, + { + "__id__": 61 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 4.157999999999959, + "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": "63s3fvWAFEdJ5AR57OIEZu" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 58 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 52, + "height": 52 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b1h9UcdhNHfqKt4ZZrLNYG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 58 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 8, + "g": 8, + "b": 8, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cc0607d5-bdf2-456b-9198-51a285a2cfc1@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": "23Tp1na0ZJpLv+EC642wHw" + }, + { + "__type__": "cc.UIOpacity", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 58 + }, + "_enabled": true, + "__prefab": null, + "_opacity": 128, + "_id": "21FkYeW6ZEapoSB7E4cPGd" + }, + { + "__type__": "cc.Node", + "_name": "Setting", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 57 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 63 + }, + { + "__id__": 64 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 3.8689999999999714, + "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": "b6Ofb9yTtBuocipX9LRE6x" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 32, + "height": 32 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ecg6rhbdZJJJLv6j8TT2qV" + }, + { + "__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__": "235caa9d-c75e-400b-b676-21533ee234f3@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": "8dfxP8XUZO/aZqNAOSKJYj" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 57 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 52, + "height": 52 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d24+iwaYpAcaNv1K/Z3Ohi" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 57 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 8, + "_target": { + "__id__": 2 + }, + "_left": 55, + "_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": "72uQAnRvBCP5n1xEHELXKe" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 46 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "eaEUeJZBxDxaGSjpWmVbRi" + }, + { + "__type__": "cc.Node", + "_name": "HUD", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 45 + }, + "_children": [ + { + "__id__": 69 + }, + { + "__id__": 73 + } + ], + "_active": true, + "_components": [ + { + "__id__": 82 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 47.953, + "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": "2dr1N/RCRKspSnOrjA2BwD" + }, + { + "__type__": "cc.Node", + "_name": "scoreLabel", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 68 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 70 + }, + { + "__id__": 71 + }, + { + "__id__": 72 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -14.641, + "y": 480.42900000000003, + "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": "d91JgAEGFNV7iqEZ0n2cV4" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 70.73828125, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7epC4XPyBJFId/ofQE4pqq" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 235, + "g": 23, + "b": 23, + "a": 255 + }, + "_string": "222", + "_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": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 248, + "g": 238, + "b": 238, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "b3zVJF9PxCMKg0CDld6GOw" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 17, + "_target": { + "__id__": 2 + }, + "_left": 358, + "_right": 0, + "_top": 84.41799999999999, + "_bottom": 0, + "_horizontalCenter": -14.641, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "5eCT/y3ChFUrzxut+QCSbv" + }, + { + "__type__": "cc.Node", + "_name": "Best", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 68 + }, + "_children": [ + { + "__id__": 74 + }, + { + "__id__": 77 + } + ], + "_active": true, + "_components": [ + { + "__id__": 80 + }, + { + "__id__": 81 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 528.291, + "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": "24zM/lfgBBV55YmWBRFhMM" + }, + { + "__type__": "cc.Node", + "_name": "Crown", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 73 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 75 + }, + { + "__id__": 76 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65.884, + "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": "4fqIAgCTxBY5kN6jL2Y4ss" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 74 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 32, + "height": 32 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "dfVzL1vvpI8Yc+d98CmnXx" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 74 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0b2fd303-5502-4b3f-9ffc-219b0f7d7bf6@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": "2aIXK9lnFIJ481XM3xHYRg" + }, + { + "__type__": "cc.Node", + "_name": "bestLabel", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 73 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 78 + }, + { + "__id__": 79 + } + ], + "_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": "31Z9gY0tlK1qllad5yJ4H0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 77 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 83.4228515625, + "height": 37.8 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ac/aatpLZBvozkAVmDU434" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 77 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "34233", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 30, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "99prFB+XZNsqKn3By78zJz" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 73 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "38/as/cbRBB4abz75KCF8a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 73 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 16, + "_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": "544jj5+tJKYIeDgmq5sb3+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 68 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3bfTFe3bNMRLcgE0OZfdMi" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 45 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "bfCej2lldCTqSHRPCdjsRH" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 45 + }, + "_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": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "46BKtXtYBMuqlX3ZQ2lWGX" + }, + { + "__type__": "cc.SafeArea", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 45 + }, + "_enabled": true, + "__prefab": null, + "_symmetric": true, + "_id": "ccvP3gnFBDZpAloUrjIq7F" + }, + { + "__type__": "cc.Node", + "_name": "Result", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 87 + }, + { + "__id__": 91 + }, + { + "__id__": 94 + } + ], + "_active": false, + "_components": [ + { + "__id__": 102 + } + ], + "_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": "96j+OSrlxEkZd4wbuILhXb" + }, + { + "__type__": "cc.Node", + "_name": "SpriteSplash", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 86 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 88 + }, + { + "__id__": 89 + }, + { + "__id__": 90 + } + ], + "_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": "ffvIJcfiRPeq1r2Olv9jKd" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 87 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 500, + "height": 600 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1cmekGpm5LtKPbYcRlneSK" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 87 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 8, + "g": 8, + "b": 8, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@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": "e6v/heA5JHB6EsUf5R9yOB" + }, + { + "__type__": "cc.UIOpacity", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 87 + }, + "_enabled": true, + "__prefab": null, + "_opacity": 150, + "_id": "ceVcNcjrBCSp1s+v7Cn2tr" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 86 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 92 + }, + { + "__id__": 93 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 105.047, + "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": "83QeDONLFBkLQzvCI9XZcb" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 240, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5boBT5TBxOYLP9KGqbErZm" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "巴巴哎萌", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_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, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "c7Sr651XBBabEH+WDDvCCL" + }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 86 + }, + "_children": [ + { + "__id__": 95 + } + ], + "_active": true, + "_components": [ + { + "__id__": 98 + }, + { + "__id__": 99 + }, + { + "__id__": 100 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -132.281, + "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": "bfhrly7EZODpI0qeSh6cfU" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 94 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 96 + }, + { + "__id__": 97 + } + ], + "_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": "43a/ABdiNELKX5Wjbe1HlB" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 95 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 130, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d11bJL9rxN4ZfUU4Qo6kKH" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 95 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "重新开始", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 30, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "e33BnDvl5Fs7C+gY54lpt6" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 94 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 230, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5b0NYA00dEeJiGbL7YZmrh" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 94 + }, + "_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": "8eljkh0oFDbKrw52SEF6ZP" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 94 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 101 + } + ], + "_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__": 94 + }, + "_id": "5baY6QOT5Mo7peSKo5EakW" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 5 + }, + "component": "", + "_componentId": "15d7824snJJ868CuAbf2gJt", + "handler": "startNewGame", + "customEventData": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 86 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "037Lxi1LhJ3q2SHY8MBBkQ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f8G6jfEEBJ5KjtwM1WPzza" + }, + { + "__type__": "15d7824snJJ868CuAbf2gJt", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "fruitPrefab": { + "__uuid__": "58d1b10e-557b-4f03-a5d7-e0fa15ca8e28", + "__expectedType__": "cc.Prefab" + }, + "fruitSprites": [ + { + "__uuid__": "84816a04-8b17-4892-9e1b-7735ea15f506@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "6bd1967a-cbe1-431e-9b86-66fe44383df8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "371e1d75-2fe1-42f6-9537-77a13967b484@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "4c5e158d-2fc5-43a3-82ec-d5b9fc598b94@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "ed717906-95a0-40e4-bc39-3f079723676c@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "b07dc052-d1ad-4a15-9c5e-269412084ecd@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "672e25b4-c189-4145-bfe4-9a4a07bcfa87@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "732aeab5-4112-4e1b-9d6a-10cc7af6e74c@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "281146ac-4d17-48a3-9e93-87df0f3a41d9@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "7f274084-6f3e-4d8a-a75c-9a42f100ac93@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "f38ab1e3-817e-4557-8c56-2965ab33232f@f9941", + "__expectedType__": "cc.SpriteFrame" + } + ], + "fruitRoot": { + "__id__": 9 + }, + "dropLine": { + "__id__": 34 + }, + "preview": { + "__id__": 38 + }, + "nextPreview": { + "__id__": 41 + }, + "resultNode": { + "__id__": 86 + }, + "resultLabel": { + "__id__": 93 + }, + "scoreLabel": { + "__id__": 71 + }, + "bestLabel": { + "__id__": 79 + }, + "explosionPrefab": { + "__uuid__": "6fadf718-47bf-401a-ad18-900a6eba4af6", + "__expectedType__": "cc.Prefab" + }, + "mergeSFX": { + "__uuid__": "d517e482-ffae-4805-a86c-dae75ce7dfcc", + "__expectedType__": "cc.AudioClip" + }, + "failSFX": { + "__uuid__": "b7f58657-429c-4d6f-8d8f-b687007ac1d9", + "__expectedType__": "cc.AudioClip" + }, + "victorySFX": { + "__uuid__": "1249a178-91a7-4dd4-bb0c-054818b6a9de", + "__expectedType__": "cc.AudioClip" + }, + "playBgm": { + "__uuid__": "82a22eab-1575-4e38-94c4-e41ab794864e", + "__expectedType__": "cc.AudioClip" + }, + "previewY": 400, + "randomStartMaxLevel": 5, + "previewClampPadding": 40, + "spawnCooldown": 0.2, + "_id": "38SkbpZJdBkoZm8Yy1M8nm" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_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": 0, + "_right": 0, + "_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": "ddb84ebf-cdb6-4d7d-951a-cd864f59fc31", + "instance": null, + "targetOverrides": null + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 110 + }, + "shadows": { + "__id__": 111 + }, + "_skybox": { + "__id__": 112 + }, + "fog": { + "__id__": 113 + }, + "octree": { + "__id__": 114 + }, + "skin": { + "__id__": 115 + }, + "lightProbeInfo": { + "__id__": 116 + }, + "postSettings": { + "__id__": 117 + }, + "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, + "_planeBias": 1, + "_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.SkinInfo", + "_enabled": false, + "_blurRadius": 0.01, + "_sssIntensity": 3 + }, + { + "__type__": "cc.LightProbeInfo", + "_giScale": 1, + "_giSamples": 1024, + "_bounces": 2, + "_reduceRinging": 0, + "_showProbe": true, + "_showWireframe": true, + "_showConvex": false, + "_data": null, + "_lightProbeSphereVolume": 1 + }, + { + "__type__": "cc.PostSettingsInfo", + "_toneMappingType": 0 + } +] \ No newline at end of file diff --git a/assets/scene/game.scene.meta b/assets/scene/game.scene.meta new file mode 100644 index 0000000..2f9d835 --- /dev/null +++ b/assets/scene/game.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.50", + "importer": "scene", + "imported": true, + "uuid": "ddb84ebf-cdb6-4d7d-951a-cd864f59fc31", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script.meta b/assets/script.meta new file mode 100644 index 0000000..e2883af --- /dev/null +++ b/assets/script.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "0aa33634-bdae-4549-9b34-a25f7da2708a", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/AudioManager.ts b/assets/script/AudioManager.ts new file mode 100644 index 0000000..d06736a --- /dev/null +++ b/assets/script/AudioManager.ts @@ -0,0 +1,140 @@ +import { _decorator, Component, Node, AudioSource, AudioClip, director } from 'cc'; +const { ccclass, property } = _decorator; + +// 背景音乐类型 +export enum BGMType { + Home, + Level, + Boss, + Play +} + +// 音效类型 +export enum SFXType { + Merge, + Success, + Fail, + Item, + Victory, + Magic, + Shuffle, + Hint +} + +@ccclass('AudioManager') +export class AudioManager extends Component { + private static _instance: AudioManager | null = null; + public static get instance(): AudioManager { + console.log(33333, !this._instance) + if (!this._instance) { + const node = new Node('AudioManager'); + this._instance = node.addComponent(AudioManager); + director.addPersistRootNode(node); + } + + return this._instance; + } + + // AudioSources + private bgmSource!: AudioSource; + private sfxSource!: AudioSource; + + // 开关 + public bgmEnabled: boolean = true; + public sfxEnabled: boolean = true; + + // 音乐 / 音效 Map + private bgmClips: Map = new Map(); + private sfxClips: Map = new Map(); + + private currentBGM: BGMType | null = null; + + onLoad() { + // 初始化单例 + AudioManager._instance = this; + // 跨场景不销毁 + // director.addPersistRootNode(this.node); + + // 读取本地开关 + this.bgmEnabled = localStorage.getItem('bgmEnabled') !== '0'; + this.sfxEnabled = localStorage.getItem('sfxEnabled') !== '0'; + + // 自动挂载或创建 AudioSource + const sources = this.node.getComponents(AudioSource); + if (sources.length >= 2) { + this.bgmSource = sources[0]; + this.sfxSource = sources[1]; + } else { + this.bgmSource = this.node.addComponent(AudioSource); + this.bgmSource.loop = true; + this.sfxSource = this.node.addComponent(AudioSource); + } + } + + /** 注册 BGM */ + public registerBGM(type: BGMType, clip: AudioClip) { + this.bgmClips.set(type, clip); + } + + /** 注册 SFX */ + public registerSFX(type: SFXType, clip: AudioClip) { + this.sfxClips.set(type, clip); + } + + /** 播放背景音乐 */ + public playBGM(type: BGMType) { + // if (!this.bgmEnabled) return; + // if (this.currentBGM === type) return; + + const clip = this.bgmClips.get(type); + if (!clip) return; + + this.currentBGM = type; + this.bgmSource.clip = clip; + this.bgmSource.loop = true; + this.bgmSource.volume = 0.5; + this.bgmSource.play(); + } + + /** 播放音效 */ + public playSFX(type: SFXType) { + // if (!this.sfxEnabled) return; + const clip = this.sfxClips.get(type); + if (!clip) return; + + this.sfxSource.playOneShot(clip, 1.0); + } + + /** 设置 BGM 开关 */ + public setBGMEnabled(enabled: boolean) { + this.bgmEnabled = enabled; + localStorage.setItem('bgmEnabled', enabled ? '1' : '0'); + if (!this.bgmSource) return; + + if (enabled) { + // 开启播放当前 BGM + if (this.currentBGM !== null || this.currentBGM !== undefined) { + const clip = this.bgmClips.get(this.currentBGM); + if (clip) { + this.bgmSource.clip = clip; + this.bgmSource.play(); + } + } + } else { + // 关闭停止播放 + this.bgmSource.stop(); + } + } + + /** 设置 SFX 开关 */ + public setSFXEnabled(enabled: boolean) { + this.sfxEnabled = enabled; + localStorage.setItem('sfxEnabled', enabled ? '1' : '0'); + // 关闭音效后,playSFX 会直接返回,不会播放 + } + + /** 设置 SFX 开关 */ + public setCurBgm(type: number) { + this.currentBGM = type; + } +} diff --git a/assets/script/AudioManager.ts.meta b/assets/script/AudioManager.ts.meta new file mode 100644 index 0000000..e0e64a2 --- /dev/null +++ b/assets/script/AudioManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "4764f1a4-4e46-4c19-b03c-8f4b21b25cb8", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/Fruit.ts b/assets/script/Fruit.ts new file mode 100644 index 0000000..8b7cb04 --- /dev/null +++ b/assets/script/Fruit.ts @@ -0,0 +1,91 @@ +import { + _decorator, + Component, + Sprite, + SpriteFrame, + UITransform, + Size, + CircleCollider2D, + Contact2DType, + IPhysics2DContact, + RigidBody2D, + Vec2, + Node, +} from "cc"; +import { FRUITS, MAX_LEVEL } from "./FruitConfig"; +import { GameManager } from "./GameManager"; +const { ccclass, property } = _decorator; + +@ccclass("Fruit") +export class Fruit extends Component { + @property + level = 1; // 1..MAX_LEVEL + + @property(Sprite) + sprite!: Sprite; + + game!: GameManager; + collider!: CircleCollider2D; + body!: RigidBody2D; + + // 防止同一对重复合成 + merging = false; + removed = false; + + init(level: number, spriteFrame: SpriteFrame, game: GameManager) { + this.level = level; + this.game = game; + if (!this.sprite) this.sprite = this.getComponent(Sprite)!; + this.sprite.spriteFrame = spriteFrame; + + const def = FRUITS[this.level - 1]; + const ui = this.getComponent(UITransform)!; + ui.setContentSize(new Size(def.radius * 2, def.radius * 2)); + + this.collider = this.getComponent(CircleCollider2D)!; + this.collider.radius = def.radius; + + this.body = this.getComponent(RigidBody2D)!; + this.body.enabled = true; + + this.merging = false; + this.removed = false; + } + + onEnable() { + const col = this.getComponent(CircleCollider2D); + if (col) col.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this); + } + + onDisable() { + const col = this.getComponent(CircleCollider2D); + if (col) col.off(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this); + } + + private onBeginContact( + selfCol: CircleCollider2D, + otherCol: CircleCollider2D, + _contact: IPhysics2DContact | null + ) { + if (this.removed || this.merging) return; + const otherNode = otherCol.node as Node; + const otherFruit = otherNode.getComponent(Fruit); + if (!otherFruit || otherFruit.removed || otherFruit.merging) return; + + // 仅同级可合成,且不能超过最大级 + if (otherFruit.level !== this.level || this.level >= MAX_LEVEL) return; + + // 为避免两者都合成,使用 uuid 决定触发者(只让“较小”的触发) + if (this.node.uuid > otherNode.uuid) return; + + this.merging = true; + otherFruit.merging = true; + + // 合成到下一级 + const nextLevel = this.level + 1; + const wpA = this.node.worldPosition; + const wpB = otherNode.worldPosition; + const mid = wpA.clone().add(wpB).multiplyScalar(0.5); + this.game.spawnMerged(nextLevel, mid, this, otherFruit); + } +} diff --git a/assets/script/Fruit.ts.meta b/assets/script/Fruit.ts.meta new file mode 100644 index 0000000..950bc8c --- /dev/null +++ b/assets/script/Fruit.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "bb6094b3-338a-441c-a827-32edc145dc63", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/FruitConfig.ts b/assets/script/FruitConfig.ts new file mode 100644 index 0000000..77042a0 --- /dev/null +++ b/assets/script/FruitConfig.ts @@ -0,0 +1,59 @@ +// assets/scripts/FruitConfig.ts +import { SpriteFrame } from "cc"; + +export interface FruitDef { + level: number; // 1..MAX + name: string; + radius: number; // 物理半径(像素) + score: number; // 合成到该等级获得的分数 + sprite?: SpriteFrame; // 运行时由 GameManager 注入 +} + +export const MAX_LEVEL = 11; // 西瓜 + +// 半径与分数可按手感微调(半径越大越难堆) +export const FRUITS: FruitDef[] = [ + { level: 1, name: "樱桃", radius: 26, score: 1 }, + { level: 2, name: "草莓", radius: 30, score: 2 }, + { level: 3, name: "葡萄", radius: 34, score: 4 }, + { level: 4, name: "橘子", radius: 38, score: 8 }, + { level: 5, name: "柠檬", radius: 44, score: 16 }, + { level: 6, name: "猕猴桃", radius: 50, score: 24 }, + { level: 7, name: "番茄", radius: 58, score: 36 }, + { level: 8, name: "桃子", radius: 66, score: 48 }, + { level: 9, name: "菠萝", radius: 74, score: 64 }, + { level: 10, name: "哈密瓜", radius: 84, score: 96 }, + { level: 11, name: "西瓜", radius: 96, score: 128 }, +]; + +export function clampLevel(lv: number) { + if (lv < 1) return 1; + if (lv > MAX_LEVEL) return MAX_LEVEL; + return lv; +} + +// export function randomStartLevel(min=1, max=5) { +// const a = Math.max(1, Math.min(MAX_LEVEL-1, min)); +// const b = Math.max(a, Math.min(MAX_LEVEL-1, max)); +// return Math.floor(Math.random() * (b - a + 1)) + a; +// } + +export function randomStartLevel( + minLevel: number, + maxLevel: number, + score: number +): number { + let level = Math.floor(Math.random() * (maxLevel - minLevel + 1)) + minLevel; + + // 高分奖励机制:比如 score >= 50 时,有 20% 概率出现 maxLevel+1 的水果 + if (score >= 800 && Math.random() < 0.2) { + level = Math.min(level + 1, FRUITS.length); + } + + // 高分再加概率,可根据需求增加更高级水果 + if (score >= 1500 && Math.random() < 0.1) { + level = Math.min(level + 2, FRUITS.length); + } + + return level; +} diff --git a/assets/script/FruitConfig.ts.meta b/assets/script/FruitConfig.ts.meta new file mode 100644 index 0000000..b4068dd --- /dev/null +++ b/assets/script/FruitConfig.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "0597dd34-c555-4e0c-8c81-f662a8e41a20", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/GameManager.ts b/assets/script/GameManager.ts new file mode 100644 index 0000000..4792040 --- /dev/null +++ b/assets/script/GameManager.ts @@ -0,0 +1,468 @@ +import { + _decorator, + Component, + Node, + Prefab, + SpriteFrame, + input, + Input, + NodePool, + Script, + Sprite, + UITransform, + v3, + Vec3, + math, + Vec2, + instantiate, + RigidBody2D, + tween, + ERigidBody2DType, + CircleCollider2D, + PhysicsSystem2D, + sys, + Label, + UIOpacity, + director, + ParticleSystem2D, + Color, + EventTouch, + view, + AudioClip, +} from "cc"; +import { AudioManager, BGMType, SFXType } from "./AudioManager"; +import { Fruit } from "./Fruit"; +const { ccclass, property } = _decorator; + +import { FRUITS, clampLevel, randomStartLevel } from "./FruitConfig"; + +@ccclass("GameManager") +export class GameManager extends Component { + @property(Prefab) + fruitPrefab!: Prefab; // 统一水果预制 + + @property([SpriteFrame]) + fruitSprites: SpriteFrame[] = []; // 长度需 >= FRUITS.length,按等级顺序 + + @property(Node) + fruitRoot!: Node; + + @property(Node) + dropLine!: Node; + + @property(Node) + preview!: Node; // 顶部预览点,挂 Sprite + + @property(Node) + nextPreview!: Node; + + @property(Node) + topSensor!: Node; + + @property(Node) + resultNode: Node = null; + + @property(Label) + resultLabel: Label = null; + + @property(Label) + scoreLabel!: Label; + + @property(Label) + bestLabel!: Label; + + @property(Prefab) + explosionPrefab: Prefab = null!; + + @property(AudioClip) + mergeSFX: AudioClip = null!; + + @property(AudioClip) + failSFX: AudioClip = null!; + + @property(AudioClip) + victorySFX: AudioClip = null!; + + @property(AudioClip) + playBgm: AudioClip = null; + + // —— 可调参数 —— + @property + previewY = 560; // 预览/下落的 Y(根据分辨率调整) + @property + randomStartMaxLevel = 5; // 随机初级水果最大等级 + @property + previewClampPadding = 40; // 贴边留白 + @property + spawnCooldown = 1; // 连续投掷冷却 + + dangerOn = false; + + // —— 运行时状态 —— + nextLevel = 1; // 将要投的等级 + queuedLevel = 1; // 下一颗的预告 + canDrop = true; + isGameOver = false; + score = 0; + best = 0; + + private pool = new NodePool(); + + onLoad() { + AudioManager.instance.registerBGM(BGMType.Play, this.playBgm); + AudioManager.instance.registerSFX(SFXType.Merge, this.mergeSFX); + AudioManager.instance.registerSFX(SFXType.Fail, this.failSFX); + AudioManager.instance.registerSFX(SFXType.Victory, this.victorySFX); + + AudioManager.instance.setCurBgm(BGMType.Play); + AudioManager.instance.playBGM(BGMType.Play); + + for (let i = 0; i < FRUITS.length; i++) { + FRUITS[i].sprite = this.fruitSprites[i] || FRUITS[i].sprite; + } + + this.best = Number(sys.localStorage.getItem("best") || 0); + if (this.bestLabel) this.bestLabel.string = `${this.best}`; + if (this.scoreLabel) this.scoreLabel.string = `0`; + } + + protected onDestroy() { + this.unbindInput(); + } + + start() { + this.bindInput(); + this.reset(); + + PhysicsSystem2D.instance.gravity = new Vec2(0, -800); + } + + bindInput() { + input.on(Input.EventType.TOUCH_MOVE, this.onMove, this); + input.on(Input.EventType.TOUCH_START, this.onMove, this); // 触摸开始也更新预览位置 + input.on(Input.EventType.TOUCH_END, this.onDrop, this); + } + + unbindInput() { + input.off(Input.EventType.TOUCH_MOVE, this.onMove, this); + input.off(Input.EventType.TOUCH_START, this.onMove, this); + input.off(Input.EventType.TOUCH_END, this.onDrop, this); + } + + reset() { + this.isGameOver = false; + this.canDrop = true; + // TODO 分数 + this.updateScore(0); + // 清场(放回对象池而非直接删) + const children = [...this.fruitRoot.children]; + for (const c of children) this.recycleFruit(c); + + // 初始化两个预报等级 + this.nextLevel = randomStartLevel(1, this.randomStartMaxLevel, this.score); + this.queuedLevel = randomStartLevel( + 1, + this.randomStartMaxLevel, + this.score + ); + + this.refreshPreview(); + this.refreshNextPreview(); + this.setDanger(false); + } + + setDanger(on: boolean) { + this.dangerOn = on; + } + + recycleFruit(node: Node) { + const fr = node.getComponent(Fruit); + + if (fr) fr.removed = true; + node.removeFromParent(); + this.pool.put(node); + } + + refreshPreview() { + const sp = this.preview.getComponent(Sprite); + const def = FRUITS[this.nextLevel - 1]; + sp.spriteFrame = def.sprite!; + + const ui = this.preview.getComponent(UITransform)!; + ui.setContentSize(def.radius * 2, def.radius * 2); + + // 初始位置居中(仅设置 X,Y 固定在预览线) + const p = this.preview.position; + this.preview.active = true; + this.preview.setPosition(v3(0, this.previewY, p.z)); + } + + refreshNextPreview() { + const sp = this.nextPreview.getComponent(Sprite); + const def = FRUITS[this.queuedLevel - 1]; + sp.spriteFrame = def.sprite!; + + const ui = this.nextPreview.getComponent(UITransform)!; + ui.setContentSize(def.radius * 2, def.radius * 2); + + // 初始位置居中(仅设置 X,Y 固定在预览线) + const p = this.nextPreview.position; + this.nextPreview.active = true; + // this.nextPreview.setPosition(v3(100, this.previewY, p.z)); + } + + onMove(e: EventTouch) { + if (this.isGameOver) return; + + const screenPos = e.getUILocation(); + const canvasUI = this.node.getComponent(UITransform)!; + const localPos = canvasUI.convertToNodeSpaceAR( + new Vec3(screenPos.x, screenPos.y, 0) + ); + + // 获取预览水果世界宽度 + const fruitWorldWidth = + this.preview.getComponent(UITransform)!.contentSize.width * + this.preview.worldScale.x; + + // 获取 Canvas 世界半宽 + const canvasWorldHalfWidth = view.getVisibleSize().width / 2; + + const clampedX = math.clamp( + localPos.x, + -canvasWorldHalfWidth + fruitWorldWidth / 2, + canvasWorldHalfWidth - fruitWorldWidth / 2 + ); + this.preview.setPosition( + v3(clampedX, this.previewY, this.preview.position.z) + ); + } + + onDrop() { + if (this.isGameOver || !this.canDrop) return; + + // 禁止再次投掷 + this.canDrop = false; + + // 当前水果下落位置 + const dropPos = this.preview.worldPosition; + + // 1️⃣ 生成当前水果 + this.spawnFruit(this.nextLevel, dropPos); + + // 2️⃣ 隐藏预览,防止连续操作 + this.preview.active = false; + + // 3️⃣ 延迟 1 秒刷新队列和显示预览 + this.scheduleOnce(() => { + // 队列前移 + this.nextLevel = this.queuedLevel; + this.queuedLevel = randomStartLevel( + 1, + this.randomStartMaxLevel, + this.score + ); + + // 刷新预览 + this.refreshPreview(); + this.refreshNextPreview(); + this.preview.active = true; + + // 恢复投掷 + this.canDrop = true; + }, 0.6); // 延迟 1 秒 + } + + spawnFruit(level: number, worldPos: Vec3, inheritVel?: Vec2) { + // 1️⃣ 获取节点:从对象池或者实例化 + const node = + this.pool.size() > 0 ? this.pool.get()! : instantiate(this.fruitPrefab); + node.parent = this.fruitRoot; + node.active = true; + + // 2️⃣ 获取水果半宽(世界显示宽度) + const fruitRadius = FRUITS[level - 1].radius; + const fruitUI = node.getComponent(UITransform)!; + const fruitHalfWidth = (fruitUI.contentSize.width * node.worldScale.x) / 2; + + // 3️⃣ 获取 Canvas / Root 容器缩放比例 + const rootUI = this.fruitRoot.getComponent(UITransform)!; + const canvasScaleX = view.getVisibleSize().width / rootUI.contentSize.width; + const halfRootW = (rootUI.contentSize.width * canvasScaleX) / 2; + + // 4️⃣ 转换到 FruitRoot 坐标系 + const local = rootUI.convertToNodeSpaceAR(worldPos.clone()); + + // 5️⃣ 限制 X 坐标不超出屏幕边界 + local.x = math.clamp( + local.x, + -halfRootW + fruitHalfWidth, + halfRootW - fruitHalfWidth + ); + + // 6️⃣ 设置初始位置、缩放、旋转 + node.setPosition(local); + node.setScale(1, 1, 1); + node.setRotationFromEuler(0, 0, 0); + + // 7️⃣ 初始化组件 + const fruit = node.getComponent(Fruit)!; + const index = Math.max(0, Math.min(level - 1, FRUITS.length - 1)); + const sf = FRUITS[index].sprite!; + fruit.init(level, sf, this); + + // 8️⃣ 物理恢复 + const rb = node.getComponent(RigidBody2D)!; + rb.enabled = true; + rb.linearVelocity = inheritVel || new Vec2(0, -10); + rb.angularVelocity = 0; + + const col = node.getComponent(CircleCollider2D)!; + if (col) col.enabled = true; + + // 9️⃣ 出场缩放动画 + node.setScale(0.9, 0.9, 1); + tween(node) + .to(0.1, { scale: v3(1, 1, 1) }) + .start(); + + return fruit; + } + + updateScore(v: number) { + this.score = v; + if (this.scoreLabel) this.scoreLabel.string = `${this.score}`; + if (this.score > this.best) { + this.best = this.score; + sys.localStorage.setItem("best", String(this.best)); + } + if (this.bestLabel) this.bestLabel.string = `${this.best}`; + } + + // 被 Fruit 调用:把两颗同级水果合成到 nextLevel + spawnMerged(nextLevel: number, worldMid: Vec3, a: Fruit, b: Fruit) { + if (this.isGameOver) return; + + // 读两者速度,合成后给一个小的向上速度,避免“坍塌” + const va = a.getComponent(RigidBody2D)!.linearVelocity; + const vb = b.getComponent(RigidBody2D)!.linearVelocity; + // const inherit = new Vec2( + // (va.x + vb.x) * 0.25, + // Math.max(120, (va.y + vb.y) * 0.25) + // ); + const inherit = new Vec2( + (va.x + vb.x) * 0.25, + Math.max(3, (va.y + vb.y) * 0.25) // 至少往上轻推一点 + ); + // 回收/删除旧的 + this.recycleFruit(a.node); + this.recycleFruit(b.node); + + // 生成新的 + const f = this.spawnFruit(clampLevel(nextLevel), worldMid, inherit); + // 计分:按目标等级给分 + this.updateScore(this.score + FRUITS[clampLevel(nextLevel) - 1].score); + + const explosion = instantiate(this.explosionPrefab); + const canvas = director.getScene().getChildByName("Canvas")!; + canvas.addChild(explosion); + explosion.setWorldPosition(worldMid); + explosion.setSiblingIndex(canvas.children.length - 1); + + const ps = explosion.getComponent(ParticleSystem2D); + if (ps) { + ps.resetSystem(); + const brightColors = [ + new Color(255, 255, 0), // 黄色 + new Color(255, 128, 0), // 橙色 + new Color(255, 0, 0), // 红色 + new Color(0, 255, 255), // 青色 + new Color(128, 0, 255), // 紫色 + ]; + + // 随机给粒子选择颜色 + ps.startColor = + brightColors[Math.floor(Math.random() * brightColors.length)]; + + // 可选:结束颜色渐变为透明 + ps.endColor = new Color( + ps.startColor.r, + ps.startColor.g, + ps.startColor.b, + 0 + ); + } + + this.scheduleOnce(() => { + explosion.destroy(); + }, 1.5); // 粒子持续时间 + + const circle = new Node(); + const sp = circle.addComponent(Sprite); + sp.spriteFrame = this.fruitSprites[nextLevel - 1]; // 你可以换一张发光圈贴图 + circle.parent = this.fruitRoot; + circle.setPosition(worldMid); + circle.setScale(0, 0, 1); + + // 添加透明度组件 + const uiOpacity = circle.addComponent(UIOpacity); + uiOpacity.opacity = 255; + + // 并行动画:缩放 + 渐隐 + tween(circle) + .to(0.3, { scale: v3(2, 2, 1) }) + .call(() => circle.destroy()) + .start(); + + tween(uiOpacity).to(0.3, { opacity: 0 }).start(); + + // 合成特效:放大闪烁 + const n = f.node; + const s0 = n.scale.clone(); + tween(n) + .to(0.06, { scale: v3(s0.x * 1.15, s0.y * 1.15, 1) }) + .to(0.08, { scale: v3(1, 1, 1) }) + .start(); + + AudioManager.instance.playSFX(SFXType.Merge); + + // const nextFruit = FRUITS[nextLevel+1].name + // if(nextFruit === '西瓜') this.gameOver(true) + + + // 音效:合成 + // this.playSfx(0.2); + } + + gameOver(success = false) { + if (this.isGameOver) return; + this.isGameOver = true; + this.canDrop = false; + this.setDanger(true); + + // 所有水果轻微变暗/缩放(可选) + // this.fruitRoot.children.forEach((n) => + // tween(n).to(0.2, { scale: v3(0.95, 0.95, 1) }).start() + // ); + + // AudioManager.instance.playSFX(SFXType.Fail); + this.resultShow(success); + // 失败音 + // this.playSfx(0.35); + } + + resultShow(success: boolean) { + this.resultNode.active = true; + if (!success) { + AudioManager.instance.playSFX(SFXType.Fail); + this.resultLabel.string = "哎萌巴巴"; + } else { + AudioManager.instance.playSFX(SFXType.Victory); + this.resultLabel.string = "恭喜哎萌"; + } + } + + startNewGame() { + director.loadScene("game"); + } +} diff --git a/assets/script/GameManager.ts.meta b/assets/script/GameManager.ts.meta new file mode 100644 index 0000000..212abf3 --- /dev/null +++ b/assets/script/GameManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "15d78db8-b272-49f3-af02-b806dfda026d", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/TopSensor.ts b/assets/script/TopSensor.ts new file mode 100644 index 0000000..0620922 --- /dev/null +++ b/assets/script/TopSensor.ts @@ -0,0 +1,58 @@ +import { _decorator, Component, BoxCollider2D, Contact2DType, IPhysics2DContact, Node, Color, find, director } from 'cc'; +import { Fruit } from './Fruit'; +import { GameManager } from './GameManager'; +const { ccclass, property } = _decorator; + +@ccclass('TopSensor') +export class TopSensor extends Component { + game!: GameManager; + + @property + holdSeconds = 2.0; // 触顶持续秒数 + + private touching = new Map(); // node -> enterTime + + onLoad(){ + const canvas = director.getScene().getChildByName("Canvas"); + + // 2. 获取 Game 节点 + const gameNode = canvas.getChildByName("Game"); + + // 3. 获取 GameManager 脚本 + this.game = gameNode.getComponent(GameManager); + + } + + onEnable() { + const col = this.getComponent(BoxCollider2D)!; + col.sensor = true; + col.on(Contact2DType.BEGIN_CONTACT, this.onBegin, this); + col.on(Contact2DType.END_CONTACT, this.onEnd, this); + } + onDisable() { + const col = this.getComponent(BoxCollider2D)!; + col.off(Contact2DType.BEGIN_CONTACT, this.onBegin, this); + col.off(Contact2DType.END_CONTACT, this.onEnd, this); + } + + private onBegin(_self: BoxCollider2D, other: any, _c: IPhysics2DContact | null) { + const f = (other.node as Node).getComponent(Fruit); + if (f) this.touching.set(other.node, performance.now() / 1000); + } + private onEnd(_self: BoxCollider2D, other: any) { + this.touching.delete(other.node); + } + + update() { + if (!this.game || this.game.isGameOver) return; + const now = performance.now() / 1000; + for (const [node, t] of this.touching) { + if (now - t >= this.holdSeconds) { + this.game.gameOver(); + break; + } + } + // 可选:把状态交给 GameManager 显示红线闪烁 + // this.game.setDanger(this.touching.size > 0); + } +} \ No newline at end of file diff --git a/assets/script/TopSensor.ts.meta b/assets/script/TopSensor.ts.meta new file mode 100644 index 0000000..0149602 --- /dev/null +++ b/assets/script/TopSensor.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "176fd316-a8b3-4dda-8b7d-36a3cf09f4e7", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/package.json b/package.json new file mode 100755 index 0000000..cc801e0 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "watermelon", + "uuid": "59d7b93c-1194-4903-af6e-cd37d5fa509a", + "creator": { + "version": "3.8.6" + } +} diff --git a/settings/v2/packages/builder.json b/settings/v2/packages/builder.json new file mode 100644 index 0000000..7526e40 --- /dev/null +++ b/settings/v2/packages/builder.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.3.9" +} diff --git a/settings/v2/packages/cocos-service.json b/settings/v2/packages/cocos-service.json new file mode 100644 index 0000000..ee2fa02 --- /dev/null +++ b/settings/v2/packages/cocos-service.json @@ -0,0 +1,23 @@ +{ + "__version__": "3.0.9", + "game": { + "name": "未知游戏", + "app_id": "UNKNOW", + "c_id": "0" + }, + "appConfigMaps": [ + { + "app_id": "UNKNOW", + "config_id": "5b2d5d" + } + ], + "configs": [ + { + "app_id": "UNKNOW", + "config_id": "5b2d5d", + "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..0190d23 --- /dev/null +++ b/settings/v2/packages/engine.json @@ -0,0 +1,225 @@ +{ + "__version__": "1.0.12", + "modules": { + "configs": { + "defaultConfig": { + "name": "Default Config", + "cache": { + "base": { + "_value": true + }, + "gfx-webgl": { + "_value": true + }, + "gfx-webgl2": { + "_value": true + }, + "gfx-webgpu": { + "_value": false + }, + "animation": { + "_value": true + }, + "skeletal-animation": { + "_value": false + }, + "3d": { + "_value": false + }, + "meshopt": { + "_value": false + }, + "2d": { + "_value": true + }, + "xr": { + "_value": false + }, + "rich-text": { + "_value": true + }, + "mask": { + "_value": true + }, + "graphics": { + "_value": true + }, + "ui-skew": { + "_value": false + }, + "affine-transform": { + "_value": true + }, + "ui": { + "_value": true + }, + "particle": { + "_value": false + }, + "physics": { + "_value": false, + "_option": "physics-ammo" + }, + "physics-ammo": { + "_value": false, + "_flags": { + "LOAD_BULLET_MANUALLY": false + } + }, + "physics-cannon": { + "_value": false + }, + "physics-physx": { + "_value": false, + "_flags": { + "LOAD_PHYSX_MANUALLY": false + } + }, + "physics-builtin": { + "_value": false + }, + "physics-2d": { + "_value": true, + "_option": "physics-2d-box2d" + }, + "physics-2d-box2d": { + "_value": false + }, + "physics-2d-box2d-wasm": { + "_value": false, + "_flags": { + "LOAD_BOX2D_MANUALLY": false + } + }, + "physics-2d-builtin": { + "_value": false + }, + "physics-2d-box2d-jsb": { + "_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": false + }, + "websocket-server": { + "_value": false + }, + "terrain": { + "_value": false + }, + "light-probe": { + "_value": false + }, + "tiled-map": { + "_value": true + }, + "vendor-google": { + "_value": false + }, + "spine": { + "_value": true, + "_option": "spine-3.8" + }, + "spine-3.8": { + "_value": true, + "_flags": { + "LOAD_SPINE_MANUALLY": false + } + }, + "spine-4.2": { + "_value": false, + "_flags": { + "LOAD_SPINE_MANUALLY": false + } + }, + "dragon-bones": { + "_value": true + }, + "marionette": { + "_value": false + }, + "procedural-animation": { + "_value": false + }, + "custom-pipeline-post-process": { + "_value": false + }, + "render-pipeline": { + "_value": true, + "_option": "custom-pipeline" + }, + "custom-pipeline": { + "_value": true + }, + "legacy-pipeline": { + "_value": false + } + }, + "flags": { + "LOAD_SPINE_MANUALLY": false + }, + "includeModules": [ + "2d", + "affine-transform", + "animation", + "audio", + "base", + "custom-pipeline", + "dragon-bones", + "gfx-webgl", + "gfx-webgl2", + "graphics", + "intersection-2d", + "mask", + "particle-2d", + "physics-2d-box2d", + "profiler", + "rich-text", + "spine-3.8", + "tiled-map", + "tween", + "ui", + "video", + "webview" + ], + "noDeprecatedFeatures": { + "value": false, + "version": "" + } + } + }, + "globalConfigKey": "defaultConfig" + } +} diff --git a/settings/v2/packages/information.json b/settings/v2/packages/information.json new file mode 100644 index 0000000..94848de --- /dev/null +++ b/settings/v2/packages/information.json @@ -0,0 +1,23 @@ +{ + "__version__": "1.0.1", + "information": { + "customSplash": { + "id": "customSplash", + "label": "customSplash", + "enable": false, + "customSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?" + } + }, + "removeSplash": { + "id": "removeSplash", + "label": "removeSplash", + "enable": false, + "removeSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?" + } + } + } +} diff --git a/settings/v2/packages/program.json b/settings/v2/packages/program.json new file mode 100644 index 0000000..916c1b2 --- /dev/null +++ b/settings/v2/packages/program.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.4" +} diff --git a/settings/v2/packages/project.json b/settings/v2/packages/project.json new file mode 100644 index 0000000..cbfd8c9 --- /dev/null +++ b/settings/v2/packages/project.json @@ -0,0 +1,11 @@ +{ + "__version__": "1.0.6", + "general": { + "designResolution": { + "width": 720, + "height": 1280, + "fitHeight": true, + "fitWidth": false + } + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..7dc649a --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,9 @@ +{ + /* Base configuration. Do not edit this field. */ + "extends": "./temp/tsconfig.cocos.json", + + /* Add your custom configuration here. */ + "compilerOptions": { + "strict": false + } +}