commit 493b4709bc2681566beded93f2b24192d927ff12 Author: zzc <1761997216@qq.com> Date: Thu Apr 30 00:13:37 2026 +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/resources.meta b/assets/resources.meta new file mode 100644 index 0000000..6918696 --- /dev/null +++ b/assets/resources.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "49a1d8c4-26d9-4d5c-a137-c41bd15c2e9c", + "files": [], + "subMetas": {}, + "userData": { + "isBundle": true, + "bundleConfigID": "default", + "bundleName": "resources", + "priority": 8 + } +} diff --git a/assets/resources/animations.meta b/assets/resources/animations.meta new file mode 100644 index 0000000..e56a7d1 --- /dev/null +++ b/assets/resources/animations.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "837bfe01-b585-4281-ad6b-8418c447ece4", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/animations/bomb.anim b/assets/resources/animations/bomb.anim new file mode 100644 index 0000000..23b5d9c --- /dev/null +++ b/assets/resources/animations/bomb.anim @@ -0,0 +1,173 @@ +[ + { + "__type__": "cc.AnimationClip", + "_name": "bomb", + "_objFlags": 0, + "__editorExtras__": { + "embeddedPlayerGroups": [] + }, + "_native": "", + "sample": 20, + "speed": 2, + "wrapMode": 1, + "enableTrsBlending": false, + "_duration": 1, + "_hash": 500763545, + "_tracks": [ + { + "__id__": 1 + } + ], + "_exoticAnimation": null, + "_events": [], + "_embeddedPlayers": [], + "_additiveSettings": { + "__id__": 6 + }, + "_auxiliaryCurveEntries": [] + }, + { + "__type__": "cc.animation.ObjectTrack", + "_binding": { + "__type__": "cc.animation.TrackBinding", + "path": { + "__id__": 2 + }, + "proxy": null + }, + "_channel": { + "__id__": 4 + } + }, + { + "__type__": "cc.animation.TrackPath", + "_paths": [ + { + "__id__": 3 + }, + "spriteFrame" + ] + }, + { + "__type__": "cc.animation.ComponentPath", + "component": "cc.Sprite" + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 5 + } + }, + { + "__type__": "cc.ObjectCurve", + "_times": [ + 0, + 0.05, + 0.1, + 0.15, + 0.2, + 0.25, + 0.3, + 0.35, + 0.4, + 0.45, + 0.5, + 0.55, + 0.6, + 0.65, + 0.7, + 0.75, + 0.8, + 0.85, + 0.9, + 0.95 + ], + "_values": [ + { + "__uuid__": "3c766fd7-798b-4372-b2f2-a3387a1c88d7@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "7fcbe282-bc0e-46f7-ab91-eab2a4c02ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "cc8abc6e-b15e-4d87-8043-344e4c6268c2@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "c2a86af0-387c-4f0b-8372-e7c4c47b582b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "8cab6202-afa8-48b2-898e-74332e9c2f1c@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "5007196a-930e-4d2b-848d-4370480e315a@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "1de92eca-e2fb-4414-bdd6-e3a703d11cc2@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "a8b2382c-00b1-41ce-8943-2da71578e900@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "38e15238-1595-4f3c-ade3-d1ac86b652b6@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "7090b6b3-3836-4f43-a2a3-5afdc3ff6f95@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "c96b0aba-022c-4f4d-8246-efee5879efb5@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "f7a56544-1abd-49a5-a7e5-300e21e7eae2@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "3f1cda87-8d74-41fd-aa69-433bb13447ab@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "ddb1baf5-90a1-432d-839b-d3566a1db41b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "1b5258b3-0293-4b49-8341-de380fca63b9@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "65e6aef4-abaf-4fc1-9ced-5177f57f4103@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "93b12ac4-96eb-41a9-b4cd-7eb82b2f6b5b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "097fc1ac-16a9-4e2c-b83b-4ae7785230fd@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "cfd86ab4-65ec-426f-8212-6aae27f788fa@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "8688ba67-8dd5-436b-a355-86fb005da7a6@f9941", + "__expectedType__": "cc.SpriteFrame" + } + ] + }, + { + "__type__": "cc.AnimationClipAdditiveSettings", + "enabled": false, + "refClip": null + } +] \ No newline at end of file diff --git a/assets/resources/animations/bomb.anim.meta b/assets/resources/animations/bomb.anim.meta new file mode 100644 index 0000000..412e492 --- /dev/null +++ b/assets/resources/animations/bomb.anim.meta @@ -0,0 +1,13 @@ +{ + "ver": "2.0.3", + "importer": "animation-clip", + "imported": true, + "uuid": "6db4cd39-fad2-4121-90be-6e4efb325146", + "files": [ + ".cconb" + ], + "subMetas": {}, + "userData": { + "name": "bomb" + } +} diff --git a/assets/resources/animations/finger.anim b/assets/resources/animations/finger.anim new file mode 100644 index 0000000..37b9e9c --- /dev/null +++ b/assets/resources/animations/finger.anim @@ -0,0 +1,196 @@ +[ + { + "__type__": "cc.AnimationClip", + "_name": "finger", + "_objFlags": 0, + "__editorExtras__": { + "embeddedPlayerGroups": [] + }, + "_native": "", + "sample": 8, + "speed": 0.8, + "wrapMode": 22, + "enableTrsBlending": false, + "_duration": 0.5, + "_hash": 500763545, + "_tracks": [ + { + "__id__": 1 + } + ], + "_exoticAnimation": null, + "_events": [], + "_embeddedPlayers": [], + "_additiveSettings": { + "__id__": 11 + }, + "_auxiliaryCurveEntries": [] + }, + { + "__type__": "cc.animation.VectorTrack", + "_binding": { + "__type__": "cc.animation.TrackBinding", + "path": { + "__id__": 2 + }, + "proxy": null + }, + "_channels": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_nComponents": 3 + }, + { + "__type__": "cc.animation.TrackPath", + "_paths": [ + "position" + ] + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 4 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 0.25, + 0.5 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -146, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "broken": null + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "broken": null + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 146, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "broken": null + } + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 6 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [], + "_values": [], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 8 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 0.25 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "broken": null + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "broken": null + } + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 10 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [], + "_values": [], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.AnimationClipAdditiveSettings", + "enabled": false, + "refClip": null + } +] \ No newline at end of file diff --git a/assets/resources/animations/finger.anim.meta b/assets/resources/animations/finger.anim.meta new file mode 100644 index 0000000..8ae9077 --- /dev/null +++ b/assets/resources/animations/finger.anim.meta @@ -0,0 +1,13 @@ +{ + "ver": "2.0.3", + "importer": "animation-clip", + "imported": true, + "uuid": "a98f5799-91c9-4ff7-81eb-3d02f3f0e20c", + "files": [ + ".cconb" + ], + "subMetas": {}, + "userData": { + "name": "finger" + } +} diff --git a/assets/resources/audios.meta b/assets/resources/audios.meta new file mode 100644 index 0000000..900cd73 --- /dev/null +++ b/assets/resources/audios.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "d01f7855-0392-4f51-a40a-d8d75c3a25b9", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/audios/common.meta b/assets/resources/audios/common.meta new file mode 100644 index 0000000..4e1bd87 --- /dev/null +++ b/assets/resources/audios/common.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "7b7079ac-7af7-4597-ac76-9195d66eff5d", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/audios/common/bg.mp3 b/assets/resources/audios/common/bg.mp3 new file mode 100644 index 0000000..8dcf814 Binary files /dev/null and b/assets/resources/audios/common/bg.mp3 differ diff --git a/assets/resources/audios/common/bg.mp3.meta b/assets/resources/audios/common/bg.mp3.meta new file mode 100644 index 0000000..a2d5b64 --- /dev/null +++ b/assets/resources/audios/common/bg.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "2f26c596-1160-4e83-b6c2-d066914ea537", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/common/click.mp3 b/assets/resources/audios/common/click.mp3 new file mode 100644 index 0000000..e8727d3 Binary files /dev/null and b/assets/resources/audios/common/click.mp3 differ diff --git a/assets/resources/audios/common/click.mp3.meta b/assets/resources/audios/common/click.mp3.meta new file mode 100644 index 0000000..cfba837 --- /dev/null +++ b/assets/resources/audios/common/click.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "75d70a91-4186-4317-8c58-b2025a3ac37e", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/common/coins_entry.mp3 b/assets/resources/audios/common/coins_entry.mp3 new file mode 100644 index 0000000..3bd8e75 Binary files /dev/null and b/assets/resources/audios/common/coins_entry.mp3 differ diff --git a/assets/resources/audios/common/coins_entry.mp3.meta b/assets/resources/audios/common/coins_entry.mp3.meta new file mode 100644 index 0000000..8d15c7a --- /dev/null +++ b/assets/resources/audios/common/coins_entry.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "e7496c3e-1239-4aa6-bc7d-b7978466454b", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/common/gold.mp3 b/assets/resources/audios/common/gold.mp3 new file mode 100644 index 0000000..f9114de Binary files /dev/null and b/assets/resources/audios/common/gold.mp3 differ diff --git a/assets/resources/audios/common/gold.mp3.meta b/assets/resources/audios/common/gold.mp3.meta new file mode 100644 index 0000000..2cb9b3b --- /dev/null +++ b/assets/resources/audios/common/gold.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "2ac7027b-1f82-4900-aedf-529dfae5e080", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music.meta b/assets/resources/audios/music.meta new file mode 100644 index 0000000..66965ae --- /dev/null +++ b/assets/resources/audios/music.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "8d0dad76-9b8f-4cdd-b972-6709d407da2b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/audios/music/ffxdz.mp3 b/assets/resources/audios/music/ffxdz.mp3 new file mode 100644 index 0000000..192d9dd Binary files /dev/null and b/assets/resources/audios/music/ffxdz.mp3 differ diff --git a/assets/resources/audios/music/ffxdz.mp3.meta b/assets/resources/audios/music/ffxdz.mp3.meta new file mode 100644 index 0000000..0e6ad74 --- /dev/null +++ b/assets/resources/audios/music/ffxdz.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "2b4b2fcd-b6e6-4a88-b356-71de6d2ee9fb", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_1.mp3 b/assets/resources/audios/music/music_1.mp3 new file mode 100644 index 0000000..9684c23 Binary files /dev/null and b/assets/resources/audios/music/music_1.mp3 differ diff --git a/assets/resources/audios/music/music_1.mp3.meta b/assets/resources/audios/music/music_1.mp3.meta new file mode 100644 index 0000000..6560273 --- /dev/null +++ b/assets/resources/audios/music/music_1.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "17c77277-3b8e-4116-aea9-7366cc43d63d", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_2.mp3 b/assets/resources/audios/music/music_2.mp3 new file mode 100644 index 0000000..b6e2719 Binary files /dev/null and b/assets/resources/audios/music/music_2.mp3 differ diff --git a/assets/resources/audios/music/music_2.mp3.meta b/assets/resources/audios/music/music_2.mp3.meta new file mode 100644 index 0000000..9b65d2f --- /dev/null +++ b/assets/resources/audios/music/music_2.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "63d1e3c8-8bbd-497e-a198-32b91079450a", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_3.mp3 b/assets/resources/audios/music/music_3.mp3 new file mode 100644 index 0000000..e293da6 Binary files /dev/null and b/assets/resources/audios/music/music_3.mp3 differ diff --git a/assets/resources/audios/music/music_3.mp3.meta b/assets/resources/audios/music/music_3.mp3.meta new file mode 100644 index 0000000..cb99160 --- /dev/null +++ b/assets/resources/audios/music/music_3.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "16ff519c-0587-469d-ba06-bd1a4550dcc3", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_4.mp3 b/assets/resources/audios/music/music_4.mp3 new file mode 100644 index 0000000..3b86110 Binary files /dev/null and b/assets/resources/audios/music/music_4.mp3 differ diff --git a/assets/resources/audios/music/music_4.mp3.meta b/assets/resources/audios/music/music_4.mp3.meta new file mode 100644 index 0000000..d604f7d --- /dev/null +++ b/assets/resources/audios/music/music_4.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "e024fc53-d536-401f-ac86-8428443d3479", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_5.mp3 b/assets/resources/audios/music/music_5.mp3 new file mode 100644 index 0000000..7d24b76 Binary files /dev/null and b/assets/resources/audios/music/music_5.mp3 differ diff --git a/assets/resources/audios/music/music_5.mp3.meta b/assets/resources/audios/music/music_5.mp3.meta new file mode 100644 index 0000000..898ff24 --- /dev/null +++ b/assets/resources/audios/music/music_5.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "3d97aa22-f43a-497c-930c-e8dbd69d4aa3", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_6.mp3 b/assets/resources/audios/music/music_6.mp3 new file mode 100644 index 0000000..5719345 Binary files /dev/null and b/assets/resources/audios/music/music_6.mp3 differ diff --git a/assets/resources/audios/music/music_6.mp3.meta b/assets/resources/audios/music/music_6.mp3.meta new file mode 100644 index 0000000..da961ca --- /dev/null +++ b/assets/resources/audios/music/music_6.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "092cdce4-ba71-4664-820d-d57489ed6cc1", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_7.mp3 b/assets/resources/audios/music/music_7.mp3 new file mode 100644 index 0000000..1375b2c Binary files /dev/null and b/assets/resources/audios/music/music_7.mp3 differ diff --git a/assets/resources/audios/music/music_7.mp3.meta b/assets/resources/audios/music/music_7.mp3.meta new file mode 100644 index 0000000..ecec177 --- /dev/null +++ b/assets/resources/audios/music/music_7.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "aa8d411e-db3c-404e-a5fa-0806d9b60e25", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_8.mp3 b/assets/resources/audios/music/music_8.mp3 new file mode 100644 index 0000000..03925b1 Binary files /dev/null and b/assets/resources/audios/music/music_8.mp3 differ diff --git a/assets/resources/audios/music/music_8.mp3.meta b/assets/resources/audios/music/music_8.mp3.meta new file mode 100644 index 0000000..fa0e76c --- /dev/null +++ b/assets/resources/audios/music/music_8.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "67ac03b7-6269-4f03-b90a-17fd63e22767", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/audios/music/music_9.mp3 b/assets/resources/audios/music/music_9.mp3 new file mode 100644 index 0000000..dfde02d Binary files /dev/null and b/assets/resources/audios/music/music_9.mp3 differ diff --git a/assets/resources/audios/music/music_9.mp3.meta b/assets/resources/audios/music/music_9.mp3.meta new file mode 100644 index 0000000..f36f6d4 --- /dev/null +++ b/assets/resources/audios/music/music_9.mp3.meta @@ -0,0 +1,14 @@ +{ + "ver": "1.0.0", + "importer": "audio-clip", + "imported": true, + "uuid": "eb601093-6ee5-4807-a698-b7fcd93255a2", + "files": [ + ".json", + ".mp3" + ], + "subMetas": {}, + "userData": { + "downloadMode": 0 + } +} diff --git a/assets/resources/images.meta b/assets/resources/images.meta new file mode 100644 index 0000000..cdf8bfe --- /dev/null +++ b/assets/resources/images.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "d7c6a1fd-f30d-4463-a02f-9bf7e78a2da6", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/images/author.meta b/assets/resources/images/author.meta new file mode 100644 index 0000000..c00424d --- /dev/null +++ b/assets/resources/images/author.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "20776ddf-a5bc-46dd-b345-1aa333d541e3", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/images/author/qrcode.jpg b/assets/resources/images/author/qrcode.jpg new file mode 100644 index 0000000..aff333b Binary files /dev/null and b/assets/resources/images/author/qrcode.jpg differ diff --git a/assets/resources/images/author/qrcode.jpg.meta b/assets/resources/images/author/qrcode.jpg.meta new file mode 100644 index 0000000..75f2dd0 --- /dev/null +++ b/assets/resources/images/author/qrcode.jpg.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "3602b8f9-6ace-48d5-865e-95a851c569f2", + "files": [ + ".jpg", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "3602b8f9-6ace-48d5-865e-95a851c569f2@6c48a", + "displayName": "qrcode", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "3602b8f9-6ace-48d5-865e-95a851c569f2", + "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": "3602b8f9-6ace-48d5-865e-95a851c569f2@f9941", + "displayName": "qrcode", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 344, + "height": 344, + "rawWidth": 344, + "rawHeight": 344, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -172, + -172, + 0, + 172, + -172, + 0, + -172, + 172, + 0, + 172, + 172, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 344, + 344, + 344, + 0, + 0, + 344, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -172, + -172, + 0 + ], + "maxPos": [ + 172, + 172, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "3602b8f9-6ace-48d5-865e-95a851c569f2@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": false, + "fixAlphaTransparencyArtifacts": false, + "redirect": "3602b8f9-6ace-48d5-865e-95a851c569f2@6c48a" + } +} diff --git a/assets/resources/images/bomb.meta b/assets/resources/images/bomb.meta new file mode 100644 index 0000000..0ae25c2 --- /dev/null +++ b/assets/resources/images/bomb.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "9036470a-42ec-4c11-a3d2-5184f511becd", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/images/bomb/boom_1.png b/assets/resources/images/bomb/boom_1.png new file mode 100644 index 0000000..1d6e593 Binary files /dev/null and b/assets/resources/images/bomb/boom_1.png differ diff --git a/assets/resources/images/bomb/boom_1.png.meta b/assets/resources/images/bomb/boom_1.png.meta new file mode 100644 index 0000000..eefceea --- /dev/null +++ b/assets/resources/images/bomb/boom_1.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "3c766fd7-798b-4372-b2f2-a3387a1c88d7", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "3c766fd7-798b-4372-b2f2-a3387a1c88d7@6c48a", + "displayName": "boom_1", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "3c766fd7-798b-4372-b2f2-a3387a1c88d7", + "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": "3c766fd7-798b-4372-b2f2-a3387a1c88d7@f9941", + "displayName": "boom_1", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 19, + "trimY": 17, + "width": 26, + "height": 26, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -13, + -13, + 0, + 13, + -13, + 0, + -13, + 13, + 0, + 13, + 13, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 19, + 45, + 45, + 45, + 19, + 19, + 45, + 19 + ], + "nuv": [ + 0.3064516129032258, + 0.3064516129032258, + 0.7258064516129032, + 0.3064516129032258, + 0.3064516129032258, + 0.7258064516129032, + 0.7258064516129032, + 0.7258064516129032 + ], + "minPos": [ + -13, + -13, + 0 + ], + "maxPos": [ + 13, + 13, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "3c766fd7-798b-4372-b2f2-a3387a1c88d7@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "3c766fd7-798b-4372-b2f2-a3387a1c88d7@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_10.png b/assets/resources/images/bomb/boom_10.png new file mode 100644 index 0000000..0caaf58 Binary files /dev/null and b/assets/resources/images/bomb/boom_10.png differ diff --git a/assets/resources/images/bomb/boom_10.png.meta b/assets/resources/images/bomb/boom_10.png.meta new file mode 100644 index 0000000..5d8e7cd --- /dev/null +++ b/assets/resources/images/bomb/boom_10.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "7090b6b3-3836-4f43-a2a3-5afdc3ff6f95", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "7090b6b3-3836-4f43-a2a3-5afdc3ff6f95@6c48a", + "displayName": "boom_10", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "7090b6b3-3836-4f43-a2a3-5afdc3ff6f95", + "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": "7090b6b3-3836-4f43-a2a3-5afdc3ff6f95@f9941", + "displayName": "boom_10", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 12, + "trimY": 10, + "width": 40, + "height": 40, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -20, + -20, + 0, + 20, + -20, + 0, + -20, + 20, + 0, + 20, + 20, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 12, + 52, + 52, + 52, + 12, + 12, + 52, + 12 + ], + "nuv": [ + 0.1935483870967742, + 0.1935483870967742, + 0.8387096774193549, + 0.1935483870967742, + 0.1935483870967742, + 0.8387096774193549, + 0.8387096774193549, + 0.8387096774193549 + ], + "minPos": [ + -20, + -20, + 0 + ], + "maxPos": [ + 20, + 20, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "7090b6b3-3836-4f43-a2a3-5afdc3ff6f95@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "7090b6b3-3836-4f43-a2a3-5afdc3ff6f95@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_11.png b/assets/resources/images/bomb/boom_11.png new file mode 100644 index 0000000..6b012d2 Binary files /dev/null and b/assets/resources/images/bomb/boom_11.png differ diff --git a/assets/resources/images/bomb/boom_11.png.meta b/assets/resources/images/bomb/boom_11.png.meta new file mode 100644 index 0000000..8bc7800 --- /dev/null +++ b/assets/resources/images/bomb/boom_11.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "c96b0aba-022c-4f4d-8246-efee5879efb5", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "c96b0aba-022c-4f4d-8246-efee5879efb5@6c48a", + "displayName": "boom_11", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "c96b0aba-022c-4f4d-8246-efee5879efb5", + "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": "c96b0aba-022c-4f4d-8246-efee5879efb5@f9941", + "displayName": "boom_11", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 11, + "trimY": 9, + "width": 42, + "height": 42, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -21, + -21, + 0, + 21, + -21, + 0, + -21, + 21, + 0, + 21, + 21, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 11, + 53, + 53, + 53, + 11, + 11, + 53, + 11 + ], + "nuv": [ + 0.1774193548387097, + 0.1774193548387097, + 0.8548387096774194, + 0.1774193548387097, + 0.1774193548387097, + 0.8548387096774194, + 0.8548387096774194, + 0.8548387096774194 + ], + "minPos": [ + -21, + -21, + 0 + ], + "maxPos": [ + 21, + 21, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "c96b0aba-022c-4f4d-8246-efee5879efb5@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "c96b0aba-022c-4f4d-8246-efee5879efb5@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_12.png b/assets/resources/images/bomb/boom_12.png new file mode 100644 index 0000000..76cf868 Binary files /dev/null and b/assets/resources/images/bomb/boom_12.png differ diff --git a/assets/resources/images/bomb/boom_12.png.meta b/assets/resources/images/bomb/boom_12.png.meta new file mode 100644 index 0000000..70ad341 --- /dev/null +++ b/assets/resources/images/bomb/boom_12.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "f7a56544-1abd-49a5-a7e5-300e21e7eae2", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "f7a56544-1abd-49a5-a7e5-300e21e7eae2@6c48a", + "displayName": "boom_12", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "f7a56544-1abd-49a5-a7e5-300e21e7eae2", + "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": "f7a56544-1abd-49a5-a7e5-300e21e7eae2@f9941", + "displayName": "boom_12", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 0.5, + "trimX": 10, + "trimY": 9, + "width": 43, + "height": 43, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -21.5, + -21.5, + 0, + 21.5, + -21.5, + 0, + -21.5, + 21.5, + 0, + 21.5, + 21.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 10, + 53, + 53, + 53, + 10, + 10, + 53, + 10 + ], + "nuv": [ + 0.16129032258064516, + 0.16129032258064516, + 0.8548387096774194, + 0.16129032258064516, + 0.16129032258064516, + 0.8548387096774194, + 0.8548387096774194, + 0.8548387096774194 + ], + "minPos": [ + -21.5, + -21.5, + 0 + ], + "maxPos": [ + 21.5, + 21.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "f7a56544-1abd-49a5-a7e5-300e21e7eae2@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "f7a56544-1abd-49a5-a7e5-300e21e7eae2@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_13.png b/assets/resources/images/bomb/boom_13.png new file mode 100644 index 0000000..bc1555f Binary files /dev/null and b/assets/resources/images/bomb/boom_13.png differ diff --git a/assets/resources/images/bomb/boom_13.png.meta b/assets/resources/images/bomb/boom_13.png.meta new file mode 100644 index 0000000..6289024 --- /dev/null +++ b/assets/resources/images/bomb/boom_13.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "3f1cda87-8d74-41fd-aa69-433bb13447ab", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "3f1cda87-8d74-41fd-aa69-433bb13447ab@6c48a", + "displayName": "boom_13", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "3f1cda87-8d74-41fd-aa69-433bb13447ab", + "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": "3f1cda87-8d74-41fd-aa69-433bb13447ab@f9941", + "displayName": "boom_13", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 10, + "trimY": 8, + "width": 44, + "height": 44, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -22, + -22, + 0, + 22, + -22, + 0, + -22, + 22, + 0, + 22, + 22, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 10, + 54, + 54, + 54, + 10, + 10, + 54, + 10 + ], + "nuv": [ + 0.16129032258064516, + 0.16129032258064516, + 0.8709677419354839, + 0.16129032258064516, + 0.16129032258064516, + 0.8709677419354839, + 0.8709677419354839, + 0.8709677419354839 + ], + "minPos": [ + -22, + -22, + 0 + ], + "maxPos": [ + 22, + 22, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "3f1cda87-8d74-41fd-aa69-433bb13447ab@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "3f1cda87-8d74-41fd-aa69-433bb13447ab@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_14.png b/assets/resources/images/bomb/boom_14.png new file mode 100644 index 0000000..207c1dc Binary files /dev/null and b/assets/resources/images/bomb/boom_14.png differ diff --git a/assets/resources/images/bomb/boom_14.png.meta b/assets/resources/images/bomb/boom_14.png.meta new file mode 100644 index 0000000..baa2cea --- /dev/null +++ b/assets/resources/images/bomb/boom_14.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "ddb1baf5-90a1-432d-839b-d3566a1db41b", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ddb1baf5-90a1-432d-839b-d3566a1db41b@6c48a", + "displayName": "boom_14", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "ddb1baf5-90a1-432d-839b-d3566a1db41b", + "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": "ddb1baf5-90a1-432d-839b-d3566a1db41b@f9941", + "displayName": "boom_14", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 1, + "trimX": 9, + "trimY": 7, + "width": 45, + "height": 46, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -22.5, + -23, + 0, + 22.5, + -23, + 0, + -22.5, + 23, + 0, + 22.5, + 23, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 9, + 55, + 54, + 55, + 9, + 9, + 54, + 9 + ], + "nuv": [ + 0.14516129032258066, + 0.14516129032258066, + 0.8709677419354839, + 0.14516129032258066, + 0.14516129032258066, + 0.8870967741935484, + 0.8709677419354839, + 0.8870967741935484 + ], + "minPos": [ + -22.5, + -23, + 0 + ], + "maxPos": [ + 22.5, + 23, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "ddb1baf5-90a1-432d-839b-d3566a1db41b@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "ddb1baf5-90a1-432d-839b-d3566a1db41b@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_15.png b/assets/resources/images/bomb/boom_15.png new file mode 100644 index 0000000..a88fc8f Binary files /dev/null and b/assets/resources/images/bomb/boom_15.png differ diff --git a/assets/resources/images/bomb/boom_15.png.meta b/assets/resources/images/bomb/boom_15.png.meta new file mode 100644 index 0000000..1838d3f --- /dev/null +++ b/assets/resources/images/bomb/boom_15.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "1b5258b3-0293-4b49-8341-de380fca63b9", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "1b5258b3-0293-4b49-8341-de380fca63b9@6c48a", + "displayName": "boom_15", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "1b5258b3-0293-4b49-8341-de380fca63b9", + "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": "1b5258b3-0293-4b49-8341-de380fca63b9@f9941", + "displayName": "boom_15", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 9, + "trimY": 7, + "width": 46, + "height": 46, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -23, + -23, + 0, + 23, + -23, + 0, + -23, + 23, + 0, + 23, + 23, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 9, + 55, + 55, + 55, + 9, + 9, + 55, + 9 + ], + "nuv": [ + 0.14516129032258066, + 0.14516129032258066, + 0.8870967741935484, + 0.14516129032258066, + 0.14516129032258066, + 0.8870967741935484, + 0.8870967741935484, + 0.8870967741935484 + ], + "minPos": [ + -23, + -23, + 0 + ], + "maxPos": [ + 23, + 23, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "1b5258b3-0293-4b49-8341-de380fca63b9@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "1b5258b3-0293-4b49-8341-de380fca63b9@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_16.png b/assets/resources/images/bomb/boom_16.png new file mode 100644 index 0000000..4e7774d Binary files /dev/null and b/assets/resources/images/bomb/boom_16.png differ diff --git a/assets/resources/images/bomb/boom_16.png.meta b/assets/resources/images/bomb/boom_16.png.meta new file mode 100644 index 0000000..695896e --- /dev/null +++ b/assets/resources/images/bomb/boom_16.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "65e6aef4-abaf-4fc1-9ced-5177f57f4103", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "65e6aef4-abaf-4fc1-9ced-5177f57f4103@6c48a", + "displayName": "boom_16", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "65e6aef4-abaf-4fc1-9ced-5177f57f4103", + "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": "65e6aef4-abaf-4fc1-9ced-5177f57f4103@f9941", + "displayName": "boom_16", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 0.5, + "trimX": 8, + "trimY": 7, + "width": 47, + "height": 47, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -23.5, + -23.5, + 0, + 23.5, + -23.5, + 0, + -23.5, + 23.5, + 0, + 23.5, + 23.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 8, + 55, + 55, + 55, + 8, + 8, + 55, + 8 + ], + "nuv": [ + 0.12903225806451613, + 0.12903225806451613, + 0.8870967741935484, + 0.12903225806451613, + 0.12903225806451613, + 0.8870967741935484, + 0.8870967741935484, + 0.8870967741935484 + ], + "minPos": [ + -23.5, + -23.5, + 0 + ], + "maxPos": [ + 23.5, + 23.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "65e6aef4-abaf-4fc1-9ced-5177f57f4103@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "65e6aef4-abaf-4fc1-9ced-5177f57f4103@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_17.png b/assets/resources/images/bomb/boom_17.png new file mode 100644 index 0000000..9daeeb5 Binary files /dev/null and b/assets/resources/images/bomb/boom_17.png differ diff --git a/assets/resources/images/bomb/boom_17.png.meta b/assets/resources/images/bomb/boom_17.png.meta new file mode 100644 index 0000000..bb620af --- /dev/null +++ b/assets/resources/images/bomb/boom_17.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "93b12ac4-96eb-41a9-b4cd-7eb82b2f6b5b", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "93b12ac4-96eb-41a9-b4cd-7eb82b2f6b5b@6c48a", + "displayName": "boom_17", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "93b12ac4-96eb-41a9-b4cd-7eb82b2f6b5b", + "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": "93b12ac4-96eb-41a9-b4cd-7eb82b2f6b5b@f9941", + "displayName": "boom_17", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 8, + "trimY": 6, + "width": 48, + "height": 48, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -24, + -24, + 0, + 24, + -24, + 0, + -24, + 24, + 0, + 24, + 24, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 8, + 56, + 56, + 56, + 8, + 8, + 56, + 8 + ], + "nuv": [ + 0.12903225806451613, + 0.12903225806451613, + 0.9032258064516129, + 0.12903225806451613, + 0.12903225806451613, + 0.9032258064516129, + 0.9032258064516129, + 0.9032258064516129 + ], + "minPos": [ + -24, + -24, + 0 + ], + "maxPos": [ + 24, + 24, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "93b12ac4-96eb-41a9-b4cd-7eb82b2f6b5b@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "93b12ac4-96eb-41a9-b4cd-7eb82b2f6b5b@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_18.png b/assets/resources/images/bomb/boom_18.png new file mode 100644 index 0000000..1ab5407 Binary files /dev/null and b/assets/resources/images/bomb/boom_18.png differ diff --git a/assets/resources/images/bomb/boom_18.png.meta b/assets/resources/images/bomb/boom_18.png.meta new file mode 100644 index 0000000..e33b521 --- /dev/null +++ b/assets/resources/images/bomb/boom_18.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "097fc1ac-16a9-4e2c-b83b-4ae7785230fd", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "097fc1ac-16a9-4e2c-b83b-4ae7785230fd@6c48a", + "displayName": "boom_18", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "097fc1ac-16a9-4e2c-b83b-4ae7785230fd", + "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": "097fc1ac-16a9-4e2c-b83b-4ae7785230fd@f9941", + "displayName": "boom_18", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 8, + "trimY": 6, + "width": 48, + "height": 48, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -24, + -24, + 0, + 24, + -24, + 0, + -24, + 24, + 0, + 24, + 24, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 8, + 56, + 56, + 56, + 8, + 8, + 56, + 8 + ], + "nuv": [ + 0.12903225806451613, + 0.12903225806451613, + 0.9032258064516129, + 0.12903225806451613, + 0.12903225806451613, + 0.9032258064516129, + 0.9032258064516129, + 0.9032258064516129 + ], + "minPos": [ + -24, + -24, + 0 + ], + "maxPos": [ + 24, + 24, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "097fc1ac-16a9-4e2c-b83b-4ae7785230fd@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "097fc1ac-16a9-4e2c-b83b-4ae7785230fd@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_19.png b/assets/resources/images/bomb/boom_19.png new file mode 100644 index 0000000..fdd85c6 Binary files /dev/null and b/assets/resources/images/bomb/boom_19.png differ diff --git a/assets/resources/images/bomb/boom_19.png.meta b/assets/resources/images/bomb/boom_19.png.meta new file mode 100644 index 0000000..2cc321f --- /dev/null +++ b/assets/resources/images/bomb/boom_19.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "cfd86ab4-65ec-426f-8212-6aae27f788fa", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "cfd86ab4-65ec-426f-8212-6aae27f788fa@6c48a", + "displayName": "boom_19", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "cfd86ab4-65ec-426f-8212-6aae27f788fa", + "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": "cfd86ab4-65ec-426f-8212-6aae27f788fa@f9941", + "displayName": "boom_19", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 8, + "trimY": 6, + "width": 48, + "height": 48, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -24, + -24, + 0, + 24, + -24, + 0, + -24, + 24, + 0, + 24, + 24, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 8, + 56, + 56, + 56, + 8, + 8, + 56, + 8 + ], + "nuv": [ + 0.12903225806451613, + 0.12903225806451613, + 0.9032258064516129, + 0.12903225806451613, + 0.12903225806451613, + 0.9032258064516129, + 0.9032258064516129, + 0.9032258064516129 + ], + "minPos": [ + -24, + -24, + 0 + ], + "maxPos": [ + 24, + 24, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "cfd86ab4-65ec-426f-8212-6aae27f788fa@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "cfd86ab4-65ec-426f-8212-6aae27f788fa@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_2.png b/assets/resources/images/bomb/boom_2.png new file mode 100644 index 0000000..14d9ec7 Binary files /dev/null and b/assets/resources/images/bomb/boom_2.png differ diff --git a/assets/resources/images/bomb/boom_2.png.meta b/assets/resources/images/bomb/boom_2.png.meta new file mode 100644 index 0000000..aa8ecaf --- /dev/null +++ b/assets/resources/images/bomb/boom_2.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "7fcbe282-bc0e-46f7-ab91-eab2a4c02ce8", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "7fcbe282-bc0e-46f7-ab91-eab2a4c02ce8@6c48a", + "displayName": "boom_2", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "7fcbe282-bc0e-46f7-ab91-eab2a4c02ce8", + "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": "7fcbe282-bc0e-46f7-ab91-eab2a4c02ce8@f9941", + "displayName": "boom_2", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 18, + "trimY": 16, + "width": 28, + "height": 28, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -14, + -14, + 0, + 14, + -14, + 0, + -14, + 14, + 0, + 14, + 14, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 18, + 46, + 46, + 46, + 18, + 18, + 46, + 18 + ], + "nuv": [ + 0.2903225806451613, + 0.2903225806451613, + 0.7419354838709677, + 0.2903225806451613, + 0.2903225806451613, + 0.7419354838709677, + 0.7419354838709677, + 0.7419354838709677 + ], + "minPos": [ + -14, + -14, + 0 + ], + "maxPos": [ + 14, + 14, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "7fcbe282-bc0e-46f7-ab91-eab2a4c02ce8@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "7fcbe282-bc0e-46f7-ab91-eab2a4c02ce8@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_20.png b/assets/resources/images/bomb/boom_20.png new file mode 100644 index 0000000..1d6e593 Binary files /dev/null and b/assets/resources/images/bomb/boom_20.png differ diff --git a/assets/resources/images/bomb/boom_20.png.meta b/assets/resources/images/bomb/boom_20.png.meta new file mode 100644 index 0000000..1ad8064 --- /dev/null +++ b/assets/resources/images/bomb/boom_20.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "8688ba67-8dd5-436b-a355-86fb005da7a6", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "8688ba67-8dd5-436b-a355-86fb005da7a6@6c48a", + "displayName": "boom_20", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "8688ba67-8dd5-436b-a355-86fb005da7a6", + "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": "8688ba67-8dd5-436b-a355-86fb005da7a6@f9941", + "displayName": "boom_20", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 19, + "trimY": 17, + "width": 26, + "height": 26, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -13, + -13, + 0, + 13, + -13, + 0, + -13, + 13, + 0, + 13, + 13, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 19, + 45, + 45, + 45, + 19, + 19, + 45, + 19 + ], + "nuv": [ + 0.3064516129032258, + 0.3064516129032258, + 0.7258064516129032, + 0.3064516129032258, + 0.3064516129032258, + 0.7258064516129032, + 0.7258064516129032, + 0.7258064516129032 + ], + "minPos": [ + -13, + -13, + 0 + ], + "maxPos": [ + 13, + 13, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "8688ba67-8dd5-436b-a355-86fb005da7a6@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "8688ba67-8dd5-436b-a355-86fb005da7a6@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_3.png b/assets/resources/images/bomb/boom_3.png new file mode 100644 index 0000000..d0ae967 Binary files /dev/null and b/assets/resources/images/bomb/boom_3.png differ diff --git a/assets/resources/images/bomb/boom_3.png.meta b/assets/resources/images/bomb/boom_3.png.meta new file mode 100644 index 0000000..d05f7ef --- /dev/null +++ b/assets/resources/images/bomb/boom_3.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "cc8abc6e-b15e-4d87-8043-344e4c6268c2", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "cc8abc6e-b15e-4d87-8043-344e4c6268c2@6c48a", + "displayName": "boom_3", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "cc8abc6e-b15e-4d87-8043-344e4c6268c2", + "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": "cc8abc6e-b15e-4d87-8043-344e4c6268c2@f9941", + "displayName": "boom_3", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 0.5, + "trimX": 17, + "trimY": 16, + "width": 29, + "height": 29, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -14.5, + -14.5, + 0, + 14.5, + -14.5, + 0, + -14.5, + 14.5, + 0, + 14.5, + 14.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 17, + 46, + 46, + 46, + 17, + 17, + 46, + 17 + ], + "nuv": [ + 0.27419354838709675, + 0.27419354838709675, + 0.7419354838709677, + 0.27419354838709675, + 0.27419354838709675, + 0.7419354838709677, + 0.7419354838709677, + 0.7419354838709677 + ], + "minPos": [ + -14.5, + -14.5, + 0 + ], + "maxPos": [ + 14.5, + 14.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "cc8abc6e-b15e-4d87-8043-344e4c6268c2@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "cc8abc6e-b15e-4d87-8043-344e4c6268c2@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_4.png b/assets/resources/images/bomb/boom_4.png new file mode 100644 index 0000000..7310753 Binary files /dev/null and b/assets/resources/images/bomb/boom_4.png differ diff --git a/assets/resources/images/bomb/boom_4.png.meta b/assets/resources/images/bomb/boom_4.png.meta new file mode 100644 index 0000000..452cb7e --- /dev/null +++ b/assets/resources/images/bomb/boom_4.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "c2a86af0-387c-4f0b-8372-e7c4c47b582b", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "c2a86af0-387c-4f0b-8372-e7c4c47b582b@6c48a", + "displayName": "boom_4", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "c2a86af0-387c-4f0b-8372-e7c4c47b582b", + "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": "c2a86af0-387c-4f0b-8372-e7c4c47b582b@f9941", + "displayName": "boom_4", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 0.5, + "trimX": 16, + "trimY": 15, + "width": 31, + "height": 31, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -15.5, + -15.5, + 0, + 15.5, + -15.5, + 0, + -15.5, + 15.5, + 0, + 15.5, + 15.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 16, + 47, + 47, + 47, + 16, + 16, + 47, + 16 + ], + "nuv": [ + 0.25806451612903225, + 0.25806451612903225, + 0.7580645161290323, + 0.25806451612903225, + 0.25806451612903225, + 0.7580645161290323, + 0.7580645161290323, + 0.7580645161290323 + ], + "minPos": [ + -15.5, + -15.5, + 0 + ], + "maxPos": [ + 15.5, + 15.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "c2a86af0-387c-4f0b-8372-e7c4c47b582b@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "c2a86af0-387c-4f0b-8372-e7c4c47b582b@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_5.png b/assets/resources/images/bomb/boom_5.png new file mode 100644 index 0000000..c6e7b07 Binary files /dev/null and b/assets/resources/images/bomb/boom_5.png differ diff --git a/assets/resources/images/bomb/boom_5.png.meta b/assets/resources/images/bomb/boom_5.png.meta new file mode 100644 index 0000000..c8c33f2 --- /dev/null +++ b/assets/resources/images/bomb/boom_5.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "8cab6202-afa8-48b2-898e-74332e9c2f1c", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "8cab6202-afa8-48b2-898e-74332e9c2f1c@6c48a", + "displayName": "boom_5", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "8cab6202-afa8-48b2-898e-74332e9c2f1c", + "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": "8cab6202-afa8-48b2-898e-74332e9c2f1c@f9941", + "displayName": "boom_5", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 0.5, + "trimX": 16, + "trimY": 14, + "width": 32, + "height": 33, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -16, + -16.5, + 0, + 16, + -16.5, + 0, + -16, + 16.5, + 0, + 16, + 16.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 16, + 48, + 48, + 48, + 16, + 15, + 48, + 15 + ], + "nuv": [ + 0.25806451612903225, + 0.24193548387096775, + 0.7741935483870968, + 0.24193548387096775, + 0.25806451612903225, + 0.7741935483870968, + 0.7741935483870968, + 0.7741935483870968 + ], + "minPos": [ + -16, + -16.5, + 0 + ], + "maxPos": [ + 16, + 16.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "8cab6202-afa8-48b2-898e-74332e9c2f1c@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "8cab6202-afa8-48b2-898e-74332e9c2f1c@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_6.png b/assets/resources/images/bomb/boom_6.png new file mode 100644 index 0000000..eab6209 Binary files /dev/null and b/assets/resources/images/bomb/boom_6.png differ diff --git a/assets/resources/images/bomb/boom_6.png.meta b/assets/resources/images/bomb/boom_6.png.meta new file mode 100644 index 0000000..c4bce41 --- /dev/null +++ b/assets/resources/images/bomb/boom_6.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "5007196a-930e-4d2b-848d-4370480e315a", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "5007196a-930e-4d2b-848d-4370480e315a@6c48a", + "displayName": "boom_6", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "5007196a-930e-4d2b-848d-4370480e315a", + "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": "5007196a-930e-4d2b-848d-4370480e315a@f9941", + "displayName": "boom_6", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 15, + "trimY": 13, + "width": 34, + "height": 34, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -17, + -17, + 0, + 17, + -17, + 0, + -17, + 17, + 0, + 17, + 17, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 15, + 49, + 49, + 49, + 15, + 15, + 49, + 15 + ], + "nuv": [ + 0.24193548387096775, + 0.24193548387096775, + 0.7903225806451613, + 0.24193548387096775, + 0.24193548387096775, + 0.7903225806451613, + 0.7903225806451613, + 0.7903225806451613 + ], + "minPos": [ + -17, + -17, + 0 + ], + "maxPos": [ + 17, + 17, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "5007196a-930e-4d2b-848d-4370480e315a@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "5007196a-930e-4d2b-848d-4370480e315a@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_7.png b/assets/resources/images/bomb/boom_7.png new file mode 100644 index 0000000..9268382 Binary files /dev/null and b/assets/resources/images/bomb/boom_7.png differ diff --git a/assets/resources/images/bomb/boom_7.png.meta b/assets/resources/images/bomb/boom_7.png.meta new file mode 100644 index 0000000..45a8475 --- /dev/null +++ b/assets/resources/images/bomb/boom_7.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "1de92eca-e2fb-4414-bdd6-e3a703d11cc2", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "1de92eca-e2fb-4414-bdd6-e3a703d11cc2@6c48a", + "displayName": "boom_7", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "1de92eca-e2fb-4414-bdd6-e3a703d11cc2", + "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": "1de92eca-e2fb-4414-bdd6-e3a703d11cc2@f9941", + "displayName": "boom_7", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": 1, + "trimX": 14, + "trimY": 12, + "width": 36, + "height": 36, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -18, + -18, + 0, + 18, + -18, + 0, + -18, + 18, + 0, + 18, + 18, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 14, + 50, + 50, + 50, + 14, + 14, + 50, + 14 + ], + "nuv": [ + 0.22580645161290322, + 0.22580645161290322, + 0.8064516129032258, + 0.22580645161290322, + 0.22580645161290322, + 0.8064516129032258, + 0.8064516129032258, + 0.8064516129032258 + ], + "minPos": [ + -18, + -18, + 0 + ], + "maxPos": [ + 18, + 18, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "1de92eca-e2fb-4414-bdd6-e3a703d11cc2@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "1de92eca-e2fb-4414-bdd6-e3a703d11cc2@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_8.png b/assets/resources/images/bomb/boom_8.png new file mode 100644 index 0000000..1f17c09 Binary files /dev/null and b/assets/resources/images/bomb/boom_8.png differ diff --git a/assets/resources/images/bomb/boom_8.png.meta b/assets/resources/images/bomb/boom_8.png.meta new file mode 100644 index 0000000..f29f4fb --- /dev/null +++ b/assets/resources/images/bomb/boom_8.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "a8b2382c-00b1-41ce-8943-2da71578e900", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "a8b2382c-00b1-41ce-8943-2da71578e900@6c48a", + "displayName": "boom_8", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "a8b2382c-00b1-41ce-8943-2da71578e900", + "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": "a8b2382c-00b1-41ce-8943-2da71578e900@f9941", + "displayName": "boom_8", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 1, + "trimX": 13, + "trimY": 11, + "width": 37, + "height": 38, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -18.5, + -19, + 0, + 18.5, + -19, + 0, + -18.5, + 19, + 0, + 18.5, + 19, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 13, + 51, + 50, + 51, + 13, + 13, + 50, + 13 + ], + "nuv": [ + 0.20967741935483872, + 0.20967741935483872, + 0.8064516129032258, + 0.20967741935483872, + 0.20967741935483872, + 0.8225806451612904, + 0.8064516129032258, + 0.8225806451612904 + ], + "minPos": [ + -18.5, + -19, + 0 + ], + "maxPos": [ + 18.5, + 19, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "a8b2382c-00b1-41ce-8943-2da71578e900@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "a8b2382c-00b1-41ce-8943-2da71578e900@6c48a" + } +} diff --git a/assets/resources/images/bomb/boom_9.png b/assets/resources/images/bomb/boom_9.png new file mode 100644 index 0000000..d334118 Binary files /dev/null and b/assets/resources/images/bomb/boom_9.png differ diff --git a/assets/resources/images/bomb/boom_9.png.meta b/assets/resources/images/bomb/boom_9.png.meta new file mode 100644 index 0000000..7699b16 --- /dev/null +++ b/assets/resources/images/bomb/boom_9.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "38e15238-1595-4f3c-ade3-d1ac86b652b6", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "38e15238-1595-4f3c-ade3-d1ac86b652b6@6c48a", + "displayName": "boom_9", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "38e15238-1595-4f3c-ade3-d1ac86b652b6", + "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": "38e15238-1595-4f3c-ade3-d1ac86b652b6@f9941", + "displayName": "boom_9", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": 0.5, + "trimX": 12, + "trimY": 11, + "width": 39, + "height": 39, + "rawWidth": 62, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -19.5, + -19.5, + 0, + 19.5, + -19.5, + 0, + -19.5, + 19.5, + 0, + 19.5, + 19.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 12, + 51, + 51, + 51, + 12, + 12, + 51, + 12 + ], + "nuv": [ + 0.1935483870967742, + 0.1935483870967742, + 0.8225806451612904, + 0.1935483870967742, + 0.1935483870967742, + 0.8225806451612904, + 0.8225806451612904, + 0.8225806451612904 + ], + "minPos": [ + -19.5, + -19.5, + 0 + ], + "maxPos": [ + 19.5, + 19.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "38e15238-1595-4f3c-ade3-d1ac86b652b6@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "38e15238-1595-4f3c-ade3-d1ac86b652b6@6c48a" + } +} diff --git a/assets/resources/images/buttons.meta b/assets/resources/images/buttons.meta new file mode 100644 index 0000000..0b13d0c --- /dev/null +++ b/assets/resources/images/buttons.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "05193383-02f1-4b2c-8c78-378a66f14175", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/images/buttons/brief_btn.png b/assets/resources/images/buttons/brief_btn.png new file mode 100644 index 0000000..d4049a4 Binary files /dev/null and b/assets/resources/images/buttons/brief_btn.png differ diff --git a/assets/resources/images/buttons/brief_btn.png.meta b/assets/resources/images/buttons/brief_btn.png.meta new file mode 100644 index 0000000..baf070c --- /dev/null +++ b/assets/resources/images/buttons/brief_btn.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "15fa0a90-5734-4b44-8411-6d498f8a336e", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "15fa0a90-5734-4b44-8411-6d498f8a336e@6c48a", + "displayName": "brief_btn", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "15fa0a90-5734-4b44-8411-6d498f8a336e", + "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": "15fa0a90-5734-4b44-8411-6d498f8a336e@f9941", + "displayName": "brief_btn", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 76, + "height": 76, + "rawWidth": 76, + "rawHeight": 76, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -38, + -38, + 0, + 38, + -38, + 0, + -38, + 38, + 0, + 38, + 38, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 76, + 76, + 76, + 0, + 0, + 76, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -38, + -38, + 0 + ], + "maxPos": [ + 38, + 38, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "15fa0a90-5734-4b44-8411-6d498f8a336e@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "15fa0a90-5734-4b44-8411-6d498f8a336e@6c48a" + } +} diff --git a/assets/resources/images/buttons/heart_btn.png b/assets/resources/images/buttons/heart_btn.png new file mode 100644 index 0000000..2025dd4 Binary files /dev/null and b/assets/resources/images/buttons/heart_btn.png differ diff --git a/assets/resources/images/buttons/heart_btn.png.meta b/assets/resources/images/buttons/heart_btn.png.meta new file mode 100644 index 0000000..ca49d3a --- /dev/null +++ b/assets/resources/images/buttons/heart_btn.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "44094a3f-a444-45ec-8cbd-f61edc1fff24", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "44094a3f-a444-45ec-8cbd-f61edc1fff24@6c48a", + "displayName": "heart_btn", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "44094a3f-a444-45ec-8cbd-f61edc1fff24", + "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": "44094a3f-a444-45ec-8cbd-f61edc1fff24@f9941", + "displayName": "heart_btn", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 76, + "height": 76, + "rawWidth": 76, + "rawHeight": 76, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -38, + -38, + 0, + 38, + -38, + 0, + -38, + 38, + 0, + 38, + 38, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 76, + 76, + 76, + 0, + 0, + 76, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -38, + -38, + 0 + ], + "maxPos": [ + 38, + 38, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "44094a3f-a444-45ec-8cbd-f61edc1fff24@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "44094a3f-a444-45ec-8cbd-f61edc1fff24@6c48a" + } +} diff --git a/assets/resources/images/buttons/music_btn.png b/assets/resources/images/buttons/music_btn.png new file mode 100644 index 0000000..8fd878b Binary files /dev/null and b/assets/resources/images/buttons/music_btn.png differ diff --git a/assets/resources/images/buttons/music_btn.png.meta b/assets/resources/images/buttons/music_btn.png.meta new file mode 100644 index 0000000..ac4fcad --- /dev/null +++ b/assets/resources/images/buttons/music_btn.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "707f1ea3-5d8e-4142-bebc-7bfa867d121f", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "707f1ea3-5d8e-4142-bebc-7bfa867d121f@6c48a", + "displayName": "music_btn", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "707f1ea3-5d8e-4142-bebc-7bfa867d121f", + "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": "707f1ea3-5d8e-4142-bebc-7bfa867d121f@f9941", + "displayName": "music_btn", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 76, + "height": 76, + "rawWidth": 76, + "rawHeight": 76, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -38, + -38, + 0, + 38, + -38, + 0, + -38, + 38, + 0, + 38, + 38, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 76, + 76, + 76, + 0, + 0, + 76, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -38, + -38, + 0 + ], + "maxPos": [ + 38, + 38, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "707f1ea3-5d8e-4142-bebc-7bfa867d121f@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "707f1ea3-5d8e-4142-bebc-7bfa867d121f@6c48a" + } +} diff --git a/assets/resources/images/buttons/pause_btn.png b/assets/resources/images/buttons/pause_btn.png new file mode 100644 index 0000000..b2c46b4 Binary files /dev/null and b/assets/resources/images/buttons/pause_btn.png differ diff --git a/assets/resources/images/buttons/pause_btn.png.meta b/assets/resources/images/buttons/pause_btn.png.meta new file mode 100644 index 0000000..54ee090 --- /dev/null +++ b/assets/resources/images/buttons/pause_btn.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "523c7177-8385-474f-af39-f95a29a46065", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "523c7177-8385-474f-af39-f95a29a46065@6c48a", + "displayName": "pause_btn", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "523c7177-8385-474f-af39-f95a29a46065", + "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": "523c7177-8385-474f-af39-f95a29a46065@f9941", + "displayName": "pause_btn", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 64, + "height": 64, + "rawWidth": 64, + "rawHeight": 64, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -32, + -32, + 0, + 32, + -32, + 0, + -32, + 32, + 0, + 32, + 32, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 64, + 64, + 64, + 0, + 0, + 64, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -32, + -32, + 0 + ], + "maxPos": [ + 32, + 32, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "523c7177-8385-474f-af39-f95a29a46065@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "523c7177-8385-474f-af39-f95a29a46065@6c48a" + } +} diff --git a/assets/resources/images/common.meta b/assets/resources/images/common.meta new file mode 100644 index 0000000..9ced9bb --- /dev/null +++ b/assets/resources/images/common.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "6f1849e1-fa2b-4aa9-8ea0-8a1f8f12abd5", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/images/common/dialog_bg.png b/assets/resources/images/common/dialog_bg.png new file mode 100644 index 0000000..b40980a Binary files /dev/null and b/assets/resources/images/common/dialog_bg.png differ diff --git a/assets/resources/images/common/dialog_bg.png.meta b/assets/resources/images/common/dialog_bg.png.meta new file mode 100644 index 0000000..53d7b7a --- /dev/null +++ b/assets/resources/images/common/dialog_bg.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "a1329c0d-99b7-40b0-81f9-48a550c066b1", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "a1329c0d-99b7-40b0-81f9-48a550c066b1@6c48a", + "displayName": "dialog_bg", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "a1329c0d-99b7-40b0-81f9-48a550c066b1", + "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": "a1329c0d-99b7-40b0-81f9-48a550c066b1@f9941", + "displayName": "dialog_bg", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 453, + "height": 225, + "rawWidth": 453, + "rawHeight": 225, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -226.5, + -112.5, + 0, + 226.5, + -112.5, + 0, + -226.5, + 112.5, + 0, + 226.5, + 112.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 225, + 453, + 225, + 0, + 0, + 453, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -226.5, + -112.5, + 0 + ], + "maxPos": [ + 226.5, + 112.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "a1329c0d-99b7-40b0-81f9-48a550c066b1@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "a1329c0d-99b7-40b0-81f9-48a550c066b1@6c48a" + } +} diff --git a/assets/resources/images/common/finger.png b/assets/resources/images/common/finger.png new file mode 100644 index 0000000..1f34e07 Binary files /dev/null and b/assets/resources/images/common/finger.png differ diff --git a/assets/resources/images/common/finger.png.meta b/assets/resources/images/common/finger.png.meta new file mode 100644 index 0000000..565a98e --- /dev/null +++ b/assets/resources/images/common/finger.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "80e11ac9-e566-444f-96a6-5cce566b614b", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "80e11ac9-e566-444f-96a6-5cce566b614b@6c48a", + "displayName": "finger", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "80e11ac9-e566-444f-96a6-5cce566b614b", + "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": "80e11ac9-e566-444f-96a6-5cce566b614b@f9941", + "displayName": "finger", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 11.5, + "offsetY": -3.5, + "trimX": 23, + "trimY": 7, + "width": 93, + "height": 111, + "rawWidth": 116, + "rawHeight": 118, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -46.5, + -55.5, + 0, + 46.5, + -55.5, + 0, + -46.5, + 55.5, + 0, + 46.5, + 55.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 23, + 111, + 116, + 111, + 23, + 0, + 116, + 0 + ], + "nuv": [ + 0.19827586206896552, + 0, + 1, + 0, + 0.19827586206896552, + 0.940677966101695, + 1, + 0.940677966101695 + ], + "minPos": [ + -46.5, + -55.5, + 0 + ], + "maxPos": [ + 46.5, + 55.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "80e11ac9-e566-444f-96a6-5cce566b614b@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "80e11ac9-e566-444f-96a6-5cce566b614b@6c48a" + } +} diff --git a/assets/resources/images/common/gold_coin.png b/assets/resources/images/common/gold_coin.png new file mode 100644 index 0000000..703d76d Binary files /dev/null and b/assets/resources/images/common/gold_coin.png differ diff --git a/assets/resources/images/common/gold_coin.png.meta b/assets/resources/images/common/gold_coin.png.meta new file mode 100644 index 0000000..f8cce5b --- /dev/null +++ b/assets/resources/images/common/gold_coin.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@6c48a", + "displayName": "gold_coin", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812", + "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": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@f9941", + "displayName": "gold_coin", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 29, + "height": 30, + "rawWidth": 29, + "rawHeight": 30, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -14.5, + -15, + 0, + 14.5, + -15, + 0, + -14.5, + 15, + 0, + 14.5, + 15, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 30, + 29, + 30, + 0, + 0, + 29, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -14.5, + -15, + 0 + ], + "maxPos": [ + 14.5, + 15, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@6c48a" + } +} diff --git a/assets/resources/images/common/line.png b/assets/resources/images/common/line.png new file mode 100644 index 0000000..d0c0596 Binary files /dev/null and b/assets/resources/images/common/line.png differ diff --git a/assets/resources/images/common/line.png.meta b/assets/resources/images/common/line.png.meta new file mode 100644 index 0000000..4973680 --- /dev/null +++ b/assets/resources/images/common/line.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "f6c8fe37-56a1-42fb-9a93-921061309653", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "f6c8fe37-56a1-42fb-9a93-921061309653@6c48a", + "displayName": "line", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "f6c8fe37-56a1-42fb-9a93-921061309653", + "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": "f6c8fe37-56a1-42fb-9a93-921061309653@f9941", + "displayName": "line", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 376, + "height": 5, + "rawWidth": 376, + "rawHeight": 5, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -188, + -2.5, + 0, + 188, + -2.5, + 0, + -188, + 2.5, + 0, + 188, + 2.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 5, + 376, + 5, + 0, + 0, + 376, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -188, + -2.5, + 0 + ], + "maxPos": [ + 188, + 2.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "f6c8fe37-56a1-42fb-9a93-921061309653@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "f6c8fe37-56a1-42fb-9a93-921061309653@6c48a" + } +} diff --git a/assets/resources/images/common/list_item_bg.png b/assets/resources/images/common/list_item_bg.png new file mode 100644 index 0000000..33a4a46 Binary files /dev/null and b/assets/resources/images/common/list_item_bg.png differ diff --git a/assets/resources/images/common/list_item_bg.png.meta b/assets/resources/images/common/list_item_bg.png.meta new file mode 100644 index 0000000..6eb3756 --- /dev/null +++ b/assets/resources/images/common/list_item_bg.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "e613fe41-dc06-4abf-bf87-b1da3189af10", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "e613fe41-dc06-4abf-bf87-b1da3189af10@6c48a", + "displayName": "list_item_bg", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "e613fe41-dc06-4abf-bf87-b1da3189af10", + "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": "e613fe41-dc06-4abf-bf87-b1da3189af10@f9941", + "displayName": "list_item_bg", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 327, + "height": 95, + "rawWidth": 327, + "rawHeight": 95, + "borderTop": 24, + "borderBottom": 24, + "borderLeft": 36, + "borderRight": 36, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -163.5, + -47.5, + 0, + 163.5, + -47.5, + 0, + -163.5, + 47.5, + 0, + 163.5, + 47.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 95, + 327, + 95, + 0, + 0, + 327, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -163.5, + -47.5, + 0 + ], + "maxPos": [ + 163.5, + 47.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "e613fe41-dc06-4abf-bf87-b1da3189af10@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "e613fe41-dc06-4abf-bf87-b1da3189af10@6c48a" + } +} diff --git a/assets/resources/images/common/lock.png b/assets/resources/images/common/lock.png new file mode 100644 index 0000000..22a8e6e Binary files /dev/null and b/assets/resources/images/common/lock.png differ diff --git a/assets/resources/images/common/lock.png.meta b/assets/resources/images/common/lock.png.meta new file mode 100644 index 0000000..c28be27 --- /dev/null +++ b/assets/resources/images/common/lock.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "8d8cb9f2-fb48-4143-b354-4c0247572e75", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "8d8cb9f2-fb48-4143-b354-4c0247572e75@6c48a", + "displayName": "lock", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "8d8cb9f2-fb48-4143-b354-4c0247572e75", + "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": "8d8cb9f2-fb48-4143-b354-4c0247572e75@f9941", + "displayName": "lock", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 21, + "height": 24, + "rawWidth": 21, + "rawHeight": 24, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -10.5, + -12, + 0, + 10.5, + -12, + 0, + -10.5, + 12, + 0, + 10.5, + 12, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 24, + 21, + 24, + 0, + 0, + 21, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -10.5, + -12, + 0 + ], + "maxPos": [ + 10.5, + 12, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "8d8cb9f2-fb48-4143-b354-4c0247572e75@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "8d8cb9f2-fb48-4143-b354-4c0247572e75@6c48a" + } +} diff --git a/assets/resources/images/common/rect_box.png b/assets/resources/images/common/rect_box.png new file mode 100644 index 0000000..dd57d91 Binary files /dev/null and b/assets/resources/images/common/rect_box.png differ diff --git a/assets/resources/images/common/rect_box.png.meta b/assets/resources/images/common/rect_box.png.meta new file mode 100644 index 0000000..daacf08 --- /dev/null +++ b/assets/resources/images/common/rect_box.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@6c48a", + "displayName": "rect_box", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda", + "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": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@f9941", + "displayName": "rect_box", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 141, + "height": 58, + "rawWidth": 141, + "rawHeight": 58, + "borderTop": 13, + "borderBottom": 13, + "borderLeft": 18, + "borderRight": 17, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -70.5, + -29, + 0, + 70.5, + -29, + 0, + -70.5, + 29, + 0, + 70.5, + 29, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 58, + 141, + 58, + 0, + 0, + 141, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -70.5, + -29, + 0 + ], + "maxPos": [ + 70.5, + 29, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@6c48a" + } +} diff --git a/assets/resources/images/dino.meta b/assets/resources/images/dino.meta new file mode 100644 index 0000000..e7afafc --- /dev/null +++ b/assets/resources/images/dino.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "d70be598-52ae-4f05-bb84-397ab4623886", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/images/dino/dino.png b/assets/resources/images/dino/dino.png new file mode 100644 index 0000000..21bfd58 Binary files /dev/null and b/assets/resources/images/dino/dino.png differ diff --git a/assets/resources/images/dino/dino.png.meta b/assets/resources/images/dino/dino.png.meta new file mode 100644 index 0000000..af6a600 --- /dev/null +++ b/assets/resources/images/dino/dino.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "253e12dd-1488-42d6-94d7-400da9639799", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "253e12dd-1488-42d6-94d7-400da9639799@6c48a", + "displayName": "dino", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "253e12dd-1488-42d6-94d7-400da9639799", + "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": "253e12dd-1488-42d6-94d7-400da9639799@f9941", + "displayName": "dino", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 144, + "height": 228, + "rawWidth": 144, + "rawHeight": 228, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -72, + -114, + 0, + 72, + -114, + 0, + -72, + 114, + 0, + 72, + 114, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 228, + 144, + 228, + 0, + 0, + 144, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -72, + -114, + 0 + ], + "maxPos": [ + 72, + 114, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "253e12dd-1488-42d6-94d7-400da9639799@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "253e12dd-1488-42d6-94d7-400da9639799@6c48a" + } +} diff --git a/assets/resources/images/dino/dino_body.png b/assets/resources/images/dino/dino_body.png new file mode 100644 index 0000000..f10a710 Binary files /dev/null and b/assets/resources/images/dino/dino_body.png differ diff --git a/assets/resources/images/dino/dino_body.png.meta b/assets/resources/images/dino/dino_body.png.meta new file mode 100644 index 0000000..2a8a8b9 --- /dev/null +++ b/assets/resources/images/dino/dino_body.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "6362c4e3-3215-4c69-beed-5daaa3ed052a", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "6362c4e3-3215-4c69-beed-5daaa3ed052a@6c48a", + "displayName": "dino_body", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "6362c4e3-3215-4c69-beed-5daaa3ed052a", + "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": "6362c4e3-3215-4c69-beed-5daaa3ed052a@f9941", + "displayName": "dino_body", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 129, + "height": 174, + "rawWidth": 129, + "rawHeight": 174, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -64.5, + -87, + 0, + 64.5, + -87, + 0, + -64.5, + 87, + 0, + 64.5, + 87, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 174, + 129, + 174, + 0, + 0, + 129, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -64.5, + -87, + 0 + ], + "maxPos": [ + 64.5, + 87, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "6362c4e3-3215-4c69-beed-5daaa3ed052a@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "6362c4e3-3215-4c69-beed-5daaa3ed052a@6c48a" + } +} diff --git a/assets/resources/images/dino/dino_head.png b/assets/resources/images/dino/dino_head.png new file mode 100644 index 0000000..6f60d5f Binary files /dev/null and b/assets/resources/images/dino/dino_head.png differ diff --git a/assets/resources/images/dino/dino_head.png.meta b/assets/resources/images/dino/dino_head.png.meta new file mode 100644 index 0000000..15cff53 --- /dev/null +++ b/assets/resources/images/dino/dino_head.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "e758c62f-c681-47aa-9348-4de92345e133", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "e758c62f-c681-47aa-9348-4de92345e133@6c48a", + "displayName": "dino_head", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "e758c62f-c681-47aa-9348-4de92345e133", + "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": "e758c62f-c681-47aa-9348-4de92345e133@f9941", + "displayName": "dino_head", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 68, + "height": 57, + "rawWidth": 68, + "rawHeight": 57, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -34, + -28.5, + 0, + 34, + -28.5, + 0, + -34, + 28.5, + 0, + 34, + 28.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 57, + 68, + 57, + 0, + 0, + 68, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -34, + -28.5, + 0 + ], + "maxPos": [ + 34, + 28.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "e758c62f-c681-47aa-9348-4de92345e133@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "e758c62f-c681-47aa-9348-4de92345e133@6c48a" + } +} diff --git a/assets/resources/images/dino/note.png b/assets/resources/images/dino/note.png new file mode 100644 index 0000000..bce0122 Binary files /dev/null and b/assets/resources/images/dino/note.png differ diff --git a/assets/resources/images/dino/note.png.meta b/assets/resources/images/dino/note.png.meta new file mode 100644 index 0000000..d056ea6 --- /dev/null +++ b/assets/resources/images/dino/note.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f@6c48a", + "displayName": "note", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f", + "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": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f@f9941", + "displayName": "note", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 26, + "height": 62, + "rawWidth": 26, + "rawHeight": 62, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -13, + -31, + 0, + 13, + -31, + 0, + -13, + 31, + 0, + 13, + 31, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 62, + 26, + 62, + 0, + 0, + 26, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -13, + -31, + 0 + ], + "maxPos": [ + 13, + 31, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f@6c48a" + } +} diff --git a/assets/resources/prefabs.meta b/assets/resources/prefabs.meta new file mode 100644 index 0000000..0e38164 --- /dev/null +++ b/assets/resources/prefabs.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "20aa1a2a-7d3f-420d-981d-46e484da8246", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/prefabs/bomb_effect.prefab b/assets/resources/prefabs/bomb_effect.prefab new file mode 100644 index 0000000..6abb936 --- /dev/null +++ b/assets/resources/prefabs/bomb_effect.prefab @@ -0,0 +1,460 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "bomb_effect", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "bomb_effect", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + } + ], + "_active": true, + "_components": [ + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bomb_title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 72.537, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 101.4157593425967, + "height": 37.8 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b5ZfxwvVNN7agCxSu8FrOH" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "Perfact", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 30, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b4J3e0d9RM64Pw5474XA0u" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "87S94KF5tHoqixURZB1tha", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "bomb_image", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + }, + { + "__id__": 13 + } + ], + "_prefab": { + "__id__": 15 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 26, + "height": 26 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d4PEA5BTtPD4kq7GJKyNTs" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "3c766fd7-798b-4372-b2f2-a3387a1c88d7@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8bBKEGnzpL3oWHYzgJAXF/" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "playOnLoad": false, + "_clips": [ + { + "__uuid__": "6db4cd39-fad2-4121-90be-6e4efb325146", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "6db4cd39-fad2-4121-90be-6e4efb325146", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7f8TzQNh9Ijotx3TGJVRvl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "146U9XxHxE5Z/stmdqYr+O", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "58JWSXlpdMkJXcANLBhSU9" + }, + { + "__type__": "4835db4ElNJoJ2PTxdY+i/q", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "bombLabel": { + "__id__": 5 + }, + "bombImageNode": { + "__id__": 8 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4be/M5yOJECb5HdLxtJBnk" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "80kdegUYBNSpdcPqULDDWz", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/prefabs/bomb_effect.prefab.meta b/assets/resources/prefabs/bomb_effect.prefab.meta new file mode 100644 index 0000000..f6c51bb --- /dev/null +++ b/assets/resources/prefabs/bomb_effect.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "d05a5f74-fcf5-48e9-be3f-bb3cf7449581", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "bomb_effect" + } +} diff --git a/assets/resources/prefabs/dino.prefab b/assets/resources/prefabs/dino.prefab new file mode 100644 index 0000000..556cc37 --- /dev/null +++ b/assets/resources/prefabs/dino.prefab @@ -0,0 +1,628 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "dino", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "dino", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + }, + { + "__id__": 14 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + }, + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -1.649, + "y": -160, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "dino_body", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 44.5, + "y": -64.319, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 129, + "height": 174 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c7qdzZMIpDdpX8NnOWd3Xd" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6362c4e3-3215-4c69-beed-5daaa3ed052a@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "79sLtmVYBKjr7weu/gFT5H" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eexuWwNsVCM60P75DX12Zj", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "dino_neck_box", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 13 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 18.795, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "df5B5+vL5Kf6/ZXMvqaS8Q" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_resizeMode": 0, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "02X4JWhHJO1ppp0F6oYhik" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ea+EpxRYBC7JssWw6x4496", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "dino_head", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 19 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -2.349, + "y": 45.892, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 68, + "height": 57 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "00PLn4TwVNt6+c28rt/4oB" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e758c62f-c681-47aa-9348-4de92345e133@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "51A/q86htJe6VWQp5PNvDR" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2bpQf34fhDgZJE2AcKSdle", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 300 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4ecgtIO0dHuqmuxlo7v3JT" + }, + { + "__type__": "3af59Mq0btEKbgVqyIVrHXo", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "neckSpriteFrame": { + "__uuid__": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "bombEffectPrefab": { + "__uuid__": "d05a5f74-fcf5-48e9-be3f-bb3cf7449581", + "__expectedType__": "cc.Prefab" + }, + "lineNode": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "54C3OIimJNoabY4fgz8u8W" + }, + { + "__type__": "cc.PolygonCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "tag": 1, + "_group": 2, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_points": [ + { + "__type__": "cc.Vec2", + "x": -21.6, + "y": 22.6 + }, + { + "__type__": "cc.Vec2", + "x": -28.1, + "y": 27.6 + }, + { + "__type__": "cc.Vec2", + "x": -33.1, + "y": 31.5 + }, + { + "__type__": "cc.Vec2", + "x": -39.3, + "y": 39.2 + }, + { + "__type__": "cc.Vec2", + "x": -44.7, + "y": 74.9 + }, + { + "__type__": "cc.Vec2", + "x": 45.5, + "y": 74.9 + }, + { + "__type__": "cc.Vec2", + "x": 34.4, + "y": 35.8 + }, + { + "__type__": "cc.Vec2", + "x": 34, + "y": 34.5 + }, + { + "__type__": "cc.Vec2", + "x": 26.8, + "y": 27 + }, + { + "__type__": "cc.Vec2", + "x": 6.6, + "y": 19.5 + }, + { + "__type__": "cc.Vec2", + "x": -5.8, + "y": 18.9 + } + ], + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dAV/9sGhGZK7+5BW5AyfB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "732rz83VJBqYqmbhfYIrQ9", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/prefabs/dino.prefab.meta b/assets/resources/prefabs/dino.prefab.meta new file mode 100644 index 0000000..2a6a849 --- /dev/null +++ b/assets/resources/prefabs/dino.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "80547cb5-f254-45d4-b3d3-b54b9101e83f", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "dino" + } +} diff --git a/assets/resources/prefabs/note.prefab b/assets/resources/prefabs/note.prefab new file mode 100644 index 0000000..d41cfe7 --- /dev/null +++ b/assets/resources/prefabs/note.prefab @@ -0,0 +1,459 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "note", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "note", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + } + ], + "_active": true, + "_components": [ + { + "__id__": 14 + }, + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "tip_text", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 54, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 151.65203621111604, + "height": 45.36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4uew+rQVK6aDaOBetpffR" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "碰到了!", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 36, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "05CMWN+MtPvL5gvQuVzqsp" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "84I1SwAS9GxKELMuwdboNu", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "note_img", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 13 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 26, + "height": 62 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "07GCSEH9NL67upAaTttyBG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "5b7eb936-cfb1-46a9-b591-97e7c3db5e5f@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d86E0bt9dMba9DA9E58QL5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "dbrMz7VmJFTIWvNy3M2Fvo", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 26, + "height": 62 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a8l5jCt6JDNoml2fUHSuH8" + }, + { + "__type__": "0b44d/HS1tOdKB1b7cbhPtk", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "19zOxfPK5OqbTc4AyCIYSs" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "tag": 2, + "_group": 4, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 26, + "height": 62 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "75ux6Hs2pEo5Q234PsZj6T" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a1b3B8aiFJe5FN3LeJJR/c", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/prefabs/note.prefab.meta b/assets/resources/prefabs/note.prefab.meta new file mode 100644 index 0000000..21676f3 --- /dev/null +++ b/assets/resources/prefabs/note.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "ad79d92f-a64b-4866-8e81-f401e5d73219", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "note" + } +} diff --git a/assets/scenes.meta b/assets/scenes.meta new file mode 100644 index 0000000..e7ec62b --- /dev/null +++ b/assets/scenes.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "46eb9de4-6bd0-4cce-9eab-43e3ef70a527", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scenes/author.scene b/assets/scenes/author.scene new file mode 100644 index 0000000..848924d --- /dev/null +++ b/assets/scenes/author.scene @@ -0,0 +1,730 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "author", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "author", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 15 + }, + "_id": "faf704be-e3df-4790-a1db-dfbd6c59494a" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 13 + }, + { + "__id__": 14 + } + ], + "_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": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 6 + } + ], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 11 + } + ], + "_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": "7eBkNey51EIbV24RfyKBiQ" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 7 + }, + { + "__id__": 8 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 458.942, + "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": "8dzRUuz/FCN6nqxpifzdmt" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 244.4037843101934, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c4yl1osWZJeonw0stl04tE" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "zzc❤hm", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "3cZ00Cg8ZFXqvHdpuNh7uq" + }, + { + "__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": "9fM317XwlINKLuA7K+zXOW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 204, + "g": 229, + "b": 205, + "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": "cc3pA2FudInLUWkPCsTAMu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_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": "23OL+C/XNGa7VgOtXeaT07" + }, + { + "__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.SceneGlobals", + "ambient": { + "__id__": 16 + }, + "shadows": { + "__id__": 17 + }, + "_skybox": { + "__id__": 18 + }, + "fog": { + "__id__": 19 + }, + "octree": { + "__id__": 20 + }, + "skin": { + "__id__": 21 + }, + "lightProbeInfo": { + "__id__": 22 + }, + "postSettings": { + "__id__": 23 + }, + "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/scenes/author.scene.meta b/assets/scenes/author.scene.meta new file mode 100644 index 0000000..d5d74fe --- /dev/null +++ b/assets/scenes/author.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.50", + "importer": "scene", + "imported": true, + "uuid": "faf704be-e3df-4790-a1db-dfbd6c59494a", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scenes/game.scene b/assets/scenes/game.scene new file mode 100644 index 0000000..fe89764 --- /dev/null +++ b/assets/scenes/game.scene @@ -0,0 +1,8871 @@ +[ + { + "__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__": 238 + }, + "_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__": 239 + }, + "_id": "f256d454-47ce-478a-a541-29596a679d47" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 9 + }, + { + "__id__": 20 + }, + { + "__id__": 61 + }, + { + "__id__": 28 + }, + { + "__id__": 66 + }, + { + "__id__": 112 + }, + { + "__id__": 140 + } + ], + "_active": true, + "_components": [ + { + "__id__": 233 + }, + { + "__id__": 234 + }, + { + "__id__": 235 + }, + { + "__id__": 236 + }, + { + "__id__": 237 + } + ], + "_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": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__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": "7eBkNey51EIbV24RfyKBiQ" + }, + { + "__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": "9fM317XwlINKLuA7K+zXOW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 204, + "g": 229, + "b": 205, + "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": "cc3pA2FudInLUWkPCsTAMu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_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": "23OL+C/XNGa7VgOtXeaT07" + }, + { + "__type__": "cc.Node", + "_name": "note_manager", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 10 + } + ], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 19 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "04BtcOXR5Fg5N6bKL6UTrv" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 9 + }, + "_prefab": { + "__id__": 11 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 10 + }, + "asset": { + "__uuid__": "ad79d92f-a64b-4866-8e81-f401e5d73219", + "__expectedType__": "cc.Prefab" + }, + "fileId": "a1b3B8aiFJe5FN3LeJJR/c", + "instance": { + "__id__": 12 + }, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "d3/QV3xJ5ECIbWZEbS/oJE", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + }, + { + "__id__": 17 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 14 + }, + "propertyPath": [ + "_name" + ], + "value": "note" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a1b3B8aiFJe5FN3LeJJR/c" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 14 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 532.444, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 14 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 14 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "eeeELQwrVHMrmu/K1LvmzY" + }, + { + "__type__": "f22442nvo1PvoDTPgF1jXx0", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": null, + "notePrefab": { + "__uuid__": "ad79d92f-a64b-4866-8e81-f401e5d73219", + "__expectedType__": "cc.Prefab" + }, + "lineNode": { + "__id__": 20 + }, + "noteCountLabel": { + "__id__": 25 + }, + "_id": "79ecsCKy9LMKQLqv7oTU4Y" + }, + { + "__type__": "cc.Node", + "_name": "line", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 21 + }, + { + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -179.878, + "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": "c6DxArcn9FAKtSZyepmcUe" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 376, + "height": 5 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c4K0LRnilDoocW/sPgfc8i" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f6c8fe37-56a1-42fb-9a93-921061309653@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": "7d4b3dWn1HMq9ITGq4EWkn" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": null, + "tag": 3, + "_group": 8, + "_density": 1, + "_sensor": false, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0.1, + "y": 0.4 + }, + "_size": { + "__type__": "cc.Size", + "width": 376.2, + "height": 12.1 + }, + "_id": "35Ghw9YfpKtKOqsaGcQzjM" + }, + { + "__type__": "2ae0b0VehJNRoJcsNQPyNtr", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": null, + "_id": "552ZoiwIVNV7BWlXCIHD3a" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 26 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "音符数量:100", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 26, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 26, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "d1z9AVcd5EP4za6WfZxaok" + }, + { + "__type__": "cc.Node", + "_name": "tempo", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 27 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 60 + }, + { + "__id__": 25 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -17.889999999999997, + "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": "92tQFu1+FK8aZtu3w8Kl9P" + }, + { + "__type__": "cc.Node", + "_name": "note_info", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 28 + }, + "_children": [ + { + "__id__": 54 + }, + { + "__id__": 26 + } + ], + "_active": true, + "_components": [ + { + "__id__": 57 + }, + { + "__id__": 58 + }, + { + "__id__": 59 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 270, + "y": -583.75, + "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": "1c7Ux5vq9L7ZHXFqmDfROG" + }, + { + "__type__": "cc.Node", + "_name": "ui", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 29 + }, + { + "__id__": 35 + }, + { + "__id__": 42 + }, + { + "__id__": 27 + } + ], + "_active": true, + "_components": [ + { + "__id__": 52 + }, + { + "__id__": 53 + } + ], + "_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": "ceDm7rBL9Pp6lMVwgyjUSg" + }, + { + "__type__": "cc.Node", + "_name": "pause_btn", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 28 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 31 + }, + { + "__id__": 32 + }, + { + "__id__": 33 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -303, + "y": -583, + "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": "65LtZcPZxF2boegyWHeFb4" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 64, + "height": 64 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "90xdvikSZMDIFV+zvl+MtZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "523c7177-8385-474f-af39-f95a29a46065@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": "d86XI8ChRIe6zkHsWV4anr" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 12, + "_target": null, + "_left": 25, + "_right": 0, + "_top": 0, + "_bottom": 25, + "_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": "97ph+XBfdK8YG4BvpZIzjo" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 34 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 0.9, + "_target": null, + "_id": "a4LD3jPL1OoJP9QYByLwC/" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2 + }, + "component": "", + "_componentId": "60d288O5WJKipMhVR+g6asc", + "handler": "pauseGame", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "score_lable", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 28 + }, + "_children": [ + { + "__id__": 36 + } + ], + "_active": true, + "_components": [ + { + "__id__": 39 + }, + { + "__id__": 40 + }, + { + "__id__": 41 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -335, + "y": 583.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": "07lNUGpMJNmKTVCaqJHfIg" + }, + { + "__type__": "cc.Node", + "_name": "score_num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 35 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 37 + }, + { + "__id__": 38 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 130.582, + "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": "48JXr6aBRGQZgEn3zwJtPx" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 38.435445258494504, + "height": 63 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "ad5xeQG35Ej5EXJrx785ZZ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "0", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 50, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "9eDPcevhhCrr8VMz4juvtM" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 124.5194296334945, + "height": 63 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "e6BqyHA6JNQbw9rq+6jEO1" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_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": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 50, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "46xBTmks5E8Irb2JKtE3r0" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 9, + "_target": null, + "_left": 25, + "_right": 0, + "_top": 25, + "_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": "d6Ykqxgf9EuqtUT8Iv2WhL" + }, + { + "__type__": "cc.Node", + "_name": "life", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 28 + }, + "_children": [ + { + "__id__": 43 + }, + { + "__id__": 46 + } + ], + "_active": true, + "_components": [ + { + "__id__": 49 + }, + { + "__id__": 50 + }, + { + "__id__": 51 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 290, + "y": 570, + "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": "8auIHerzVIiYZ3nAaJPqHj" + }, + { + "__type__": "cc.Node", + "_name": "dino_head", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 42 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 45 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -66, + "y": 21.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": "66ACVH/3lMeann6aDLUX+j" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 68, + "height": 57 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "06+97DcpVE46/lK6gvYyLr" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e758c62f-c681-47aa-9348-4de92345e133@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": "b9CiqHFDdAIazrXBfzmWNg" + }, + { + "__type__": "cc.Node", + "_name": "life_value", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 42 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 47 + }, + { + "__id__": 48 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 26.66352341049725, + "y": 25.66, + "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": "d7DSxhWPBFs6295Ss+6aEU" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 46 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 77.3270468209945, + "height": 63 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "befLcaEkNN5JiM1nmQybVY" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 46 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "x 2", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 50, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "c3c6L91WlAF7E8Sj979NOE" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 42 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "63NfxXX71A5ZBe82oKFZj2" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 42 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 0, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 20, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "05TLQhdF9Bdpb9Wxa6LjP4" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 42 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 33, + "_target": null, + "_left": 0, + "_right": 70, + "_top": 20, + "_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": "bc/6WirmxOyqWFi33lFAIe" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 28 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "16Do3mNMJF6oGt5kbIApg4" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 28 + }, + "_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": "12d4bp4W9CWIhTFrzxJMlb" + }, + { + "__type__": "cc.Node", + "_name": "speed", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 27 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 55 + }, + { + "__id__": 56 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 14.870000000000001, + "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": "26OnRo1s1BtK5DM8Oljr7n" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 125.43369715941714, + "height": 32.76 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "fctlGf6XpIorwDx1mskcjt" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "速度::x 1", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 26, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 26, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "86mJYOT2xKT5yzc5XxfSiJ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 62.5 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5fympbuT9Nza/eLVVgtkHL" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 0, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "c8BFKP+SFPRrwnypHzIyA8" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 36, + "_target": null, + "_left": 0, + "_right": 40, + "_top": 1066.4345, + "_bottom": 25, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "fe7/IMbBVEA6b/c52C2Q10" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 26 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 178.90635340941714, + "height": 32.76 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "efU40O0PhD8LtqS46DwupU" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_prefab": { + "__id__": 62 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 61 + }, + "asset": { + "__uuid__": "80547cb5-f254-45d4-b3d3-b54b9101e83f", + "__expectedType__": "cc.Prefab" + }, + "fileId": "732rz83VJBqYqmbhfYIrQ9", + "instance": { + "__id__": 63 + }, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "f8+Y0ZO2pJw4cYLxSctErr", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 64 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 65 + }, + "propertyPath": [ + "lineNode" + ], + "value": { + "__id__": 20 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "54C3OIimJNoabY4fgz8u8W" + ] + }, + { + "__type__": "cc.Node", + "_name": "continue_modal", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 67 + }, + { + "__id__": 72 + }, + { + "__id__": 78 + }, + { + "__id__": 87 + } + ], + "_active": true, + "_components": [ + { + "__id__": 109 + }, + { + "__id__": 110 + }, + { + "__id__": 111 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -2500.829, + "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": "3547UQZaFGMolw8nA/ssuo" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 66 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 68 + }, + { + "__id__": 69 + }, + { + "__id__": 70 + }, + { + "__id__": 71 + } + ], + "_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": "63nIE6wOVDq4VUaIx9VMrN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "4eoQqy7zlEE5u+C/0SIDix" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 120 + }, + "_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": "f0hgZLcMJERKPaDK+7VM1C" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_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": 720, + "_originalHeight": 1280, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "5e9GpSHPRGQ6IfqxzhYyc7" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": null, + "_id": "f97cE3eDlLioDZiXczP1J7" + }, + { + "__type__": "cc.Node", + "_name": "pause_btn", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 66 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 73 + }, + { + "__id__": 74 + }, + { + "__id__": 75 + }, + { + "__id__": 76 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -303, + "y": -583, + "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": "ebRk35F9JHorn1pHc9yMyc" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 64, + "height": 64 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c8CkWab5RBValq169ei9xS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "523c7177-8385-474f-af39-f95a29a46065@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": "8cbS9vhMxH0Ymy6xIfjh85" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 12, + "_target": null, + "_left": 25, + "_right": 0, + "_top": 0, + "_bottom": 25, + "_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": "e0SC97F3NEkJFaOLutOAwG" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 77 + } + ], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "9aGjJNZ85HKKl9qoQi+Npj" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 66 + }, + "component": "", + "_componentId": "6ae5fKAuQNFN7HSubvMuia4", + "handler": "onPauseGame", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "swipe_container", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 66 + }, + "_children": [ + { + "__id__": 79 + }, + { + "__id__": 82 + } + ], + "_active": true, + "_components": [ + { + "__id__": 86 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -286.026, + "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": "6a+Qv8D/RLoq3E4bYlNQoi" + }, + { + "__type__": "cc.Node", + "_name": "swipe_tip", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 78 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 80 + }, + { + "__id__": 81 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 84.429, + "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": "72TCkvgLRM/avGCucYqtYf" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 79 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 360.6278280709945, + "height": 63 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "adgGvOjl9EAagLv5jVuYhN" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 79 + }, + "_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": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 50, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "5cknH5QrlLdKACuHzMGATM" + }, + { + "__type__": "cc.Node", + "_name": "finger", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 78 + }, + "_children": [], + "_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": "7btDeJ6PBJyIcL3wktpNA4" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 82 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 93, + "height": 111 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "fdQDI7nOhDvrFYlfrJ01ZV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 82 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "80e11ac9-e566-444f-96a6-5cce566b614b@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": "7eeplLEiJHmb7g2vatQIeI" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 82 + }, + "_enabled": true, + "__prefab": null, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "a98f5799-91c9-4ff7-81eb-3d02f3f0e20c", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "a98f5799-91c9-4ff7-81eb-3d02f3f0e20c", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "2dIWvjdC1Ce7RMK1Qq1yYG" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 78 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 500, + "height": 300 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "acI8RA+ktKXrFroRvL359z" + }, + { + "__type__": "cc.Node", + "_name": "tip_container", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 66 + }, + "_children": [ + { + "__id__": 88 + }, + { + "__id__": 98 + } + ], + "_active": true, + "_components": [ + { + "__id__": 108 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 414.675, + "y": 509.158, + "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": "80VbHlrEJPC7suNYUHEDMh" + }, + { + "__type__": "cc.Node", + "_name": "tip_1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 87 + }, + "_children": [ + { + "__id__": 89 + }, + { + "__id__": 92 + } + ], + "_active": false, + "_components": [ + { + "__id__": 95 + }, + { + "__id__": 96 + }, + { + "__id__": 97 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 108.357, + "y": -58.877, + "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": "c5emWCI95PfJtEzJGJpHdW" + }, + { + "__type__": "cc.Node", + "_name": "tip_text", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 88 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 90 + }, + { + "__id__": 91 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -57.000000000000014, + "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": "9bRuVE5m9PmLPOCrAY3WEw" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 89 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 151.65203621111604, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "28IUNdeixKTqQu9dbNAzJD" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 89 + }, + "_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": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "2bf3VRBlxNmrVdXhbGUBl2" + }, + { + "__type__": "cc.Node", + "_name": "dino", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 88 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 93 + }, + { + "__id__": 94 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 90.826018105558, + "y": 37.919, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.602, + "y": 0.602, + "z": 0.602 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "7dLIufx0dBJ42PAwQcEXrK" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 92 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 144, + "height": 228 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "31PWOpJ6BERrNO83dR33SS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 92 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "253e12dd-1488-42d6-94d7-400da9639799@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": "7fpiiryVpOzZOGI0uJY4Us" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 88 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 325.65203621111607, + "height": -45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e8R48nL0tF/rz3GtwGYYfw" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 88 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@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": "d2lg75abJPDaKKGs+z+dWp" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 88 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 30, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "0eQI37JAdLv54Na+JoDAMw" + }, + { + "__type__": "cc.Node", + "_name": "tip_2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 87 + }, + "_children": [ + { + "__id__": 99 + }, + { + "__id__": 102 + } + ], + "_active": false, + "_components": [ + { + "__id__": 105 + }, + { + "__id__": 106 + }, + { + "__id__": 107 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 112.33, + "y": -45, + "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": "fcokaLLuZPaIdKp5rH3SrI" + }, + { + "__type__": "cc.Node", + "_name": "tip_text", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 98 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 100 + }, + { + "__id__": 101 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -57.000000000000014, + "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": "97wXeZbVBMs52rkpBDP7I0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 151.65203621111604, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "8foCynjpZD77XXLTnCVspL" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_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": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "f5cFlbU0ZGRat+fz/fM8ek" + }, + { + "__type__": "cc.Node", + "_name": "dino", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 98 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 103 + }, + { + "__id__": 104 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 90.826018105558, + "y": 37.919, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.602, + "y": 0.602, + "z": 0.602 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "ce7hVCprtLpqpiFtB3S5qH" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 102 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 144, + "height": 228 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "4cOLv0821Ky67C5y6PzEBd" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 102 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "253e12dd-1488-42d6-94d7-400da9639799@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": "d1yFeyMIlLRrlavhh3ZpIo" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 98 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 325.65203621111607, + "height": 58 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "eaCh8ERHVBx5aIGzG6oyfo" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 98 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@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": "d7TLVtzWlN75F7CUZjg2B4" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 98 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 30, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "5dukuiqR5E86tDsnKmEcUT" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 87 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "2efcfxRZFPK4ZkHwI1Ztxe" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ebBzZLr0VAZrjPhuMRWOYt" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": -2500.829, + "_right": 2500.829, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 720, + "_originalHeight": 1280, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "c4EzMHBwNBjYfGz6YEZEvC" + }, + { + "__type__": "6ae5fKAuQNFN7HSubvMuia4", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": null, + "swipeNode": { + "__id__": 78 + }, + "tipNode1": { + "__id__": 88 + }, + "tipNode2": { + "__id__": 98 + }, + "_id": "1dRSZseXRO0Liw8tStt7GN" + }, + { + "__type__": "cc.Node", + "_name": "pause_modal", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 113 + }, + { + "__id__": 121 + }, + { + "__id__": 129 + } + ], + "_active": true, + "_components": [ + { + "__id__": 137 + }, + { + "__id__": 138 + }, + { + "__id__": 139 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -3654.388, + "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": "e50IgxoZNHqazHze84JlF+" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 112 + }, + "_children": [ + { + "__id__": 114 + } + ], + "_active": true, + "_components": [ + { + "__id__": 117 + }, + { + "__id__": 118 + }, + { + "__id__": 119 + }, + { + "__id__": 120 + } + ], + "_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": "cfFJDha+FM/7tSwEOC4+t7" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 113 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 115 + }, + { + "__id__": 116 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 430, + "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": "790P6P7N1LWao6ac2xEeZw" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 114 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 366.01511243519343, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d1gBNvb3lG56JmTETgR6wd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 114 + }, + "_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": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "caLmTwDZlBPZkFICqU5pLi" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 113 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f1J8fYQplLH43EWK7YXCSG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 113 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 204, + "g": 229, + "b": 205, + "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": "c2Uv9XRZFCQ7cYi8mAWLcl" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 113 + }, + "_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": "cfie1C1JZJu7e8Xq/JUmdx" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 113 + }, + "_enabled": true, + "__prefab": null, + "_id": "f5UFmBhgxLF4FnxuV34g7A" + }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 112 + }, + "_children": [ + { + "__id__": 122 + } + ], + "_active": true, + "_components": [ + { + "__id__": 125 + }, + { + "__id__": 126 + }, + { + "__id__": 127 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 226.459, + "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": "16jNmYjHNNx6P2eRA+S7d0" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 121 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 123 + }, + { + "__id__": 124 + } + ], + "_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": "3436/9Ug9Au4ZFIxPqDgCY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "41n99LRfZHiKVU0fZOMF9p" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_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": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_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": "0e9nfdJJJESaMzGK+sXTQk" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 121 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e7GUL3+EhLmJueAcPlo9k5" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 121 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@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": "5fyiQMSxBER5HO1fYKWlV/" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 121 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 128 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 0.9, + "_target": { + "__id__": 121 + }, + "_id": "03Mpdl7AxBWqQ4iR7rPNmR" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 112 + }, + "component": "", + "_componentId": "97654a0t4ZMZLAFyp/q+o29", + "handler": "backToHome", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 112 + }, + "_children": [ + { + "__id__": 130 + } + ], + "_active": true, + "_components": [ + { + "__id__": 133 + }, + { + "__id__": 134 + }, + { + "__id__": 135 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 93.109, + "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": "2f1pN8rXhC47WeL8V1UASt" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 129 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 131 + }, + { + "__id__": 132 + } + ], + "_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": "aeENPH8/NJMKKRJXk4Qm35" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a5h021s+dFzqFx2ufsQyjZ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 130 + }, + "_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": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_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": "91oZM8p5pP4p3+j4ILjgDh" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 129 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "fd8hzX+ONG27Dppotnot8D" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 129 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@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": "44w9H6L5xJ04AnURYbZZ+V" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 129 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 136 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 0.9, + "_target": { + "__id__": 129 + }, + "_id": "fbFF1f44lE3aS7ON5DJfsU" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 112 + }, + "component": "", + "_componentId": "97654a0t4ZMZLAFyp/q+o29", + "handler": "resumeGame", + "customEventData": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 112 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7b+tWwE5pLfpccUO9mD2Na" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 112 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": -3654.388, + "_right": 3654.388, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 720, + "_originalHeight": 1280, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "3ezD7KhDhHJbK+MoRJtghQ" + }, + { + "__type__": "97654a0t4ZMZLAFyp/q+o29", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 112 + }, + "_enabled": true, + "__prefab": null, + "_id": "93P5zveM1OWI3JHVQstIkM" + }, + { + "__type__": "cc.Node", + "_name": "result_modal", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 141 + }, + { + "__id__": 146 + }, + { + "__id__": 200 + }, + { + "__id__": 208 + }, + { + "__id__": 218 + } + ], + "_active": true, + "_components": [ + { + "__id__": 230 + }, + { + "__id__": 231 + }, + { + "__id__": 232 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -1312.719, + "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": "2aXw/LEhRAJZpo2hBJzbLz" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 140 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 142 + }, + { + "__id__": 143 + }, + { + "__id__": 144 + }, + { + "__id__": 145 + } + ], + "_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": "b8qNw9OF9LMJ1y6hmAnm8Q" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 141 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "904wKKTttPtbuPiVo4uf2C" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 141 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 60 + }, + "_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": "08wWI2mlRJ/odCrvM6bYno" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 141 + }, + "_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": 720, + "_originalHeight": 1280, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "b9KbVGKWVN34YIAD3Cdsjz" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 141 + }, + "_enabled": true, + "__prefab": null, + "_id": "60aQe/0D9KXLj82A+nZN9a" + }, + { + "__type__": "cc.Node", + "_name": "panel", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 140 + }, + "_children": [ + { + "__id__": 147 + }, + { + "__id__": 150 + }, + { + "__id__": 158 + }, + { + "__id__": 166 + } + ], + "_active": true, + "_components": [ + { + "__id__": 198 + }, + { + "__id__": 199 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 209, + "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": "5aBzUlOKxI8KaoPCz0JRns" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 146 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 148 + }, + { + "__id__": 149 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 91, + "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": "678z4ykwpMFKIW9IUJeclz" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 147 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 208.5022624567956, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e9f6ZYTX5DDbgbvaecirLb" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 147 + }, + "_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": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "1cVxVGo3ZDuobYVqAH3vG8" + }, + { + "__type__": "cc.Node", + "_name": "score_node", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 146 + }, + "_children": [ + { + "__id__": 151 + }, + { + "__id__": 154 + } + ], + "_active": true, + "_components": [ + { + "__id__": 157 + } + ], + "_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": "c5FYYNJOFGKLArqSCb+uh8" + }, + { + "__type__": "cc.Node", + "_name": "score_label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 150 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 152 + }, + { + "__id__": 153 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "76IqoS6N1D8L7j7Jzx4wM8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 151 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 88.5022624567956, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "21SvlQWlRCVYccoBEcFvC4" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 151 + }, + "_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": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "72ZMUDtXlIf5bHobj3mK6E" + }, + { + "__type__": "cc.Node", + "_name": "score_num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 150 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 155 + }, + { + "__id__": 156 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "45LKzBmYNKsaltdZzK4+bF" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 154 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 30.748356206795602, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "c33y/h9gpLEKcdjIjnm5p9" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 154 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "0", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "e0qfj0tCVMQpOqgjq5our0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 150 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "05zeJtAPRHBIVKrLkBom2G" + }, + { + "__type__": "cc.Node", + "_name": "best_score_node", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 146 + }, + "_children": [ + { + "__id__": 159 + }, + { + "__id__": 162 + } + ], + "_active": true, + "_components": [ + { + "__id__": 165 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -82, + "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": "b2Q1uweelAaKt5+xjkqtxq" + }, + { + "__type__": "cc.Node", + "_name": "score_label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 158 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 160 + }, + { + "__id__": 161 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "21JRI1MJ1MtpJCy2h2bjB6" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 168.5022624567956, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "6bEH8MCH1FLJf6tzlx3tb4" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_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": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "8cYNfamLhFWJV3zKVJ+Gcj" + }, + { + "__type__": "cc.Node", + "_name": "score_num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 158 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 163 + }, + { + "__id__": 164 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "13LFlqE81MoYK0NIftCjoO" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 162 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 30.748356206795602, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "19vYSqlt5C4aZsor/Qo0KH" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 162 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "0", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "66DqjTaPNCYIq2h3gJ69II" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1ayt6xHr5NT7hTg/XkN3Vb" + }, + { + "__type__": "cc.Node", + "_name": "gold_coins", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 146 + }, + "_children": [ + { + "__id__": 167 + }, + { + "__id__": 170 + }, + { + "__id__": 173 + }, + { + "__id__": 176 + }, + { + "__id__": 179 + }, + { + "__id__": 182 + }, + { + "__id__": 185 + }, + { + "__id__": 188 + }, + { + "__id__": 191 + }, + { + "__id__": 194 + } + ], + "_active": false, + "_components": [ + { + "__id__": 197 + } + ], + "_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": "a731P4xsBAta2zt5mIZ/y1" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 168 + }, + { + "__id__": 169 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 42.712, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "dcFw26OuBB7qxv+X80/ukl" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 167 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "88vmuZzfRND4rDoht90GKJ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 167 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "e2kTUJZUJOi4RhvlgcRIo6" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-001", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 171 + }, + { + "__id__": 172 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 85.92, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "6b4bWh071Pv4rCJjjvdbv3" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 170 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b3+On5iJxCjbljjXwuYjoN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 170 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "0aj+gF8mhLWqIVGPNmWw8V" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-002", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 174 + }, + { + "__id__": 175 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -34.766, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "019rozZJFLGKZJVfzFKsfI" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 173 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "aakskibe1NIZVZyndjXJ3q" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 173 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "2eYe/aeThEip7rTxgjXZfR" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-003", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 177 + }, + { + "__id__": 178 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -16.886, + "y": 18.873, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "80LD8FAZZF1LnReuGg2ZeM" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 176 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ceKJ4/M8hMOrtoHbsvvWrc" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 176 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "8ammgaX25Nz7WFFz9uCfDP" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-004", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 180 + }, + { + "__id__": 181 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 18.873, + "y": 21.853, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0cd2kHWcVDErAqmKMUComW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 179 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a2gsrQWDpIyoPmL4njYbmd" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 179 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "52D28CbRJFCLsri8FNjkqq" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-005", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 183 + }, + { + "__id__": 184 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 48.175, + "y": 21.853, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "2d9tf2VEdLZ4SGIchSd19h" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 182 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d6fQJr2pFAcbupj9yIMC3c" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 182 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "9aDBy6St1K+5YX5uc8mECu" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-006", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 186 + }, + { + "__id__": 187 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -18.872, + "y": -22.846, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "ce6AI9cbhDnZd1Do4ZTV1H" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 185 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "20XlwOWURGBrAiMf0FURIT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 185 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "6aD9eVORJM7KStnKXc11zU" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-007", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 189 + }, + { + "__id__": 190 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 21.853, + "y": -24.336, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "6feWKT6I9Jipy/qEhaDfZ9" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 188 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3cOJ731alEgpFYfwi9UBj0" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 188 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "0574RDLING5buP590J8/Z1" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-008", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 192 + }, + { + "__id__": 193 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 53.141, + "y": -13.906, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "11Fk3o7+tCnZCPCYE3XZOD" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "44xcVgstpLkqjcOIoy1FRE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "3dLxfY3NNDpJQ/uTnmXi6U" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin-009", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 166 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 195 + }, + { + "__id__": 196 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.497, + "y": -0.497, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "93Qes0eNRBNa8mWu4ee6/e" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 194 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "74p0A5v0hJ/ZhNup0Trr7P" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 194 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "d6CltHtAVCDJaxutQEb8RN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 166 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f32tqTFZNPibQqNwi7llx8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 146 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 450, + "height": 300 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "41IH+M6thJfIeoVrOF/T2h" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 146 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@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": "dbhIX2katGdIUv+6o0pRZT" + }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 140 + }, + "_children": [ + { + "__id__": 201 + } + ], + "_active": false, + "_components": [ + { + "__id__": 204 + }, + { + "__id__": 205 + }, + { + "__id__": 206 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -400, + "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": "5f+uKl5yZI7qM5ow3RJobx" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 200 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 202 + }, + { + "__id__": 203 + } + ], + "_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": "dcgzXkFDlHdrQsjE78A0XG" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 201 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e6DyeuUFpHhKrSiFh5aJ0W" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 201 + }, + "_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": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_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": "45pnNLBx5PEaL1rJG5cc5S" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 200 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f2RmGTNKFCprdAjNXB0Bkw" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 200 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@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": "42DHUOcApGWbVJWEySkV6D" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 200 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 207 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 0.9, + "_target": { + "__id__": 200 + }, + "_id": "d2LrRcrMFGaZ3oKxlk8VEG" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 140 + }, + "component": "", + "_componentId": "44c80x3kMVCk4S2TC1UHS8b", + "handler": "backToHome", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "gold_label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 140 + }, + "_children": [ + { + "__id__": 209 + }, + { + "__id__": 212 + } + ], + "_active": true, + "_components": [ + { + "__id__": 215 + }, + { + "__id__": 216 + }, + { + "__id__": 217 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 335, + "y": 565, + "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": "596KgUpHdIVLfJU1sLAFOC" + }, + { + "__type__": "cc.Node", + "_name": "gold_coin", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 208 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 210 + }, + { + "__id__": 211 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65.2483562067956, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.303, + "y": 1.303, + "z": 1.303 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "38720xejlOJ7JPdNWgMO34" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 209 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "44CYHHnnRLV4Nj52bXdFUU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 209 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1e88f30c-fca1-4b4f-9be3-f6b8c4b47812@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": "8dnAw43XxPJ6ZzipueR1bo" + }, + { + "__type__": "cc.Node", + "_name": "gold_num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 208 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 213 + }, + { + "__id__": 214 + } + ], + "_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": "54UzAy2axIrbnu0hdWf9jL" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 212 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 30.748356206795602, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "d0aHwHG/dJIYubFyuSSHsh" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 212 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "0", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "4coZt4vZZGabPlHL9tZ0ni" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 208 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 79.7483562067956, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "95F8vMUZtB1IEWrj8ySPAL" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 208 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 33, + "_target": null, + "_left": 0, + "_right": 25, + "_top": 25, + "_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": "8fqyoiYWhDzbZjcuucgJge" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 208 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 20, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "94ZShUeHdOM4lCGxSffz8p" + }, + { + "__type__": "cc.Node", + "_name": "tip_container", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 140 + }, + "_children": [ + { + "__id__": 219 + } + ], + "_active": true, + "_components": [ + { + "__id__": 229 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 412.091, + "y": 513.997, + "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": "a2tz92THhMcrHyDMrak/3W" + }, + { + "__type__": "cc.Node", + "_name": "tip", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 218 + }, + "_children": [ + { + "__id__": 220 + }, + { + "__id__": 223 + } + ], + "_active": false, + "_components": [ + { + "__id__": 226 + }, + { + "__id__": 227 + }, + { + "__id__": 228 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 111.343, + "y": -58.877, + "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": "e4nRf8UfFCKrmgUrm6vjw0" + }, + { + "__type__": "cc.Node", + "_name": "tip_text", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 219 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 221 + }, + { + "__id__": 222 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -57.000000000000014, + "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": "91lJnP63FCmoBKAHcTWfbC" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 220 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 151.65203621111604, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "39sCC1bR9Jnr05ANpXjTRR" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 220 + }, + "_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": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "37LwNQRLpGeL6cScCsKDx7" + }, + { + "__type__": "cc.Node", + "_name": "dino", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 219 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 224 + }, + { + "__id__": 225 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 90.826018105558, + "y": 37.919, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.602, + "y": 0.602, + "z": 0.602 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c7BvR9SAJAF5UmisBQVH5A" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 144, + "height": 228 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5dbz9Ok+dF/YJsDQ8Nl5bg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "253e12dd-1488-42d6-94d7-400da9639799@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": "abQnxnzWZIS6GPINrkZ4mf" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 325.65203621111607, + "height": -45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "66ikxBBmVDKKQgCJGPvpBz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0e6bfe7b-3e14-4c40-a685-7dd9f47bbfda@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": "70SlEw/dRP6JLXnJpkYkzJ" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 30, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "57EbbhqClCkKLCMRVJOyGg" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 218 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5agcuXVXtMU64t/6Y6FhUQ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 140 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "43W/UmVhxA/ZFOcCW4zt72" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 140 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": -1312.719, + "_right": 1312.719, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 720, + "_originalHeight": 1280, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "facWUFvKhHrrhXrxtte6mu" + }, + { + "__type__": "44c80x3kMVCk4S2TC1UHS8b", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 140 + }, + "_enabled": true, + "__prefab": null, + "scoreLabel": { + "__id__": 156 + }, + "bestScoreLabel": { + "__id__": 164 + }, + "totalScoreLabel": { + "__id__": 214 + }, + "backToHomeBtn": { + "__id__": 200 + }, + "tipNode": { + "__id__": 219 + }, + "_id": "368BoHzVVGs693n5RZGqJ2" + }, + { + "__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__": "60d288O5WJKipMhVR+g6asc", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "curRoundScoreLabel": { + "__id__": 38 + }, + "lifeNumLabel": { + "__id__": 48 + }, + "uiNode": { + "__id__": 28 + }, + "_id": "611hBvVHVMK6Ghw0a4A0hV" + }, + { + "__type__": "d4834EWlldKTopAT1YuhbKA", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "audioClips": [ + { + "__uuid__": "17c77277-3b8e-4116-aea9-7366cc43d63d", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "63d1e3c8-8bbd-497e-a198-32b91079450a", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "16ff519c-0587-469d-ba06-bd1a4550dcc3", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "e024fc53-d536-401f-ac86-8428443d3479", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "3d97aa22-f43a-497c-930c-e8dbd69d4aa3", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "092cdce4-ba71-4664-820d-d57489ed6cc1", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "aa8d411e-db3c-404e-a5fa-0806d9b60e25", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "67ac03b7-6269-4f03-b90a-17fd63e22767", + "__expectedType__": "cc.AudioClip" + }, + { + "__uuid__": "eb601093-6ee5-4807-a698-b7fcd93255a2", + "__expectedType__": "cc.AudioClip" + } + ], + "_id": "caZPfB61pNkoRZVa9lgWFJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": null, + "asset": null, + "fileId": "f256d454-47ce-478a-a541-29596a679d47", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 10 + }, + { + "__id__": 61 + } + ] + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 240 + }, + "shadows": { + "__id__": 241 + }, + "_skybox": { + "__id__": 242 + }, + "fog": { + "__id__": 243 + }, + "octree": { + "__id__": 244 + }, + "skin": { + "__id__": 245 + }, + "lightProbeInfo": { + "__id__": 246 + }, + "postSettings": { + "__id__": 247 + }, + "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/scenes/game.scene.meta b/assets/scenes/game.scene.meta new file mode 100644 index 0000000..628ef91 --- /dev/null +++ b/assets/scenes/game.scene.meta @@ -0,0 +1 @@ +{"ver":"1.1.50","importer":"scene","imported":true,"uuid":"f256d454-47ce-478a-a541-29596a679d47","files":[".json"],"subMetas":{},"userData":{}} diff --git a/assets/scenes/home.scene b/assets/scenes/home.scene new file mode 100644 index 0000000..d2edb22 --- /dev/null +++ b/assets/scenes/home.scene @@ -0,0 +1,2663 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "home", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "home", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 71 + }, + "_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__": 72 + }, + "_id": "b08ac7d6-a2ff-4de7-998e-2dad404a0c45" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 30 + }, + { + "__id__": 45 + } + ], + "_active": true, + "_components": [ + { + "__id__": 67 + }, + { + "__id__": 68 + }, + { + "__id__": 69 + }, + { + "__id__": 70 + } + ], + "_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": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 6 + }, + { + "__id__": 9 + }, + { + "__id__": 15 + }, + { + "__id__": 21 + } + ], + "_active": true, + "_components": [ + { + "__id__": 27 + }, + { + "__id__": 28 + }, + { + "__id__": 29 + } + ], + "_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": "3f7HTYrV9Hm7Su47YsvwiF" + }, + { + "__type__": "cc.Node", + "_name": "game_title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 7 + }, + { + "__id__": 8 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 436.431, + "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": "070ztDR99EuZuQVI8CydJD" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 192.7533936851934, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0dguYBet9IWrN1k3aH3Vz9" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_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": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "dciYaEl2tHCZfXSxHMvost" + }, + { + "__type__": "cc.Node", + "_name": "brief_btn", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 10 + }, + { + "__id__": 11 + }, + { + "__id__": 12 + }, + { + "__id__": 13 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297, + "y": 577, + "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": "c3TWH7GU1B5Ze1MXgE9PC3" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 76, + "height": 76 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "adFGqOqllJUoeGeQtXH6mJ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "15fa0a90-5734-4b44-8411-6d498f8a336e@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": "17SkuTRU1BY4NvKQ8Gw8KF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 9, + "_target": null, + "_left": 25, + "_right": 0, + "_top": 25, + "_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": "4afMtY/L9J5KSZDbK5HD1a" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 14 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 0.9, + "_target": null, + "_id": "0f3pupdCNI/pM+oBysc/Tt" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2 + }, + "component": "", + "_componentId": "fd8f1elxINPaYp5veypqhlG", + "handler": "goToAuthorScene", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "music_btn", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 16 + }, + { + "__id__": 17 + }, + { + "__id__": 18 + }, + { + "__id__": 19 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 297, + "y": -577, + "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": "2atzbH0fhHwJFirBobRcwi" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 76, + "height": 76 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3byWw4JKdJ3qW4uAKPaGDJ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "707f1ea3-5d8e-4142-bebc-7bfa867d121f@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": "71TNZSb8hEHL7fv/PFXDh7" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 36, + "_target": null, + "_left": 0, + "_right": 25, + "_top": 0, + "_bottom": 25, + "_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": "6dumj4jjNJTZN7DQ/InSdP" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 20 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 0.9, + "_target": null, + "_id": "9aF+tFjC9IxqD8HegWlcBl" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2 + }, + "component": "", + "_componentId": "fd8f1elxINPaYp5veypqhlG", + "handler": "goToMoodScene", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "heart_btn", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + }, + { + "__id__": 25 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297, + "y": -577, + "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": "a6LvO90qJJ3pfCho+jaAf1" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 76, + "height": 76 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "68b0Bk2eBLlokt/YdWiYha" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "44094a3f-a444-45ec-8cbd-f61edc1fff24@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": "40tp+WUDBNr67XwsXsKWzE" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 12, + "_target": null, + "_left": 25, + "_right": 0, + "_top": 0, + "_bottom": 25, + "_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": "b6cMXeiM5Gdo0ES0dTuuPf" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [ + { + "__id__": 26 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 0.9, + "_target": null, + "_id": "57ZDveCwZIM4hhAbJEXElZ" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2 + }, + "component": "", + "_componentId": "fd8f1elxINPaYp5veypqhlG", + "handler": "goToLoveStoryScene", + "customEventData": "" + }, + { + "__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": "11V6FRX8BLY65obeieyHZB" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 204, + "g": 229, + "b": 205, + "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": "4c4C3hB/5Nk5pSjcWVIhrz" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_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": "09uw01fhlE+q7j2LSXX2df" + }, + { + "__type__": "cc.Node", + "_name": "dialog_bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 31 + }, + { + "__id__": 34 + } + ], + "_active": true, + "_components": [ + { + "__id__": 43 + }, + { + "__id__": 44 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 204.356, + "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": "75EExDeJRM75WMIPDVNODD" + }, + { + "__type__": "cc.Node", + "_name": "message", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 30 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 32 + }, + { + "__id__": 33 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 55.298, + "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": "b5Soxvi1lPp7s4jF5NBV2M" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 45.36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "31fqfuP3dKULaePJN9t02T" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_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": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 36, + "_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": "06CxRqrFdELpHtBI0pBPq9" + }, + { + "__type__": "cc.Node", + "_name": "best", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 30 + }, + "_children": [ + { + "__id__": 35 + }, + { + "__id__": 38 + } + ], + "_active": true, + "_components": [ + { + "__id__": 41 + }, + { + "__id__": 42 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -16.723, + "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": "fbGX/AAj1GE4bgntJ4pElZ" + }, + { + "__type__": "cc.Node", + "_name": "best_lable", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 34 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 37 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10.0107421875, + "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": "fdmrizXx5P7qNIK8wITLqx" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 164.00390625, + "height": 45.36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "47O/GaLUJEdZ8Z27jh33pB" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_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": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 36, + "_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": "0aVsnbMNpHdaAc4Q94u005" + }, + { + "__type__": "cc.Node", + "_name": "score_num", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 34 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 39 + }, + { + "__id__": 40 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 82.001953125, + "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": "29V5HNbAJB25JnYOytF89x" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 38 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 20.021484375, + "height": 45.36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "40J1MKObhE2qCBGP5vsbYL" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 38 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "0", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 36, + "_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": "80fw/OvUZKfaH1pUCMVGjx" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 184.025390625, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "8ebSGythlFZZv7WW4p+aha" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": null, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "celMqZqg5Bv7g48u8zhxtN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 30 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 453, + "height": 225 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "220wNiVuNJ6K4gvreyWwmQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 30 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "a1329c0d-99b7-40b0-81f9-48a550c066b1@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": "83TgENWrJKsa0NhBIutIZs" + }, + { + "__type__": "cc.Node", + "_name": "start_container", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 46 + }, + { + "__id__": 49 + }, + { + "__id__": 57 + }, + { + "__id__": 60 + }, + { + "__id__": 64 + } + ], + "_active": true, + "_components": [ + { + "__id__": 66 + } + ], + "_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": "fcPLdfaqJA3JGi3Bhf5aM6" + }, + { + "__type__": "cc.Node", + "_name": "line", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 45 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 47 + }, + { + "__id__": 48 + } + ], + "_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": "2dO0VZZylCQpforzVeIVAa" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 46 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 376, + "height": 5 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1c27GYeflGZquqQbSr25Jf" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 46 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f6c8fe37-56a1-42fb-9a93-921061309653@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": "59Oke9S69Oh4uguPhhUTCc" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 45 + }, + "_prefab": { + "__id__": 50 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 49 + }, + "asset": { + "__uuid__": "80547cb5-f254-45d4-b3d3-b54b9101e83f", + "__expectedType__": "cc.Prefab" + }, + "fileId": "732rz83VJBqYqmbhfYIrQ9", + "instance": { + "__id__": 51 + }, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "8euYhKWMZBmYP0khj0825r", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 52 + }, + { + "__id__": 54 + }, + { + "__id__": 55 + }, + { + "__id__": 56 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 53 + }, + "propertyPath": [ + "_name" + ], + "value": "dino" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "732rz83VJBqYqmbhfYIrQ9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 53 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -54.69, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 53 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 53 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.Node", + "_name": "guide_text", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 45 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 58 + }, + { + "__id__": 59 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -205.13, + "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": "b6MKfZiypEj4GzamGw2US7" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 57 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 63 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "cbPKVgs0ZBNKA1qwWW3zb5" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 57 + }, + "_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": 50, + "_fontSize": 50, + "_fontFamily": "Arial", + "_lineHeight": 50, + "_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": "f1NsokhoZPbaaUx+VuMjOn" + }, + { + "__type__": "cc.Node", + "_name": "finger", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 45 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 61 + }, + { + "__id__": 62 + }, + { + "__id__": 63 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -295.35, + "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": "91ZSZQVcVCm7AjOdGd2n2v" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 60 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 93, + "height": 111 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1cLutTNHxBlpSOts2Z4qQ6" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 60 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "80e11ac9-e566-444f-96a6-5cce566b614b@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": "c2FK3s4XRAvIyKVPhsxbmK" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 60 + }, + "_enabled": true, + "__prefab": null, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "a98f5799-91c9-4ff7-81eb-3d02f3f0e20c", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "a98f5799-91c9-4ff7-81eb-3d02f3f0e20c", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "a35bqDlEdIZaDvCCmJDoGW" + }, + { + "__type__": "cc.Node", + "_name": "swipe", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 45 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 65 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -193.422, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "9fBVEgithExpFoKLWq3caT" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 500, + "height": 400 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d7bgUBI2FJGby47CvhiYDw" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 45 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "12zOTL5/BNvomt3+Ej9pw3" + }, + { + "__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__": "fd8f1elxINPaYp5veypqhlG", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "swipeNode": { + "__id__": 64 + }, + "_id": "abRbZHmT1CnIL/RV6BT1TZ" + }, + { + "__type__": "cc.PrefabInfo", + "root": null, + "asset": null, + "fileId": "b08ac7d6-a2ff-4de7-998e-2dad404a0c45", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 49 + } + ] + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 73 + }, + "shadows": { + "__id__": 74 + }, + "_skybox": { + "__id__": 75 + }, + "fog": { + "__id__": 76 + }, + "octree": { + "__id__": 77 + }, + "skin": { + "__id__": 78 + }, + "lightProbeInfo": { + "__id__": 79 + }, + "postSettings": { + "__id__": 80 + }, + "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/scenes/home.scene.meta b/assets/scenes/home.scene.meta new file mode 100644 index 0000000..ec8d0a1 --- /dev/null +++ b/assets/scenes/home.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.50", + "importer": "scene", + "imported": true, + "uuid": "b08ac7d6-a2ff-4de7-998e-2dad404a0c45", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scenes/love-story.scene b/assets/scenes/love-story.scene new file mode 100644 index 0000000..bcacfb7 --- /dev/null +++ b/assets/scenes/love-story.scene @@ -0,0 +1,730 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "love-story", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "love-story", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 15 + }, + "_id": "0ee79b6f-e2dc-49f0-b8af-2c93eaf356b6" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 13 + }, + { + "__id__": 14 + } + ], + "_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": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 6 + } + ], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 11 + } + ], + "_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": "7eBkNey51EIbV24RfyKBiQ" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 7 + }, + { + "__id__": 8 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 458.942, + "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": "8dzRUuz/FCN6nqxpifzdmt" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 299.56979993519343, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c4yl1osWZJeonw0stl04tE" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "Love Story", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "3cZ00Cg8ZFXqvHdpuNh7uq" + }, + { + "__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": "9fM317XwlINKLuA7K+zXOW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 204, + "g": 229, + "b": 205, + "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": "cc3pA2FudInLUWkPCsTAMu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_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": "23OL+C/XNGa7VgOtXeaT07" + }, + { + "__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.SceneGlobals", + "ambient": { + "__id__": 16 + }, + "shadows": { + "__id__": 17 + }, + "_skybox": { + "__id__": 18 + }, + "fog": { + "__id__": 19 + }, + "octree": { + "__id__": 20 + }, + "skin": { + "__id__": 21 + }, + "lightProbeInfo": { + "__id__": 22 + }, + "postSettings": { + "__id__": 23 + }, + "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/scenes/love-story.scene.meta b/assets/scenes/love-story.scene.meta new file mode 100644 index 0000000..79f29f3 --- /dev/null +++ b/assets/scenes/love-story.scene.meta @@ -0,0 +1 @@ +{"ver":"1.1.50","importer":"scene","imported":true,"uuid":"0ee79b6f-e2dc-49f0-b8af-2c93eaf356b6","files":[".json"],"subMetas":{},"userData":{}} diff --git a/assets/scenes/mood.scene b/assets/scenes/mood.scene new file mode 100644 index 0000000..8d1ecb2 --- /dev/null +++ b/assets/scenes/mood.scene @@ -0,0 +1,730 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "mood", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "mood", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 15 + }, + "_id": "1532ad88-8cfb-4117-a30e-cfc73b46c610" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 13 + }, + { + "__id__": 14 + } + ], + "_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": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 6 + } + ], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 11 + } + ], + "_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": "7eBkNey51EIbV24RfyKBiQ" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 7 + }, + { + "__id__": 8 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 458.942, + "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": "8dzRUuz/FCN6nqxpifzdmt" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 252.7533936851934, + "height": 75.6 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c4yl1osWZJeonw0stl04tE" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_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": 60, + "_fontSize": 60, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": true, + "_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": "3cZ00Cg8ZFXqvHdpuNh7uq" + }, + { + "__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": "9fM317XwlINKLuA7K+zXOW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 204, + "g": 229, + "b": 205, + "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": "cc3pA2FudInLUWkPCsTAMu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_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": "23OL+C/XNGa7VgOtXeaT07" + }, + { + "__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.SceneGlobals", + "ambient": { + "__id__": 16 + }, + "shadows": { + "__id__": 17 + }, + "_skybox": { + "__id__": 18 + }, + "fog": { + "__id__": 19 + }, + "octree": { + "__id__": 20 + }, + "skin": { + "__id__": 21 + }, + "lightProbeInfo": { + "__id__": 22 + }, + "postSettings": { + "__id__": 23 + }, + "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/scenes/mood.scene.meta b/assets/scenes/mood.scene.meta new file mode 100644 index 0000000..23bbdc1 --- /dev/null +++ b/assets/scenes/mood.scene.meta @@ -0,0 +1 @@ +{"ver":"1.1.50","importer":"scene","imported":true,"uuid":"1532ad88-8cfb-4117-a30e-cfc73b46c610","files":[".json"],"subMetas":{},"userData":{}} diff --git a/assets/seripts.meta b/assets/seripts.meta new file mode 100644 index 0000000..bfb8f1d --- /dev/null +++ b/assets/seripts.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "d03536b0-880d-4aa0-81a7-98a0f4d7802d", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/components.meta b/assets/seripts/components.meta new file mode 100644 index 0000000..ba2143d --- /dev/null +++ b/assets/seripts/components.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "50c20bdf-cc41-411c-a19a-f8f6b4e22af1", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/components/DinoControl.ts b/assets/seripts/components/DinoControl.ts new file mode 100644 index 0000000..fb7ae57 --- /dev/null +++ b/assets/seripts/components/DinoControl.ts @@ -0,0 +1,220 @@ +import { + _decorator, + Component, + input, + EventTouch, + Node, + Input, + Vec3, + Collider2D, + Contact2DType, + SpriteFrame, + Sprite, + tween, + Prefab, + instantiate, + director, +} from "cc"; +import { NoteControl } from "./NoteControl"; +import { BombEffect } from "../effects/BombEffectControl"; +import { EventDispatcher } from "../libs/EventDispatcher"; +import { GlobalData } from "../config/GlobalData"; +import { GameState } from "../config/Config"; +const { ccclass, property } = _decorator; + +@ccclass("DinoControl") +export class DinoControl extends Component { + // 小恐龙脖子图片 + @property(SpriteFrame) + neckSpriteFrame: SpriteFrame = null; + + // 小恐龙脖子的高度 + private neckHeight: number = 62; + + // x 轴的边界 + private xMaxDistance: number = 180; + + // 爆炸特效预制体 + @property(Prefab) + bombEffectPrefab: Prefab = null; + + // 获取线节点 + @property(Node) + lineNode: Node = null; + + onLoad() { + // 监听继续游戏事件 + EventDispatcher.getTarget().on( + EventDispatcher.GAME_RESUME, + this.continueGame, + this, + ); + // 监听小恐龙移动到线的位置 + EventDispatcher.getTarget().on( + EventDispatcher.MOVE_DINO_TO_LINE, + this.moveDinoToLine, + this, + ); + } + + start() { + // 监听手指滑动事件 + input.on(Input.EventType.TOUCH_MOVE, this.onTouchMove, this); + // 监听碰撞事件 + this.node + .getComponent(Collider2D) + .on(Contact2DType.BEGIN_CONTACT, this.onCollisionEnter, this); + } + + // 滑动事件 + onTouchMove(event: EventTouch) { + // 获取小恐龙的位置 + const dinoPos = this.node.position; + // 获取手指x移动距离 + const deltaX = event.getDeltaX(); + // 更新小恐龙的位置 + // 目标位置 + const targetPos = new Vec3(dinoPos.x + deltaX, dinoPos.y, dinoPos.z); + if (targetPos.x < -this.xMaxDistance) { + targetPos.x = -this.xMaxDistance; + } else if (targetPos.x > this.xMaxDistance) { + targetPos.x = this.xMaxDistance; + } + this.node.setPosition(targetPos); + + // 移动距离大于0时,小恐龙向右移动,否则向左移动 + if (deltaX > 0) { + this.node.scale = new Vec3(-1, 1, 1); + } else { + this.node.scale = new Vec3(1, 1, 1); + } + } + + onCollisionEnter(selfCollider: Collider2D, otherCollider: Collider2D) { + // 如果游戏状态不是进行中,直接返回 + if (GlobalData.gameState != GameState.PLAYING) { + return; + } + + if (otherCollider.tag == 2) { + // 得分操作 + GlobalData.curRoundTotalScore += GlobalData.addScore; + + // 触发小恐龙吃到音符事件 + EventDispatcher.getTarget().emit(EventDispatcher.DINO_EAT_NOTE); + // 小恐龙碰到了音符 + otherCollider.node.getComponent(NoteControl).noteBeEaten(); + // 增加脖子长度 + this.addDinoNeckLength(); + // 执行吃掉音符动画 + this.playEatNoteAnimation(); + // 播放爆炸特效 + this.playBombEffect(); + + // 检测是否闯关成功 + const isPassLevel = this.checkIsPassLevel(); + + if (isPassLevel) { + EventDispatcher.getTarget().emit(EventDispatcher.PASS_LEVLE); + } + } + } + + // 增加脖子长度 + addDinoNeckLength() { + // 添加脖子空节点 + let neckChild = new Node(); + // 给这个节点添加精灵组件 + neckChild.addComponent(Sprite).spriteFrame = this.neckSpriteFrame; + + // 设置这个空节点的父节点 + neckChild.parent = this.node.getChildByName("dino_neck_box"); + + // 获取小恐龙身体 + const bodyNode = this.node.getChildByName("dino_body"); + + // 获取小恐龙位置 + const bodyPos = bodyNode.getPosition(); + // 设置小恐龙新的位置(往下移动一个脖子的距离) + bodyNode.setPosition(bodyPos.x, bodyPos.y - this.neckHeight, 0); + } + + // 执行吃掉音符动画 + playEatNoteAnimation() { + // 获取当前所有脖子列表 + const neckList: Node[] = this.node + .getChildByName("dino_neck_box") + .children.slice(0, 16) as Node[]; + + // 定义存储动画的 promise + let animationPromises = Promise.resolve(); + // 遍历所有脖子 + for (let i = 0; i < neckList.length; i++) { + let neckNode = neckList[i]; + // 播放吃掉音符动画 + animationPromises = animationPromises.then(() => { + return new Promise((resolve) => { + tween(neckNode) + .to(0.1, { scale: new Vec3(1.2, 1, 1) }) + .to(0.1, { scale: new Vec3(1, 1, 1) }) + .call(() => resolve()) + .start(); + }); + }); + } + } + + // 播放爆炸特效 + playBombEffect() { + // 实例化爆炸特效 + let bombEffectNode = instantiate(this.bombEffectPrefab); + // 设置爆炸特效节点的位置 + let bombPos = new Vec3( + this.node.position.x, + this.node.position.y + 100, + this.node.position.z, + ); + // 设置位置 + bombEffectNode.setPosition(bombPos); + // 设置爆炸特效节点的父节点 + bombEffectNode.setParent(this.node.parent); + // 播放爆炸特效 + bombEffectNode.getComponent(BombEffect).playBombEffect(); + } + + // 移动小恐龙到线的位置 + moveDinoToLine() { + // 获取线的世界坐标 + const linePos = this.lineNode.getWorldPosition(); + // 获取小恐龙身体的世界坐标位置 + const bodyPos = this.node.getChildByName("dino_body").getWorldPosition(); + // 计算两个坐标 y 轴的差值 + const deltaY = linePos.y - bodyPos.y; + // 移动小恐龙到线的位置动画 + tween(this.node) + .by(1, { position: new Vec3(0, deltaY - 44, 0) }) + .start(); + } + + // 检测是否通过本关 + checkIsPassLevel(): boolean { + // 获取 note_manager 节点 + const noteManager = director + .getScene() + .getChildByName("Canvas") + .getChildByName("note_manager"); + if (noteManager?.children?.length === 0) return true; + return false; + } + + // 继续游戏 + continueGame() { + const isPassLevel = this.checkIsPassLevel(); + if (isPassLevel) { + // 发送闯关成功事件 + EventDispatcher.getTarget().emit(EventDispatcher.PASS_LEVLE); + } + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/components/DinoControl.ts.meta b/assets/seripts/components/DinoControl.ts.meta new file mode 100644 index 0000000..d522950 --- /dev/null +++ b/assets/seripts/components/DinoControl.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "3af5932a-d1bb-4429-b815-ab2215ac75e8", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/components/LineControl.ts b/assets/seripts/components/LineControl.ts new file mode 100644 index 0000000..a0c7bf4 --- /dev/null +++ b/assets/seripts/components/LineControl.ts @@ -0,0 +1,52 @@ +import { _decorator, Collider2D, Component, Contact2DType, Node } from "cc"; +import { GlobalData } from "../config/GlobalData"; +import { GameState } from "../config/Config"; +import { NoteControl } from "./NoteControl"; +import { EventDispatcher } from "../libs/EventDispatcher"; +const { ccclass, property } = _decorator; + +@ccclass("LineControl") +export class LineControl extends Component { + start() { + // 监听碰撞事件 + this.node + .getComponent(Collider2D) + .on(Contact2DType.BEGIN_CONTACT, this.onCollisionEnter, this); + } + + onCollisionEnter(selfCollider: Collider2D, otherCollider: Collider2D) { + // 如果游戏状态不是进行中,直接返回 + if (GlobalData.gameState != GameState.PLAYING) { + return; + } + + if (otherCollider.tag == 2) { + // 1. 剩余生命值减 1 + GlobalData.lifeNumPerRound--; + + // 2. 剩余生命值是否大于等于0 + if (GlobalData.lifeNumPerRound >= 0) { + // 触发音符碰到线事件 + EventDispatcher.getTarget().emit(EventDispatcher.UPDATE_LIFE); + } + // 3. 如果小于0,游戏结束 + if (GlobalData.lifeNumPerRound < 0) { + GlobalData.gameState = GameState.GAME_OVER; + // 调用 NoteControl 中的 pause 方法暂停音符 + otherCollider.getComponent(NoteControl).noteHitLine(); + // 发送游戏结束事件 + EventDispatcher.getTarget().emit(EventDispatcher.GAME_OVER); + } else { + GlobalData.gameState = GameState.PAUSED; + otherCollider.getComponent(NoteControl).noteHitLine(); + // 发送暂停事件 + EventDispatcher.getTarget().emit(EventDispatcher.GAME_PAUSE); + } + // 4. 如果剩余生命值大于等于0,继续游戏(弹出暂停界面) + + // 线碰到了音符 + } + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/components/LineControl.ts.meta b/assets/seripts/components/LineControl.ts.meta new file mode 100644 index 0000000..ece3f61 --- /dev/null +++ b/assets/seripts/components/LineControl.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "2ae0bd15-7a12-4d46-825c-b0d40fc8db6b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/components/NoteControl.ts b/assets/seripts/components/NoteControl.ts new file mode 100644 index 0000000..2ced939 --- /dev/null +++ b/assets/seripts/components/NoteControl.ts @@ -0,0 +1,158 @@ +import { + _decorator, + Color, + Component, + Node, + Sprite, + tween, + Vec3, + view, +} from "cc"; +import { GlobalData } from "../config/GlobalData"; +import { GameState } from "../config/Config"; +import { EventDispatcher } from "../libs/EventDispatcher"; +const { ccclass, property } = _decorator; + +@ccclass("NoteControl") +export class NoteControl extends Component { + // 音符下落的速度 + private noteSpeed: number = 800; + + // 是否开始下落 + private isEnableFall: boolean = false; + start() { + // 监听清除可视区域音符事件 + EventDispatcher.getTarget().on( + EventDispatcher.CLEAR_SCREEN_NOTE, + this.clearScreenNote, + this, + ); + + // 监听游戏开始事件 + EventDispatcher.getTarget().on( + EventDispatcher.GAME_STAET, + this.startFall, + this, + ); + } + + // 开始下落 + startFall() { + this.isEnableFall = true; + } + + // 当前音符被小恐龙吃到了 + noteBeEaten() { + // 删除当前音符 + this.node.removeFromParent(); + // 销毁当前音符 + this.node.destroy(); + } + + // 当前音符撞到线了 + noteHitLine() { + // 1. 获取文字提示节点 + const noteHitLabel = this.node.getChildByName("tip_text"); + // 2. 显示文字提示 + noteHitLabel.active = true; + // 3. 获取 node 节点下的 node_img 下的 Sprite 组件 + const noteHitSprite = this.node + .getChildByName("note_img") + .getComponent(Sprite); + // 4. 获取音符的颜色 + const noteColor = new Color("ffffff"); + // 5. 操作音符闪烁 + tween(noteHitSprite) + .repeat( + 3, + tween() + .to(0.2, { + color: new Color(noteColor.r, noteColor.g, noteColor.b, 0), + }) + .to(0.2, { + color: noteColor, + }), + ) + .call(() => { + // 文字提示节点逐渐缩小并消失 + tween(noteHitLabel) + .to(0.5, { + scale: new Vec3(0, 0, 0), + }) + .call(() => { + // 完成闪烁之后的逻辑 + + // 判断游戏状态 + if (GlobalData.gameState === GameState.GAME_OVER) { + // 1. 游戏结束,删除当前界面内的音符节点 + EventDispatcher.getTarget().emit(EventDispatcher.CLEAR_ALL_NOTE); + // 2. 在0.1 s后操作小恐龙身体往上移动到线的位置 + this.scheduleOnce(() => { + EventDispatcher.getTarget().emit( + EventDispatcher.MOVE_DINO_TO_LINE, + ); + }, 0.1); + // 3. 弹出结束的弹窗 + EventDispatcher.getTarget().emit( + EventDispatcher.SHOW_RESULT_MODAL, + ); + } else if (GlobalData.gameState === GameState.PAUSED) { + // 1. 显示继续游戏弹窗界面 + EventDispatcher.getTarget().emit( + EventDispatcher.SHOW_CONTINUE_MODAL, + ); + // 2. 清楚可视区域内的音符节点 + EventDispatcher.getTarget().emit( + EventDispatcher.CLEAR_SCREEN_NOTE, + ); + } + }) + .start(); + }) + .start(); + } + + // 清除可视区域音符 + private clearScreenNote() { + // 判断是否在可视区域内 + if (this.checkIsInScreen()) { + // 清除所有音符节点 + this.node.removeFromParent(); + this.node.destroy(); + } + } + + // 检查是否在可视区域内 + private checkIsInScreen() { + // 获取屏幕可视区域的宽度和高度 + const screenWidth = view.getVisibleSize().width; + const screenHeight = view.getVisibleSize().height; + + // 获取当前节点的世界坐标 + const worldPos = this.node.getWorldPosition(); + + // 判断音符是否在屏幕内 + if ( + worldPos.y >= 0 && + worldPos.y <= screenHeight && + worldPos.x >= 0 && + worldPos.x <= screenWidth + ) { + return true; + } + + return false; + } + + update(deltaTime: number) { + // 游戏未开始,不更新音符位置 + if (!this.isEnableFall || GlobalData.gameState != GameState.PLAYING) { + return; + } + + this.node.setPosition( + this.node.position.x, + this.node.position.y - this.noteSpeed * GlobalData.speedRate * deltaTime, + ); + } +} diff --git a/assets/seripts/components/NoteControl.ts.meta b/assets/seripts/components/NoteControl.ts.meta new file mode 100644 index 0000000..71face5 --- /dev/null +++ b/assets/seripts/components/NoteControl.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "0b44dfc7-4b5b-4e74-a075-6fb71b84fb64", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/config.meta b/assets/seripts/config.meta new file mode 100644 index 0000000..ef0c0d3 --- /dev/null +++ b/assets/seripts/config.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "52df94a7-d505-4d67-ad62-f067ff2a27e4", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/config/Config.ts b/assets/seripts/config/Config.ts new file mode 100644 index 0000000..9b5eaee --- /dev/null +++ b/assets/seripts/config/Config.ts @@ -0,0 +1,32 @@ +// 一些枚举值 +export enum GameState { + // 游戏未开始 + WAIT_START = 0, + // 游戏进行中 + PLAYING = 1, + // 游戏结束 + GAME_OVER = 2, + // 游戏暂停 + PAUSED = 3, +} + +export class GameStorageKeyConfig { + //存储音乐对应的音符列表信息 + static MusicNoteList: string = "_dino_music_note_list"; + //存储玩家最好的得分成绩 + static BestScore: string = "_dino_best_score"; + //存储玩家累计的总得分(总的金币数) + static TotalScore: string = "_dino_total_score"; + //存储当前选择的音乐ID + static SelectedMusicID: string = "_dino_selected_music_id"; + //存储解锁了哪些音乐的ID + static UnlockMusicIDList: string = "_dino_unlock_music_id_list"; + //存储当前选择的小恐龙ID + static SelectedDinoID: string = "_dino_selected_dino_id"; + //存储解锁了哪些小恐龙的ID + static UnlockDinoIDList: string = "_dino_unlock_dino_id_list"; + //存储当前的小恐龙的信息 + static CurrentDinoInfo: string = "_dino_current_dino_info"; + //存储当前选择的音乐的信息 + static CurrentMusicInfo: string = "_dino_current_music_info"; +} diff --git a/assets/seripts/config/Config.ts.meta b/assets/seripts/config/Config.ts.meta new file mode 100644 index 0000000..e159806 --- /dev/null +++ b/assets/seripts/config/Config.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "13b507c4-76cc-4fb6-9d95-e779b8280d88", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/config/GlobalData.ts b/assets/seripts/config/GlobalData.ts new file mode 100644 index 0000000..d02b5e1 --- /dev/null +++ b/assets/seripts/config/GlobalData.ts @@ -0,0 +1,73 @@ +// 保存一些全局的数据 + +import Utils from "../libs/Utils"; +import { GameState, GameStorageKeyConfig } from "./Config"; + +export class GlobalData { + // 游戏状态 + public static gameState: GameState = GameState.PLAYING; + // 每吃到一个音符 增加的分数 + public static addScore: number = 1; + //保存用户当前这局的分数 + public static curRoundTotalScore: number = 0; + // 定义每一局用户默认剩余几条生命值 + public static lifeNumPerRound: number = 2; + // 定义音符移动的速度 + public static noteSpeed: number = 800; + // 定义当前音符下落的速率(也是音乐播放的速率) + public static speedRate: number = 1; + // 每次闯关增加的速率 + public static speedRateAdd: number = 0.2; + // 获取当前选择的音乐 id + public static get selectedMusicID(): number { + return Utils.getCache(GameStorageKeyConfig.SelectedMusicID) || 1; + } + //设置当前选择的音乐ID + public static set selectedMusicID(value) { + //存储到本地缓存中 + Utils.setCache(GameStorageKeyConfig.SelectedMusicID, value); + } + //获取玩家累计的总得分(总的金币数) + public static get totalScore() { + //从本地缓存中获取 + let score = Utils.getCache(GameStorageKeyConfig.TotalScore) || 0; + return score ? parseInt(score) : 0; + } + //存储玩家累计的总得分(总的金币数) + public static set totalScore(value) { + //存储到本地缓存中 + Utils.setCache(GameStorageKeyConfig.TotalScore, value); + } + //获取玩家最好的成绩 + public static get bestScore() { + //从本地缓存中获取 + let scoreMap = Utils.getCache(GameStorageKeyConfig.BestScore) || {}; + //获取当前选择的音乐ID + let bestScoreKey = GlobalData.selectedMusicID; + //从本地获取最好成绩 + let score = scoreMap[bestScoreKey] || 0; + //返回当前选择的音乐ID的最好成绩 + return score; + } + //存储游戏的UUID + public static set bestScore(value) { + //获取当前选择的音乐ID + let bestScoreKey = GlobalData.selectedMusicID; + //从本地获取最好成绩的映射 + let scoreMap = Utils.getCache(GameStorageKeyConfig.BestScore) || {}; + //更新当前选择的音乐ID的最好成绩(转换为整数) + scoreMap[bestScoreKey] = parseInt(value); + //存储到本地缓存中 + Utils.setCache(GameStorageKeyConfig.BestScore, scoreMap); + } + + // 重置游戏数据 + public static resetGameData() { + // 重置当前这一局的得分 + GlobalData.curRoundTotalScore = 0; + // 重置生命值 + GlobalData.lifeNumPerRound = 2; + // 重置当前这一句的下落速速率 + GlobalData.speedRate = 1; + } +} diff --git a/assets/seripts/config/GlobalData.ts.meta b/assets/seripts/config/GlobalData.ts.meta new file mode 100644 index 0000000..154cdc1 --- /dev/null +++ b/assets/seripts/config/GlobalData.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "38bda874-cfc2-493d-afe2-10ecb753c60d", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/effects.meta b/assets/seripts/effects.meta new file mode 100644 index 0000000..a5f5814 --- /dev/null +++ b/assets/seripts/effects.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "75a040f4-90c5-4543-8bf1-dab3e1396647", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/effects/BombEffectControl.ts b/assets/seripts/effects/BombEffectControl.ts new file mode 100644 index 0000000..d20c127 --- /dev/null +++ b/assets/seripts/effects/BombEffectControl.ts @@ -0,0 +1,93 @@ +import { _decorator, Component, Label, Node, Animation, tween, Vec3 } from "cc"; +import { EventDispatcher } from "../libs/EventDispatcher"; +const { ccclass, property } = _decorator; + +@ccclass("BombEffect") +export class BombEffect extends Component { + // 提示语数组 + private bombTips: string[] = [ + "完美", + "真棒", + "棒呆", + "太棒了", + "无敌", + "超棒", + "天才", + ]; + // 爆炸标题 Lable + @property(Label) + private bombLabel: Label = null; + + // 爆炸图片节点 + @property(Node) + private bombImageNode: Node = null; + + // 动画组件 + private bombAnimation: Animation = null; + + onLoad() { + // 初始化动画组件 + this.bombAnimation = this.bombImageNode.getComponent(Animation); + // 监听动画完成事件 + this.bombAnimation.on( + Animation.EventType.FINISHED, + this.onAnimationFinished, + this, + ); + // 设置随机的提示语 + this.setBombTip(); + // 监听小恐龙吃到音符事件 + EventDispatcher.getTarget().on( + EventDispatcher.DINO_EAT_NOTE, + this.hideBombTip, + this, + ); + } + + // 动画完成事件 + private onAnimationFinished() { + // 隐藏爆炸图片 + this.bombImageNode.active = false; + // 标题缩小到 0.1 + tween(this.bombLabel.node) + .to(0.2, { scale: new Vec3(0.1, 0.1, 1) }) + .call(() => { + // 销毁整个特效节点 + this.node.destroy(); + }) + .start(); + } + + // 播放爆炸特效 + public playBombEffect() { + // 播放动画 + this.bombAnimation.play("bomb"); + // 显示爆炸标题 + this.bombLabel.node.active = true; + // 放大标题1.1倍速 + tween(this.bombLabel.node) + .to(0.5, { scale: new Vec3(1.1, 1.1, 1) }) + .start(); + } + + // 设置随机的提示语 + private setBombTip() { + let randomIndex = Math.floor(Math.random() * this.bombTips.length); + // 设置爆炸标题的文本 + this.bombLabel.string = this.bombTips[randomIndex]; + } + + // 隐藏爆炸标题 + private hideBombTip() { + // 隐藏爆炸标题 + this.bombLabel.node.active = false; + } + + // 隐藏爆炸特效 + private hideBombEffect() { + // 隐藏爆炸特效 + this.node.active = false; + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/effects/BombEffectControl.ts.meta b/assets/seripts/effects/BombEffectControl.ts.meta new file mode 100644 index 0000000..f3d2ebf --- /dev/null +++ b/assets/seripts/effects/BombEffectControl.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "4835d6f8-1253-49a0-9d8f-4f1758fa2fea", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/libs.meta b/assets/seripts/libs.meta new file mode 100644 index 0000000..6ac5c09 --- /dev/null +++ b/assets/seripts/libs.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "29562e3e-c67f-4642-9920-a90ed552b9d8", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/libs/AudioEffect.ts b/assets/seripts/libs/AudioEffect.ts new file mode 100644 index 0000000..c5fc73f --- /dev/null +++ b/assets/seripts/libs/AudioEffect.ts @@ -0,0 +1,30 @@ +import { AudioManager } from "./AudioManager"; + +//音效管理类 +export default class AudioEffect { + //播放通用的音效 + static playCommonAudio(audioUrl: string): void { + if (!audioUrl) { + return; + } + //播放音效 + AudioManager.inst.playOneShot(audioUrl); + } + //播放点击音效 + public static playClickAudio() { + let audioUrl = "audios/common/click"; + AudioEffect.playCommonAudio(audioUrl); + } + + //播放撒金币的音效 + public static playGoldAudio() { + let audioUrl = "audios/common/gold"; + AudioEffect.playCommonAudio(audioUrl); + } + + //播放金币入账的音效 + public static playCoinsEntryAudio() { + let audioUrl = "audios/common/coins_entry"; + AudioEffect.playCommonAudio(audioUrl); + } +} diff --git a/assets/seripts/libs/AudioEffect.ts.meta b/assets/seripts/libs/AudioEffect.ts.meta new file mode 100644 index 0000000..4832ac9 --- /dev/null +++ b/assets/seripts/libs/AudioEffect.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "444d38fc-633e-43bb-824b-192c2ee2730e", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/libs/AudioManager.ts b/assets/seripts/libs/AudioManager.ts new file mode 100644 index 0000000..3fd9b05 --- /dev/null +++ b/assets/seripts/libs/AudioManager.ts @@ -0,0 +1,110 @@ +import { Node, AudioSource, AudioClip, resources, director } from "cc"; +/** + * @en + * this is a sington class for audio play, can be easily called from anywhere in you project. + * @zh + * 这是一个用于播放音频的单件类,可以很方便地在项目的任何地方调用。 + */ +export class AudioManager { + private static _inst: AudioManager; + public static get inst(): AudioManager { + if (this._inst == null) { + this._inst = new AudioManager(); + } + return this._inst; + } + private _audioSource: AudioSource; + constructor() { + //@en create a node as audioMgr + //@zh 创建一个节点作为 audioMgr + let audioMgr = new Node(); + audioMgr.name = "__audioMgr__"; + + //@en add to the scene. + //@zh 添加节点到场景 + director.getScene().addChild(audioMgr); + + //@en make it as a persistent node, so it won't be destroied when scene change. + //@zh 标记为常驻节点,这样场景切换的时候就不会被销毁了 + director.addPersistRootNode(audioMgr); + + //@en add AudioSource componrnt to play audios. + //@zh 添加 AudioSource 组件,用于播放音频。 + this._audioSource = audioMgr.addComponent(AudioSource); + } + + public get audioSource() { + return this._audioSource; + } + + /** + * @en + * play short audio, such as strikes,explosions + * @zh + * 播放短音频,比如 打击音效,爆炸音效等 + * @param sound clip or url for the audio + * @param volume + */ + playOneShot(sound: AudioClip | string, volume: number = 1.0) { + if (sound instanceof AudioClip) { + this._audioSource.playOneShot(sound, volume); + } else { + resources.load(sound, (err, clip: AudioClip) => { + if (err) { + console.log(err); + } else { + this._audioSource.playOneShot(clip, volume); + } + }); + } + } + + /** + * @en + * play long audio, such as the bg music + * @zh + * 播放长音频,比如 背景音乐 + * @param sound clip or url for the sound + * @param volume + */ + play(sound: AudioClip | string, volume: number = 1.0) { + if (sound instanceof AudioClip) { + this._audioSource.stop(); + this._audioSource.clip = sound; + this._audioSource.play(); + this.audioSource.volume = volume; + } else { + resources.load(sound, (err, clip: AudioClip) => { + if (err) { + console.log(err); + } else { + this._audioSource.stop(); + this._audioSource.clip = clip; + this._audioSource.play(); + this.audioSource.volume = volume; + } + }); + } + } + + /** + * stop the audio play + */ + stop() { + this._audioSource.stop(); + } + + /** + * pause the audio play + */ + pause() { + this._audioSource.pause(); + } + + /** + * resume the audio play + */ + resume() { + this._audioSource.play(); + } +} diff --git a/assets/seripts/libs/AudioManager.ts.meta b/assets/seripts/libs/AudioManager.ts.meta new file mode 100644 index 0000000..1e51ca4 --- /dev/null +++ b/assets/seripts/libs/AudioManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "3b9035fb-99e0-4028-9bc0-84149d0ba3bf", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/libs/EventDispatcher.ts b/assets/seripts/libs/EventDispatcher.ts new file mode 100644 index 0000000..c2452fe --- /dev/null +++ b/assets/seripts/libs/EventDispatcher.ts @@ -0,0 +1,48 @@ +import { _decorator, Component, EventTarget } from "cc"; +const { ccclass, property } = _decorator; + +const event_target = new EventTarget(); + +export class EventDispatcher { + private static data: EventDispatcher; + + // 小恐龙吃到音符事件 + public static readonly DINO_EAT_NOTE = "dino_eat_note"; + // 音符碰到线事件 + public static readonly UPDATE_LIFE = "update_life"; + // 开始游戏事件 + public static readonly GAME_STAET = "game_start"; + + // 游戏结束事件 + public static readonly GAME_OVER = "game_over"; + // 游戏闯关成功事件 + public static readonly PASS_LEVLE = "pass_levle"; + + // 暂停事件 + public static readonly GAME_PAUSE = "game_pause"; + // 继续游戏事件 + public static readonly GAME_RESUME = "game_resume"; + // 清除所有音符事件 + public static readonly CLEAR_ALL_NOTE = "clear_all_note"; + // 清楚可视区域的音符事件 + public static readonly CLEAR_SCREEN_NOTE = "clear_screen_note"; + // 移动小恐龙到线的位置事件 + public static readonly MOVE_DINO_TO_LINE = "move_dino_to_line"; + // 显示结果弹窗事件 + public static readonly SHOW_RESULT_MODAL = "show_result_modal"; + // 显示暂停弹窗事件 + public static readonly SHOW_PAUSE_MODAL = "show_pause_modal"; + // 显示继续游戏弹窗事件 + public static readonly SHOW_CONTINUE_MODAL = "show_continue_modal"; + + static getTarget() { + if (EventDispatcher.data == null) { + EventDispatcher.data = new EventDispatcher(); + } + return EventDispatcher.data.getEventTarget(); + } + + private getEventTarget(): EventTarget { + return event_target; + } +} diff --git a/assets/seripts/libs/EventDispatcher.ts.meta b/assets/seripts/libs/EventDispatcher.ts.meta new file mode 100644 index 0000000..7e83b10 --- /dev/null +++ b/assets/seripts/libs/EventDispatcher.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "aa122590-0731-48e3-890b-886796d95b60", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/libs/SpeedAudioPlayer.ts b/assets/seripts/libs/SpeedAudioPlayer.ts new file mode 100644 index 0000000..0f07613 --- /dev/null +++ b/assets/seripts/libs/SpeedAudioPlayer.ts @@ -0,0 +1,506 @@ +import { _decorator, AudioClip, sys } from "cc"; +const { ccclass } = _decorator; + +// 声明微信小游戏全局变量(避免 TypeScript 报错) +declare const wx: any; + +@ccclass("SpeedAudioPlayer") +export class SpeedAudioPlayer { + // H5 平台核心对象 + private audioElement: HTMLAudioElement | null = null; + // 微信小游戏平台核心对象 + private innerAudioContext: any = null; + // 跨平台统一播放状态 + private currentPlayRate: number = 1.0; + private volume: number = 1.0; + private isPlaying: boolean = false; + private isPaused: boolean = false; + // 跨平台统一状态缓存(切换音频/恢复播放复用) + private lastPlayState: { rate: number; position: number } = { + rate: 1.0, + position: 0, + }; + // 缓存当前音频剪辑 + private currentAudioClip: AudioClip | null = null; + + /** + * 初始化音频(跨平台自动适配) + * @param audioClip Cocos 音频剪辑 + */ + async init(audioClip: AudioClip) { + if (!audioClip) { + console.error("SpeedAudioPlayer: 音频剪辑不能为空"); + return; + } + + // 保存当前音频剪辑 + this.currentAudioClip = audioClip; + + // 1. H5 平台(浏览器/支持 DOM 的环境) + if (this.isH5Platform()) { + await this.initH5(audioClip); + } + // 2. 微信小游戏平台(原生 API 环境) + else if (this.isWxGamePlatform()) { + await this.initWxGame(audioClip); + } + // 3. 不支持的平台 + else { + console.error("SpeedAudioPlayer: 暂不支持当前运行平台"); + } + } + + /** + * 跨平台核心:切换音频文件(保留/重置状态) + * @param newAudioClip 新的音频剪辑 + * @param keepState 是否保留原播放状态(速率/暂停位置),默认true + */ + async changeAudioClip(newAudioClip: AudioClip, keepState: boolean = true) { + if (!newAudioClip) { + console.error("SpeedAudioPlayer: 切换音频失败,音频剪辑不能为空"); + return; + } + + // 1. 记录当前状态(跨平台统一) + if (keepState) { + this.lastPlayState.rate = this.currentPlayRate; + this.lastPlayState.position = this.getCurrentPlayTime(); + } else { + this.lastPlayState = { rate: 1.0, position: 0 }; + } + + // 2. 停止当前音频(跨平台统一) + this.stop(); + + // 3. 初始化新音频(自动适配平台) + await this.init(newAudioClip); + + // 4. 恢复播放状态(跨平台统一) + if (keepState) { + this.currentPlayRate = this.lastPlayState.rate; + this.setPlayRate(this.currentPlayRate); // 同步速率到当前平台 + + // 定位到缓存位置,根据原状态恢复播放/暂停 + if (this.isPaused) { + this.seek(this.lastPlayState.position); + console.log( + `SpeedAudioPlayer: 切换音频后保留暂停状态,位置:${this.lastPlayState.position.toFixed( + 3, + )}秒`, + ); + } else if (this.isPlaying) { + this.play(this.currentPlayRate, this.lastPlayState.position); + } + } + + console.log("SpeedAudioPlayer: 音频文件切换成功"); + } + + /** + * 播放音频(跨平台统一接口,支持指定速率/起始位置) + * @param playRate 播放速率(0.5~2.0) + * @param startAt 起始位置(秒,默认0) + */ + play(playRate: number = 1.0, startAt: number = 0) { + // 限制参数范围 + this.currentPlayRate = Math.max(0.5, Math.min(playRate, 2.0)); + startAt = Math.max(0, Math.min(startAt, this.getTotalDuration())); + + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + this.audioElement.playbackRate = this.currentPlayRate; + this.audioElement.currentTime = startAt; + this.audioElement + .play() + .then(() => { + this.updatePlayState(true, false); + console.log( + `SpeedAudioPlayer: H5 播放开始,速率:${ + this.currentPlayRate + },起始位置:${startAt.toFixed(3)}秒`, + ); + }) + .catch((e) => { + console.error("SpeedAudioPlayer: H5 播放失败(需用户交互触发):", e); + }); + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + this.innerAudioContext.playbackRate = this.currentPlayRate; + this.innerAudioContext.seek(startAt); + this.innerAudioContext.play(); + this.updatePlayState(true, false); + this.lastPlayState.position = startAt; + console.log( + `SpeedAudioPlayer: 微信小游戏播放开始,速率:${ + this.currentPlayRate + },起始位置:${startAt.toFixed(3)}秒`, + ); + } + // 未初始化 + else { + console.warn("SpeedAudioPlayer: 音频未初始化完成,无法播放"); + } + } + + /** + * 暂停播放(跨平台统一接口,精准保留当前位置) + */ + pause() { + if (!this.isPlaying || this.isPaused) { + console.warn("SpeedAudioPlayer: 音频未播放或已暂停,无法暂停"); + return; + } + + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + this.audioElement.pause(); + const pausePos = this.audioElement.currentTime; + this.cachePausePosition(pausePos); + this.updatePlayState(false, true); + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + this.innerAudioContext.pause(); + const pausePos = this.innerAudioContext.currentTime; + this.cachePausePosition(pausePos); + this.updatePlayState(false, true); + } + } + + /** + * 恢复播放(跨平台统一接口,从暂停位置继续) + */ + resume() { + if (!this.isPaused) { + console.warn("SpeedAudioPlayer: 音频未暂停,无法恢复播放"); + return; + } + + const resumePos = this.lastPlayState.position; + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + this.audioElement.currentTime = resumePos; + this.audioElement + .play() + .then(() => { + this.updatePlayState(true, false); + console.log( + `SpeedAudioPlayer: H5 恢复播放,从${resumePos.toFixed(3)}秒开始`, + ); + }) + .catch((e) => { + console.error("SpeedAudioPlayer: H5 恢复播放失败:", e); + }); + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + // 恢复播放前确保应用当前设置的速率 + this.innerAudioContext.playbackRate = this.currentPlayRate; + this.innerAudioContext.seek(resumePos); + this.innerAudioContext.play(); + this.updatePlayState(true, false); + console.log( + `SpeedAudioPlayer: 微信小游戏恢复播放,速率:${ + this.currentPlayRate + },从${resumePos.toFixed(3)}秒开始`, + ); + } + } + + /** + * 停止播放(跨平台统一接口,重置位置到开头) + */ + stop() { + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + this.audioElement.pause(); + this.audioElement.currentTime = 0; + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + this.innerAudioContext.pause(); + this.innerAudioContext.seek(0); + } + + // 跨平台统一重置状态 + this.updatePlayState(false, false); + this.lastPlayState.position = 0; + console.log("SpeedAudioPlayer: 停止播放,状态已重置"); + } + + /** + * 动态调节播放速率(跨平台统一接口,播放中实时生效) + * @param playRate 新速率 + */ + setPlayRate(playRate: number) { + this.currentPlayRate = Math.max(0.5, Math.min(playRate, 2.0)); + this.lastPlayState.rate = this.currentPlayRate; + + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + this.audioElement.playbackRate = this.currentPlayRate; + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + this.innerAudioContext.playbackRate = this.currentPlayRate; + + // 微信小游戏真机环境下,设置playbackRate后需要重启播放才能生效 + // 保存当前播放位置,暂停后重新播放 + if (this.isPlaying) { + const currentPosition = this.getCurrentPlayTime(); + this.innerAudioContext.pause(); + this.innerAudioContext.seek(currentPosition); + this.innerAudioContext.play(); + console.log( + `SpeedAudioPlayer: 微信小游戏重启播放以应用新速率,当前位置:${currentPosition.toFixed( + 3, + )}秒`, + ); + } + } + + console.log(`SpeedAudioPlayer: 速率已调整为:${this.currentPlayRate}`); + } + + /** + * 设置音量(跨平台统一接口,0~1) + * @param volume 音量值 + */ + setVolume(volume: number) { + this.volume = Math.max(0, Math.min(volume, 1)); + + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + this.audioElement.volume = this.volume; + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + this.innerAudioContext.volume = this.volume; + } + + console.log(`SpeedAudioPlayer: 音量已设置为:${this.volume}`); + } + + /** + * 获取音频总时长(跨平台统一接口) + */ + getTotalDuration(): number { + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + return this.audioElement.duration || 0; + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + return this.innerAudioContext.duration || 0; + } + return 0; + } + + /** + * 获取当前播放位置(跨平台统一接口,秒) + */ + getCurrentPlayTime(): number { + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + return this.audioElement.currentTime || 0; + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + return this.innerAudioContext.currentTime || 0; + } + return 0; + } + + /** + * 获取当前播放状态(跨平台统一接口) + */ + getPlayState() { + return { + isPlaying: this.isPlaying, + isPaused: this.isPaused, + currentPlayRate: this.currentPlayRate, + currentPlayTime: this.getCurrentPlayTime(), + totalDuration: this.getTotalDuration(), + volume: this.volume, + platform: this.getCurrentPlatform(), + }; + } + + /** + * 销毁资源(跨平台统一接口,释放内存) + */ + destroy() { + // H5 平台 + if (this.isH5Platform() && this.audioElement) { + this.stop(); + this.audioElement.remove(); + this.audioElement = null; + } + // 微信小游戏平台 + else if (this.isWxGamePlatform() && this.innerAudioContext) { + this.stop(); + this.innerAudioContext.offCanplay(); + this.innerAudioContext.offEnded(); + this.innerAudioContext.offError(); + this.innerAudioContext.destroy(); + this.innerAudioContext = null; + } + + this.currentAudioClip = null; + console.log(`SpeedAudioPlayer: ${this.getCurrentPlatform()} 资源已销毁`); + } + + // ---------------------- 内部辅助方法(跨平台适配核心)---------------------- + /** + * 初始化 H5 平台音频(HTML5 Audio) + */ + private async initH5(audioClip: AudioClip) { + // 首次创建 Audio 元素 + if (!this.audioElement) { + this.audioElement = document.createElement("audio"); + this.audioElement.preload = "auto"; + // 监听播放结束 + this.audioElement.onended = () => { + this.updatePlayState(false, false); + this.lastPlayState.position = 0; + console.log("SpeedAudioPlayer: H5 音频播放结束"); + }; + } + + // 设置音频源并等待加载 + this.audioElement.src = audioClip.nativeUrl; + await new Promise((resolve, reject) => { + const onCanplayCallback = () => { + this.audioElement!.removeEventListener( + "canplaythrough", + onCanplayCallback, + ); + resolve(true); + }; + this.audioElement!.addEventListener("canplaythrough", onCanplayCallback); + this.audioElement!.addEventListener("error", (e) => { + reject(new Error(`H5 音频加载失败:${e}`)); + }); + }); + + // 恢复缓存状态 + this.audioElement.volume = this.volume; + this.audioElement.playbackRate = this.currentPlayRate; + console.log( + "SpeedAudioPlayer: H5 音频初始化成功,总时长:", + this.getTotalDuration().toFixed(2), + "秒", + ); + } + + /** + * 初始化 微信小游戏 平台音频(wx.createInnerAudioContext) + */ + private async initWxGame(audioClip: AudioClip) { + // 首次创建微信原生音频上下文 + if (!this.innerAudioContext) { + this.innerAudioContext = wx.createInnerAudioContext(); + this.innerAudioContext.volume = this.volume; + this.innerAudioContext.playbackRate = this.currentPlayRate; + this.innerAudioContext.loop = false; + + // 监听原生事件 + this.innerAudioContext.onCanplay(() => { + console.log( + "SpeedAudioPlayer: 微信小游戏音频加载完成,总时长:", + this.getTotalDuration().toFixed(2), + "秒", + ); + }); + + this.innerAudioContext.onEnded(() => { + this.updatePlayState(false, false); + this.lastPlayState.position = 0; + console.log("SpeedAudioPlayer: 微信小游戏音频播放结束"); + }); + + this.innerAudioContext.onError((err: any) => { + console.error("SpeedAudioPlayer: 微信小游戏音频发生错误:", err); + this.updatePlayState(false, false); + }); + } + + // 设置音频源并等待加载(核心修复:移除 onCanplayOnce,改用 onCanplay + 手动解除监听) + this.innerAudioContext.src = audioClip.nativeUrl; + await new Promise((resolve) => { + // 定义一次性监听函数 + const onCanplayCallback = () => { + // 手动移除监听,实现「一次性触发」的效果,避免重复回调 + this.innerAudioContext.offCanplay(onCanplayCallback); + resolve(true); + }; + + // 先判断音频是否已加载完成 + if (this.innerAudioContext.readyState === "canplay") { + resolve(true); + } else { + // 绑定普通 onCanplay 监听,触发后手动移除,替代不存在的 onCanplayOnce + this.innerAudioContext.onCanplay(onCanplayCallback); + } + }); + + // 恢复缓存状态 + this.innerAudioContext.volume = this.volume; + this.innerAudioContext.playbackRate = this.currentPlayRate; + } + + /** + * 判断是否为 H5 平台(浏览器/支持 DOM 的环境) + */ + private isH5Platform(): boolean { + return sys.isBrowser && sys.platform !== sys.Platform.WECHAT_GAME; + } + + /** + * 判断是否为 微信小游戏 平台 + */ + private isWxGamePlatform(): boolean { + return sys.platform === sys.Platform.WECHAT_GAME; + } + + /** + * 获取当前平台名称(用于日志/调试) + */ + private getCurrentPlatform(): string { + if (this.isH5Platform()) return "H5"; + if (this.isWxGamePlatform()) return "微信小游戏"; + return "未知平台"; + } + + /** + * 跨平台统一更新播放状态 + */ + private updatePlayState(isPlaying: boolean, isPaused: boolean) { + this.isPlaying = isPlaying; + this.isPaused = isPaused; + } + + /** + * 跨平台统一缓存暂停位置 + */ + private cachePausePosition(position: number) { + const clampPos = Math.max(0, Math.min(position, this.getTotalDuration())); + this.lastPlayState.position = clampPos; + console.log( + `SpeedAudioPlayer: 暂停成功,当前位置:${clampPos.toFixed(3)}秒`, + ); + } + + /** + * 跨平台统一定位音频位置 + */ + private seek(position: number) { + const clampPos = Math.max(0, Math.min(position, this.getTotalDuration())); + if (this.isH5Platform() && this.audioElement) { + this.audioElement.currentTime = clampPos; + } else if (this.isWxGamePlatform() && this.innerAudioContext) { + this.innerAudioContext.seek(clampPos); + } + } +} diff --git a/assets/seripts/libs/SpeedAudioPlayer.ts.meta b/assets/seripts/libs/SpeedAudioPlayer.ts.meta new file mode 100644 index 0000000..2d6ce14 --- /dev/null +++ b/assets/seripts/libs/SpeedAudioPlayer.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "15d63406-5748-40e4-a743-a45bc228d712", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/libs/Utils.ts b/assets/seripts/libs/Utils.ts new file mode 100644 index 0000000..457de38 --- /dev/null +++ b/assets/seripts/libs/Utils.ts @@ -0,0 +1,34 @@ +import { sys } from "cc"; + +export default class Utils { + /** + * + * @param {缓存key} key + * @param {需要存储的缓存值} value + * @param {过期时间} expire + */ + static setCache(key: string, value: any, expire: number = 0): void { + let obj = { + data: value, //存储的数据 + time: Date.now() / 1000, //记录存储的时间戳 + expire: expire, //记录过期时间,单位秒 + }; + sys.localStorage.setItem(key, JSON.stringify(obj)); + } + /** + * + * @param {缓存key} key + */ + static getCache(key: string): any { + let val: any = sys.localStorage.getItem(key); + if (!val) { + return null; + } + val = JSON.parse(val); + if (val.expire && Date.now() / 1000 - val.time > val.expire) { + sys.localStorage.removeItem(key); + return null; + } + return val.data; + } +} diff --git a/assets/seripts/libs/Utils.ts.meta b/assets/seripts/libs/Utils.ts.meta new file mode 100644 index 0000000..8c24b70 --- /dev/null +++ b/assets/seripts/libs/Utils.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "ee787eae-f32a-4d63-9fa4-b609ca06be8e", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/managers.meta b/assets/seripts/managers.meta new file mode 100644 index 0000000..a2aa918 --- /dev/null +++ b/assets/seripts/managers.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "c198366b-298e-4a4d-9c46-69c68a447c02", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/managers/MusicManager.ts b/assets/seripts/managers/MusicManager.ts new file mode 100644 index 0000000..a7b73a0 --- /dev/null +++ b/assets/seripts/managers/MusicManager.ts @@ -0,0 +1,87 @@ +/** + * 游戏开发者:程序员加菲猫 + * 游戏名称:Like A Dino! + */ + +import { _decorator, Component, AudioClip } from "cc"; +import { EventDispatcher } from "../libs/EventDispatcher"; +import { SpeedAudioPlayer } from "../libs/SpeedAudioPlayer"; +import { GlobalData } from "../config/GlobalData"; + +const { ccclass, property } = _decorator; + +@ccclass("MusicManager") +export class MusicManager extends Component { + //音频播放器 + private audioPlayer: SpeedAudioPlayer = null; + + //音频剪辑列表 + @property({ + type: [AudioClip], + tooltip: "音频剪辑列表", + }) + audioClips: AudioClip[] = []; + + //当前选择的音频剪辑索引 + private currentAudioClipIndex: number = 0; + + async onLoad() { + //设置当前选择的音频剪辑 + this.currentAudioClipIndex = GlobalData.selectedMusicID - 1; + //初始化音频播放器 + this.audioPlayer = new SpeedAudioPlayer(); + //初始化音频 + await this.audioPlayer.init(this.audioClips[this.currentAudioClipIndex]); + } + + start() { + //监听游戏暂停事件 + EventDispatcher.getTarget().on( + EventDispatcher.GAME_PAUSE, + this.pause, + this, + ); + //监听游戏继续事件 + EventDispatcher.getTarget().on( + EventDispatcher.GAME_RESUME, + this.resume, + this, + ); + //监听游戏结束事件 + EventDispatcher.getTarget().on(EventDispatcher.GAME_OVER, this.stop, this); + } + + //播放音乐 + async play() { + //播放之前判断是否需要切换音频 + if (this.currentAudioClipIndex !== GlobalData.selectedMusicID - 1) { + //切换音频 + this.currentAudioClipIndex = GlobalData.selectedMusicID - 1; + //初始化音频 + await this.audioPlayer.changeAudioClip( + this.audioClips[this.currentAudioClipIndex], + ); + } + // 初始速率播放 + this.audioPlayer.play(GlobalData.speedRate); + // 设置初始音量 + this.audioPlayer.setVolume(1.0); + } + + //暂停音乐 + pause() { + this.audioPlayer.pause(); + } + + //停止音乐 + stop() { + this.audioPlayer.stop(); + } + + //继续播放音乐 + resume() { + this.audioPlayer.resume(); + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/managers/MusicManager.ts.meta b/assets/seripts/managers/MusicManager.ts.meta new file mode 100644 index 0000000..847ad04 --- /dev/null +++ b/assets/seripts/managers/MusicManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "d4834116-9657-4a4e-8a40-4f562e85b280", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/managers/NoteManager.ts b/assets/seripts/managers/NoteManager.ts new file mode 100644 index 0000000..6df131c --- /dev/null +++ b/assets/seripts/managers/NoteManager.ts @@ -0,0 +1,1330 @@ +import { + _decorator, + Component, + instantiate, + Label, + Node, + Prefab, + Vec3, +} from "cc"; +import { EventDispatcher } from "../libs/EventDispatcher"; +import { GlobalData } from "../config/GlobalData"; +const { ccclass, property } = _decorator; + +@ccclass("NoteManager") +export class NoteManager extends Component { + // 音符的预制体 + @property(Prefab) + private notePrefab: Prefab = null; + + // 基准线的节点 + @property(Node) + lineNode: Node = null; + + // 定义基准线的坐标 + private linePosition: Vec3 = new Vec3(0, 0, 0); + + // 显示当前有多少个音符的 label + @property(Label) + noteCountLabel: Label = null; + + // 音符的数组 + private noteArray: any[] = [ + { + trackType: 1, + timePoint: 4.43389999999851, + }, + { + trackType: 1, + timePoint: 4.480899999998511, + }, + { + trackType: 2, + timePoint: 5.118199999999255, + }, + { + trackType: 2, + timePoint: 5.1805999999977645, + }, + { + trackType: 2, + timePoint: 5.42189999999851, + }, + { + trackType: 2, + timePoint: 5.480899999998511, + }, + { + trackType: 1, + timePoint: 6.268899999998511, + }, + { + trackType: 1, + timePoint: 6.330699999999255, + }, + { + trackType: 1, + timePoint: 6.5295, + }, + { + trackType: 1, + timePoint: 6.580699999999255, + }, + { + trackType: 2, + timePoint: 6.95729999999702, + }, + { + trackType: 2, + timePoint: 6.997199999999256, + }, + { + trackType: 1, + timePoint: 7.421, + }, + { + trackType: 1, + timePoint: 7.480599999997765, + }, + { + trackType: 2, + timePoint: 8.37989999999851, + }, + { + trackType: 2, + timePoint: 8.429899999998511, + }, + { + trackType: 1, + timePoint: 9.286099999997763, + }, + { + trackType: 1, + timePoint: 9.347399999998508, + }, + { + trackType: 1, + timePoint: 9.479499999999998, + }, + { + trackType: 1, + timePoint: 9.53089999999851, + }, + { + trackType: 2, + timePoint: 10.285999999999998, + }, + { + trackType: 2, + timePoint: 10.347399999998508, + }, + { + trackType: 1, + timePoint: 10.62179999999702, + }, + { + trackType: 1, + timePoint: 10.66389999999851, + }, + { + trackType: 1, + timePoint: 10.982099999997764, + }, + { + trackType: 0, + timePoint: 11.350799999997019, + }, + { + trackType: 0, + timePoint: 11.413999999999998, + }, + { + trackType: 1, + timePoint: 12.4055, + }, + { + trackType: 1, + timePoint: 12.46389999999851, + }, + { + trackType: 2, + timePoint: 13.26289999999851, + }, + { + trackType: 2, + timePoint: 13.314, + }, + { + trackType: 2, + timePoint: 13.468699999999256, + }, + { + trackType: 2, + timePoint: 13.530699999999253, + }, + { + trackType: 1, + timePoint: 14.259199999999254, + }, + { + trackType: 1, + timePoint: 14.313099999997764, + }, + { + trackType: 1, + timePoint: 14.526499999999999, + }, + { + trackType: 1, + timePoint: 14.58029999999702, + }, + { + trackType: 1, + timePoint: 14.976899999998508, + }, + { + trackType: 1, + timePoint: 15.030399999998508, + }, + { + trackType: 0, + timePoint: 15.382199999999255, + }, + { + trackType: 0, + timePoint: 15.430499999999999, + }, + { + trackType: 0, + timePoint: 15.497099999997765, + }, + { + trackType: 0, + timePoint: 15.563499999999998, + }, + { + trackType: 0, + timePoint: 15.630299999997018, + }, + { + trackType: 1, + timePoint: 16.35039999999851, + }, + { + trackType: 1, + timePoint: 16.413799999997018, + }, + { + trackType: 2, + timePoint: 16.836699999999254, + }, + { + trackType: 2, + timePoint: 16.896599999997765, + }, + { + trackType: 1, + timePoint: 17.383, + }, + { + trackType: 1, + timePoint: 17.445599999997764, + }, + { + trackType: 2, + timePoint: 17.967, + }, + { + trackType: 2, + timePoint: 18.030599999997765, + }, + { + trackType: 1, + timePoint: 18.43679999999702, + }, + { + trackType: 1, + timePoint: 18.497099999997765, + }, + { + trackType: 0, + timePoint: 19.406199999999256, + }, + { + trackType: 0, + timePoint: 19.46379999999702, + }, + { + trackType: 0, + timePoint: 19.5305, + }, + { + trackType: 0, + timePoint: 19.597099999997763, + }, + { + trackType: 0, + timePoint: 19.663699999999256, + }, + { + trackType: 1, + timePoint: 21.6165, + }, + { + trackType: 1, + timePoint: 21.680599999997764, + }, + { + trackType: 2, + timePoint: 22.436599999997764, + }, + { + trackType: 2, + timePoint: 22.496699999999255, + }, + { + trackType: 1, + timePoint: 23.317999999999998, + }, + { + trackType: 1, + timePoint: 23.38039999999851, + }, + { + trackType: 1, + timePoint: 23.544, + }, + { + trackType: 1, + timePoint: 23.596999999999998, + }, + { + trackType: 1, + timePoint: 23.934099999997763, + }, + { + trackType: 1, + timePoint: 23.997, + }, + { + trackType: 0, + timePoint: 24.32879999999702, + }, + { + trackType: 0, + timePoint: 24.380599999997763, + }, + { + trackType: 0, + timePoint: 24.447, + }, + { + trackType: 0, + timePoint: 24.5135, + }, + { + trackType: 1, + timePoint: 25.382, + }, + { + trackType: 1, + timePoint: 25.447099999997764, + }, + { + trackType: 2, + timePoint: 26.14579999999702, + }, + { + trackType: 2, + timePoint: 26.197099999997764, + }, + { + trackType: 2, + timePoint: 26.388499999999997, + }, + { + trackType: 2, + timePoint: 26.44689999999851, + }, + { + trackType: 1, + timePoint: 27.1675, + }, + { + trackType: 1, + timePoint: 27.23029999999702, + }, + { + trackType: 1, + timePoint: 27.444999999999997, + }, + { + trackType: 1, + timePoint: 27.495499999999996, + }, + { + trackType: 1, + timePoint: 27.885599999997762, + }, + { + trackType: 1, + timePoint: 27.947099999997764, + }, + { + trackType: 0, + timePoint: 28.301399999998512, + }, + { + trackType: 0, + timePoint: 28.363799999997017, + }, + { + trackType: 0, + timePoint: 28.430299999997022, + }, + { + trackType: 0, + timePoint: 28.497199999999257, + }, + { + trackType: 1, + timePoint: 29.446099999997767, + }, + { + trackType: 1, + timePoint: 29.496999999999996, + }, + { + trackType: 2, + timePoint: 30.194299999997018, + }, + { + trackType: 2, + timePoint: 30.246899999998508, + }, + { + trackType: 2, + timePoint: 30.436299999997022, + }, + { + trackType: 2, + timePoint: 30.49709999999776, + }, + { + trackType: 1, + timePoint: 31.269099999997767, + }, + { + trackType: 1, + timePoint: 31.330499999999997, + }, + { + trackType: 1, + timePoint: 31.478599999997765, + }, + { + trackType: 1, + timePoint: 31.52979999999702, + }, + { + trackType: 2, + timePoint: 31.916399999998507, + }, + { + trackType: 2, + timePoint: 31.979799999997017, + }, + { + trackType: 1, + timePoint: 32.301399999998516, + }, + { + trackType: 1, + timePoint: 32.363699999999255, + }, + { + trackType: 1, + timePoint: 32.4305, + }, + { + trackType: 1, + timePoint: 32.49719999999926, + }, + { + trackType: 1, + timePoint: 32.56369999999926, + }, + { + trackType: 0, + timePoint: 33.349799999997025, + }, + { + trackType: 0, + timePoint: 33.396, + }, + { + trackType: 1, + timePoint: 33.863899999998516, + }, + { + trackType: 1, + timePoint: 33.91369999999926, + }, + { + trackType: 0, + timePoint: 34.4225, + }, + { + trackType: 0, + timePoint: 34.48029999999702, + }, + { + trackType: 1, + timePoint: 34.945299999997026, + }, + { + trackType: 1, + timePoint: 34.996500000000005, + }, + { + trackType: 2, + timePoint: 35.49529999999702, + }, + { + trackType: 2, + timePoint: 35.54719999999926, + }, + { + trackType: 1, + timePoint: 36.452899999998515, + }, + { + trackType: 1, + timePoint: 36.51369999999926, + }, + { + trackType: 1, + timePoint: 36.58039999999851, + }, + { + trackType: 1, + timePoint: 36.647000000000006, + }, + { + trackType: 2, + timePoint: 37.5615, + }, + { + trackType: 2, + timePoint: 37.61359999999777, + }, + { + trackType: 2, + timePoint: 37.93059999999777, + }, + { + trackType: 2, + timePoint: 37.97939999999851, + }, + { + trackType: 1, + timePoint: 38.436699999999256, + }, + { + trackType: 1, + timePoint: 38.630500000000005, + }, + { + trackType: 1, + timePoint: 38.6805, + }, + { + trackType: 0, + timePoint: 39.479099999997764, + }, + { + trackType: 0, + timePoint: 39.53029999999702, + }, + { + trackType: 0, + timePoint: 39.87919999999926, + }, + { + trackType: 0, + timePoint: 39.930399999998514, + }, + { + trackType: 1, + timePoint: 40.23009999999777, + }, + { + trackType: 1, + timePoint: 40.27939999999851, + }, + { + trackType: 0, + timePoint: 40.704, + }, + { + trackType: 1, + timePoint: 40.981500000000004, + }, + { + trackType: 2, + timePoint: 41.405099999997766, + }, + { + trackType: 2, + timePoint: 41.463399999998515, + }, + { + trackType: 1, + timePoint: 43.42179999999702, + }, + { + trackType: 1, + timePoint: 43.47939999999851, + }, + { + trackType: 1, + timePoint: 43.793000000000006, + }, + { + trackType: 1, + timePoint: 43.84689999999851, + }, + { + trackType: 1, + timePoint: 44.005500000000005, + }, + { + trackType: 1, + timePoint: 44.06359999999777, + }, + { + trackType: 2, + timePoint: 44.27929999999702, + }, + { + trackType: 2, + timePoint: 44.330000000000005, + }, + { + trackType: 1, + timePoint: 44.928899999998514, + }, + { + trackType: 1, + timePoint: 44.980000000000004, + }, + { + trackType: 1, + timePoint: 45.350199999999255, + }, + { + trackType: 1, + timePoint: 45.41359999999777, + }, + { + trackType: 0, + timePoint: 46.48019999999926, + }, + { + trackType: 0, + timePoint: 46.530099999997766, + }, + { + trackType: 0, + timePoint: 46.728399999998516, + }, + { + trackType: 0, + timePoint: 46.78029999999702, + }, + { + trackType: 1, + timePoint: 47.47979999999702, + }, + { + trackType: 1, + timePoint: 47.53029999999702, + }, + { + trackType: 1, + timePoint: 47.820699999999256, + }, + { + trackType: 1, + timePoint: 47.87939999999851, + }, + { + trackType: 1, + timePoint: 48.36259999999777, + }, + { + trackType: 1, + timePoint: 48.414199999999255, + }, + { + trackType: 1, + timePoint: 48.78219999999926, + }, + { + trackType: 1, + timePoint: 48.846799999997025, + }, + { + trackType: 1, + timePoint: 48.9495, + }, + { + trackType: 1, + timePoint: 49.01339999999851, + }, + { + trackType: 2, + timePoint: 49.378, + }, + { + trackType: 2, + timePoint: 49.430099999997765, + }, + { + trackType: 1, + timePoint: 49.949899999998514, + }, + { + trackType: 2, + timePoint: 50.39359999999777, + }, + { + trackType: 2, + timePoint: 50.44639999999851, + }, + { + trackType: 1, + timePoint: 50.911199999999255, + }, + { + trackType: 1, + timePoint: 50.963399999998515, + }, + { + trackType: 2, + timePoint: 51.37609999999777, + }, + { + trackType: 2, + timePoint: 51.43019999999926, + }, + { + trackType: 1, + timePoint: 52.005500000000005, + }, + { + trackType: 1, + timePoint: 52.06359999999777, + }, + { + trackType: 1, + timePoint: 52.178000000000004, + }, + { + trackType: 1, + timePoint: 52.23029999999702, + }, + { + trackType: 1, + timePoint: 52.32469999999926, + }, + { + trackType: 1, + timePoint: 52.379899999998514, + }, + { + trackType: 0, + timePoint: 52.93409999999777, + }, + { + trackType: 1, + timePoint: 53.911, + }, + { + trackType: 1, + timePoint: 53.9635, + }, + { + trackType: 2, + timePoint: 54.896399999998515, + }, + { + trackType: 2, + timePoint: 54.946599999997765, + }, + { + trackType: 1, + timePoint: 55.91729999999702, + }, + { + trackType: 1, + timePoint: 55.9795, + }, + { + trackType: 0, + timePoint: 57.00569999999925, + }, + { + trackType: 0, + timePoint: 57.06329999999703, + }, + { + trackType: 1, + timePoint: 57.41459999999776, + }, + { + trackType: 1, + timePoint: 57.463399999998515, + }, + { + trackType: 0, + timePoint: 57.91069999999925, + }, + { + trackType: 0, + timePoint: 57.96329999999702, + }, + { + trackType: 1, + timePoint: 58.398199999999264, + }, + { + trackType: 1, + timePoint: 58.46289999999851, + }, + { + trackType: 1, + timePoint: 58.9965, + }, + { + trackType: 2, + timePoint: 59.469099999997766, + }, + { + trackType: 1, + timePoint: 59.93950000000001, + }, + { + trackType: 1, + timePoint: 59.99619999999926, + }, + { + trackType: 2, + timePoint: 60.41519999999926, + }, + { + trackType: 2, + timePoint: 60.47979999999703, + }, + { + trackType: 1, + timePoint: 60.94859999999777, + }, + { + trackType: 1, + timePoint: 61.01319999999926, + }, + { + trackType: 0, + timePoint: 61.47789999999851, + }, + { + trackType: 1, + timePoint: 61.94029999999702, + }, + { + trackType: 1, + timePoint: 61.97919999999925, + }, + { + trackType: 0, + timePoint: 62.445399999998514, + }, + { + trackType: 0, + timePoint: 62.49669999999925, + }, + { + trackType: 1, + timePoint: 62.9285, + }, + { + trackType: 1, + timePoint: 62.97989999999851, + }, + { + trackType: 2, + timePoint: 63.42989999999851, + }, + { + trackType: 2, + timePoint: 63.48009999999776, + }, + { + trackType: 1, + timePoint: 63.90079999999702, + }, + { + trackType: 1, + timePoint: 63.963499999999996, + }, + { + trackType: 2, + timePoint: 64.62059999999776, + }, + { + trackType: 2, + timePoint: 64.68009999999776, + }, + { + trackType: 1, + timePoint: 64.99509999999776, + }, + { + trackType: 1, + timePoint: 65.04579999999703, + }, + { + trackType: 2, + timePoint: 65.45259999999777, + }, + { + trackType: 2, + timePoint: 65.51350000000001, + }, + { + trackType: 1, + timePoint: 65.92879999999703, + }, + { + trackType: 0, + timePoint: 66.4045, + }, + { + trackType: 0, + timePoint: 66.46219999999926, + }, + { + trackType: 1, + timePoint: 66.94429999999703, + }, + { + trackType: 1, + timePoint: 66.9965, + }, + { + trackType: 2, + timePoint: 67.43589999999851, + }, + { + trackType: 2, + timePoint: 67.49639999999852, + }, + { + trackType: 2, + timePoint: 67.89929999999703, + }, + { + trackType: 2, + timePoint: 67.96269999999926, + }, + { + trackType: 2, + timePoint: 68.40459999999777, + }, + { + trackType: 2, + timePoint: 68.46319999999926, + }, + { + trackType: 1, + timePoint: 68.88459999999776, + }, + { + trackType: 1, + timePoint: 68.94629999999702, + }, + { + trackType: 0, + timePoint: 69.4055, + }, + { + trackType: 0, + timePoint: 69.46309999999777, + }, + { + trackType: 1, + timePoint: 69.92739999999851, + }, + { + trackType: 1, + timePoint: 69.97969999999926, + }, + { + trackType: 2, + timePoint: 70.38919999999926, + }, + { + trackType: 2, + timePoint: 70.44659999999777, + }, + { + trackType: 1, + timePoint: 70.897, + }, + { + trackType: 1, + timePoint: 70.94629999999702, + }, + { + trackType: 1, + timePoint: 71.41469999999926, + }, + { + trackType: 1, + timePoint: 71.47889999999852, + }, + { + trackType: 1, + timePoint: 71.87769999999925, + }, + { + trackType: 1, + timePoint: 71.93019999999926, + }, + { + trackType: 1, + timePoint: 71.99659999999777, + }, + { + trackType: 1, + timePoint: 72.40559999999776, + }, + { + trackType: 1, + timePoint: 72.46319999999926, + }, + { + trackType: 1, + timePoint: 72.87679999999702, + }, + { + trackType: 1, + timePoint: 72.92939999999851, + }, + { + trackType: 0, + timePoint: 73.39769999999926, + }, + { + trackType: 0, + timePoint: 73.4625, + }, + { + trackType: 0, + timePoint: 73.8835, + }, + { + trackType: 0, + timePoint: 73.94659999999777, + }, + { + trackType: 1, + timePoint: 74.3925, + }, + { + trackType: 1, + timePoint: 74.4465, + }, + { + trackType: 2, + timePoint: 74.84669999999926, + }, + { + trackType: 2, + timePoint: 74.89669999999926, + }, + { + trackType: 1, + timePoint: 75.39209999999777, + }, + { + trackType: 2, + timePoint: 75.87789999999852, + }, + { + trackType: 2, + timePoint: 75.92989999999851, + }, + { + trackType: 1, + timePoint: 76.33359999999777, + }, + { + trackType: 1, + timePoint: 76.3965, + }, + { + trackType: 0, + timePoint: 76.86929999999703, + }, + { + trackType: 0, + timePoint: 76.92939999999851, + }, + { + trackType: 1, + timePoint: 77.39889999999852, + }, + { + trackType: 1, + timePoint: 77.46309999999777, + }, + { + trackType: 2, + timePoint: 77.91250000000001, + }, + { + trackType: 2, + timePoint: 77.96329999999702, + }, + { + trackType: 1, + timePoint: 78.42019999999926, + }, + { + trackType: 1, + timePoint: 78.47969999999926, + }, + { + trackType: 0, + timePoint: 78.928, + }, + { + trackType: 0, + timePoint: 78.97979999999703, + }, + { + trackType: 1, + timePoint: 79.393, + }, + { + trackType: 1, + timePoint: 79.44839999999851, + }, + { + trackType: 2, + timePoint: 79.87979999999702, + }, + { + trackType: 2, + timePoint: 79.92989999999851, + }, + { + trackType: 1, + timePoint: 80.33159999999776, + }, + { + trackType: 1, + timePoint: 80.39629999999703, + }, + { + trackType: 2, + timePoint: 80.87819999999925, + }, + { + trackType: 2, + timePoint: 80.92989999999851, + }, + { + trackType: 1, + timePoint: 81.54979999999702, + }, + { + trackType: 2, + timePoint: 81.97800000000001, + }, + { + trackType: 2, + timePoint: 82.02969999999925, + }, + { + trackType: 1, + timePoint: 82.94879999999702, + }, + { + trackType: 1, + timePoint: 83.0125, + }, + { + trackType: 2, + timePoint: 83.39859999999777, + }, + { + trackType: 2, + timePoint: 83.46269999999926, + }, + { + trackType: 1, + timePoint: 83.89539999999852, + }, + { + trackType: 1, + timePoint: 83.94550000000001, + }, + { + trackType: 0, + timePoint: 84.42029999999703, + }, + { + trackType: 0, + timePoint: 84.47929999999702, + }, + { + trackType: 1, + timePoint: 84.85209999999776, + }, + { + trackType: 1, + timePoint: 84.91329999999702, + }, + { + trackType: 2, + timePoint: 85.37950000000001, + }, + { + trackType: 2, + timePoint: 85.4288999999985, + }, + { + trackType: 1, + timePoint: 85.87789999999852, + }, + { + trackType: 1, + timePoint: 85.92929999999703, + }, + { + trackType: 1, + timePoint: 86.36569999999926, + }, + { + trackType: 1, + timePoint: 86.42989999999851, + }, + { + trackType: 2, + timePoint: 86.876, + }, + { + trackType: 2, + timePoint: 86.92989999999851, + }, + { + trackType: 1, + timePoint: 87.36159999999776, + }, + { + trackType: 1, + timePoint: 87.41289999999852, + }, + { + trackType: 0, + timePoint: 88.28479999999702, + }, + { + trackType: 0, + timePoint: 88.3465, + }, + { + trackType: 0, + timePoint: 88.413, + }, + { + trackType: 0, + timePoint: 88.47909999999777, + }, + { + trackType: 0, + timePoint: 88.54629999999702, + }, + { + trackType: 0, + timePoint: 88.61309999999777, + }, + ]; + + onLoad() { + // 监听清除所有音符事件 + EventDispatcher.getTarget().on( + EventDispatcher.CLEAR_ALL_NOTE, + this.clearAllNote, + this, + ); + + // 监听过关事件 + EventDispatcher.getTarget().on( + EventDispatcher.PASS_LEVLE, + this.reGenerateNotes, + this, + ); + // 获取基准线的坐标 + this.linePosition = this.lineNode.getPosition(); + } + + start() { + this.createNotes(); + this.updateNoteCount(); + } + + // 创建音符 + private createNotes() { + for (let i = 0; i < this.noteArray.length; i++) { + const note = instantiate(this.notePrefab); + let noteX = 0; + if (this.noteArray[i].trackType == 0) { + noteX = -180; + } else if (this.noteArray[i].trackType == 1) { + noteX = 0; + } else if (this.noteArray[i].trackType == 2) { + noteX = 180; + } + const noteY = + GlobalData.noteSpeed * this.noteArray[i].timePoint + + this.linePosition.y; + + note.setPosition(noteX, noteY); + this.node.addChild(note); + } + } + + // 清除所有音符 + private clearAllNote() { + // 清除所有音符节点 + this.node.removeAllChildren(); + } + + // 重新生成音符 + private reGenerateNotes() { + this.clearAllNote(); + this.createNotes(); + this.updateNoteCount(); + } + + // 更新音符总数的显示 + updateNoteCount() { + this.noteCountLabel.string = "音符数量:" + this.noteArray.length; + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/managers/NoteManager.ts.meta b/assets/seripts/managers/NoteManager.ts.meta new file mode 100644 index 0000000..c73e07d --- /dev/null +++ b/assets/seripts/managers/NoteManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "f2244da7-be8d-4fbe-80d3-3e01758d7c74", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/scenes.meta b/assets/seripts/scenes.meta new file mode 100644 index 0000000..d3178aa --- /dev/null +++ b/assets/seripts/scenes.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "e97362e9-74f8-449b-8da5-adcbe192068a", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/scenes/GameSceneControl.ts b/assets/seripts/scenes/GameSceneControl.ts new file mode 100644 index 0000000..7fc5eac --- /dev/null +++ b/assets/seripts/scenes/GameSceneControl.ts @@ -0,0 +1,125 @@ +import { _decorator, Component, google, Label, Node } from "cc"; +import { GlobalData } from "../config/GlobalData"; +import { EventDispatcher } from "../libs/EventDispatcher"; +import { GameState } from "../config/Config"; +import { MusicManager } from "../managers/MusicManager"; +const { ccclass, property } = _decorator; + +@ccclass("GameSceneControl") +export class GameSceneControl extends Component { + // 当前这一局得分label + @property(Label) + curRoundScoreLabel: Label = null; + + // 当前这句剩余生命值label + @property(Label) + lifeNumLabel: Label = null; + + // ui 节点 + @property(Node) + uiNode: Node = null; + + // 音频管理器 + musicManager: MusicManager = null; + + onLoad() { + // 获取音频管理器 + this.musicManager = this.node.getComponent(MusicManager); + + // 监听小恐龙吃到音符事件 + EventDispatcher.getTarget().on( + EventDispatcher.DINO_EAT_NOTE, + this.updateCurRoundScoreLabel, + this, + ); + // 监听音符碰到线事件 + EventDispatcher.getTarget().on( + EventDispatcher.UPDATE_LIFE, + this.updateLifeNumLabel, + this, + ); + // 监听游戏结束事件 + EventDispatcher.getTarget().on( + EventDispatcher.GAME_OVER, + this.handleEndGame, + this, + ); + // 监听过关事件 + EventDispatcher.getTarget().on( + EventDispatcher.PASS_LEVLE, + this.handlePassLevel, + this, + ); + } + + start() { + // 重置游戏数据 + GlobalData.resetGameData(); + this.startGame(); + } + + startGame() { + // 开始游戏 + this.uiNode.active = true; + // 更新 ui 节点相关数据 + this.updateUi(); + // 设置游戏状态为进行中 + GlobalData.gameState = GameState.PLAYING; + // 开始游戏提示动画 + + // 1 s 后正式开始游戏 + this.scheduleOnce(() => { + // 开始播放背景音乐 + this.playMusic(); + // 发送开始游戏事件 + EventDispatcher.getTarget().emit(EventDispatcher.GAME_STAET); + }, 1); + } + + // 更新 ui + updateUi() { + // 更新本局总得分 + this.updateCurRoundScoreLabel(); + // 更新生命值 + this.updateLifeNumLabel(); + // 更新当前速度的显示 + this.updateSpeed(); + } + + // 更新当前这一局得分 + updateCurRoundScoreLabel() { + this.curRoundScoreLabel.string = GlobalData.curRoundTotalScore.toString(); + } + + // 更新当前这句剩余生命值 + updateLifeNumLabel() { + this.lifeNumLabel.string = "x" + GlobalData.lifeNumPerRound.toString(); + } + + // 更新速度显示 + updateSpeed() {} + + // 暂停游戏 + pauseGame() { + EventDispatcher.getTarget().emit(EventDispatcher.SHOW_PAUSE_MODAL); + } + + // 处理游戏结束时 + handleEndGame() { + // 游戏结束,弹出游戏界面 + this.uiNode.active = false; + } + + // 闯过当前关卡时 重新开始下一轮 + handlePassLevel() { + // 增加速率 + GlobalData.speedRate += GlobalData.speedRateAdd; + // 继续开始游戏 + this.startGame(); + } + + // 播放音乐 + playMusic() { + this.musicManager.play(); + } +} diff --git a/assets/seripts/scenes/GameSceneControl.ts.meta b/assets/seripts/scenes/GameSceneControl.ts.meta new file mode 100644 index 0000000..1b4a15c --- /dev/null +++ b/assets/seripts/scenes/GameSceneControl.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "60d28f0e-e562-4a8a-9321-551fa0e9ab1c", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/scenes/HomeSceneControl.ts b/assets/seripts/scenes/HomeSceneControl.ts new file mode 100644 index 0000000..086d6b2 --- /dev/null +++ b/assets/seripts/scenes/HomeSceneControl.ts @@ -0,0 +1,48 @@ +import { _decorator, Component, director, Node } from "cc"; +import AudioEffect from "../libs/AudioEffect"; +const { ccclass, property } = _decorator; + +@ccclass("HomeSceneCon") +export class HomeSceneCon extends Component { + // 滑动区域节点 + @property(Node) + swipeNode: Node = null; + + start() { + // 监听滑动区域事件 + this.swipeNode.on(Node.EventType.TOUCH_START, this.goToGameScene, this); + } + + // 跳转到游戏场景 + goToGameScene() { + director.preloadScene("game", () => { + director.loadScene("game"); + }); + } + + // 跳转到 love-story 场景 + goToLoveStoryScene() { + AudioEffect.playClickAudio(); + director.preloadScene("love-story", () => { + director.loadScene("love-story"); + }); + } + + // 跳转到 mood 场景 + goToMoodScene() { + AudioEffect.playClickAudio(); + director.preloadScene("mood", () => { + director.loadScene("mood"); + }); + } + + // 跳转到作者场景 + goToAuthorScene() { + AudioEffect.playClickAudio(); + director.preloadScene("author", () => { + director.loadScene("author"); + }); + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/scenes/HomeSceneControl.ts.meta b/assets/seripts/scenes/HomeSceneControl.ts.meta new file mode 100644 index 0000000..3917314 --- /dev/null +++ b/assets/seripts/scenes/HomeSceneControl.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "fd8f17a5-c483-4f69-8a79-bdeca9aa1946", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/ui.meta b/assets/seripts/ui.meta new file mode 100644 index 0000000..ca5fc44 --- /dev/null +++ b/assets/seripts/ui.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "4550d8cf-6b43-46f5-a29e-33332da2db14", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/ui/ContonueModal.ts b/assets/seripts/ui/ContonueModal.ts new file mode 100644 index 0000000..164e6ce --- /dev/null +++ b/assets/seripts/ui/ContonueModal.ts @@ -0,0 +1,104 @@ +import { _decorator, Component, Node, tween, UITransform, Vec3 } from "cc"; +import { EventDispatcher } from "../libs/EventDispatcher"; +import { GlobalData } from "../config/GlobalData"; +import { GameState } from "../config/Config"; +const { ccclass, property } = _decorator; + +@ccclass("ContonueModal") +export class ContonueModal extends Component { + // 滑动区域的节点 + @property(Node) + private swipeNode: Node = null; + + // 提示 1 节点 + @property(Node) + private tipNode1: Node = null; + + // 提示 2 节点 + @property(Node) + private tipNode2: Node = null; + + start() { + // 隐藏继续游戏弹窗 + this.node.active = false; + // 初始化位置 + this.node.setPosition(0, 0, 0); + // 监听继续游戏事件 + EventDispatcher.getTarget().on( + EventDispatcher.SHOW_CONTINUE_MODAL, + this.showModal, + this, + ); + // 监听滑动事件 + this.swipeNode.on(Node.EventType.TOUCH_START, this.onSwipeStart, this); + } + + // 显示继续游戏弹窗 + showModal() { + // 游戏暂停 + GlobalData.gameState = GameState.PAUSED; + // 显示继续游戏弹窗 + this.node.active = true; + // 操作提示动画 + if (GlobalData.lifeNumPerRound > 0) { + // 执行提示1的动画 + this.playTipAnimation(this.tipNode1); + } else { + // 执行提示2的动画 + this.playTipAnimation(this.tipNode2); + } + } + + // 关闭继续游戏弹窗 + closeModal() { + // 关闭继续游戏弹窗 + this.node.active = false; + } + + // 滑动开始事件 + onSwipeStart() { + // 关闭继续游戏弹窗 + this.closeModal(); + // 等 2 s之后恢复游戏 + this.scheduleOnce(() => { + GlobalData.gameState = GameState.PLAYING; + // 发送继续游戏事件 + EventDispatcher.getTarget().emit(EventDispatcher.GAME_RESUME); + }, 2); + } + + // 暂停游戏 + onPauseGame() { + console.log(111, "暂停游戏"); + // 发送暂停事件 + EventDispatcher.getTarget().emit(EventDispatcher.SHOW_PAUSE_MODAL); + } + + // 播放提示1的动画 + playTipAnimation(tNode: Node) { + // 显示提示1 + tNode.active = true; + // 获取提示节点的位置 + const oriPos = tNode.getPosition().clone(); + // 获取提示的宽度 + const tipWidth = tNode.getComponent(UITransform).width + 5; + // 执行动画 + tween(tNode) + .to(0.3, { + position: new Vec3(oriPos.x - tipWidth, oriPos.y, 0), + }) + .delay(0.8) + .to(0.3, { + position: oriPos, + }) + .call(() => { + // 隐藏提示1 + tNode.active = false; + // 重置节点位置 + tNode.setPosition(oriPos); + }) + .start(); + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/ui/ContonueModal.ts.meta b/assets/seripts/ui/ContonueModal.ts.meta new file mode 100644 index 0000000..3cfb629 --- /dev/null +++ b/assets/seripts/ui/ContonueModal.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "6ae5f280-b903-4537-b1d2-b9bbccba26b8", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/ui/PauseModal.ts b/assets/seripts/ui/PauseModal.ts new file mode 100644 index 0000000..c5b1df3 --- /dev/null +++ b/assets/seripts/ui/PauseModal.ts @@ -0,0 +1,53 @@ +import { _decorator, Component, director, Node } from "cc"; +import { EventDispatcher } from "../libs/EventDispatcher"; +const { ccclass, property } = _decorator; + +@ccclass("PauseModal") +export class PauseModal extends Component { + start() { + // 隐藏暂停游戏弹窗 + this.node.active = false; + // 初始化位置 + this.node.setPosition(0, 0, 0); + // 监听继续游戏事件 + EventDispatcher.getTarget().on( + EventDispatcher.SHOW_PAUSE_MODAL, + this.showModal, + this, + ); + } + + // 显示弹窗 + showModal() { + this.node.active = true; + // 暂停游戏 + director.pause(); + // 发送暂停游戏事件 + EventDispatcher.getTarget().emit(EventDispatcher.GAME_PAUSE); + // 发送继续游戏弹窗 + EventDispatcher.getTarget().emit(EventDispatcher.SHOW_CONTINUE_MODAL); + } + + // 关闭弹窗 + closeModal() { + this.node.active = false; + // 恢复游戏继续 + director.resume(); + } + + // 回到首页 + backToHome() { + // 恢复游戏继续 + director.resume(); + // 跳转到首页 + director.loadScene("home"); + } + + // 继续游戏 + resumeGame() { + // 关闭弹窗 + this.closeModal(); + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/ui/PauseModal.ts.meta b/assets/seripts/ui/PauseModal.ts.meta new file mode 100644 index 0000000..1377744 --- /dev/null +++ b/assets/seripts/ui/PauseModal.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "976546b4-b786-4c64-b005-ca9feafa8dbd", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/seripts/ui/ResultModal.ts b/assets/seripts/ui/ResultModal.ts new file mode 100644 index 0000000..463192b --- /dev/null +++ b/assets/seripts/ui/ResultModal.ts @@ -0,0 +1,193 @@ +import { + _decorator, + Component, + director, + Label, + Node, + tween, + UITransform, + Vec3, +} from "cc"; +import { EventDispatcher } from "../libs/EventDispatcher"; +import { GlobalData } from "../config/GlobalData"; +import AudioEffect from "../libs/AudioEffect"; +const { ccclass, property } = _decorator; + +@ccclass("ResultModal") +export class ResultModal extends Component { + // 本局得分的 label + @property(Label) + scoreLabel: Label = null; + + // 最佳得分 label + @property(Label) + bestScoreLabel: Label = null; + + // 总的金币数 label + @property(Label) + totalScoreLabel: Label = null; + + // 回到首页的按钮节点 + @property(Node) + backToHomeBtn: Node = null; + + // 提示节点 + @property(Node) + tipNode: Node = null; + + start() { + // 隐藏结果弹窗 + this.node.active = false; + // 设置位置 + this.node.setPosition(0, 0); + // 注册打开结果弹窗的事件 + EventDispatcher.getTarget().on( + EventDispatcher.SHOW_RESULT_MODAL, + this.openModal, + this, + ); + } + + // 打开结果弹窗 + openModal() { + // 显示结果弹窗 + this.node.active = true; + // 设置当前得分 + this.scoreLabel.string = GlobalData.curRoundTotalScore.toString(); + // 累计总的金币数 + GlobalData.totalScore += GlobalData.curRoundTotalScore; + // 设置总的金币数 + this.setTotalScoreLabel(); + // 设置当前用户最好的得分成绩 + this.setCurUserBestScoreLabel(); + // 执行相关动效 + this.scheduleOnce(async () => { + await this.playGoldEffect(); + // 再执行提示信息的动画 + this.playTipAni(); + // 显示回到首页的按钮 + this.backToHomeBtn.active = true; + }, 1); + } + + // 关闭游戏结束弹窗方法 + closeModal() { + this.node.active = false; + // 隐藏回到首页的按钮 + this.backToHomeBtn.active = false; + // 重置分数 + this.scoreLabel.string = "0"; + } + + setTotalScoreLabel() { + this.totalScoreLabel.string = GlobalData.totalScore.toString(); + } + + setCurUserBestScoreLabel() { + const bestScore = GlobalData.bestScore; + // 如果当前成绩大于最好成绩 更新最好成绩 + if (GlobalData.curRoundTotalScore > bestScore) { + GlobalData.bestScore = GlobalData.curRoundTotalScore; + } + // 设置最佳得分 label + this.bestScoreLabel.string = GlobalData.bestScore.toString(); + } + + setBestScoreLabel() {} + + // 播放金币特效 + async playGoldEffect() { + // 获取 gold coins 节点 + const goldCoinsNode = this.node + .getChildByName("panel") + .getChildByName("gold_coins"); + // 开启此节点 + goldCoinsNode.active = true; + + // 播放撒金币音效 + AudioEffect.playGoldAudio(); + // 0.5 s 后执行入账音效 + this.scheduleOnce(() => { + AudioEffect.playCoinsEntryAudio(); + }, 0.5); + // 获取所有金币子节点 + const goldCoinsList = goldCoinsNode.children; + // 获取显示金币数量的标签节点 + const goldCoinsNumNode = this.node + .getChildByName("gold_label") + .getChildByName("gold_num"); + // 获取目标节点的位置 + const targetPos = goldCoinsNumNode.getWorldPosition(); + // 遍历金币子节点 + for (let i = 0; i < goldCoinsList.length; i++) { + // 克隆位置 + const targetPosColne = targetPos.clone(); + // 执行单个金币的动画 + const goldCoin = goldCoinsList[i]; + await this.playSingleGoldAni(goldCoin, targetPosColne); + } + } + + // 执行单个金币的动画 + async playSingleGoldAni(goldCoin: Node, targetPos: Vec3) { + return new Promise((resolve) => { + tween(goldCoin) + .by(0.2, { + position: new Vec3(0, -30, 0), + }) + .call(() => { + // 开始执行下一个 + resolve(true); + // 获取金币的世界坐标 + const goleCoinWorldPos = goldCoin.getWorldPosition(); + // 计算金币节点与目标距离的差值 + const diffPost = targetPos.subtract(goleCoinWorldPos); + // 再缓动到目标位置 + tween(goldCoin) + .by(0.5, { position: diffPost }) + .call(() => { + // 金币消失 + goldCoin.active = false; + }) + .start(); + }) + .start(); + }); + } + + // 执行提示动画 + playTipAni() { + // 开启提示 + this.tipNode.active = true; + // 获取提示的位置 + const oriPos = this.tipNode.getPosition().clone(); + // 获取提示的宽度 + const tipWidth = this.tipNode.getComponent(UITransform).width + 5; + + // 执行动画 + tween(this.tipNode) + .to(0.3, { + position: new Vec3(oriPos.x - tipWidth, oriPos.y, 0), + }) + .delay(0.8) + .to(0.3, { + position: oriPos, + }) + .call(() => { + // 隐藏提示1 + this.tipNode.active = false; + // 重置节点位置 + this.tipNode.setPosition(oriPos); + }) + .start(); + } + + // 回到首页 + backToHome() { + // 播放点击音效 + AudioEffect.playClickAudio(); + director.loadScene("home"); + } + + update(deltaTime: number) {} +} diff --git a/assets/seripts/ui/ResultModal.ts.meta b/assets/seripts/ui/ResultModal.ts.meta new file mode 100644 index 0000000..7d5136d --- /dev/null +++ b/assets/seripts/ui/ResultModal.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "44c80c77-90c5-4293-84b6-4c2d541d2f1b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..4c7447b --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "dino", + "uuid": "3622d9a3-86ba-4a6a-bbca-148d6b16956c", + "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..3999e71 --- /dev/null +++ b/settings/v2/packages/builder.json @@ -0,0 +1,34 @@ +{ + "__version__": "1.3.9", + "bundleConfig": { + "custom": { + "default": { + "displayName": "i18n:builder.asset_bundle.defaultConfig", + "configs": { + "native": { + "preferredOptions": { + "isRemote": false, + "compressionType": "merge_dep" + } + }, + "web": { + "preferredOptions": { + "isRemote": false, + "compressionType": "merge_dep" + }, + "fallbackOptions": { + "compressionType": "merge_dep" + } + }, + "miniGame": { + "fallbackOptions": { + "isRemote": true, + "compressionType": "merge_dep" + }, + "configMode": "fallback" + } + } + } + } + } +} diff --git a/settings/v2/packages/cocos-service.json b/settings/v2/packages/cocos-service.json new file mode 100644 index 0000000..269ed6a --- /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": "8fcae1" + } + ], + "configs": [ + { + "app_id": "UNKNOW", + "config_id": "8fcae1", + "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..91519f6 --- /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-builtin" + }, + "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-builtin", + "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..243ba6e --- /dev/null +++ b/settings/v2/packages/information.json @@ -0,0 +1,23 @@ +{ + "__version__": "1.0.1", + "information": { + "customSplash": { + "id": "customSplash", + "label": "customSplash", + "enable": true, + "customSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?sid=9350f1c1db20566f018c2b8ae9e8636a" + } + }, + "removeSplash": { + "id": "removeSplash", + "label": "removeSplash", + "enable": true, + "removeSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?sid=9350f1c1db20566f018c2b8ae9e8636a" + } + } + } +} 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..6838841 --- /dev/null +++ b/settings/v2/packages/project.json @@ -0,0 +1,31 @@ +{ + "__version__": "1.0.6", + "general": { + "designResolution": { + "width": 720, + "height": 1280 + } + }, + "physics": { + "collisionGroups": [ + { + "index": 1, + "name": "Dino" + }, + { + "index": 2, + "name": "Note" + }, + { + "index": 3, + "name": "Line" + } + ], + "collisionMatrix": { + "0": 1, + "1": 4, + "2": 10, + "3": 4 + } + } +} 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 + } +}