commit 0d3072c20a3fbb17852edf2131eacf4be812094d Author: admin <1782158860@qq.com> Date: Mon Apr 24 15:19:08 2023 +0800 init 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/.gitignore b/.gitignore new file mode 100644 index 0000000..cfe6f8e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/temp +/library +/profiles diff --git a/assets/an.meta b/assets/an.meta new file mode 100644 index 0000000..814e59a --- /dev/null +++ b/assets/an.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "0df82360-35f6-4142-aaf7-1816ed12c6ff", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/an/p_an.anim b/assets/an/p_an.anim new file mode 100644 index 0000000..4a9163a --- /dev/null +++ b/assets/an/p_an.anim @@ -0,0 +1,654 @@ +[ + { + "__type__": "cc.AnimationClip", + "_name": "p_an", + "_objFlags": 0, + "__editorExtras__": { + "embeddedPlayerGroups": [] + }, + "_native": "", + "sample": 60, + "speed": 1, + "wrapMode": 2, + "enableTrsBlending": false, + "_duration": 0.36666666666666664, + "_hash": 500763545, + "_tracks": [ + { + "__id__": 1 + } + ], + "_exoticAnimation": null, + "_events": [], + "_embeddedPlayers": [] + }, + { + "__type__": "cc.animation.VectorTrack", + "_binding": { + "__type__": "cc.animation.TrackBinding", + "path": { + "__id__": 2 + }, + "proxy": null + }, + "_channels": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_nComponents": 3 + }, + { + "__type__": "cc.animation.TrackPath", + "_paths": [ + "eulerAngles" + ] + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 4 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 0.03333333333333333, + 0.06666666666666667, + 0.1, + 0.13333333333333333, + 0.16666666666666666, + 0.2, + 0.23333333333333334, + 0.26666666666666666, + 0.3, + 0.3333333333333333, + 0.36666666666666664 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -30, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -60, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -90, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -120, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -150, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -180, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -210, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -240, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -270, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -300, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -330, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": -360, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 6 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 0.03333333333333333, + 0.06666666666666667, + 0.1, + 0.13333333333333333, + 0.16666666666666666, + 0.2, + 0.23333333333333334, + 0.26666666666666666, + 0.3, + 0.3333333333333333, + 0.36666666666666664 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 8 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [ + 0, + 0.03333333333333333, + 0.06666666666666667, + 0.1, + 0.13333333333333333, + 0.16666666666666666, + 0.2, + 0.23333333333333334, + 0.26666666666666666, + 0.3, + 0.3333333333333333, + 0.36666666666666664 + ], + "_values": [ + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + } + ], + "preExtrapolation": 1, + "postExtrapolation": 1 + }, + { + "__type__": "cc.animation.Channel", + "_curve": { + "__id__": 10 + } + }, + { + "__type__": "cc.RealCurve", + "_times": [], + "_values": [], + "preExtrapolation": 1, + "postExtrapolation": 1 + } +] \ No newline at end of file diff --git a/assets/an/p_an.anim.meta b/assets/an/p_an.anim.meta new file mode 100644 index 0000000..1a8406a --- /dev/null +++ b/assets/an/p_an.anim.meta @@ -0,0 +1,13 @@ +{ + "ver": "2.0.3", + "importer": "animation-clip", + "imported": true, + "uuid": "c5e86312-71cc-4df5-bdef-dcf86f5a996f", + "files": [ + ".cconb" + ], + "subMetas": {}, + "userData": { + "name": "p_an" + } +} diff --git a/assets/res.meta b/assets/res.meta new file mode 100644 index 0000000..23298d0 --- /dev/null +++ b/assets/res.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "575103f3-ee34-49e6-8252-08e7bbca1f30", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/res/cz.meta b/assets/res/cz.meta new file mode 100644 index 0000000..981d0ee --- /dev/null +++ b/assets/res/cz.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "fab993f1-8c4e-4236-86d7-39b531aaa57f", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/res/cz/bcz.mtl b/assets/res/cz/bcz.mtl new file mode 100644 index 0000000..d7c6d31 --- /dev/null +++ b/assets/res/cz/bcz.mtl @@ -0,0 +1,35 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc", + "__expectedType__": "cc.EffectAsset" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_TEXTURE": true + } + ], + "_states": [ + { + "rasterizerState": {}, + "depthStencilState": {}, + "blendState": { + "targets": [ + {} + ] + } + } + ], + "_props": [ + { + "mainTexture": { + "__uuid__": "295f8245-e861-41cf-800d-25dbf49c3107@6c48a", + "__expectedType__": "cc.Texture2D" + } + } + ] +} \ No newline at end of file diff --git a/assets/res/cz/bcz.mtl.meta b/assets/res/cz/bcz.mtl.meta new file mode 100644 index 0000000..41cfebe --- /dev/null +++ b/assets/res/cz/bcz.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.20", + "importer": "material", + "imported": true, + "uuid": "65fc2538-3310-45c4-9d0c-de9543ae8d27", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/res/cz/pcz.mtl b/assets/res/cz/pcz.mtl new file mode 100644 index 0000000..8b29b6f --- /dev/null +++ b/assets/res/cz/pcz.mtl @@ -0,0 +1,35 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc", + "__expectedType__": "cc.EffectAsset" + }, + "_techIdx": 0, + "_defines": [ + { + "USE_TEXTURE": true + } + ], + "_states": [ + { + "rasterizerState": {}, + "depthStencilState": {}, + "blendState": { + "targets": [ + {} + ] + } + } + ], + "_props": [ + { + "mainTexture": { + "__uuid__": "1f45c9ec-1041-4288-b052-b382ed901847@6c48a", + "__expectedType__": "cc.Texture2D" + } + } + ] +} \ No newline at end of file diff --git a/assets/res/cz/pcz.mtl.meta b/assets/res/cz/pcz.mtl.meta new file mode 100644 index 0000000..6e4702a --- /dev/null +++ b/assets/res/cz/pcz.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.20", + "importer": "material", + "imported": true, + "uuid": "c999a75a-ca44-450e-a84b-3b92179632e1", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/res/cz/zdcz.mtl b/assets/res/cz/zdcz.mtl new file mode 100644 index 0000000..91fd1f6 --- /dev/null +++ b/assets/res/cz/zdcz.mtl @@ -0,0 +1,35 @@ +{ + "__type__": "cc.Material", + "_name": "", + "_objFlags": 0, + "_native": "", + "_effectAsset": { + "__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc", + "__expectedType__": "cc.EffectAsset" + }, + "_techIdx": 3, + "_defines": [ + { + "USE_TEXTURE": true + } + ], + "_states": [ + { + "rasterizerState": {}, + "depthStencilState": {}, + "blendState": { + "targets": [ + {} + ] + } + } + ], + "_props": [ + { + "mainTexture": { + "__uuid__": "2f73d407-7579-4fda-b608-304d346c6477@6c48a", + "__expectedType__": "cc.Texture2D" + } + } + ] +} \ No newline at end of file diff --git a/assets/res/cz/zdcz.mtl.meta b/assets/res/cz/zdcz.mtl.meta new file mode 100644 index 0000000..b50dddb --- /dev/null +++ b/assets/res/cz/zdcz.mtl.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.20", + "importer": "material", + "imported": true, + "uuid": "13c72663-e426-43b8-8079-19731f6256bc", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/res/img.meta b/assets/res/img.meta new file mode 100644 index 0000000..d9d6418 --- /dev/null +++ b/assets/res/img.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "32d32426-fdfe-43db-93f8-f5626415b6c3", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/res/img/bg1.png b/assets/res/img/bg1.png new file mode 100644 index 0000000..88c4b59 Binary files /dev/null and b/assets/res/img/bg1.png differ diff --git a/assets/res/img/bg1.png.meta b/assets/res/img/bg1.png.meta new file mode 100644 index 0000000..8955601 --- /dev/null +++ b/assets/res/img/bg1.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "295f8245-e861-41cf-800d-25dbf49c3107", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "295f8245-e861-41cf-800d-25dbf49c3107@6c48a", + "displayName": "bg1", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "295f8245-e861-41cf-800d-25dbf49c3107", + "visible": true + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": false, + "type": "texture", + "redirect": "295f8245-e861-41cf-800d-25dbf49c3107@6c48a" + } +} diff --git a/assets/res/img/p1.png b/assets/res/img/p1.png new file mode 100644 index 0000000..f87a232 Binary files /dev/null and b/assets/res/img/p1.png differ diff --git a/assets/res/img/p1.png.meta b/assets/res/img/p1.png.meta new file mode 100644 index 0000000..615e9d7 --- /dev/null +++ b/assets/res/img/p1.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "1f45c9ec-1041-4288-b052-b382ed901847", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "1f45c9ec-1041-4288-b052-b382ed901847@6c48a", + "displayName": "p1", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "1f45c9ec-1041-4288-b052-b382ed901847", + "visible": true + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": false, + "type": "texture", + "redirect": "1f45c9ec-1041-4288-b052-b382ed901847@6c48a" + } +} diff --git a/assets/res/img/zd1.png b/assets/res/img/zd1.png new file mode 100644 index 0000000..210d372 Binary files /dev/null and b/assets/res/img/zd1.png differ diff --git a/assets/res/img/zd1.png.meta b/assets/res/img/zd1.png.meta new file mode 100644 index 0000000..bb10792 --- /dev/null +++ b/assets/res/img/zd1.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.25", + "importer": "image", + "imported": true, + "uuid": "2f73d407-7579-4fda-b608-304d346c6477", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "2f73d407-7579-4fda-b608-304d346c6477@6c48a", + "displayName": "zd1", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "2f73d407-7579-4fda-b608-304d346c6477", + "visible": true + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "fixAlphaTransparencyArtifacts": true, + "hasAlpha": true, + "type": "texture", + "redirect": "2f73d407-7579-4fda-b608-304d346c6477@6c48a" + } +} diff --git a/assets/res/yz.meta b/assets/res/yz.meta new file mode 100644 index 0000000..82c0d96 --- /dev/null +++ b/assets/res/yz.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "92f0bb2b-e58c-4246-9f49-b3e8a21204b9", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/res/yz/zdyz.prefab b/assets/res/yz/zdyz.prefab new file mode 100644 index 0000000..8545e67 --- /dev/null +++ b/assets/res/yz/zdyz.prefab @@ -0,0 +1,148 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "zdyz", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "zdyz", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 5.8 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865475, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Quad", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 3 + }, + "_materials": [ + { + "__uuid__": "13c72663-e426-43b8-8079-19731f6256bc", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 4 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@fc873", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "21/ErUldpOD4I9DXiW27hM" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "e62100WLOhFUqQe3StYLJiO", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "z_speed": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20Efwa+0pH+IB78Clf/cO5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d1jZnG8JRJzKbZX2BPhzI1", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/res/yz/zdyz.prefab.meta b/assets/res/yz/zdyz.prefab.meta new file mode 100644 index 0000000..243b38a --- /dev/null +++ b/assets/res/yz/zdyz.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.43", + "importer": "prefab", + "imported": true, + "uuid": "927e5c75-235e-462e-a0f2-d6f87bbe8349", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "zdyz" + } +} diff --git a/assets/scene.scene b/assets/scene.scene new file mode 100644 index 0000000..c78005f --- /dev/null +++ b/assets/scene.scene @@ -0,0 +1,1301 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "scene", + "_objFlags": 0, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "scene", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 14 + }, + { + "__id__": 19 + }, + { + "__id__": 28 + }, + { + "__id__": 27 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 37 + }, + "_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__": 38 + }, + "_id": "ca039486-6d99-4899-b33c-bc3628c6b455" + }, + { + "__type__": "cc.Node", + "_name": "Main Light", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.06397656665577071, + "y": -0.44608233363525845, + "z": -0.8239028751062036, + "w": -0.3436591377065261 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -117.894, + "y": -194.909, + "z": 38.562 + }, + "_id": "c0y6F5f+pAvI805TdmxIjx" + }, + { + "__type__": "cc.DirectionalLight", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 250, + "b": 240, + "a": 255 + }, + "_useColorTemperature": false, + "_colorTemperature": 6550, + "_staticSettings": { + "__id__": 4 + }, + "_visibility": -325058561, + "_illuminanceHDR": 65000, + "_illuminance": 65000, + "_illuminanceLDR": 1.6927083333333335, + "_shadowEnabled": false, + "_shadowPcf": 0, + "_shadowBias": 0.00001, + "_shadowNormalBias": 0, + "_shadowSaturation": 1, + "_shadowDistance": 50, + "_shadowInvisibleOcclusionRange": 200, + "_csmLevel": 4, + "_csmLayerLambda": 0.75, + "_csmOptimizationMode": 2, + "_csmAdvancedOptions": false, + "_csmLayersTransition": false, + "_csmTransitionRange": 0.05, + "_shadowFixedArea": false, + "_shadowNear": 0.1, + "_shadowFar": 10, + "_shadowOrthoSize": 5, + "_id": "597uMYCbhEtJQc0ffJlcgA" + }, + { + "__type__": "cc.StaticLightSettings", + "_baked": false, + "_editorOnly": false, + "_castShadow": false + }, + { + "__type__": "cc.Node", + "_name": "Main Camera", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": -0.7071067811865475, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": -90, + "y": 0, + "z": 0 + }, + "_id": "c9DMICJLFO5IeO07EPon7U" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 0, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 8.8, + "_near": 0, + "_far": 6, + "_color": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 14, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 1822425087, + "_targetTexture": null, + "_cameraType": -1, + "_trackingType": 0, + "_id": "7dWQTpwS5LrIHnc1zAPUtf" + }, + { + "__type__": "cc.Node", + "_name": "bgout", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 8 + }, + { + "__id__": 11 + } + ], + "_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 + }, + "_id": "13kGpJwtVEs7ewWARyf8yT" + }, + { + "__type__": "cc.Node", + "_name": "bg1", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1.8 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "793t5iqR9DoJED+oIDA+zn" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Plane", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "65fc2538-3310-45c4-9d0c-de9543ae8d27", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 10 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@2e76e", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "d0aW0wL7tBo6KP/jqtPC6z" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "bg2", + "_objFlags": 0, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 18 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1.8 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "7ec9Xp2fJGO7V2arj4/af6" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Plane", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "65fc2538-3310-45c4-9d0c-de9543ae8d27", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 13 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@2e76e", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "44sr571LJJb5QHFQpdfvoo" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Node", + "_name": "pout", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 15 + } + ], + "_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 + }, + "_id": "56ACBYKItIbaBfyI2Dit42" + }, + { + "__type__": "cc.Node", + "_name": "p", + "_objFlags": 0, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 7 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.5, + "y": 1.5, + "z": 1.5 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "67/ZKmLYtGja92sG1iAFCH" + }, + { + "__type__": "cc.MeshRenderer", + "_name": "Sphere", + "_objFlags": 0, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "_materials": [ + { + "__uuid__": "c999a75a-ca44-450e-a84b-3b92179632e1", + "__expectedType__": "cc.Material" + } + ], + "_visFlags": 0, + "bakeSettings": { + "__id__": 17 + }, + "_mesh": { + "__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@17020", + "__expectedType__": "cc.Mesh" + }, + "_shadowCastingMode": 0, + "_shadowReceivingMode": 1, + "_shadowBias": 0, + "_shadowNormalBias": 0, + "_reflectionProbeId": -1, + "_enableMorph": true, + "_id": "3fRUCeOAFEbZvCoXKCxwe2" + }, + { + "__type__": "cc.ModelBakeSettings", + "texture": null, + "uvParam": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_bakeable": false, + "_castShadow": false, + "_receiveShadow": false, + "_recieveShadow": false, + "_lightmapSize": 64, + "_useLightProbe": false, + "_bakeToLightProbe": true, + "_reflectionProbeType": 0, + "_bakeToReflectionProbe": true, + "_probeCubemap": null + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "playOnLoad": false, + "_clips": [ + { + "__uuid__": "c5e86312-71cc-4df5-bdef-dcf86f5a996f", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "c5e86312-71cc-4df5-bdef-dcf86f5a996f", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "4cJ3HZzDtM0I5o3yqIRg7q" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 20 + } + ], + "_active": true, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + }, + { + "__id__": 25 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 480, + "y": 320, + "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": "bduxjDCS9OFLM/bW9Eujlx" + }, + { + "__type__": "cc.Node", + "_name": "Camera", + "_objFlags": 0, + "_parent": { + "__id__": 19 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 21 + } + ], + "_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": "ab1TEbU0tMMb63QZ2Ze0oH" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 1073741824, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 320, + "_near": 1, + "_far": 2000, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 6, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 41943040, + "_targetTexture": null, + "_cameraType": -1, + "_trackingType": 0, + "_id": "f7GYA4GQJMXJMUIL+Xo5FQ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 960, + "height": 640 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "81ThLjFxFGUJ3dE8oMqQKI" + }, + { + "__type__": "cc.Canvas", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": null, + "_cameraComponent": { + "__id__": 21 + }, + "_alignCanvasWithScreen": true, + "_id": "f8IZPuYwdFhIjGdwGBo5mD" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 19 + }, + "_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": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "cfcZacJ4VBW69GK+wXkDeF" + }, + { + "__type__": "9f133QLojZPapTabWlzX6Uv", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": null, + "gm": { + "__id__": 26 + }, + "bg1": { + "__id__": 8 + }, + "bg2": { + "__id__": 11 + }, + "plane": { + "__id__": 15 + }, + "p_speed": 1, + "p_an": { + "__id__": 18 + }, + "_id": "60UP9sVhlOWIBaVnUB5ky0" + }, + { + "__type__": "7dcc9JGNRlH+JCc98X86FLD", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "plant": { + "__id__": 15 + }, + "zdOut": { + "__id__": 28 + }, + "zd1": { + "__uuid__": "927e5c75-235e-462e-a0f2-d6f87bbe8349", + "__expectedType__": "cc.Prefab" + }, + "zd_speed": 0.2, + "new_zd_time": 0.3, + "_new_zd_time": 0, + "_id": "aaX4RqMLVAKL2tbj7n23Tn" + }, + { + "__type__": "cc.Node", + "_name": "gameManager", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 26 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "62x4MGVE5D2a6WhTvN6i6j" + }, + { + "__type__": "cc.Node", + "_name": "zdout", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 29 + } + ], + "_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 + }, + "_id": "36euKEeNRMB7f6spnLH6CN" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 28 + }, + "_prefab": { + "__id__": 30 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 29 + }, + "asset": { + "__uuid__": "927e5c75-235e-462e-a0f2-d6f87bbe8349", + "__expectedType__": "cc.Prefab" + }, + "fileId": "d1jZnG8JRJzKbZX2BPhzI1", + "instance": { + "__id__": 31 + }, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "89IQB+6uBGu4Tb/oSdKwAJ", + "prefabRootNode": null, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 32 + }, + { + "__id__": 34 + }, + { + "__id__": 35 + }, + { + "__id__": 36 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_name" + ], + "value": "zdyz" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "d1jZnG8JRJzKbZX2BPhzI1" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 5.201 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": -0.7071067811865475, + "y": 0, + "z": 0, + "w": 0.7071067811865476 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 33 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": -90, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": null, + "asset": null, + "fileId": "ca039486-6d99-4899-b33c-bc3628c6b455", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 29 + } + ] + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 39 + }, + "shadows": { + "__id__": 40 + }, + "_skybox": { + "__id__": 41 + }, + "fog": { + "__id__": 42 + }, + "octree": { + "__id__": 43 + }, + "lightProbeInfo": { + "__id__": 44 + }, + "bakedWithStationaryMainLight": false, + "bakedWithHighpLightmap": false + }, + { + "__type__": "cc.AmbientInfo", + "_skyColorHDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 0.520833125 + }, + "_skyColor": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 0.520833125 + }, + "_skyIllumHDR": 20000, + "_skyIllum": 20000, + "_groundAlbedoHDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + }, + "_groundAlbedo": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + }, + "_skyColorLDR": { + "__type__": "cc.Vec4", + "x": 0.452588, + "y": 0.607642, + "z": 0.755699, + "w": 0 + }, + "_skyIllumLDR": 0.8, + "_groundAlbedoLDR": { + "__type__": "cc.Vec4", + "x": 0.618555, + "y": 0.577848, + "z": 0.544564, + "w": 0 + } + }, + { + "__type__": "cc.ShadowsInfo", + "_enabled": false, + "_type": 0, + "_normal": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 0 + }, + "_distance": 0, + "_shadowColor": { + "__type__": "cc.Color", + "r": 76, + "g": 76, + "b": 76, + "a": 255 + }, + "_maxReceived": 4, + "_size": { + "__type__": "cc.Vec2", + "x": 1024, + "y": 1024 + } + }, + { + "__type__": "cc.SkyboxInfo", + "_envLightingType": 0, + "_envmapHDR": { + "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_envmap": { + "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_envmapLDR": { + "__uuid__": "6f01cf7f-81bf-4a7e-bd5d-0afc19696480@b47c0", + "__expectedType__": "cc.TextureCube" + }, + "_diffuseMapHDR": null, + "_diffuseMapLDR": null, + "_enabled": true, + "_useHDR": true, + "_editableMaterial": null, + "_reflectionHDR": null, + "_reflectionLDR": null, + "_rotationAngle": 0 + }, + { + "__type__": "cc.FogInfo", + "_type": 0, + "_fogColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_enabled": false, + "_fogDensity": 0.3, + "_fogStart": 0.5, + "_fogEnd": 300, + "_fogAtten": 5, + "_fogTop": 1.5, + "_fogRange": 1.2, + "_accurate": false + }, + { + "__type__": "cc.OctreeInfo", + "_enabled": false, + "_minPos": { + "__type__": "cc.Vec3", + "x": -1024, + "y": -1024, + "z": -1024 + }, + "_maxPos": { + "__type__": "cc.Vec3", + "x": 1024, + "y": 1024, + "z": 1024 + }, + "_depth": 8 + }, + { + "__type__": "cc.LightProbeInfo", + "_giScale": 1, + "_giSamples": 1024, + "_bounces": 2, + "_reduceRinging": 0, + "_showProbe": true, + "_showWireframe": true, + "_showConvex": false, + "_data": null + } +] \ No newline at end of file diff --git a/assets/scene.scene.meta b/assets/scene.scene.meta new file mode 100644 index 0000000..d342358 --- /dev/null +++ b/assets/scene.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.43", + "importer": "scene", + "imported": true, + "uuid": "ca039486-6d99-4899-b33c-bc3628c6b455", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/src.meta b/assets/src.meta new file mode 100644 index 0000000..570aba8 --- /dev/null +++ b/assets/src.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "442c1156-5d45-4f90-a24c-62f95b72cf71", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/assets/src/UIMain.ts b/assets/src/UIMain.ts new file mode 100644 index 0000000..c6e0f8e --- /dev/null +++ b/assets/src/UIMain.ts @@ -0,0 +1,77 @@ +import { _decorator, Component, Node, input, Input, EventTouch, Animation } from 'cc'; +import { gameManager } from './gameManager'; +const { ccclass, property } = _decorator; + +@ccclass('UIMain') +export class UIMain extends Component { + + @property(gameManager) + public gm:gameManager = null; + + @property(Node) + public bg1:Node = null; + + @property(Node) + public bg2:Node = null; + + @property(Node) + public plane:Node = null; + + //背景滚动速度 + public bg_sd:number = 1; + + //背景滚动最大距离 + public bg_max:number = 10; + + //plane移动速度 + @property + public p_speed:number = 1; + + //plane移动动画 + @property(Animation) + public p_an:Animation = null; + + start() { + + //背景 + this.bg1.setPosition(0,0,0); + this.bg2.setPosition(0,0,-this.bg_max); + + //plane + this.node.on(Input.EventType.TOUCH_MOVE,this.onmove,this); + this.node.on(Input.EventType.TOUCH_START,this.onmoves,this); + this.node.on(Input.EventType.TOUCH_END,this.onmovee,this); + + + } + + update(deltaTime: number) { + + //背景 + this.bg1.setPosition(0,0,this.bg1.position.z+deltaTime*this.bg_sd); + this.bg2.setPosition(0,0,this.bg2.position.z+deltaTime*this.bg_sd); + if(this.bg1.position.z>this.bg_max) this.bg1.setPosition(0,0,this.bg2.position.z-this.bg_max); + else if(this.bg2.position.z>this.bg_max) this.bg2.setPosition(0,0,this.bg1.position.z-this.bg_max); + + + } + + onmove(event:EventTouch){ + const delat = event.touch.getDelta(); + const pos = this.plane.position; + this.plane.setPosition(pos.x + 0.01 * this.p_speed * delat.x, pos.y, pos.z - 0.01 * this.p_speed * delat.y); + } + + onmoves(event:EventTouch){ + this.p_an.crossFade('p_an', .5); + this.gm.isTouch(true); + //this.plane.setPosition(event.touch.getLocationX(),this.plane.position.y,event.touch.getLocationY()); + } + + onmovee(event:EventTouch){ + this.p_an.stop(); + this.gm.isTouch(false); + } + +} + diff --git a/assets/src/UIMain.ts.meta b/assets/src/UIMain.ts.meta new file mode 100644 index 0000000..8012589 --- /dev/null +++ b/assets/src/UIMain.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "9f13340b-a236-4f6a-94da-6d69735fa52f", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/src/gameManager.ts b/assets/src/gameManager.ts new file mode 100644 index 0000000..842e43a --- /dev/null +++ b/assets/src/gameManager.ts @@ -0,0 +1,59 @@ +import { _decorator, Component, Node, Prefab, instantiate } from 'cc'; +import { zd } from './zd'; +const { ccclass, property } = _decorator; + +@ccclass('gameManager') +export class gameManager extends Component { + + @property(Node) + public plant:Node = null; + + @property(Node) + public zdOut:Node = null; + + @property(Prefab) + public zd1:Prefab = null; + + /**子弹移动速度*/ + @property + public zd_speed:number = 0.2; + + /**发射子弹的间隔*/ + @property + public new_zd_time = 0.3; + + /**当前发射子弹的间隔*/ + @property + public _new_zd_time = 0; + + private _isTouch:boolean = false; + + start() { + this._new_zd_time = this.new_zd_time; + } + + update(deltaTime: number) { + + this._new_zd_time += deltaTime; + if(this._isTouch && this._new_zd_time > this.new_zd_time){ + this.createZd(); + this._new_zd_time = 0; + } + + } + + public createZd(){ + const zd01 = instantiate(this.zd1); + zd01.setParent(this.zdOut); + const ppos = this.plant.position; + zd01.setPosition(ppos.x, ppos.y, ppos.z - 1); + const zdcop = zd01.getComponent(zd); + console.log(this.zd_speed); + zdcop.z_speed = this.zd_speed; + } + + isTouch(val:boolean){ + this._isTouch = val; + } +} + diff --git a/assets/src/gameManager.ts.meta b/assets/src/gameManager.ts.meta new file mode 100644 index 0000000..4e3b365 --- /dev/null +++ b/assets/src/gameManager.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "7dcc9246-3519-47f8-909c-f7c5fce852c3", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/src/zd.ts b/assets/src/zd.ts new file mode 100644 index 0000000..486079f --- /dev/null +++ b/assets/src/zd.ts @@ -0,0 +1,28 @@ +import { _decorator, Component, Node } from 'cc'; +const { ccclass, property } = _decorator; + +const OUTMOVE = -10; + +@ccclass('zd') +export class zd extends Component { + + @property + public z_speed:number = 0; + + start() { + + } + + update(deltaTime: number) { + const pos = this.node.position; + const moveLength = pos.z - this.z_speed; + this.node.setPosition(pos.x, pos.y, moveLength); + + if(moveLength < OUTMOVE){ + this.node.destroy(); + } + + } + +} + diff --git a/assets/src/zd.ts.meta b/assets/src/zd.ts.meta new file mode 100644 index 0000000..62bb8c1 --- /dev/null +++ b/assets/src/zd.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "e6210d16-2ce8-4552-a41e-dd2b582c988e", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..cd18d63 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "test", + "uuid": "3a603eb4-5f48-4c20-8f35-d5470c56f0dd", + "creator": { + "version": "3.7.2" + } +} diff --git a/settings/v2/packages/builder.json b/settings/v2/packages/builder.json new file mode 100644 index 0000000..0bd7d4f --- /dev/null +++ b/settings/v2/packages/builder.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.3.4" +} diff --git a/settings/v2/packages/cocos-service.json b/settings/v2/packages/cocos-service.json new file mode 100644 index 0000000..43a1ca7 --- /dev/null +++ b/settings/v2/packages/cocos-service.json @@ -0,0 +1,23 @@ +{ + "__version__": "3.0.6", + "game": { + "name": "未知游戏", + "app_id": "UNKNOW", + "c_id": "0" + }, + "appConfigMaps": [ + { + "app_id": "UNKNOW", + "config_id": "066e6f" + } + ], + "configs": [ + { + "app_id": "UNKNOW", + "config_id": "066e6f", + "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..9f2f363 --- /dev/null +++ b/settings/v2/packages/engine.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.7" +} diff --git a/settings/v2/packages/program.json b/settings/v2/packages/program.json new file mode 100644 index 0000000..356db6b --- /dev/null +++ b/settings/v2/packages/program.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.3" +} diff --git a/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 + } +}