Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
TNGD_CaveCruiser
Commits
5c6ed55e
Commit
5c6ed55e
authored
Oct 08, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
3f04a741
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
4261 additions
and
23 deletions
+4261
-23
GuideGame.scene
assets/Bundles/MainGame/GuideGame.scene
+3817
-0
GuideGame.scene.meta
assets/Bundles/MainGame/GuideGame.scene.meta
+1
-0
UIMgr.ts
assets/Module/UIMgr.ts
+11
-10
HomeScene.ts
assets/Scripts/Scenes/HomeScene.ts
+2
-1
BgAndColor.ts
assets/Scripts/Scenes/MainGame/BgAndColor.ts
+11
-0
BgAndColor.ts.meta
assets/Scripts/Scenes/MainGame/BgAndColor.ts.meta
+9
-0
GuideGame.ts
assets/Scripts/Scenes/MainGame/GuideGame.ts
+407
-0
GuideGame.ts.meta
assets/Scripts/Scenes/MainGame/GuideGame.ts.meta
+1
-0
MainGame.ts
assets/Scripts/Scenes/MainGame/MainGame.ts
+1
-11
reference-image.json
profiles/v2/packages/reference-image.json
+1
-1
No files found.
assets/Bundles/MainGame/GuideGame.scene
0 → 100644
View file @
5c6ed55e
[
{
"__type__": "cc.SceneAsset",
"_name": "GuideGame",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"scene": {
"__id__": 1
}
},
{
"__type__": "cc.Scene",
"_name": "GuideGame",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 28
},
{
"__id__": 32
},
{
"__id__": 139
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 162
},
"_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__": 169
},
"_id": "7b5de2a0-8504-46ba-9019-37a3548ce8e1"
},
{
"__type__": "cc.Node",
"_name": "Canvas",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 22
}
],
"_active": true,
"_components": [
{
"__id__": 25
},
{
"__id__": 26
},
{
"__id__": 27
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 375.00000000000006,
"y": 812,
"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": "a51dChaGhMzbu1VxME9ZKR"
},
{
"__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": "b7uQXgaFtLiqXyCB8W1pT/"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": null,
"_projection": 0,
"_priority": 50000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 812,
"_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,
"_postProcess": null,
"_usePostProcess": false,
"_cameraType": -1,
"_trackingType": 0,
"_id": "18n70u7WZCw5lXnvt5XF12"
},
{
"__type__": "cc.Node",
"_name": "top",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 6
},
{
"__id__": 10
},
{
"__id__": 14
}
],
"_active": true,
"_components": [
{
"__id__": 20
},
{
"__id__": 21
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 812,
"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": "39OTVkDaxCDahMxxrwMo9I"
},
{
"__type__": "cc.Node",
"_name": "scoreTip",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
},
{
"__id__": 8
},
{
"__id__": 9
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -235.68,
"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": "a1d5l2nS9J8oQLJOGR7gc7"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 96.26396179199219,
"height": 45.36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "71Shw1vZRNAp85PUj5C0N+"
},
{
"__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": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Score",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 36,
"_fontSize": 36,
"_fontFamily": "Arial",
"_lineHeight": 36,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "94fd4aeb-6850-44cc-8dd6-72d39fc549ff",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_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": "e4dvgC07tGCKaGFlWJswA7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 17,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 213,
"_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": "b4RTwK4JJLZKoOi70yBB2o"
},
{
"__type__": "cc.Node",
"_name": "score",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
},
{
"__id__": 13
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -325.6504,
"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": "04xXdIyOlEkJdp8mP7P+hT"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 70.48695373535156,
"height": 151.3008
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "43+akLvipPprTbWBzdoz7e"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "0",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 120.08,
"_fontSize": 120.08,
"_fontFamily": "Arial",
"_lineHeight": 120.08,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "94fd4aeb-6850-44cc-8dd6-72d39fc549ff",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_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": "81mKeHXElPcoxZ7Hp7esdp"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 17,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 250,
"_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": "efCXUwZ9pAcq+rBUgPqPjX"
},
{
"__type__": "cc.Node",
"_name": "MusicBtn",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
},
{
"__id__": 16
},
{
"__id__": 17
},
{
"__id__": 18
},
{
"__id__": 19
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 328.49999999999994,
"y": -256.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": "ecMNmd6odITZINBhSvsWBT"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 49,
"height": 49
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "baGCgd9lZDkqFMYS4wet68"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 9,
"_target": null,
"_left": 679,
"_right": 0,
"_top": 232,
"_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": "3bis2VXd1DE5aVI+9a7wK0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "a75e1371-4878-405d-859f-89ae90010a63@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": "efwfXyUWtOPalCssQDmK7Y"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": null,
"clickEvents": [],
"_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.05,
"_zoomScale": 0.9,
"_target": null,
"_id": "02GLIom+9FKaLL7mp+NYm+"
},
{
"__type__": "aef22kOKgFL8rdRNAL10tnw",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": null,
"closeSf": {
"__uuid__": "cfcf3bd0-627a-4399-b971-cc6589bffddc@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"openSf": {
"__uuid__": "a75e1371-4878-405d-859f-89ae90010a63@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_id": "b7KqT07blL8LhXcqpjExwY"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750.0000000000001,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "ddMl/+Iz9I4piyxtuT8Cqh"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 41,
"_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": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "21JWH4LPBJFriYfG2i5OSi"
},
{
"__type__": "cc.Node",
"_name": "中靶心",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 23
},
{
"__id__": 24
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 244.901,
"y": 120,
"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": "95d190GTlOwr0KPPtyR70a"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 213,
"height": 103
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "54VQCw3W1EY6fFtcw2SBEu"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5ea91ea2-30f1-4d76-b447-62a680352ee0@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": "f8fYeqeQhPL6Yo08e+Zpl+"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 750.0000000000001,
"height": 1624
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "bacPL97PpF2bL6DkBZU0aV"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": null,
"_cameraComponent": {
"__id__": 4
},
"_alignCanvasWithScreen": true,
"_id": "62LdbkMj9H0aoMZiMqeOXB"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_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": "4b4n24QAlBAJTbqsXR4lUh"
},
{
"__type__": "cc.Node",
"_name": "Camera",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
},
{
"__id__": 30
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 5,
"y": 0,
"z": 2.8
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0.49999999999999994,
"z": 0,
"w": 0.8660254037844387
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 59.99999999999999,
"z": 0
},
"_id": "bfjm9PtXtDELsjEP9sa9vM"
},
{
"__type__": "cc.Camera",
"_name": "Camera<CameraComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": null,
"_projection": 1,
"_priority": 0,
"_fov": 70,
"_fovAxis": 0,
"_orthoHeight": 10,
"_near": 1,
"_far": 1000,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": 1,
"_stencil": 0,
"_clearFlags": 7,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_aperture": 19,
"_shutter": 7,
"_iso": 0,
"_screenScale": 1,
"_visibility": 1083179008,
"_targetTexture": null,
"_postProcess": null,
"_usePostProcess": false,
"_cameraType": -1,
"_trackingType": 0,
"_id": "5dSXVi31VI6rXeWYa2q2XI"
},
{
"__type__": "74f8188NbxO264ejP51X1vr",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": null,
"brainBlend": {
"__id__": 31
},
"debugMaterial": null,
"_id": "0170hzm29NjqN8GPRvbRKp"
},
{
"__type__": "CinestationBlendDefinition",
"style": 9,
"time": 4
},
{
"__type__": "cc.Node",
"_name": "root",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 33
},
{
"__id__": 46
},
{
"__id__": 54
},
{
"__id__": 128
},
{
"__id__": 134
}
],
"_active": true,
"_components": [
{
"__id__": 137
}
],
"_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": "c74wuoV2RJ5pfdkjsi/Yut"
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 32
},
"_prefab": {
"__id__": 34
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 33
},
"asset": {
"__uuid__": "ff249ea2-131c-46cc-8bb5-e07bfcca3d01",
"__expectedType__": "cc.Prefab"
},
"fileId": "aegNE1yWlBBIKxxsS+uiuP",
"instance": {
"__id__": 35
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "46k4H/i+lM6YnZw6VGS21b",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 36
},
{
"__id__": 38
},
{
"__id__": 39
},
{
"__id__": 40
},
{
"__id__": 41
},
{
"__id__": 42
},
{
"__id__": 44
},
{
"__id__": 45
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
},
"propertyPath": [
"_name"
],
"value": "initWall"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"aegNE1yWlBBIKxxsS+uiuP"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 37
},
"propertyPath": [
"_active"
],
"value": true
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
},
"propertyPath": [
"isInit"
],
"value": true
},
{
"__type__": "cc.TargetInfo",
"localID": [
"660NB3qb1PebQH5SskUx/E"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
},
"propertyPath": [
"lightPrefab"
],
"value": {
"__uuid__": "9f30d580-4fa7-48b4-af7f-460d23e3c9e0",
"__expectedType__": "cc.Prefab"
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
},
"propertyPath": [
"ringPrefab"
],
"value": {
"__uuid__": "92797147-1d66-471c-a539-78bceda0ebaf",
"__expectedType__": "cc.Prefab"
}
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 32
},
"_prefab": {
"__id__": 47
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "50650cb7-af92-4041-93d7-e8d9a7fa446d",
"__expectedType__": "cc.Prefab"
},
"fileId": "d4iYkvxtJO87QMcNhqpzME",
"instance": {
"__id__": 48
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "eeQ6/mWrVCsLBUm+d5Wmwc",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 52
},
{
"__id__": 53
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
},
"propertyPath": [
"_name"
],
"value": "Wall2"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"d4iYkvxtJO87QMcNhqpzME"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "cc.Node",
"_name": "Player",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
},
"_children": [
{
"__id__": 55
},
{
"__id__": 59
},
{
"__id__": 62
},
{
"__id__": 123
}
],
"_active": true,
"_components": [
{
"__id__": 126
},
{
"__id__": 127
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.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": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "3bSUCmp7pGqIwSUVrGDwtU"
},
{
"__type__": "cc.Node",
"_name": "line",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
},
"_children": [
{
"__id__": 56
}
],
"_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": 0.75,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "96YvyYafJO7plyWlY474TG"
},
{
"__type__": "cc.Node",
"_name": "mesh",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 1,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.02,
"y": 1,
"z": 0.02
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "de3QuzzGpBYrQWGo6i7vHZ"
},
{
"__type__": "cc.MeshRenderer",
"_name": "Cylinder<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
},
"_enabled": true,
"__prefab": null,
"_materials": [
{
"__uuid__": "6e2fa11c-2468-446a-a6b9-d05f534a596a",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 58
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@8abdc",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": "b0G2wHjh5F1qhZ++ET8Dyi"
},
{
"__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
},
{
"__type__": "cc.Node",
"_name": "sphere",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
}
],
"_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": 0.2,
"y": 0.2,
"z": 0.2
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "30aytiH/JFiJB7PBNAA6G6"
},
{
"__type__": "cc.MeshRenderer",
"_name": "Sphere<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 59
},
"_enabled": true,
"__prefab": null,
"_materials": [
{
"__uuid__": "6e2fa11c-2468-446a-a6b9-d05f534a596a",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 61
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@17020",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": "98n69i30dKs4YkVq14zLQA"
},
{
"__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
},
{
"__type__": "cc.Node",
"_name": "fire",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
}
],
"_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": 0.5,
"y": 0.5,
"z": 0.5
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "16K2OptrVP/Lv/OSwVgsp1"
},
{
"__type__": "cc.ParticleSystem",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 62
},
"_enabled": true,
"__prefab": null,
"_materials": [
{
"__uuid__": "fc4593aa-cae7-447c-8316-f92f0c7590d4",
"__expectedType__": "cc.Material"
},
null
],
"_visFlags": 0,
"startColor": {
"__id__": 64
},
"scaleSpace": 1,
"startSize3D": false,
"startSizeX": {
"__id__": 65
},
"startSize": {
"__id__": 65
},
"startSizeY": {
"__id__": 66
},
"startSizeZ": {
"__id__": 67
},
"startSpeed": {
"__id__": 68
},
"startRotation3D": false,
"startRotationX": {
"__id__": 69
},
"startRotationY": {
"__id__": 70
},
"startRotationZ": {
"__id__": 71
},
"startRotation": {
"__id__": 71
},
"startDelay": {
"__id__": 72
},
"startLifetime": {
"__id__": 73
},
"duration": 5,
"loop": true,
"simulationSpeed": 1,
"playOnAwake": true,
"gravityModifier": {
"__id__": 74
},
"rateOverTime": {
"__id__": 75
},
"rateOverDistance": {
"__id__": 76
},
"bursts": [],
"_renderCulling": false,
"_cullingMode": 0,
"_aabbHalfX": 0,
"_aabbHalfY": 0,
"_aabbHalfZ": 0,
"_dataCulling": false,
"enableCulling": false,
"_colorOverLifetimeModule": {
"__id__": 77
},
"_shapeModule": {
"__id__": 86
},
"_sizeOvertimeModule": {
"__id__": 88
},
"_velocityOvertimeModule": {
"__id__": 94
},
"_forceOvertimeModule": {
"__id__": 99
},
"_limitVelocityOvertimeModule": {
"__id__": 103
},
"_rotationOvertimeModule": {
"__id__": 108
},
"_textureAnimationModule": {
"__id__": 112
},
"_noiseModule": {
"__id__": 116
},
"_trailModule": {
"__id__": 117
},
"renderer": {
"__id__": 122
},
"_prewarm": false,
"_capacity": 20,
"_simulationSpace": 0,
"_id": "8du0s5i6RATq2DKm3+fRUz"
},
{
"__type__": "cc.GradientRange",
"_mode": 0,
"color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": 0.8,
"constantMax": 0.7,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": 1.2,
"constantMax": 1.5,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": -3.141592653589793,
"constantMax": 3.141592653589793,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": 0.3,
"constantMax": 0.2,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 6,
"multiplier": 1
},
{
"__type__": "cc.ColorOvertimeModule",
"_enable": true,
"color": {
"__id__": 78
}
},
{
"__type__": "cc.GradientRange",
"_mode": 1,
"gradient": {
"__id__": 79
}
},
{
"__type__": "cc.Gradient",
"colorKeys": [
{
"__id__": 80
},
{
"__id__": 81
}
],
"alphaKeys": [
{
"__id__": 82
},
{
"__id__": 83
},
{
"__id__": 84
},
{
"__id__": 85
}
],
"mode": 0
},
{
"__type__": "cc.ColorKey",
"color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"time": 0
},
{
"__type__": "cc.ColorKey",
"color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"time": 0.66
},
{
"__type__": "cc.AlphaKey",
"alpha": 0,
"time": 0
},
{
"__type__": "cc.AlphaKey",
"alpha": 255,
"time": 0.2
},
{
"__type__": "cc.AlphaKey",
"alpha": 255,
"time": 0.8
},
{
"__type__": "cc.AlphaKey",
"alpha": 0,
"time": 1
},
{
"__type__": "cc.ShapeModule",
"_enable": false,
"_shapeType": 2,
"shapeType": 2,
"emitFrom": 3,
"alignToDirection": false,
"randomDirectionAmount": 0,
"sphericalDirectionAmount": 0,
"randomPositionAmount": 0,
"radius": 1,
"radiusThickness": 1,
"arcMode": 0,
"arcSpread": 0,
"arcSpeed": {
"__id__": 87
},
"length": 5,
"boxThickness": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_rotation": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_arc": 6.283185307179586,
"_angle": 0.4363323129985824
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.SizeOvertimeModule",
"_enable": true,
"separateAxes": false,
"size": {
"__id__": 89
},
"x": {
"__id__": 91
},
"y": {
"__id__": 92
},
"z": {
"__id__": 93
}
},
{
"__type__": "cc.CurveRange",
"mode": 1,
"spline": {
"__id__": 90
},
"multiplier": 1
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": -0.2407407407407411,
"rightTangentWeight": 0.342856643876514,
"leftTangent": -0.2407407407407411,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": -2.8575757575757548,
"rightTangentWeight": 1,
"leftTangent": -2.8575757575757548,
"leftTangentWeight": 1.0091657286141882,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.VelocityOvertimeModule",
"_enable": false,
"x": {
"__id__": 95
},
"y": {
"__id__": 96
},
"z": {
"__id__": 97
},
"speedModifier": {
"__id__": 98
},
"space": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 1,
"multiplier": 1
},
{
"__type__": "cc.ForceOvertimeModule",
"_enable": false,
"x": {
"__id__": 100
},
"y": {
"__id__": 101
},
"z": {
"__id__": 102
},
"space": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.LimitVelocityOvertimeModule",
"_enable": false,
"limitX": {
"__id__": 104
},
"limitY": {
"__id__": 105
},
"limitZ": {
"__id__": 106
},
"limit": {
"__id__": 107
},
"dampen": 3,
"separateAxes": false,
"space": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.RotationOvertimeModule",
"_enable": true,
"_separateAxes": false,
"x": {
"__id__": 109
},
"y": {
"__id__": 110
},
"z": {
"__id__": 111
}
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": -1.5707963267948966,
"multiplier": 1
},
{
"__type__": "cc.TextureAnimationModule",
"_enable": true,
"_numTilesX": 4,
"numTilesX": 4,
"_numTilesY": 4,
"numTilesY": 4,
"_mode": 0,
"animation": 0,
"frameOverTime": {
"__id__": 113
},
"startFrame": {
"__id__": 115
},
"cycleCount": 1,
"_flipU": 0,
"_flipV": 0,
"_uvChannelMask": -1,
"randomRow": false,
"rowIndex": 0
},
{
"__type__": "cc.CurveRange",
"mode": 1,
"spline": {
"__id__": 114
},
"multiplier": 1
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 1,
"rightTangentWeight": 1,
"leftTangent": 1,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 1,
"rightTangentWeight": 1,
"leftTangent": 1,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.NoiseModule",
"_enable": false,
"_strengthX": 10,
"_strengthY": 10,
"_strengthZ": 10,
"_noiseSpeedX": 0,
"_noiseSpeedY": 0,
"_noiseSpeedZ": 0,
"_noiseFrequency": 1,
"_remapX": 0,
"_remapY": 0,
"_remapZ": 0,
"_octaves": 1,
"_octaveMultiplier": 0.5,
"_octaveScale": 2
},
{
"__type__": "cc.TrailModule",
"_enable": false,
"mode": 0,
"lifeTime": {
"__id__": 118
},
"_minParticleDistance": 0.1,
"existWithParticles": true,
"textureMode": 0,
"widthFromParticle": true,
"widthRatio": {
"__id__": 119
},
"colorFromParticle": false,
"colorOverTrail": {
"__id__": 120
},
"colorOvertime": {
"__id__": 121
},
"_space": 0,
"_particleSystem": {
"__id__": 63
}
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.GradientRange",
"_mode": 0,
"color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
},
{
"__type__": "cc.GradientRange",
"_mode": 0,
"color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
},
{
"__type__": "cc.ParticleSystemRenderer",
"_renderMode": 0,
"_velocityScale": 1,
"_lengthScale": 1,
"_mesh": null,
"_cpuMaterial": null,
"_gpuMaterial": {
"__uuid__": "fc4593aa-cae7-447c-8316-f92f0c7590d4",
"__expectedType__": "cc.Material"
},
"_mainTexture": {
"__uuid__": "39e1e9d6-b461-4c06-81b9-f1ddc09193d7@6c48a",
"__expectedType__": "cc.Texture2D"
},
"_useGPU": true,
"_alignSpace": 0
},
{
"__type__": "cc.Node",
"_name": "Sphere Light",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 54
},
"_children": [],
"_active": true,
"_components": [
{
"__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": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "31vUJIejdGfrHg5YjZta/F"
},
{
"__type__": "cc.SphereLight",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 123
},
"_enabled": true,
"__prefab": null,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_useColorTemperature": false,
"_colorTemperature": 6550,
"_staticSettings": {
"__id__": 125
},
"_visibility": -325058561,
"_size": 0.1,
"_luminanceHDR": 300,
"_luminance": 300,
"_luminanceLDR": 498.3970260184439,
"_term": 1,
"_range": 4,
"_id": "fefndUvnhIK4jDBaIo88A5"
},
{
"__type__": "cc.StaticLightSettings",
"_baked": false,
"_editorOnly": false,
"_castShadow": false
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": null,
"_group": 8,
"_type": 1,
"_mass": 1,
"_allowSleep": true,
"_linearDamping": 0.1,
"_angularDamping": 0.1,
"_useGravity": true,
"_linearFactor": {
"__type__": "cc.Vec3",
"x": 0,
"y": 1,
"z": 1
},
"_angularFactor": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_id": "63ZHwh9DVPUbwK4xa9Js5F"
},
{
"__type__": "cc.SphereCollider",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": null,
"_material": null,
"_isTrigger": false,
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 7.450580596923828e-8
},
"_radius": 0.1,
"_id": "18wNd9IaJBA66MS7tA+Oqf"
},
{
"__type__": "cc.Node",
"_name": "链接点",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
},
{
"__id__": 131
},
{
"__id__": 132
},
{
"__id__": 133
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 2,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.05,
"y": 0.05,
"z": 0.05
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "4bzAIy2i1Mq4wXBMBaE9x8"
},
{
"__type__": "cc.MeshRenderer",
"_name": "Sphere<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
},
"_enabled": true,
"__prefab": null,
"_materials": [
{
"__uuid__": "620b6bf3-0369-4560-837f-2a2c00b73c26",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 130
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@17020",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": "e4cPheyWdBgZonO7f8pzm2"
},
{
"__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
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
},
"_enabled": true,
"__prefab": null,
"_group": 2,
"_type": 2,
"_mass": 1,
"_allowSleep": true,
"_linearDamping": 0.1,
"_angularDamping": 0.1,
"_useGravity": true,
"_linearFactor": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_angularFactor": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_id": "51orlSTG9E+oEYm8D88u06"
},
{
"__type__": "cc.SphereCollider",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
},
"_enabled": true,
"__prefab": null,
"_material": null,
"_isTrigger": false,
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 7.450580596923828e-8
},
"_radius": 0.5,
"_id": "b12Ml68ilOLIKxPbYCFs3L"
},
{
"__type__": "cc.PointToPointConstraint",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 128
},
"_enabled": true,
"__prefab": null,
"_enableCollision": false,
"_connectedBody": {
"__id__": 126
},
"_pivotA": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_pivotB": {
"__type__": "cc.Vec3",
"x": 0,
"y": 1.5,
"z": 0
},
"_id": "907417r6lOloyd9Dyf6glV"
},
{
"__type__": "cc.Node",
"_name": "Light",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 135
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": -0.3812272063695152,
"y": 0.08052140686556224,
"z": 0.03335305878456361,
"w": 0.9203638919632816
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.000000000000049,
"y": 0.9999999999962081,
"z": 1.000000000003743
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": -44.99999999997816,
"y": 10,
"z": -5.274631883739096e-11
},
"_id": "46U+/+Ut5Dh77p32t2dfli"
},
{
"__type__": "cc.DirectionalLight",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 134
},
"_enabled": true,
"__prefab": null,
"_color": {
"__type__": "cc.Color",
"r": 114,
"g": 14,
"b": 0,
"a": 255
},
"_useColorTemperature": false,
"_colorTemperature": 6550,
"_staticSettings": {
"__id__": 136
},
"_visibility": -325058561,
"_illuminanceHDR": 200000,
"_illuminance": 200000,
"_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": "9b0K72XCRLi4hnF6UUVHTB"
},
{
"__type__": "cc.StaticLightSettings",
"_baked": false,
"_editorOnly": false,
"_castShadow": false
},
{
"__type__": "94e2cFlZ99HY7V7zZGiysgd",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 32
},
"_enabled": true,
"__prefab": null,
"uiLayer": null,
"linkPoint": {
"__id__": 128
},
"line": {
"__id__": 55
},
"player": {
"__id__": 54
},
"initWall": {
"__id__": 33
},
"wallPrefab": {
"__uuid__": "ff249ea2-131c-46cc-8bb5-e07bfcca3d01",
"__expectedType__": "cc.Prefab"
},
"wallPrefab2": {
"__uuid__": "50650cb7-af92-4041-93d7-e8d9a7fa446d",
"__expectedType__": "cc.Prefab"
},
"crushPrefab": {
"__uuid__": "92ecb835-f55d-479d-88a7-89cdca3a7dd6",
"__expectedType__": "cc.Prefab"
},
"light": {
"__id__": 135
},
"scoreLabel": {
"__id__": 12
},
"hitTip": {
"__id__": 22
},
"bg": {
"__id__": 138
},
"bgAndColor": [
{
"__id__": 156
},
{
"__id__": 157
},
{
"__id__": 158
},
{
"__id__": 159
},
{
"__id__": 160
},
{
"__id__": 161
}
],
"_id": "e1H/t/+jNGBqBpGc/3J4W7"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 139
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 153
},
{
"__id__": 155
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -0.5,
"z": -19
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0.25881904510252074,
"z": 0,
"w": 0.9659258262890683
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 24.564394,
"y": 20.00000000000487,
"z": 1.0000000000078075
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 29.999999999999993,
"z": 0
},
"_id": "52UlNU1fNFGq6xYfnnC8HY"
},
{
"__type__": "cc.Node",
"_name": "VCam0",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 140
},
{
"__id__": 138
}
],
"_active": true,
"_components": [
{
"__id__": 143
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 5,
"y": 0.5,
"z": 2.8
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0.5056662096028154,
"z": 0,
"w": 0.8627292069160065
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.9999999999922566,
"y": 0.9999999999997565,
"z": 0.9999999999921727
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 60.751173663453024,
"z": 0
},
"_id": "06+Blx3VBJcKGdRFbBnVpe"
},
{
"__type__": "cc.Node",
"_name": "Spot Light",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 139
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 141
}
],
"_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": "76F7mJWPNH+YHqQCcspH8O"
},
{
"__type__": "cc.SpotLight",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 140
},
"_enabled": true,
"__prefab": null,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 51,
"b": 0,
"a": 255
},
"_useColorTemperature": false,
"_colorTemperature": 6550,
"_staticSettings": {
"__id__": 142
},
"_visibility": -325058561,
"_size": 0.2,
"_luminanceHDR": 88656.03568704554,
"_luminance": 88656.03568704554,
"_luminanceLDR": 498.3970260184439,
"_term": 0,
"_range": 10,
"_spotAngle": 130,
"_angleAttenuationStrength": 0,
"_shadowEnabled": false,
"_shadowPcf": 0,
"_shadowBias": 0.00001,
"_shadowNormalBias": 0,
"_id": "e7sy8RURBJQIoKLrFegGqg"
},
{
"__type__": "cc.StaticLightSettings",
"_baked": false,
"_editorOnly": false,
"_castShadow": false
},
{
"__type__": "e84d7HSHCRNU4Jgu1AdeBGI",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 139
},
"_enabled": true,
"__prefab": null,
"_lookAt": {
"__id__": 54
},
"_follow": {
"__id__": 54
},
"debug": false,
"priority": 10,
"lens": {
"__id__": 144
},
"body": {
"__id__": 145
},
"aim": {
"__id__": 149
},
"noise": {
"__id__": 151
},
"impulse": {
"__id__": 152
},
"_id": "01PlVl105KvbYv5SEEmGvm"
},
{
"__type__": "VCamLens",
"_fov": 70,
"_near": 1,
"_far": 1000
},
{
"__type__": "VCamBody",
"_type": 1,
"freelook": {
"__id__": 146
},
"tracked": {
"__id__": 147
}
},
{
"__type__": "VCamFreeLook",
"forbidX": true,
"forbidY": true,
"forbidZ": true,
"forbidPan": false,
"rotateSpeed": 0.1,
"rotateSmoothing": 0.1,
"panSpeed": 1,
"panSmoothing": 0.1,
"followOffset": {
"__type__": "cc.Vec3",
"x": 5,
"y": 0,
"z": 2.8
},
"followDamping": 0,
"distanceMin": -10000,
"distanceMax": 10000
},
{
"__type__": "VCamTracked",
"_progress": 0,
"path": null,
"damping": 1,
"cameraUp": 0,
"autoDolly": {
"__id__": 148
}
},
{
"__type__": "VCamAutoDoly",
"_enable": true,
"_searchRadius": 2,
"_searchResolution": 5
},
{
"__type__": "VCamAim",
"type": 2,
"trackedObjectOffset": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"composer": {
"__id__": 150
}
},
{
"__type__": "VCamComposer",
"_deadZoneWidth": 0.1,
"_deadZoneHeight": 0.1,
"_softZoneWidth": 0.8,
"_softZoneHeight": 0.8,
"lookaheadTime": 0.2,
"lookaheadDamping": 0.5,
"lookatDamping": 0.3
},
{
"__type__": "VCamNoise",
"type": 0,
"profile": 0,
"amplitudeGain": 1,
"frequncyGain": 1
},
{
"__type__": "VCamImpulse",
"source": 1073741824
},
{
"__type__": "cc.MeshRenderer",
"_name": "Quad<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
},
"_enabled": true,
"__prefab": null,
"_materials": [
{
"__uuid__": "ef4024d6-1023-4544-8a14-3fe0ab7bb522",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 154
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@fc873",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": "28U3EiXBNEfqCo/Dwxkb5z"
},
{
"__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
},
{
"__type__": "b3c83+0JvVBq6oCTNWNIxQv",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
},
"_enabled": true,
"__prefab": null,
"camera": {
"__id__": 28
},
"player": {
"__id__": 54
},
"_id": "23i7AVmIJPTqEHSFR4Dzn8"
},
{
"__type__": "BgAndColor",
"bg": {
"__uuid__": "5cd68bd9-12b8-4f3a-8561-6f04bee36fab@6c48a",
"__expectedType__": "cc.Texture2D"
},
"color": {
"__type__": "cc.Color",
"r": 0,
"g": 11,
"b": 134,
"a": 255
}
},
{
"__type__": "BgAndColor",
"bg": {
"__uuid__": "ddac7794-c7a4-48c5-af61-9b423244cd56@6c48a",
"__expectedType__": "cc.Texture2D"
},
"color": {
"__type__": "cc.Color",
"r": 0,
"g": 17,
"b": 145,
"a": 255
}
},
{
"__type__": "BgAndColor",
"bg": {
"__uuid__": "e2d279b1-9efa-4892-9fda-ec634890607a@6c48a",
"__expectedType__": "cc.Texture2D"
},
"color": {
"__type__": "cc.Color",
"r": 0,
"g": 25,
"b": 104,
"a": 255
}
},
{
"__type__": "BgAndColor",
"bg": {
"__uuid__": "5f469da0-8050-49f7-b1ee-f0c22b0d417c@6c48a",
"__expectedType__": "cc.Texture2D"
},
"color": {
"__type__": "cc.Color",
"r": 255,
"g": 69,
"b": 44,
"a": 255
}
},
{
"__type__": "BgAndColor",
"bg": {
"__uuid__": "ce62197d-60bb-42b0-9956-41a4dd6d8f02@6c48a",
"__expectedType__": "cc.Texture2D"
},
"color": {
"__type__": "cc.Color",
"r": 138,
"g": 22,
"b": 0,
"a": 255
}
},
{
"__type__": "BgAndColor",
"bg": {
"__uuid__": "69e69ee3-3317-4297-ba6d-9e4689622de0@6c48a",
"__expectedType__": "cc.Texture2D"
},
"color": {
"__type__": "cc.Color",
"r": 114,
"g": 14,
"b": 0,
"a": 255
}
},
{
"__type__": "cc.PrefabInfo",
"root": null,
"asset": null,
"fileId": "53947ca7-3484-4b53-800d-509405063d68",
"instance": null,
"targetOverrides": [
{
"__id__": 163
},
{
"__id__": 166
}
],
"nestedPrefabInstanceRoots": [
{
"__id__": 33
},
{
"__id__": 46
}
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 33
},
"sourceInfo": {
"__id__": 164
},
"propertyPath": [
"top"
],
"target": {
"__id__": 33
},
"targetInfo": {
"__id__": 165
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"660NB3qb1PebQH5SskUx/E"
]
},
{
"__type__": "cc.TargetInfo",
"localID": [
"96dpzo77pO96VKXdyKN85u"
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 33
},
"sourceInfo": {
"__id__": 167
},
"propertyPath": [
"bottom"
],
"target": {
"__id__": 33
},
"targetInfo": {
"__id__": 168
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"660NB3qb1PebQH5SskUx/E"
]
},
{
"__type__": "cc.TargetInfo",
"localID": [
"d9YCziuJpHnINCIhoGU//r"
]
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 170
},
"shadows": {
"__id__": 171
},
"_skybox": {
"__id__": 172
},
"fog": {
"__id__": 173
},
"octree": {
"__id__": 174
},
"skin": {
"__id__": 175
},
"lightProbeInfo": {
"__id__": 176
},
"postSettings": {
"__id__": 177
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},
{
"__type__": "cc.AmbientInfo",
"_skyColorHDR": {
"__type__": "cc.Vec4",
"x": 1,
"y": 1,
"z": 1,
"w": 0.02604165625
},
"_skyColor": {
"__type__": "cc.Vec4",
"x": 1,
"y": 1,
"z": 1,
"w": 0.02604165625
},
"_skyIllumHDR": 1000,
"_skyIllum": 1000,
"_groundAlbedoHDR": {
"__type__": "cc.Vec4",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_groundAlbedo": {
"__type__": "cc.Vec4",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_skyColorLDR": {
"__type__": "cc.Vec4",
"x": 0.4525879919528961,
"y": 0.6076419949531555,
"z": 0.7556989789009094,
"w": 0.800000011920929
},
"_skyIllumLDR": 0.800000011920929,
"_groundAlbedoLDR": {
"__type__": "cc.Vec4",
"x": 0.6185550093650818,
"y": 0.5778480172157288,
"z": 0.5445640087127686,
"w": 0
}
},
{
"__type__": "cc.ShadowsInfo",
"_enabled": false,
"_type": 1,
"_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": 1024,
"y": 1024
}
},
{
"__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.30000001192092896,
"_fogStart": 0.5,
"_fogEnd": 300,
"_fogAtten": 5,
"_fogTop": 1.5,
"_fogRange": 1.2000000476837158,
"_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": true,
"_blurRadius": 0.009999999776482582,
"_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
assets/Bundles/MainGame/GuideGame.scene.meta
0 → 100644
View file @
5c6ed55e
{"ver":"1.1.50","importer":"scene","imported":true,"uuid":"7b5de2a0-8504-46ba-9019-37a3548ce8e1","files":[".json"],"subMetas":{},"userData":{}}
assets/Module/UIMgr.ts
View file @
5c6ed55e
...
...
@@ -84,14 +84,14 @@ export class UIMgr {
/********* Scene *********/
// 节省判断
currentScene
=
{
data
:
undefined
};
currentScene
=
{
data
:
undefined
};
static
async
changeScene
(
cls
:
typeof
Scene
,
data
:
any
=
{})
{
await
UIMgr
.
ins
.
changeScene
(
cls
,
data
);
}
async
preloadScene
(
cls
:
typeof
Scene
)
{
const
{
skin
,
group
=
skin
,
bundle
}
=
cls
;
const
{
skin
,
group
=
skin
,
bundle
}
=
cls
;
const
loadPs
=
[];
if
(
bundle
)
{
const
assetBundle
=
assetManager
.
getBundle
(
bundle
);
...
...
@@ -128,7 +128,7 @@ export class UIMgr {
}
async
changeScene
(
cls
:
typeof
Scene
,
data
:
any
=
{})
{
const
{
skin
,
group
=
skin
,
bundle
}
=
cls
;
const
{
skin
,
group
=
skin
,
bundle
}
=
cls
;
const
loadPs
=
[];
...
...
@@ -161,7 +161,8 @@ export class UIMgr {
director
.
loadScene
(
skin
,
(
err
,
scene
)
=>
{
scene
.
getComponentInChildren
(
cls
).
data
=
data
;
const
ctrl
=
scene
.
getComponentInChildren
(
cls
);
ctrl
&&
(
ctrl
.
data
=
data
);
this
.
hideWaiting
();
},
()
=>
{
...
...
@@ -186,7 +187,7 @@ export class UIMgr {
}
=
null
;
async
showPanel
(
cls
:
typeof
Panel
,
data
=
{},
showMask
=
true
)
{
const
{
skin
,
group
=
skin
,
bundle
}
=
cls
;
const
{
skin
,
group
=
skin
,
bundle
}
=
cls
;
const
loadPs
=
[];
...
...
@@ -275,7 +276,7 @@ export class UIMgr {
hidePanel
()
{
if
(
!
this
.
curPanel
)
return
;
const
{
node
:
currPanelNode
}
=
this
.
curPanel
;
const
{
node
:
currPanelNode
}
=
this
.
curPanel
;
currPanelNode
.
destroy
();
this
.
panel
.
removeChild
(
currPanelNode
);
...
...
@@ -285,7 +286,7 @@ export class UIMgr {
this
.
curPanel
=
this
.
panelStack
.
pop
();
if
(
!!
this
.
curPanel
)
{
const
{
node
,
showMask
}
=
this
.
curPanel
;
const
{
node
,
showMask
}
=
this
.
curPanel
;
node
.
active
=
true
;
if
(
showMask
)
{
...
...
@@ -334,9 +335,9 @@ export class UIMgr {
toastMask
.
active
=
mask
;
tween
(
uiOpacity
).
stop
()
.
to
(
0.25
,
{
opacity
:
255
})
.
to
(
0.25
,
{
opacity
:
255
})
.
delay
(
1.7
)
.
to
(
0.25
,
{
opacity
:
0
})
.
to
(
0.25
,
{
opacity
:
0
})
.
call
(()
=>
this
.
hideToast
())
.
start
();
}
...
...
@@ -368,7 +369,7 @@ export class UIMgr {
tween
(
waitingRot
)
.
repeatForever
(
tween
(
waitingRot
).
by
(
1
,
{
angle
:
360
})
tween
(
waitingRot
).
by
(
1
,
{
angle
:
360
})
)
.
start
();
}
...
...
assets/Scripts/Scenes/HomeScene.ts
View file @
5c6ed55e
...
...
@@ -11,6 +11,7 @@ import RankPanel from "../Panels/RankPanel";
import
{
UIMgr
}
from
"../../Module/UIMgr"
;
import
{
AudioMgr
}
from
"../../core_tgx/base/AudioMgr"
;
import
BackPanel
from
"../Panels/BackPanel"
;
import
{
GuideGame
}
from
"./MainGame/GuideGame"
;
const
{
ccclass
,
property
}
=
_decorator
;
...
...
@@ -54,7 +55,7 @@ export class HomeScene extends Scene {
const
{
alreadyGuideSteps
,
allGuideSteps
}
=
store
.
homeInfo
;
if
(
alreadyGuideSteps
<
allGuideSteps
)
{
changeScene
(
Guide
Scen
e
);
changeScene
(
Guide
Gam
e
);
}
else
{
const
success
=
await
GameMgr
.
ins
.
start
();
...
...
assets/Scripts/Scenes/MainGame/BgAndColor.ts
0 → 100644
View file @
5c6ed55e
import
{
_decorator
,
Color
,
Texture2D
}
from
"cc"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
`BgAndColor`
)
export
class
BgAndColor
{
@
property
({
type
:
Texture2D
})
bg
:
Texture2D
=
null
;
@
property
({
type
:
Color
})
color
:
Color
=
Color
.
clone
(
Color
.
WHITE
);
}
assets/Scripts/Scenes/MainGame/BgAndColor.ts.meta
0 → 100644
View file @
5c6ed55e
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "3668e9cb-8b9f-4204-bf35-01f754872754",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Scripts/Scenes/MainGame/GuideGame.ts
0 → 100644
View file @
5c6ed55e
import
{
_decorator
,
Collider
,
Color
,
easing
,
EPhysicsDrawFlags
,
game
,
ICollisionEvent
,
Input
,
input
,
instantiate
,
ITriggerEvent
,
Label
,
lerp
,
Light
,
MeshRenderer
,
Node
,
ParticleSystem
,
ParticleSystemComponent
,
PhysicsSystem
,
PointToPointConstraint
,
Prefab
,
RigidBody
,
Texture2D
,
Tween
,
tween
,
v3
,
Vec3
,
}
from
"cc"
;
import
Scene
from
"db://assets/Module/Scene"
;
import
{
Wall
}
from
"./Wall"
;
import
{
sleep
}
from
"../../Utils/Utils"
;
import
GameMgr
from
"../../GameMgr"
;
import
{
AudioMgr
}
from
"../../../core_tgx/base/AudioMgr"
;
import
{
mdEvent
}
from
"../../AppTool"
;
import
{
BgAndColor
}
from
"./BgAndColor"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
"GuideGame"
)
export
class
GuideGame
extends
Scene
{
static
bundle
:
string
=
"MainGame"
;
static
skin
:
string
=
"GuideGame"
;
// static group: string[] = ["MainGame"];
@
property
(
Node
)
linkPoint
:
Node
=
null
;
@
property
(
Node
)
line
:
Node
=
null
;
@
property
(
Node
)
player
:
Node
=
null
;
playerBody
:
RigidBody
=
null
;
playerConstraint
:
PointToPointConstraint
=
null
;
@
property
(
Node
)
initWall
:
Node
=
null
;
@
property
(
Prefab
)
wallPrefab
:
Prefab
=
null
;
@
property
(
Prefab
)
wallPrefab2
:
Prefab
=
null
;
@
property
(
Prefab
)
crushPrefab
:
Prefab
=
null
;
@
property
(
Light
)
light
:
Light
=
null
;
@
property
({
type
:
Label
,
group
:
"UI"
})
scoreLabel
:
Label
=
null
;
@
property
({
type
:
Node
,
group
:
"UI"
})
hitTip
:
Node
=
null
;
@
property
({
type
:
Node
})
bg
:
Node
=
null
;
@
property
({
type
:
[
BgAndColor
],
visible
:
true
,
displayName
:
`背景和颜色`
})
private
bgAndColor
:
BgAndColor
[]
=
[];
private
_score
:
number
=
0
;
set
score
(
value
:
number
)
{
this
.
_score
=
value
;
this
.
scoreLabel
.
string
=
value
.
toString
();
}
get
score
()
{
return
this
.
_score
;
}
isTouch
=
false
;
wallArr
:
Node
[]
=
[];
maxZ
=
0
;
scoreRadio
=
1
;
onLoad
()
{
mdEvent
({
pageView
:
"gamsStart"
});
const
playerCollider
=
this
.
player
.
getComponent
(
Collider
);
playerCollider
.
on
(
"onCollisionEnter"
,
this
.
onPlayerCollision
,
this
);
playerCollider
.
on
(
'onTriggerEnter'
,
this
.
onTriggerEnter
,
this
);
this
.
mainColor
=
this
.
bgAndColor
.
splice
(
0
,
1
)[
0
];
this
.
bg
.
getComponent
(
MeshRenderer
).
material
.
setProperty
(
"mainTexture"
,
this
.
mainColor
.
bg
);
this
.
light
.
color
=
Color
.
clone
(
this
.
mainColor
.
color
);
this
.
lightColor
=
Color
.
clone
(
this
.
mainColor
.
color
);
this
.
playerBody
=
this
.
player
.
getComponent
(
RigidBody
);
this
.
playerConstraint
=
this
.
linkPoint
.
getComponent
(
PointToPointConstraint
);
}
async
start
()
{
this
.
wallArr
[
4
]
=
this
.
initWall
;
for
(
let
i
=
0
;
i
<=
3
;
i
++
)
{
this
.
wallArr
[
i
]
=
this
.
createCube
(
4
-
i
);
}
for
(
let
i
=
5
;
i
<=
11
;
i
++
)
{
this
.
wallArr
[
i
]
=
this
.
createCube
();
}
// await sleep(0.5);
input
.
on
(
Input
.
EventType
.
TOUCH_START
,
this
.
onTouchStart
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_MOVE
,
this
.
onTouchMove
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_END
,
this
.
onTouchEnd
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_CANCEL
,
this
.
onTouchEnd
,
this
);
}
onDestroy
()
{
input
.
off
(
Input
.
EventType
.
TOUCH_START
,
this
.
onTouchStart
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_MOVE
,
this
.
onTouchMove
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_END
,
this
.
onTouchEnd
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_CANCEL
,
this
.
onTouchEnd
,
this
);
this
.
linkPoint
.
destroy
();
// this.playerConstraint.connectedBody = null;
// this.playerConstraint.enabled = false;
}
mainColor
:
BgAndColor
=
null
;
randomMainColor
()
{
// const index = Math.floor(Math.random() * this.bgAndColor.length);
// this.mainColor = this.bgAndColor.splice(index, 1, this.mainColor)[0];
this
.
mainColor
=
this
.
bgAndColor
.
splice
(
0
,
1
)[
0
];
this
.
bgAndColor
.
push
(
this
.
mainColor
);
return
this
.
mainColor
;
}
isOver
:
boolean
=
false
;
async
gameOver
()
{
this
.
isOver
=
true
;
await
sleep
(
1.5
);
await
GameMgr
.
ins
.
submit
(
this
.
score
);
}
scoreRadioFunc
=
()
=>
{
this
.
scoreRadio
=
1
;
}
onTriggerEnter
(
event
:
ITriggerEvent
)
{
const
{
otherCollider
,
selfCollider
}
=
event
;
const
otherName
=
otherCollider
.
node
.
name
;
if
(
otherName
==
"光幕"
)
{
otherCollider
.
node
.
active
=
false
;
this
.
changeMainColor
();
}
else
if
(
otherName
==
"圆环"
)
{
otherCollider
.
node
.
active
=
false
;
this
.
scoreRadio
=
2
;
this
.
unschedule
(
this
.
scoreRadioFunc
);
this
.
scheduleOnce
(
this
.
scoreRadioFunc
,
5
);
tween
(
this
.
hitTip
)
.
set
({
active
:
true
})
.
delay
(
2
)
.
set
({
active
:
false
})
.
start
();
const
crushNode
=
instantiate
(
this
.
crushPrefab
);
this
.
node
.
addChild
(
crushNode
);
crushNode
.
setPosition
(
otherCollider
.
node
.
worldPosition
);
const
particleSys
=
crushNode
.
getComponent
(
ParticleSystem
);
particleSys
.
play
();
this
.
scheduleOnce
(()
=>
{
crushNode
.
destroy
();
},
particleSys
.
duration
);
}
}
onPlayerCollision
(
event
:
ICollisionEvent
)
{
if
(
this
.
isOver
)
return
;
const
{
otherCollider
,
selfCollider
}
=
event
;
const
otherGroup
=
otherCollider
.
getGroup
();
if
(
otherGroup
===
PhysicsSystem
.
PhysicsGroup
[
'Wall'
])
{
// 死了
this
.
playerBody
.
enabled
=
false
;
this
.
player
.
active
=
false
;
const
crushNode
=
instantiate
(
this
.
crushPrefab
);
this
.
node
.
addChild
(
crushNode
);
crushNode
.
setPosition
(
this
.
player
.
position
);
const
particleSys
=
crushNode
.
getComponent
(
ParticleSystem
);
particleSys
.
play
();
this
.
scheduleOnce
(()
=>
{
crushNode
.
destroy
();
},
particleSys
.
duration
);
this
.
gameOver
();
}
}
lightTween
:
Tween
<
any
>
=
null
;
lightColor
:
Color
=
null
;
changeMainColor
()
{
this
.
randomMainColor
();
const
{
bg
,
color
}
=
this
.
mainColor
;
this
.
bg
.
getComponent
(
MeshRenderer
).
material
.
setProperty
(
"mainTexture"
,
bg
);
this
.
lightTween
?.
removeSelf
();
this
.
lightTween
=
tween
({
radio
:
0
})
.
to
(
1
,
{
radio
:
1
},
{
easing
:
easing
.
quadInOut
,
onUpdate
:
(
target
,
ratio
)
=>
{
this
.
lightColor
.
lerp
(
color
,
ratio
);
this
.
light
.
color
=
this
.
lightColor
;
}
})
.
start
();
}
createCube
(
z
=
this
.
wallArr
[
this
.
wallArr
.
length
-
1
].
position
.
z
-
1
)
{
const
singular
=
z
%
2
==
0
;
const
newGroup
=
instantiate
(
singular
?
this
.
wallPrefab
:
this
.
wallPrefab2
);
this
.
node
.
addChild
(
newGroup
);
newGroup
.
setPosition
(
v3
(
0
,
Math
.
random
(),
z
));
return
newGroup
;
}
onTouchStart
(
event
:
any
)
{
if
(
this
.
isOver
)
return
;
this
.
isTouch
=
true
;
AudioMgr
.
ins
.
playOneShot
(
"audio/点击音效"
,
{
bundleName
:
"common"
,
});
this
.
line
.
active
=
true
;
const
pPos
=
this
.
player
.
position
;
const
targetZ
=
pPos
.
z
-
0.5
;
const
index
=
this
.
wallArr
[
0
].
position
.
z
-
Math
.
round
(
targetZ
);
const
y
=
this
.
wallArr
[
index
].
getComponent
(
Wall
).
topY
;
const
linkPos
=
v3
(
0
,
y
,
targetZ
);
this
.
linkPoint
.
setPosition
(
linkPos
);
// 计算角度
const
dir
=
Vec3
.
subtract
(
new
Vec3
(),
linkPos
,
pPos
);
const
angle
=
Math
.
atan
(
dir
.
z
/
dir
.
y
)
*
180
/
Math
.
PI
;
this
.
player
.
setRotationFromEuler
(
angle
,
0
,
0
);
// 重新设置连接点
const
constraintY
=
Vec3
.
distance
(
pPos
,
linkPos
);
this
.
playerConstraint
.
pivotB
=
v3
(
0
,
constraintY
,
0
);
this
.
playerConstraint
.
enabled
=
true
;
const
velocityMultiplier
=
lerp
(
0
,
1
,
this
.
getDifficultyRatio
());
const
linear
=
v3
();
this
.
playerBody
.
getLinearVelocity
(
linear
);
linear
.
multiplyScalar
(
velocityMultiplier
);
this
.
playerBody
.
setLinearVelocity
(
linear
);
const
angular
=
v3
();
this
.
playerBody
.
getAngularVelocity
(
angular
);
angular
.
multiplyScalar
(
velocityMultiplier
);
this
.
playerBody
.
setAngularVelocity
(
v3
());
}
onTouchMove
(
event
:
any
)
{
}
onTouchEnd
(
event
:
any
)
{
if
(
this
.
isOver
)
return
;
if
(
!
this
.
isTouch
)
return
;
this
.
isTouch
=
false
;
this
.
line
.
active
=
false
;
this
.
playerConstraint
.
enabled
=
false
;
}
checkFrame
=
0
;
propCFG
=
[
{
lastZ
:
0
,
create
:
false
,
interval
:
50
,
funcName
:
"createLight"
,
},
{
lastZ
:
0
,
create
:
false
,
interval
:
25
,
funcName
:
"createRing"
,
},
]
checkWall
()
{
this
.
checkFrame
=
0
;
const
pPos
=
this
.
player
.
position
;
const
pz
=
Math
.
round
(
pPos
.
z
);
const
index
=
this
.
wallArr
[
0
].
position
.
z
-
pz
;
const
propLen
=
this
.
propCFG
.
length
;
let
create
=
false
;
for
(
let
i
=
0
;
i
<
propLen
;
i
++
)
{
const
{
lastZ
,
interval
}
=
this
.
propCFG
[
i
];
const
dz
=
lastZ
-
pz
;
if
(
create
)
{
this
.
propCFG
[
i
].
lastZ
=
pz
;
}
else
if
(
dz
>=
interval
)
{
create
=
true
;
this
.
propCFG
[
i
].
create
=
true
;
this
.
propCFG
[
i
].
lastZ
=
pz
;
}
}
const
createCount
=
index
-
4
;
for
(
let
i
=
0
;
i
<
createCount
;
i
++
)
{
const
wall
=
this
.
wallArr
.
shift
();
wall
.
setPosition
(
0
,
Math
.
random
(),
this
.
wallArr
[
this
.
wallArr
.
length
-
1
].
position
.
z
-
1
);
this
.
wallArr
.
push
(
wall
);
const
wallTs
=
wall
.
getComponent
(
Wall
);
wallTs
.
reset
();
for
(
let
i
=
0
;
i
<
propLen
;
i
++
)
{
const
{
funcName
,
create
}
=
this
.
propCFG
[
i
];
if
(
create
)
{
this
.
propCFG
[
i
].
create
=
false
;
wallTs
[
funcName
]();
break
;
}
}
}
}
updateScore
(
addScore
)
{
this
.
score
+=
~~
((
addScore
*
15
)
*
this
.
scoreRadio
);
if
(
this
.
score
>
9999
)
{
this
.
score
=
9999
;
PhysicsSystem
.
instance
.
enable
=
false
;
this
.
gameOver
();
}
}
/**
* 获取难度比例,根据分数返回难度比例,最大到5000,难度最大
* @returns {number} 返回计算后的难度比例值
*/
getDifficultyRatio
():
number
{
return
Math
.
min
(
this
.
score
,
5000
)
/
5000
;
}
protected
lateUpdate
(
dt
:
number
)
{
// PhysicsSystem.instance.physicsWorld.syncSceneToPhysics();
//
// // PhysicsSystem.instance.fixedTimeStep = dt;
// // PhysicsSystem.instance.update(dt);
// PhysicsSystem.instance.step(1/60, dt);
//
// PhysicsSystem.instance.physicsWorld.emitEvents();
// PhysicsSystem.instance.physicsWorld.syncAfterEvents();
}
update
(
dt
:
number
)
{
if
(
this
.
isOver
)
return
;
const
pz
=
-
this
.
player
.
position
.
z
;
const
addScore
=
pz
-
this
.
maxZ
;
if
(
pz
>
0
)
{
this
.
maxZ
+=
addScore
;
this
.
updateScore
(
addScore
);
}
this
.
checkFrame
++
;
// 检测是否需要生成墙
if
(
this
.
checkFrame
>=
20
)
{
this
.
checkWall
();
}
if
(
this
.
isTouch
)
{
const
lineScale
=
Vec3
.
distance
(
this
.
player
.
position
,
this
.
linkPoint
.
position
);
this
.
line
.
setScale
(
1
,
lineScale
/
2
,
1
);
this
.
playerBody
.
applyForce
(
v3
(
0
,
0
,
-
10
));
}
else
{
// this.playerBody.applyForce(v3(0, 0, -10));
}
}
}
assets/Scripts/Scenes/MainGame/GuideGame.ts.meta
0 → 100644
View file @
5c6ed55e
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"94e2c165-67df-4763-b57b-cd91a2cac81d","files":[],"subMetas":{},"userData":{}}
assets/Scripts/Scenes/MainGame/MainGame.ts
View file @
5c6ed55e
...
...
@@ -27,20 +27,11 @@ import { sleep } from "../../Utils/Utils";
import
GameMgr
from
"../../GameMgr"
;
import
{
AudioMgr
}
from
"../../../core_tgx/base/AudioMgr"
;
import
{
mdEvent
}
from
"../../AppTool"
;
import
{
BgAndColor
}
from
"./BgAndColor"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
`BgAndColor`
)
class
BgAndColor
{
@
property
({
type
:
Texture2D
})
bg
:
Texture2D
=
null
;
@
property
({
type
:
Color
})
color
:
Color
=
Color
.
clone
(
Color
.
WHITE
);
}
@
ccclass
(
"MainGame"
)
export
class
MainGame
extends
Scene
{
static
bundle
:
string
=
"MainGame"
;
...
...
@@ -414,5 +405,4 @@ export class MainGame extends Scene {
}
}
profiles/v2/packages/reference-image.json
View file @
5c6ed55e
...
...
@@ -3,7 +3,7 @@
"config"
:
{
"images"
:
[],
"sceneUUID"
:
{},
"scene"
:
"
6446a19f-0546-4738-b4df-6430220eb246
"
"scene"
:
"
7b5de2a0-8504-46ba-9019-37a3548ce8e1
"
},
"show"
:
false
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment