Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
2
241106_yogurt_snake
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
241106_yogurt_snake
Commits
97992bb6
Commit
97992bb6
authored
Nov 06, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
1cb804ce
Changes
62
Show whitespace changes
Inline
Side-by-side
Showing
62 changed files
with
440 additions
and
3704 deletions
+440
-3704
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+150
-14
bg.meta
assets/Bundles/MainGame/bg.meta
+0
-9
1.jpg
assets/Bundles/MainGame/bg/1.jpg
+0
-0
1.jpg.meta
assets/Bundles/MainGame/bg/1.jpg.meta
+0
-43
2.jpg
assets/Bundles/MainGame/bg/2.jpg
+0
-0
2.jpg.meta
assets/Bundles/MainGame/bg/2.jpg.meta
+0
-43
3.jpg
assets/Bundles/MainGame/bg/3.jpg
+0
-0
3.jpg.meta
assets/Bundles/MainGame/bg/3.jpg.meta
+0
-43
4.jpg
assets/Bundles/MainGame/bg/4.jpg
+0
-0
4.jpg.meta
assets/Bundles/MainGame/bg/4.jpg.meta
+0
-43
5.jpg
assets/Bundles/MainGame/bg/5.jpg
+0
-0
5.jpg.meta
assets/Bundles/MainGame/bg/5.jpg.meta
+0
-43
6.jpg
assets/Bundles/MainGame/bg/6.jpg
+0
-0
6.jpg.meta
assets/Bundles/MainGame/bg/6.jpg.meta
+0
-43
AlibabaPuHuiTi-3-85-Bold.ttf
assets/Bundles/MainGame/font/AlibabaPuHuiTi-3-85-Bold.ttf
+0
-0
AlibabaPuHuiTi-3-85-Bold.ttf.meta
...s/Bundles/MainGame/font/AlibabaPuHuiTi-3-85-Bold.ttf.meta
+0
-12
Player.mtl
assets/Bundles/MainGame/material/Player.mtl
+0
-94
Player.mtl.meta
assets/Bundles/MainGame/material/Player.mtl.meta
+0
-11
Wall.mtl
assets/Bundles/MainGame/material/Wall.mtl
+0
-89
Wall.mtl.meta
assets/Bundles/MainGame/material/Wall.mtl.meta
+0
-1
Wall2.mtl
assets/Bundles/MainGame/material/Wall2.mtl
+0
-102
Wall2.mtl.meta
assets/Bundles/MainGame/material/Wall2.mtl.meta
+0
-1
bg.mtl
assets/Bundles/MainGame/material/bg.mtl
+0
-59
bg.mtl.meta
assets/Bundles/MainGame/material/bg.mtl.meta
+0
-1
debris.mtl
assets/Bundles/MainGame/material/debris.mtl
+0
-33
debris.mtl.meta
assets/Bundles/MainGame/material/debris.mtl.meta
+0
-11
fire.mtl
assets/Bundles/MainGame/material/fire.mtl
+0
-45
fire.mtl.meta
assets/Bundles/MainGame/material/fire.mtl.meta
+0
-11
光幕粒子.effect
assets/Bundles/MainGame/material/光幕粒子.effect
+0
-254
光幕粒子.effect.meta
assets/Bundles/MainGame/material/光幕粒子.effect.meta
+0
-11
光幕粒子.mtl
assets/Bundles/MainGame/material/光幕粒子.mtl
+0
-53
光幕粒子.mtl.meta
assets/Bundles/MainGame/material/光幕粒子.mtl.meta
+0
-1
圆环.mtl
assets/Bundles/MainGame/material/圆环.mtl
+0
-49
圆环.mtl.meta
assets/Bundles/MainGame/material/圆环.mtl.meta
+0
-11
SnakeNode.prefab
assets/Bundles/MainGame/prefab/SnakeNode.prefab
+146
-0
SnakeNode.prefab.meta
assets/Bundles/MainGame/prefab/SnakeNode.prefab.meta
+2
-2
Wall.prefab
assets/Bundles/MainGame/prefab/Wall.prefab
+0
-623
Wall2.prefab
assets/Bundles/MainGame/prefab/Wall2.prefab
+0
-623
Wall2.prefab.meta
assets/Bundles/MainGame/prefab/Wall2.prefab.meta
+0
-13
光幕.prefab.meta
assets/Bundles/MainGame/prefab/光幕.prefab.meta
+0
-13
圆环.prefab
assets/Bundles/MainGame/prefab/圆环.prefab
+0
-208
圆环.prefab.meta
assets/Bundles/MainGame/prefab/圆环.prefab.meta
+0
-13
破碎.prefab
assets/Bundles/MainGame/prefab/破碎.prefab
+0
-779
破碎.prefab.meta
assets/Bundles/MainGame/prefab/破碎.prefab.meta
+0
-13
svga.meta
assets/Bundles/MainGame/svga.meta
+0
-9
1输出手势.svga
assets/Bundles/MainGame/svga/1输出手势.svga
+0
-0
1输出手势.svga.meta
assets/Bundles/MainGame/svga/1输出手势.svga.meta
+0
-12
圆环.png
assets/Bundles/MainGame/texture/圆环.png
+0
-0
圆环.png.meta
assets/Bundles/MainGame/texture/圆环.png.meta
+0
-42
玻璃框.png
assets/Bundles/MainGame/texture/玻璃框.png
+0
-0
玻璃框.png.meta
assets/Bundles/MainGame/texture/玻璃框.png.meta
+0
-42
玻璃花纹.png
assets/Bundles/MainGame/texture/玻璃花纹.png
+0
-0
玻璃花纹.png.meta
assets/Bundles/MainGame/texture/玻璃花纹.png.meta
+0
-42
Bg.ts
assets/Scripts/Scenes/MainGame/Bg.ts
+0
-33
Bg.ts.meta
assets/Scripts/Scenes/MainGame/Bg.ts.meta
+0
-9
BgAndColor.ts
assets/Scripts/Scenes/MainGame/BgAndColor.ts
+0
-11
BgAndColor.ts.meta
assets/Scripts/Scenes/MainGame/BgAndColor.ts.meta
+0
-9
MainGame.ts
assets/Scripts/Scenes/MainGame/MainGame.ts
+77
-4
Snake.ts
assets/Scripts/Scenes/MainGame/Snake.ts
+62
-0
Snake.ts.meta
assets/Scripts/Scenes/MainGame/Snake.ts.meta
+1
-1
Wall.ts
assets/Scripts/Scenes/MainGame/Wall.ts
+0
-71
engine.json
settings/v2/packages/engine.json
+2
-2
No files found.
assets/Bundles/MainGame/MainGame.scene
View file @
97992bb6
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__":
9
"__id__":
13
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
},
},
"autoReleaseAssets": false,
"autoReleaseAssets": false,
"_globals": {
"_globals": {
"__id__": 1
0
"__id__": 1
4
},
},
"_id": "53947ca7-3484-4b53-800d-509405063d68"
"_id": "53947ca7-3484-4b53-800d-509405063d68"
},
},
...
@@ -69,21 +69,24 @@
...
@@ -69,21 +69,24 @@
"_children": [
"_children": [
{
{
"__id__": 3
"__id__": 3
},
{
"__id__": 5
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
5
"__id__":
9
},
},
{
{
"__id__":
6
"__id__":
10
},
},
{
{
"__id__":
7
"__id__":
11
},
},
{
{
"__id__":
8
"__id__":
12
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -207,6 +210,135 @@
...
@@ -207,6 +210,135 @@
"_trackingType": 0,
"_trackingType": 0,
"_id": "18n70u7WZCw5lXnvt5XF12"
"_id": "18n70u7WZCw5lXnvt5XF12"
},
},
{
"__type__": "cc.Node",
"_name": "Snake",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
},
{
"__id__": 7
},
{
"__id__": 8
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "ee8O/qSSVCI71mLCUiPZ14"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "f4NXIEHRxHb42L3h6JeOws"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "26Y28dKY5DYrbelc1SN0/x"
},
{
"__type__": "5c1d7QKgk1JsaoI0kPfkdM9",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
},
"_enabled": true,
"__prefab": null,
"nodePrefab": {
"__uuid__": "a9574a8f-f883-4d7f-99ca-86c3984b98aa",
"__expectedType__": "cc.Prefab"
},
"gap": 20,
"_id": "5fBUl8qiFBzbPmQ/o4D604"
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
"_name": "",
"_name": "",
...
@@ -286,6 +418,10 @@
...
@@ -286,6 +418,10 @@
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
"uiLayer": null,
"uiLayer": null,
"snake": {
"__id__": 5
},
"speed": 200,
"_id": "82BvT1r7xD+JbBxZ+0VBoD"
"_id": "82BvT1r7xD+JbBxZ+0VBoD"
},
},
{
{
...
@@ -299,28 +435,28 @@
...
@@ -299,28 +435,28 @@
{
{
"__type__": "cc.SceneGlobals",
"__type__": "cc.SceneGlobals",
"ambient": {
"ambient": {
"__id__": 1
1
"__id__": 1
5
},
},
"shadows": {
"shadows": {
"__id__": 1
2
"__id__": 1
6
},
},
"_skybox": {
"_skybox": {
"__id__": 1
3
"__id__": 1
7
},
},
"fog": {
"fog": {
"__id__": 1
4
"__id__": 1
8
},
},
"octree": {
"octree": {
"__id__": 1
5
"__id__": 1
9
},
},
"skin": {
"skin": {
"__id__":
16
"__id__":
20
},
},
"lightProbeInfo": {
"lightProbeInfo": {
"__id__":
17
"__id__":
21
},
},
"postSettings": {
"postSettings": {
"__id__":
18
"__id__":
22
},
},
"bakedWithStationaryMainLight": false,
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
"bakedWithHighpLightmap": false
...
...
assets/Bundles/MainGame/bg.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "9f26dd88-76e6-43a9-aa25-2610da607d68",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/bg/1.jpg
deleted
100644 → 0
View file @
1cb804ce
150 KB
assets/Bundles/MainGame/bg/1.jpg.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5cd68bd9-12b8-4f3a-8561-6f04bee36fab",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5cd68bd9-12b8-4f3a-8561-6f04bee36fab@6c48a",
"displayName": "1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "5cd68bd9-12b8-4f3a-8561-6f04bee36fab",
"isUuid": true,
"visible": false,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5cd68bd9-12b8-4f3a-8561-6f04bee36fab@6c48a",
"flipVertical": false
}
}
assets/Bundles/MainGame/bg/2.jpg
deleted
100644 → 0
View file @
1cb804ce
158 KB
assets/Bundles/MainGame/bg/2.jpg.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ddac7794-c7a4-48c5-af61-9b423244cd56",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ddac7794-c7a4-48c5-af61-9b423244cd56@6c48a",
"displayName": "2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "ddac7794-c7a4-48c5-af61-9b423244cd56",
"isUuid": true,
"visible": false,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ddac7794-c7a4-48c5-af61-9b423244cd56@6c48a",
"flipVertical": false
}
}
assets/Bundles/MainGame/bg/3.jpg
deleted
100644 → 0
View file @
1cb804ce
142 KB
assets/Bundles/MainGame/bg/3.jpg.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "e2d279b1-9efa-4892-9fda-ec634890607a",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "e2d279b1-9efa-4892-9fda-ec634890607a@6c48a",
"displayName": "3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "e2d279b1-9efa-4892-9fda-ec634890607a",
"isUuid": true,
"visible": false,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "e2d279b1-9efa-4892-9fda-ec634890607a@6c48a",
"flipVertical": false
}
}
assets/Bundles/MainGame/bg/4.jpg
deleted
100644 → 0
View file @
1cb804ce
85.2 KB
assets/Bundles/MainGame/bg/4.jpg.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5f469da0-8050-49f7-b1ee-f0c22b0d417c",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5f469da0-8050-49f7-b1ee-f0c22b0d417c@6c48a",
"displayName": "4",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "5f469da0-8050-49f7-b1ee-f0c22b0d417c",
"isUuid": true,
"visible": false,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5f469da0-8050-49f7-b1ee-f0c22b0d417c@6c48a",
"flipVertical": false
}
}
assets/Bundles/MainGame/bg/5.jpg
deleted
100644 → 0
View file @
1cb804ce
203 KB
assets/Bundles/MainGame/bg/5.jpg.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ce62197d-60bb-42b0-9956-41a4dd6d8f02",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ce62197d-60bb-42b0-9956-41a4dd6d8f02@6c48a",
"displayName": "5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "ce62197d-60bb-42b0-9956-41a4dd6d8f02",
"isUuid": true,
"visible": false,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ce62197d-60bb-42b0-9956-41a4dd6d8f02@6c48a",
"flipVertical": false
}
}
assets/Bundles/MainGame/bg/6.jpg
deleted
100644 → 0
View file @
1cb804ce
203 KB
assets/Bundles/MainGame/bg/6.jpg.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "69e69ee3-3317-4297-ba6d-9e4689622de0",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "69e69ee3-3317-4297-ba6d-9e4689622de0@6c48a",
"displayName": "6",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "69e69ee3-3317-4297-ba6d-9e4689622de0",
"isUuid": true,
"visible": false,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "69e69ee3-3317-4297-ba6d-9e4689622de0@6c48a",
"flipVertical": false
}
}
assets/Bundles/MainGame/font/AlibabaPuHuiTi-3-85-Bold.ttf
deleted
100644 → 0
View file @
1cb804ce
File deleted
assets/Bundles/MainGame/font/AlibabaPuHuiTi-3-85-Bold.ttf.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "94fd4aeb-6850-44cc-8dd6-72d39fc549ff",
"files": [
".json",
"AlibabaPuHuiTi-3-85-Bold.ttf"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/material/Player.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "c8f66d17-351a-48da-a12c-0212d28575c4",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"USE_INSTANCING": true
},
{},
{},
{},
{},
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"emissive": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
},
{},
{},
{},
{},
{}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/Player.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.21",
"importer": "material",
"imported": true,
"uuid": "6e2fa11c-2468-446a-a6b9-d05f534a596a",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/material/Wall.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "c8f66d17-351a-48da-a12c-0212d28575c4",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"USE_INSTANCING": true
},
{},
{},
{},
{},
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"roughness": 1,
"specularIntensity": 0
},
{},
{},
{},
{},
{}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/Wall.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{"ver":"1.0.21","importer":"material","imported":true,"uuid":"32924590-b9c6-42cf-9693-0181a173ad4e","files":[".json"],"subMetas":{},"userData":{}}
assets/Bundles/MainGame/material/Wall2.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "c8f66d17-351a-48da-a12c-0212d28575c4",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"USE_INSTANCING": true
},
{},
{},
{},
{},
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"roughness": 1,
"specularIntensity": 0,
"emissive": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"emissiveScale": {
"__type__": "cc.Vec3",
"x": 0.025,
"y": 0.025,
"z": 0.025
}
},
{},
{},
{},
{},
{}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/Wall2.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{"ver":"1.0.21","importer":"material","imported":true,"uuid":"70aede3c-4375-42c6-abc9-54a869f7adba","files":[".json"],"subMetas":{},"userData":{}}
assets/Bundles/MainGame/material/bg.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"USE_INSTANCING": true,
"USE_TEXTURE": true
},
{},
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"mainTexture": {
"__uuid__": "5cd68bd9-12b8-4f3a-8561-6f04bee36fab@6c48a",
"__expectedType__": "cc.Texture2D"
}
},
{},
{}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/bg.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{"ver":"1.0.21","importer":"material","imported":true,"uuid":"ef4024d6-1023-4544-8a14-3fe0ab7bb522","files":[".json"],"subMetas":{},"userData":{}}
assets/Bundles/MainGame/material/debris.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"_native": "",
"_effectAsset": {
"__uuid__": "971bdb23-3ff6-43eb-b422-1c30165a3663",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"mainTexture": {
"__uuid__": "ee83d89f-eac7-491a-8660-50e779854fe0@6c48a",
"__expectedType__": "cc.Texture2D"
}
}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/debris.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.21",
"importer": "material",
"imported": true,
"uuid": "fc737222-9e11-400a-8119-f513d5820f83",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/material/fire.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "971bdb23-3ff6-43eb-b422-1c30165a3663",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": "0",
"_defines": [
{},
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"mainTexture": {
"__uuid__": "39e1e9d6-b461-4c06-81b9-f1ddc09193d7@6c48a",
"__expectedType__": "cc.Texture2D"
}
},
{}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/fire.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.21",
"importer": "material",
"imported": true,
"uuid": "fc4593aa-cae7-447c-8316-f92f0c7590d4",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/material/光幕粒子.effect
deleted
100644 → 0
View file @
1cb804ce
// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
CCEffect %{
techniques:
- name: opaque
passes:
- vert: unlit-vs:vert
frag: unlit-fs:frag
properties: &props
mainTexture: { value: grey }
particleTexture: { value: grey }
tilingOffset: { value: [1, 1, 0, 0] }
mainColor: { value: [1, 1, 1, 1], linear: true, editor: { type: color } }
colorScale: { value: [1, 1, 1], target: colorScaleAndCutoff.xyz }
alphaThreshold: { value: 0.5, target: colorScaleAndCutoff.w, editor: { parent: USE_ALPHA_TEST } }
color: { target: mainColor, linear: true, editor: { visible: false } } # backward compability
migrations: &migs
properties:
mainColor: { formerlySerializedAs: color }
- &planar-shadow
vert: planar-shadow-vs:vert
frag: planar-shadow-fs:frag
phase: planar-shadow
propertyIndex: 0
depthStencilState:
depthTest: true
depthWrite: false
stencilTestFront: true
stencilFuncFront: not_equal
stencilPassOpFront: replace
stencilRef: 0x80 # only use the leftmost bit
stencilReadMask: 0x80
stencilWriteMask: 0x80
blendState:
targets:
- blend: true
blendSrc: src_alpha
blendDst: one_minus_src_alpha
blendDstAlpha: one_minus_src_alpha
- &deferred-forward
vert: unlit-vs:vert
frag: unlit-fs:frag
phase: deferred-forward
propertyIndex: 0
- name: transparent
passes:
- vert: unlit-vs:vert
frag: unlit-fs:frag
depthStencilState: &d1
depthTest: true
depthWrite: false
blendState: &b1
targets:
- blend: true
blendSrc: src_alpha
blendDst: one_minus_src_alpha
blendDstAlpha: one_minus_src_alpha
properties: *props
migrations: *migs
- *planar-shadow
- &deferred-forward-transparent
vert: unlit-vs:vert
frag: unlit-fs:frag
phase: deferred-forward
propertyIndex: 0
migrations: *migs
depthStencilState: *d1
blendState: *b1
- name: add
passes:
- vert: unlit-vs:vert
frag: unlit-fs:frag
rasterizerState: &r1 { cullMode: none }
depthStencilState: *d1
blendState: &b2
targets:
- blend: true
blendSrc: src_alpha
blendDst: one
blendSrcAlpha: src_alpha
blendDstAlpha: one
properties: *props
migrations: *migs
- &deferred-forward-add
vert: unlit-vs:vert
frag: unlit-fs:frag
phase: deferred-forward
rasterizerState: *r1
depthStencilState: *d1
blendState: *b2
propertyIndex: 0
migrations: *migs
- name: alpha-blend
passes:
- vert: unlit-vs:vert
frag: unlit-fs:frag
rasterizerState: *r1
depthStencilState: *d1
blendState: &b3
targets:
- blend: true
blendSrc: src_alpha
blendDst: one_minus_src_alpha
blendSrcAlpha: src_alpha
blendDstAlpha: one_minus_src_alpha
properties: *props
migrations: *migs
- &deferred-forward-alpha-blend
vert: unlit-vs:vert
frag: unlit-fs:frag
phase: deferred-forward
rasterizerState: *r1
depthStencilState: *d1
blendState: *b3
propertyIndex: 0
migrations: *migs
}%
CCProgram unlit-vs %{
precision highp float;
#include <legacy/input>
#include <builtin/uniforms/cc-global>
#include <legacy/decode-base>
#include <legacy/local-batch>
#include <legacy/input>
#include <legacy/fog-vs>
#if USE_VERTEX_COLOR
in lowp vec4 a_color;
out lowp vec4 v_color;
#endif
#if USE_TEXTURE
out vec2 v_uv;
uniform TexCoords {
vec4 tilingOffset;
};
#endif
vec4 vert () {
vec4 position;
CCVertInput(position);
mat4 matWorld;
CCGetWorldMatrix(matWorld);
#if USE_TEXTURE
v_uv = a_texCoord * tilingOffset.xy + tilingOffset.zw;
#if SAMPLE_FROM_RT
CC_HANDLE_RT_SAMPLE_FLIP(v_uv);
#endif
#endif
#if USE_VERTEX_COLOR
v_color = a_color;
#endif
CC_TRANSFER_FOG(matWorld * position);
return cc_matProj * (cc_matView * matWorld) * position;
}
}%
CCProgram unlit-fs %{
precision highp float;
#include <legacy/output-standard>
#include <legacy/fog-fs>
#include <builtin/uniforms/cc-global>
#if USE_ALPHA_TEST
#pragma define-meta ALPHA_TEST_CHANNEL options([a, r, g, b])
#endif
#if USE_TEXTURE
in vec2 v_uv;
uniform sampler2D mainTexture;
uniform sampler2D particleTexture;
#endif
uniform Constant {
vec4 mainColor;
vec4 colorScaleAndCutoff;
};
#if USE_VERTEX_COLOR
in lowp vec4 v_color;
#endif
vec4 frag () {
vec4 o = mainColor;
o.rgb *= colorScaleAndCutoff.xyz;
#if USE_VERTEX_COLOR
o.rgb *= SRGBToLinear(v_color.rgb);//use linear
o.a *= v_color.a;
#endif
#if USE_TEXTURE
vec4 texColor = texture(mainTexture, v_uv);
vec2 uv = v_uv;
uv.y += cc_time.x / 4.0;
vec4 particleColor = texture(particleTexture, uv);
texColor += particleColor;
texColor.rgb = SRGBToLinear(texColor.rgb);
o *= texColor;
#endif
#if USE_ALPHA_TEST
if (o.ALPHA_TEST_CHANNEL < colorScaleAndCutoff.w) discard;
#endif
CC_APPLY_FOG(o);
return CCFragOutput(o);
}
}%
CCProgram planar-shadow-vs %{
precision highp float;
#include <legacy/input>
#include <builtin/uniforms/cc-global>
#include <legacy/decode-base>
#include <legacy/local-batch>
#include <builtin/uniforms/cc-shadow>
#include <common/lighting/functions>
out float v_dist;
vec4 vert () {
vec4 position;
CCVertInput(position);
// World Space
mat4 matWorld, matWorldIT;
CCGetWorldMatrixFull(matWorld, matWorldIT);
vec3 worldPos = (matWorld * position).xyz;
vec4 shadowPos = CalculatePlanarShadowPos(worldPos, cc_cameraPos.xyz, cc_mainLitDir.xyz, cc_planarNDInfo);
position = CalculatePlanarShadowClipPos(shadowPos, cc_cameraPos.xyz, cc_matView, cc_matProj, cc_nearFar, cc_shadowWHPBInfo.w);
v_dist = shadowPos.w;
return position;
}
}%
CCProgram planar-shadow-fs %{
precision highp float;
#include <builtin/uniforms/cc-shadow>
#include <legacy/output>
in float v_dist;
vec4 frag () {
if(v_dist < 0.0)
discard;
return CCFragOutput(cc_shadowColor);
}
}%
assets/Bundles/MainGame/material/光幕粒子.effect.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.7.1",
"importer": "effect",
"imported": true,
"uuid": "2da8908c-0cfa-42b9-a096-d2a8c3077dfe",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/material/光幕粒子.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "2da8908c-0cfa-42b9-a096-d2a8c3077dfe",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 2,
"_defines": [
{
"USE_INSTANCING": true,
"USE_TEXTURE": true
},
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"mainTexture": {
"__uuid__": "f6df98d9-6a78-4b37-819c-b85c91dd9046@6c48a",
"__expectedType__": "cc.Texture2D"
},
"particleTexture": {
"__uuid__": "27625008-7534-479b-be2b-3266f5eb51ef@6c48a",
"__expectedType__": "cc.Texture2D"
}
},
{}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/光幕粒子.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{"ver":"1.0.21","importer":"material","imported":true,"uuid":"3c0aedbc-593b-4d89-9145-0714810d35d5","files":[".json"],"subMetas":{},"userData":{}}
assets/Bundles/MainGame/material/圆环.mtl
deleted
100644 → 0
View file @
1cb804ce
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 2,
"_defines": [
{
"USE_INSTANCING": true,
"USE_TEXTURE": true
},
{}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
},
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{
"mainTexture": {
"__uuid__": "c5420122-73de-4379-bb8d-6e4fc74b14e1@6c48a",
"__expectedType__": "cc.Texture2D"
}
},
{}
]
}
\ No newline at end of file
assets/Bundles/MainGame/material/圆环.mtl.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.21",
"importer": "material",
"imported": true,
"uuid": "9518c0cb-641d-4f31-8e82-5da4ae3d507c",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/prefab/
光幕
.prefab
→
assets/Bundles/MainGame/prefab/
SnakeNode
.prefab
View file @
97992bb6
[
[
{
{
"__type__": "cc.Prefab",
"__type__": "cc.Prefab",
"_name": "
光幕
",
"_name": "
SnakeNode
",
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"_native": "",
"_native": "",
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
光幕
",
"_name": "
SnakeNode
",
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
"_parent": null,
"_parent": null,
...
@@ -24,14 +24,11 @@
...
@@ -24,14 +24,11 @@
"__id__": 2
"__id__": 2
},
},
{
{
"__id__": 5
"__id__": 4
},
{
"__id__": 7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
9
"__id__":
6
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -49,11 +46,11 @@
...
@@ -49,11 +46,11 @@
"_lscale": {
"_lscale": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 1,
"x": 1,
"y":
4
,
"y":
1
,
"z": 1
"z": 1
},
},
"_mobility": 0,
"_mobility": 0,
"_layer":
1073741824
,
"_layer":
33554432
,
"_euler": {
"_euler": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
...
@@ -63,68 +60,7 @@
...
@@ -63,68 +60,7 @@
"_id": ""
"_id": ""
},
},
{
{
"__type__": "cc.MeshRenderer",
"__type__": "cc.UITransform",
"_name": "Quad<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 3
},
"_materials": [
{
"__uuid__": "3c0aedbc-593b-4d89-9145-0714810d35d5",
"__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,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1esW4ppkxLe5XPsWE+qAlV"
},
{
"__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": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
...
@@ -133,35 +69,26 @@
...
@@ -133,35 +69,26 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
6
"__id__":
3
},
},
"_group": 16,
"_contentSize": {
"_type": 2,
"__type__": "cc.Size",
"_mass": 1,
"width": 40,
"_allowSleep": true,
"height": 36
"_linearDamping": 0.1,
"_angularDamping": 0.1,
"_useGravity": true,
"_linearFactor": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
},
"_angularFactor": {
"_anchorPoint": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec2",
"x": 1,
"x": 0.5,
"y": 1,
"y": 0.5
"z": 1
},
},
"_id": ""
"_id": ""
},
},
{
{
"__type__": "cc.CompPrefabInfo",
"__type__": "cc.CompPrefabInfo",
"fileId": "
adOM9abJ9K9r9tHOQOdFB/
"
"fileId": "
24/bLKmKpBEoSXWDCvfHXU
"
},
},
{
{
"__type__": "cc.
BoxCollider
",
"__type__": "cc.
Sprite
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"__editorExtras__": {},
"__editorExtras__": {},
...
@@ -170,27 +97,40 @@
...
@@ -170,27 +97,40 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
8
"__id__":
5
},
},
"_material": null,
"_customMaterial": null,
"_isTrigger": true,
"_srcBlendFactor": 2,
"_center": {
"_dstBlendFactor": 4,
"__type__": "cc.Vec3",
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"x": 0,
"y": 0,
"y": 0
"z": -0.25
},
"_size": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 0.5
},
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
"_id": ""
},
},
{
{
"__type__": "cc.CompPrefabInfo",
"__type__": "cc.CompPrefabInfo",
"fileId": "
7foxUj5fJFh6p76ymjuNPN
"
"fileId": "
c40RCLyqZAIpd1vxqhFvj8
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -200,7 +140,7 @@
...
@@ -200,7 +140,7 @@
"asset": {
"asset": {
"__id__": 0
"__id__": 0
},
},
"fileId": "
51Y9gslglDXYKIJMxhL9pl
",
"fileId": "
8963j3RWtPLZvQEDLda/Eu
",
"targetOverrides": null
"targetOverrides": null
}
}
]
]
\ No newline at end of file
assets/Bundles/MainGame/prefab/
Wall
.prefab.meta
→
assets/Bundles/MainGame/prefab/
SnakeNode
.prefab.meta
View file @
97992bb6
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
"ver": "1.1.50",
"ver": "1.1.50",
"importer": "prefab",
"importer": "prefab",
"imported": true,
"imported": true,
"uuid": "
ff249ea2-131c-46cc-8bb5-e07bfcca3d01
",
"uuid": "
a9574a8f-f883-4d7f-99ca-86c3984b98aa
",
"files": [
"files": [
".json"
".json"
],
],
"subMetas": {},
"subMetas": {},
"userData": {
"userData": {
"syncNodeName": "
Wall
"
"syncNodeName": "
SnakeNode
"
}
}
}
}
assets/Bundles/MainGame/prefab/Wall.prefab
deleted
100644 → 0
View file @
1cb804ce
[
{
"__type__": "cc.Prefab",
"_name": "Wall",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "Wall",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 24
}
],
"_prefab": {
"__id__": 26
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "top",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 12
},
"_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": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "cube",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 11
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 3,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 6,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.MeshRenderer",
"_name": "Cube<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 5
},
"_materials": [
{
"__uuid__": "32924590-b9c6-42cf-9693-0181a173ad4e",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 6
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@a804a",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c8IRBNVYBJXIOYZQvxjPUb"
},
{
"__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__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_group": 4,
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "01wlF/hfND8pmdWC2h2I++"
},
{
"__type__": "cc.BoxCollider",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_material": null,
"_isTrigger": false,
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "14+FiwmehI450ji1n9g7zc"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7conioHDdE36rB4PIZL9O6",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "96dpzo77pO96VKXdyKN85u",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bottom",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 14
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 23
},
"_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": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "cube",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 13
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
},
{
"__id__": 18
},
{
"__id__": 20
}
],
"_prefab": {
"__id__": 22
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -3,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 6,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.MeshRenderer",
"_name": "Cube<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_materials": [
{
"__uuid__": "32924590-b9c6-42cf-9693-0181a173ad4e",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 17
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@a804a",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "adHrAUv+JEeK5ZASMooFcN"
},
{
"__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__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_group": 4,
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3e+7fqPL9OL72sBQupBvzq"
},
{
"__type__": "cc.BoxCollider",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"_material": null,
"_isTrigger": false,
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3dHNyX5eVOKIaBIclHlGlu"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "2aJrn7NTpLLYWsGUWc0SfH",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d9YCziuJpHnINCIhoGU//r",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "ed495+zD99K/aaOfSoerTg8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 25
},
"top": {
"__id__": 2
},
"bottom": {
"__id__": 13
},
"isInit": false,
"lightPrefab": {
"__uuid__": "9f30d580-4fa7-48b4-af7f-460d23e3c9e0",
"__expectedType__": "cc.Prefab"
},
"ringPrefab": {
"__uuid__": "92797147-1d66-471c-a539-78bceda0ebaf",
"__expectedType__": "cc.Prefab"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "660NB3qb1PebQH5SskUx/E"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "aegNE1yWlBBIKxxsS+uiuP",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
assets/Bundles/MainGame/prefab/Wall2.prefab
deleted
100644 → 0
View file @
1cb804ce
[
{
"__type__": "cc.Prefab",
"_name": "Wall2",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "Wall2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 24
}
],
"_prefab": {
"__id__": 26
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "top",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 12
},
"_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": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "cube",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 11
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 3,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 6,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.MeshRenderer",
"_name": "Cube<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 5
},
"_materials": [
{
"__uuid__": "70aede3c-4375-42c6-abc9-54a869f7adba",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 6
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@a804a",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "559U69oZlBWYEr3mFSMQ74"
},
{
"__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__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_group": 4,
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8b8+2bjJZPULtwPJFWyye2"
},
{
"__type__": "cc.BoxCollider",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_material": null,
"_isTrigger": false,
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2f94Q/OTVIna8bKI5OP1kl"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "75T8buk9ZNW5vglycYBGnn",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "60WvK7Q4xO84CW50pUiEZ/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bottom",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 14
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 23
},
"_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": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "cube",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 13
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
},
{
"__id__": 18
},
{
"__id__": 20
}
],
"_prefab": {
"__id__": 22
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -3,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 6,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.MeshRenderer",
"_name": "Cube<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_materials": [
{
"__uuid__": "70aede3c-4375-42c6-abc9-54a869f7adba",
"__expectedType__": "cc.Material"
}
],
"_visFlags": 0,
"bakeSettings": {
"__id__": 17
},
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@a804a",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_shadowBias": 0,
"_shadowNormalBias": 0,
"_reflectionProbeId": -1,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0e/8zOq/9Of64+Al38zhrL"
},
{
"__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__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_group": 4,
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a51/7F/8xFYaiikeAXgGRc"
},
{
"__type__": "cc.BoxCollider",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"_material": null,
"_isTrigger": false,
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8dUkAi+X1OoqYuP3Pp+unn"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ea9MZ1hApKA5JHRscwtNn7",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "23V9IFqtFFrrs9XA7ZG515",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "ed495+zD99K/aaOfSoerTg8",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 25
},
"top": {
"__id__": 2
},
"bottom": {
"__id__": 13
},
"isInit": true,
"lightPrefab": {
"__uuid__": "9f30d580-4fa7-48b4-af7f-460d23e3c9e0",
"__expectedType__": "cc.Prefab"
},
"ringPrefab": {
"__uuid__": "92797147-1d66-471c-a539-78bceda0ebaf",
"__expectedType__": "cc.Prefab"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8021BQhS1GKYUcyHMMP9XL"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d4iYkvxtJO87QMcNhqpzME",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
assets/Bundles/MainGame/prefab/Wall2.prefab.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "50650cb7-af92-4041-93d7-e8d9a7fa446d",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Wall2"
}
}
assets/Bundles/MainGame/prefab/光幕.prefab.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "9f30d580-4fa7-48b4-af7f-460d23e3c9e0",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "光幕"
}
}
assets/Bundles/MainGame/prefab/圆环.prefab
deleted
100644 → 0
View file @
1cb804ce
[
{
"__type__": "cc.Prefab",
"_name": "圆环",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "圆环",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.MeshRenderer",
"_name": "Quad<ModelComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 3
},
"_materials": [
{
"__uuid__": "9518c0cb-641d-4f31-8e82-5da4ae3d507c",
"__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,
"_reflectionProbeBlendId": -1,
"_reflectionProbeBlendWeight": 0,
"_enabledGlobalStandardSkinObject": false,
"_enableMorph": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "03EPHmR75GcYq5CJ8OJb6h"
},
{
"__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__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_group": 16,
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "44yph2cU1NXYAQITb6YGON"
},
{
"__type__": "cc.BoxCollider",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_material": null,
"_isTrigger": true,
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -0.125
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.74,
"y": 0.74,
"z": 0.25
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7fsrR045pJHIRSu7DpqTQ5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "40QKTBsKxLooiCP4/ZePDg",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
assets/Bundles/MainGame/prefab/圆环.prefab.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "92797147-1d66-471c-a539-78bceda0ebaf",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "圆环"
}
}
assets/Bundles/MainGame/prefab/破碎.prefab
deleted
100644 → 0
View file @
1cb804ce
[
{
"__type__": "cc.Prefab",
"_name": "破碎",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "破碎",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
}
],
"_prefab": {
"__id__": 62
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.ParticleSystem",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 3
},
"_materials": [
{
"__uuid__": "fc737222-9e11-400a-8119-f513d5820f83",
"__expectedType__": "cc.Material"
},
null
],
"_visFlags": 0,
"startColor": {
"__id__": 4
},
"scaleSpace": 1,
"startSize3D": false,
"startSizeX": {
"__id__": 5
},
"startSize": {
"__id__": 5
},
"startSizeY": {
"__id__": 6
},
"startSizeZ": {
"__id__": 7
},
"startSpeed": {
"__id__": 8
},
"startRotation3D": false,
"startRotationX": {
"__id__": 9
},
"startRotationY": {
"__id__": 10
},
"startRotationZ": {
"__id__": 11
},
"startRotation": {
"__id__": 11
},
"startDelay": {
"__id__": 12
},
"startLifetime": {
"__id__": 13
},
"duration": 1,
"loop": false,
"simulationSpeed": 1,
"playOnAwake": false,
"gravityModifier": {
"__id__": 14
},
"rateOverTime": {
"__id__": 15
},
"rateOverDistance": {
"__id__": 16
},
"bursts": [
{
"__id__": 17
}
],
"_renderCulling": false,
"_cullingMode": 0,
"_aabbHalfX": 0.3205404577179447,
"_aabbHalfY": 0.9880537763265034,
"_aabbHalfZ": 1.798194204995612,
"_dataCulling": false,
"enableCulling": false,
"_colorOverLifetimeModule": {
"__id__": 19
},
"_shapeModule": {
"__id__": 26
},
"_sizeOvertimeModule": {
"__id__": 28
},
"_velocityOvertimeModule": {
"__id__": 33
},
"_forceOvertimeModule": {
"__id__": 39
},
"_limitVelocityOvertimeModule": {
"__id__": 43
},
"_rotationOvertimeModule": {
"__id__": 48
},
"_textureAnimationModule": {
"__id__": 52
},
"_noiseModule": {
"__id__": 55
},
"_trailModule": {
"__id__": 56
},
"renderer": {
"__id__": 61
},
"_prewarm": false,
"_capacity": 20,
"_simulationSpace": 1,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "69tMWomrJLK5K+XKs6ereR"
},
{
"__type__": "cc.GradientRange",
"_mode": 0,
"color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": 0.05,
"constantMax": 0.1,
"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,
"constantMax": 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": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": 0.5,
"constantMax": 1,
"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.Burst",
"_time": 0,
"_repeatCount": 1,
"repeatInterval": 1,
"count": {
"__id__": 18
}
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 20,
"multiplier": 1
},
{
"__type__": "cc.ColorOvertimeModule",
"_enable": true,
"color": {
"__id__": 20
}
},
{
"__type__": "cc.GradientRange",
"_mode": 1,
"gradient": {
"__id__": 21
}
},
{
"__type__": "cc.Gradient",
"colorKeys": [
{
"__id__": 22
},
{
"__id__": 23
},
{
"__id__": 24
}
],
"alphaKeys": [
{
"__id__": 25
}
],
"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.5
},
{
"__type__": "cc.ColorKey",
"color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"time": 1
},
{
"__type__": "cc.AlphaKey",
"alpha": 255,
"time": 1
},
{
"__type__": "cc.ShapeModule",
"_enable": true,
"_shapeType": 3,
"shapeType": 3,
"emitFrom": 3,
"alignToDirection": false,
"randomDirectionAmount": 0,
"sphericalDirectionAmount": 0,
"randomPositionAmount": 0,
"radius": 0.1,
"radiusThickness": 1,
"arcMode": 0,
"arcSpread": 0,
"arcSpeed": {
"__id__": 27
},
"length": 0.437,
"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
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.SizeOvertimeModule",
"_enable": false,
"separateAxes": false,
"size": {
"__id__": 29
},
"x": {
"__id__": 30
},
"y": {
"__id__": 31
},
"z": {
"__id__": 32
}
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.VelocityOvertimeModule",
"_enable": true,
"x": {
"__id__": 34
},
"y": {
"__id__": 35
},
"z": {
"__id__": 37
},
"speedModifier": {
"__id__": 38
},
"space": 0
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 1,
"spline": {
"__id__": 36
},
"multiplier": 2
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.007407407407407408,
"rightTangent": -1,
"rightTangentWeight": 1,
"leftTangent": -1,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -1,
"rightTangent": -1.0074074074074073,
"rightTangentWeight": 1,
"leftTangent": -1.0074074074074073,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 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__": 40
},
"y": {
"__id__": 41
},
"z": {
"__id__": 42
},
"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__": 44
},
"limitY": {
"__id__": 45
},
"limitZ": {
"__id__": 46
},
"limit": {
"__id__": 47
},
"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__": 49
},
"y": {
"__id__": 50
},
"z": {
"__id__": 51
}
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": -6.283185307179586,
"constantMax": 6.283185307179586,
"multiplier": 1
},
{
"__type__": "cc.TextureAnimationModule",
"_enable": true,
"_numTilesX": 3,
"numTilesX": 3,
"_numTilesY": 3,
"numTilesY": 3,
"_mode": 0,
"animation": 0,
"frameOverTime": {
"__id__": 53
},
"startFrame": {
"__id__": 54
},
"cycleCount": 1,
"_flipU": 0,
"_flipV": 0,
"_uvChannelMask": -1,
"randomRow": false,
"rowIndex": 0
},
{
"__type__": "cc.CurveRange",
"mode": 0,
"constant": 0,
"multiplier": 1
},
{
"__type__": "cc.CurveRange",
"mode": 3,
"constantMin": 0,
"constantMax": 8,
"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__": 57
},
"_minParticleDistance": 0.1,
"existWithParticles": true,
"textureMode": 0,
"widthFromParticle": true,
"widthRatio": {
"__id__": 58
},
"colorFromParticle": false,
"colorOverTrail": {
"__id__": 59
},
"colorOvertime": {
"__id__": 60
},
"_space": 0,
"_particleSystem": {
"__id__": 2
}
},
{
"__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__": "fc737222-9e11-400a-8119-f513d5820f83",
"__expectedType__": "cc.Material"
},
"_mainTexture": {
"__uuid__": "ee83d89f-eac7-491a-8660-50e779854fe0@6c48a",
"__expectedType__": "cc.Texture2D"
},
"_useGPU": true,
"_alignSpace": 2
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "03vva3aOpLv56Fq5gD9Fbj",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
assets/Bundles/MainGame/prefab/破碎.prefab.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "92ecb835-f55d-479d-88a7-89cdca3a7dd6",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "破碎"
}
}
assets/Bundles/MainGame/svga.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "9e1763c8-e82d-4301-801a-d738b026a7af",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/svga/1输出手势.svga
deleted
100644 → 0
View file @
1cb804ce
File deleted
assets/Bundles/MainGame/svga/1输出手势.svga.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.0",
"importer": "*",
"imported": true,
"uuid": "46343c99-7acb-4df4-9c35-3d9cab5e102e",
"files": [
".json",
".svga"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/texture/圆环.png
deleted
100644 → 0
View file @
1cb804ce
67.4 KB
assets/Bundles/MainGame/texture/圆环.png.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "c5420122-73de-4379-bb8d-6e4fc74b14e1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c5420122-73de-4379-bb8d-6e4fc74b14e1@6c48a",
"displayName": "圆环",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "c5420122-73de-4379-bb8d-6e4fc74b14e1",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "nearest",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "c5420122-73de-4379-bb8d-6e4fc74b14e1@6c48a"
}
}
assets/Bundles/MainGame/texture/玻璃框.png
deleted
100644 → 0
View file @
1cb804ce
5.81 KB
assets/Bundles/MainGame/texture/玻璃框.png.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f6df98d9-6a78-4b37-819c-b85c91dd9046",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f6df98d9-6a78-4b37-819c-b85c91dd9046@6c48a",
"displayName": "玻璃框",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "f6df98d9-6a78-4b37-819c-b85c91dd9046",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "nearest",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f6df98d9-6a78-4b37-819c-b85c91dd9046@6c48a"
}
}
assets/Bundles/MainGame/texture/玻璃花纹.png
deleted
100644 → 0
View file @
1cb804ce
14.2 KB
assets/Bundles/MainGame/texture/玻璃花纹.png.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "27625008-7534-479b-be2b-3266f5eb51ef",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "27625008-7534-479b-be2b-3266f5eb51ef@6c48a",
"displayName": "玻璃花纹",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"imageUuidOrDatabaseUri": "27625008-7534-479b-be2b-3266f5eb51ef",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "nearest",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "texture",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "27625008-7534-479b-be2b-3266f5eb51ef@6c48a"
}
}
assets/Scripts/Scenes/MainGame/Bg.ts
deleted
100644 → 0
View file @
1cb804ce
import
{
_decorator
,
Component
,
Material
,
MeshRenderer
,
Node
,
v4
}
from
'cc'
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'Bg'
)
export
class
Bg
extends
Component
{
@
property
({
type
:
Node
})
camera
:
Node
=
null
;
@
property
({
type
:
Node
})
player
:
Node
=
null
;
initZ
=
0
;
material
:
Material
=
null
;
onLoad
()
{
this
.
initZ
=
this
.
node
.
position
.
z
;
this
.
material
=
this
.
getComponent
(
MeshRenderer
).
material
;
}
start
()
{
}
update
(
dt
:
number
)
{
this
.
camera
.
position
&&
this
.
node
.
setPosition
(
0
,
-
this
.
camera
.
position
.
y
,
this
.
initZ
);
this
.
player
.
position
&&
this
.
material
.
setProperty
(
'tilingOffset'
,
v4
(
1
,
1
,
-
this
.
player
.
position
.
z
/
50
,
0
)
);
}
}
assets/Scripts/Scenes/MainGame/Bg.ts.meta
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "b3c83fb4-26f5-41ab-aa02-4cd58d23142f",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Scripts/Scenes/MainGame/BgAndColor.ts
deleted
100644 → 0
View file @
1cb804ce
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
deleted
100644 → 0
View file @
1cb804ce
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "3668e9cb-8b9f-4204-bf35-01f754872754",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Scripts/Scenes/MainGame/MainGame.ts
View file @
97992bb6
import
{
_decorator
,
Input
,
input
,
}
from
"cc"
;
import
{
_decorator
,
EventKeyboard
,
Input
,
input
,
KeyCode
,
Node
,
}
from
"cc"
;
import
Scene
from
"db://assets/Module/Scene"
;
import
Scene
from
"db://assets/Module/Scene"
;
import
{
Snake
}
from
"./Snake"
;
const
{
ccclass
,
property
}
=
_decorator
;
const
{
ccclass
,
property
}
=
_decorator
;
export
enum
DIR
{
UP
,
DOWN
,
LEFT
,
RIGHT
,
}
@
ccclass
(
"MainGame"
)
@
ccclass
(
"MainGame"
)
export
class
MainGame
extends
Scene
{
export
class
MainGame
extends
Scene
{
static
bundle
:
string
=
"MainGame"
;
static
bundle
:
string
=
"MainGame"
;
static
skin
:
string
=
"MainGame"
;
static
skin
:
string
=
"MainGame"
;
onLoad
()
{
@
property
(
Node
)
snake
:
Node
=
null
;
}
@
property
speed
:
number
=
200
;
async
start
()
{
onLoad
()
{
input
.
on
(
Input
.
EventType
.
TOUCH_START
,
this
.
onTouchStart
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_START
,
this
.
onTouchStart
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_END
,
this
.
onTouchEnd
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_END
,
this
.
onTouchEnd
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_CANCEL
,
this
.
onTouchEnd
,
this
);
input
.
on
(
Input
.
EventType
.
TOUCH_CANCEL
,
this
.
onTouchEnd
,
this
);
input
.
on
(
Input
.
EventType
.
KEY_DOWN
,
this
.
onKeyDown
,
this
);
input
.
on
(
Input
.
EventType
.
KEY_UP
,
this
.
onKeyUp
,
this
);
}
curDir
:
DIR
=
DIR
.
UP
;
keyArr
=
[];
async
start
()
{
this
.
schedule
(()
=>
{
this
.
snake
.
getComponent
(
Snake
).
addNode
();
},
1
);
}
}
onDestroy
()
{
onDestroy
()
{
input
.
off
(
Input
.
EventType
.
TOUCH_START
,
this
.
onTouchStart
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_START
,
this
.
onTouchStart
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_END
,
this
.
onTouchEnd
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_END
,
this
.
onTouchEnd
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_CANCEL
,
this
.
onTouchEnd
,
this
);
input
.
off
(
Input
.
EventType
.
TOUCH_CANCEL
,
this
.
onTouchEnd
,
this
);
input
.
off
(
Input
.
EventType
.
KEY_DOWN
,
this
.
onKeyDown
,
this
);
input
.
off
(
Input
.
EventType
.
KEY_UP
,
this
.
onKeyUp
,
this
);
}
}
onKeyDown
(
event
:
EventKeyboard
)
{
const
keyArr
=
[
KeyCode
.
KEY_W
,
KeyCode
.
KEY_S
,
KeyCode
.
KEY_A
,
KeyCode
.
KEY_D
,
];
if
(
keyArr
.
indexOf
(
event
.
keyCode
)
>
-
1
)
{
this
.
keyArr
.
push
(
event
.
keyCode
);
}
this
.
setDir
();
}
onKeyUp
(
event
:
EventKeyboard
)
{
const
index
=
this
.
keyArr
.
indexOf
(
event
.
keyCode
);
if
(
index
>
-
1
)
{
this
.
keyArr
.
splice
(
index
,
1
);
}
this
.
setDir
();
}
setDir
()
{
if
(
!
this
.
keyArr
.
length
)
return
;
this
.
curDir
=
{
[
KeyCode
.
KEY_W
]:
DIR
.
UP
,
[
KeyCode
.
KEY_S
]:
DIR
.
DOWN
,
[
KeyCode
.
KEY_A
]:
DIR
.
LEFT
,
[
KeyCode
.
KEY_D
]:
DIR
.
RIGHT
,
}[
this
.
keyArr
[
this
.
keyArr
.
length
-
1
]];
}
onTouchStart
(
event
:
any
)
{
onTouchStart
(
event
:
any
)
{
...
@@ -37,6 +97,19 @@ export class MainGame extends Scene {
...
@@ -37,6 +97,19 @@ export class MainGame extends Scene {
update
(
dt
:
number
)
{
update
(
dt
:
number
)
{
if
(
this
.
curDir
==
DIR
.
UP
)
{
const
newY
=
this
.
snake
.
position
.
y
+
this
.
speed
*
dt
;
this
.
snake
.
setPosition
(
this
.
snake
.
position
.
x
,
newY
);
}
else
if
(
this
.
curDir
==
DIR
.
DOWN
)
{
const
newY
=
this
.
snake
.
position
.
y
-
this
.
speed
*
dt
;
this
.
snake
.
setPosition
(
this
.
snake
.
position
.
x
,
newY
);
}
else
if
(
this
.
curDir
==
DIR
.
LEFT
)
{
const
newX
=
this
.
snake
.
position
.
x
-
this
.
speed
*
dt
;
this
.
snake
.
setPosition
(
newX
,
this
.
snake
.
position
.
y
);
}
else
if
(
this
.
curDir
==
DIR
.
RIGHT
)
{
const
newX
=
this
.
snake
.
position
.
x
+
this
.
speed
*
dt
;
this
.
snake
.
setPosition
(
newX
,
this
.
snake
.
position
.
y
);
}
}
}
...
...
assets/Scripts/Scenes/MainGame/Snake.ts
0 → 100644
View file @
97992bb6
import
{
_decorator
,
Component
,
instantiate
,
Node
,
Prefab
,
Vec3
}
from
"cc"
;
const
{
ccclass
,
property
}
=
_decorator
;
class
SnakeNode
{
node
:
Node
=
null
;
next
:
SnakeNode
=
null
;
}
const
_tempPos
=
new
Vec3
();
const
_tempPrePos
=
new
Vec3
();
@
ccclass
(
"Snake"
)
export
class
Snake
extends
Component
{
@
property
(
Prefab
)
nodePrefab
:
Prefab
=
null
;
@
property
gap
:
number
=
50
;
head
:
SnakeNode
=
null
;
last
:
SnakeNode
=
null
;
onLoad
()
{
this
.
last
=
this
.
head
=
new
SnakeNode
();
this
.
head
.
node
=
this
.
node
;
}
addNode
()
{
const
node
=
instantiate
(
this
.
nodePrefab
);
this
.
node
.
parent
.
addChild
(
node
);
node
.
position
=
this
.
last
.
node
.
position
;
const
snakeNode
=
new
SnakeNode
();
snakeNode
.
node
=
node
;
this
.
last
.
next
=
snakeNode
;
this
.
last
=
snakeNode
;
}
update
(
dt
:
number
)
{
let
pre
:
SnakeNode
=
this
.
head
;
let
current
:
SnakeNode
=
this
.
head
.
next
;
while
(
current
)
{
const
posDir
=
current
.
node
.
getPosition
(
_tempPos
)
.
subtract
(
pre
.
node
.
position
)
.
normalize
();
const
pos
=
pre
.
node
.
getPosition
(
_tempPrePos
)
.
add
(
posDir
.
multiplyScalar
(
this
.
gap
));
current
.
node
.
setPosition
(
pos
);
pre
=
current
;
current
=
current
.
next
;
}
}
}
\ No newline at end of file
assets/Scripts/Scenes/MainGame/
Wall
.ts.meta
→
assets/Scripts/Scenes/MainGame/
Snake
.ts.meta
View file @
97992bb6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"ver": "4.0.24",
"ver": "4.0.24",
"importer": "typescript",
"importer": "typescript",
"imported": true,
"imported": true,
"uuid": "
ed495fb3-0fdf-4afd-a68e-7d2a1ead383c
",
"uuid": "
5c1d740a-824d-49b1-aa08-d243df91d33d
",
"files": [],
"files": [],
"subMetas": {},
"subMetas": {},
"userData": {}
"userData": {}
...
...
assets/Scripts/Scenes/MainGame/Wall.ts
deleted
100644 → 0
View file @
1cb804ce
import
{
_decorator
,
Component
,
instantiate
,
lerp
,
Node
,
Prefab
}
from
'cc'
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'Wall'
)
export
class
Wall
extends
Component
{
@
property
(
Node
)
top
:
Node
=
null
;
@
property
(
Node
)
bottom
:
Node
=
null
;
@
property
isInit
=
false
;
@
property
(
Prefab
)
lightPrefab
:
Prefab
=
null
;
@
property
(
Prefab
)
ringPrefab
:
Prefab
=
null
;
dH
:
number
=
1
;
onLoad
()
{
if
(
!
this
.
isInit
)
{
this
.
reset
();
}
}
get
topY
()
{
return
this
.
top
.
position
.
y
+
this
.
node
.
position
.
y
;
}
reset
()
{
this
.
dH
=
Math
.
random
()
*
3
+
2
;
this
.
top
.
setPosition
(
0
,
this
.
dH
/
2
,
0
);
this
.
bottom
.
setPosition
(
0
,
-
this
.
dH
/
2
,
0
);
this
.
light
?.
destroy
();
this
.
ring
?.
destroy
();
}
resetGuide
()
{
this
.
dH
=
Math
.
random
()
*
0.5
+
4.5
;
this
.
top
.
setPosition
(
0
,
this
.
dH
/
2
,
0
);
this
.
bottom
.
setPosition
(
0
,
-
this
.
dH
/
2
,
0
);
}
resetDeath
()
{
this
.
dH
=
Math
.
random
()
*
3
+
0.5
;
this
.
top
.
setPosition
(
0
,
this
.
dH
/
2
,
0
);
this
.
bottom
.
setPosition
(
0
,
-
this
.
dH
/
2
,
0
);
}
light
:
Node
=
null
;
createLight
()
{
this
.
light
=
instantiate
(
this
.
lightPrefab
);
this
.
node
.
addChild
(
this
.
light
);
this
.
light
.
setScale
(
1
,
this
.
dH
,
1
);
}
ring
:
Node
=
null
;
createRing
(
scale
=
lerp
(
this
.
dH
*
0.4
,
this
.
dH
*
0.75
,
Math
.
random
()))
{
this
.
ring
=
instantiate
(
this
.
ringPrefab
);
this
.
node
.
addChild
(
this
.
ring
);
this
.
ring
.
setScale
(
scale
,
scale
);
const
dyHalf
=
(
this
.
dH
-
scale
)
/
2
;
const
y
=
lerp
(
-
dyHalf
,
dyHalf
,
Math
.
random
());
this
.
ring
.
setPosition
(
0
,
y
);
}
}
settings/v2/packages/engine.json
View file @
97992bb6
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
},
},
"physics"
:
{
"physics"
:
{
"_value"
:
false
,
"_value"
:
false
,
"_option"
:
"physics-
physx
"
"_option"
:
"physics-
builtin
"
},
},
"physics-ammo"
:
{
"physics-ammo"
:
{
"_value"
:
"physics-ammo"
"_value"
:
"physics-ammo"
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
"_value"
:
"physics-physx"
"_value"
:
"physics-physx"
},
},
"physics-builtin"
:
{
"physics-builtin"
:
{
"_value"
:
false
"_value"
:
"physics-builtin"
},
},
"physics-2d"
:
{
"physics-2d"
:
{
"_value"
:
true
,
"_value"
:
true
,
...
...
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