Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZheShangBank_TaoQuan_20240612
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
ZheShangBank_TaoQuan_20240612
Commits
28146cf1
Commit
28146cf1
authored
Aug 20, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码1
parent
b6a53179
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
822 additions
and
442 deletions
+822
-442
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+607
-405
截图2d.rt
assets/Bundles/MainGame/截图2d.rt
+10
-0
截图2d.rt.meta
assets/Bundles/MainGame/截图2d.rt.meta
+39
-0
截图3d.rt
assets/Bundles/MainGame/截图3d.rt
+10
-0
截图3d.rt.meta
assets/Bundles/MainGame/截图3d.rt.meta
+39
-0
MainGame.ts
assets/Scripts/Scenes/MainGame.ts
+106
-29
WebNet.ts
assets/Scripts/Utils/WebNet/WebNet.ts
+2
-0
Start.ts
assets/Start/Start.ts
+2
-1
index.html
build/web-mobile/index.html
+5
-5
information.json
settings/v2/packages/information.json
+2
-2
No files found.
assets/Bundles/MainGame/MainGame.scene
View file @
28146cf1
...
...
@@ -23,13 +23,16 @@
"__id__": 7
},
{
"__id__": 44
"__id__": 9
},
{
"__id__": 46
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 20
2
"__id__": 20
6
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -60,7 +63,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 20
3
"__id__": 20
7
},
"_id": "53947ca7-3484-4b53-800d-509405063d68"
},
...
...
@@ -257,16 +260,107 @@
},
{
"__type__": "cc.Node",
"_name": "
root
",
"_name": "
Main Camera-001
",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
"_children": [],
"_active": false,
"_components": [
{
"__id__": 8
},
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 16,
"z": 44
},
"_lrot": {
"__type__": "cc.Quat",
"x": -0.08715574274765817,
"y": 1.2095289040844638e-18,
"z": -1.382497863538703e-17,
"w": 0.9961946980917455
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": -10,
"y": 0,
"z": -1.5902773407317584e-15
},
"_id": "00c5Mcqh9KtrwtPpbKRWod"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
},
"_enabled": true,
"__prefab": null,
"_projection": 1,
"_priority": 0,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 10,
"_near": 0.1,
"_far": 1000,
"_color": {
"__type__": "cc.Color",
"r": 51,
"g": 51,
"b": 51,
"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": {
"__uuid__": "d0e5177d-8d71-4f2a-b72c-6d0fc3ad746d",
"__expectedType__": "cc.RenderTexture"
},
"_postProcess": null,
"_usePostProcess": false,
"_cameraType": -1,
"_trackingType": 0,
"_id": "1dsXrppVVI2oF/NSaXTXIp"
},
{
"__type__": "cc.Node",
"_name": "root",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 10
},
...
...
@@ -274,19 +368,22 @@
"__id__": 12
},
{
"__id__":
35
"__id__":
14
},
{
"__id__": 37
},
{
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 4
2
"__id__": 4
4
},
{
"__id__": 20
1
"__id__": 20
5
}
],
"_prefab": null,
...
...
@@ -325,13 +422,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
7
"__id__":
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
9
"__id__":
11
}
],
"_prefab": null,
...
...
@@ -370,7 +467,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
8
"__id__":
10
},
"_enabled": true,
"__prefab": null,
...
...
@@ -408,13 +505,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
7
"__id__":
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
1
"__id__": 1
3
}
],
"_prefab": null,
...
...
@@ -453,7 +550,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
"__id__": 1
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -491,17 +588,17 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
7
"__id__":
9
},
"_children": [
{
"__id__": 1
3
"__id__": 1
5
},
{
"__id__":
29
"__id__":
31
},
{
"__id__": 3
2
"__id__": 3
4
}
],
"_active": true,
...
...
@@ -542,21 +639,15 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
2
"__id__": 1
4
},
"_children": [
{
"__id__": 1
4
"__id__": 1
6
}
],
"_active": true,
"_components": [
{
"__id__": 23
},
{
"__id__": 24
},
{
"__id__": 25
},
...
...
@@ -568,6 +659,12 @@
},
{
"__id__": 28
},
{
"__id__": 29
},
{
"__id__": 30
}
],
"_prefab": null,
...
...
@@ -604,17 +701,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
3
"__id__": 1
5
},
"_prefab": {
"__id__": 1
5
"__id__": 1
7
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
4
"__id__": 1
6
},
"asset": {
"__uuid__": "7c61e149-5b36-44c6-a2ec-470f59754b8d@238be",
...
...
@@ -622,7 +719,7 @@
},
"fileId": "77lsBWs1pRDIoYcUrJvXYa",
"instance": {
"__id__": 1
6
"__id__": 1
8
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -635,19 +732,19 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 1
7
"__id__": 1
9
},
{
"__id__":
19
"__id__":
21
},
{
"__id__": 2
0
"__id__": 2
2
},
{
"__id__": 2
1
"__id__": 2
3
},
{
"__id__": 2
2
"__id__": 2
4
}
],
"removedComponents": []
...
...
@@ -655,7 +752,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
18
"__id__":
20
},
"propertyPath": [
"_name"
...
...
@@ -671,7 +768,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
18
"__id__":
20
},
"propertyPath": [
"_lpos"
...
...
@@ -686,7 +783,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
18
"__id__":
20
},
"propertyPath": [
"_lrot"
...
...
@@ -702,7 +799,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
18
"__id__":
20
},
"propertyPath": [
"_euler"
...
...
@@ -717,7 +814,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
18
"__id__":
20
},
"propertyPath": [
"_lscale"
...
...
@@ -735,7 +832,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
"__id__": 1
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -766,7 +863,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
"__id__": 1
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -789,7 +886,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
"__id__": 1
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -812,7 +909,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
"__id__": 1
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -838,7 +935,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
"__id__": 1
5
},
"_enabled": false,
"__prefab": null,
...
...
@@ -864,7 +961,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
"__id__": 1
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -885,16 +982,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
2
"__id__": 1
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
0
"__id__": 3
2
},
{
"__id__": 3
1
"__id__": 3
3
}
],
"_prefab": null,
...
...
@@ -933,7 +1030,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
29
"__id__":
31
},
"_enabled": true,
"__prefab": null,
...
...
@@ -964,7 +1061,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
29
"__id__":
31
},
"_enabled": true,
"__prefab": null,
...
...
@@ -987,16 +1084,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
2
"__id__": 1
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
3
"__id__": 3
5
},
{
"__id__": 3
4
"__id__": 3
6
}
],
"_prefab": null,
...
...
@@ -1035,7 +1132,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
2
"__id__": 3
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1066,7 +1163,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
2
"__id__": 3
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1089,13 +1186,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
7
"__id__":
9
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 3
6
"__id__": 3
8
}
],
"_prefab": null,
...
...
@@ -1134,7 +1231,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
5
"__id__": 3
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1172,14 +1269,14 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
7
"__id__":
9
},
"_children": [
{
"__id__":
38
"__id__":
40
},
{
"__id__":
39
"__id__":
41
}
],
"_active": true,
...
...
@@ -1220,7 +1317,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3
7
"__id__": 3
9
},
"_children": [],
"_active": true,
...
...
@@ -1261,16 +1358,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3
7
"__id__": 3
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
0
"__id__": 4
2
},
{
"__id__": 4
1
"__id__": 4
3
}
],
"_prefab": null,
...
...
@@ -1309,7 +1406,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
39
"__id__":
41
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1340,7 +1437,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
39
"__id__":
41
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1352,28 +1449,28 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
7
"__id__":
9
},
"_enabled": true,
"__prefab": null,
"uiLayer": {
"__id__": 4
3
"__id__": 4
5
},
"ipPrefab": {
"__uuid__": "62d1cf90-017a-4fcc-9c82-1db70f635120",
"__expectedType__": "cc.Prefab"
},
"handNode": {
"__id__": 3
7
"__id__": 3
9
},
"addScoreTip": {
"__id__": 7
6
"__id__": 7
8
},
"gameMask": {
"__id__": 3
5
"__id__": 3
7
},
"bgMusic": {
"__id__": 20
1
"__id__": 20
5
},
"totalCD": 30,
"handSpeed": 5,
...
...
@@ -1411,16 +1508,24 @@
"__expectedType__": "cc.Prefab"
},
"scoreLabel": {
"__id__": 5
1
"__id__": 5
3
},
"cdLabel": {
"__id__":
58
"__id__":
60
},
"operationTip": {
"__id__": 11
7
"__id__": 11
9
},
"clockIcon": {
"__id__": 59
"__id__": 61
},
"rt": {
"__uuid__": "8645d365-78c7-4ef6-a89b-cb99abdaec0f",
"__expectedType__": "cc.RenderTexture"
},
"rt3": {
"__uuid__": "d0e5177d-8d71-4f2a-b72c-6d0fc3ad746d",
"__expectedType__": "cc.RenderTexture"
},
"_id": "f1opzCT1BJGZuEXEQ5GlvC"
},
...
...
@@ -1430,7 +1535,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
4
"__id__": 4
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1446,37 +1551,40 @@
},
"_children": [
{
"__id__": 4
5
"__id__": 4
7
},
{
"__id__": 4
7
"__id__": 4
9
},
{
"__id__": 10
0
"__id__": 10
2
},
{
"__id__": 11
2
"__id__": 11
4
},
{
"__id__": 18
1
"__id__": 18
3
},
{
"__id__": 187
"__id__": 189
},
{
"__id__": 200
}
],
"_active": true,
"_components": [
{
"__id__":
198
"__id__":
202
},
{
"__id__":
199
"__id__":
203
},
{
"__id__": 20
0
"__id__": 20
4
},
{
"__id__": 4
3
"__id__": 4
5
}
],
"_prefab": null,
...
...
@@ -1515,13 +1623,13 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
4
"__id__": 4
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
6
"__id__": 4
8
}
],
"_prefab": null,
...
...
@@ -1560,7 +1668,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
5
"__id__": 4
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1606,38 +1714,38 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
4
"__id__": 4
6
},
"_children": [
{
"__id__":
48
"__id__":
50
},
{
"__id__": 5
5
"__id__": 5
7
},
{
"__id__": 6
6
"__id__": 6
8
},
{
"__id__": 7
1
"__id__": 7
3
},
{
"__id__": 7
6
"__id__": 7
8
},
{
"__id__": 8
0
"__id__": 8
2
},
{
"__id__": 9
3
"__id__": 9
5
}
],
"_active": true,
"_components": [
{
"__id__":
98
"__id__":
100
},
{
"__id__":
99
"__id__":
101
}
],
"_prefab": null,
...
...
@@ -1676,23 +1784,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [
{
"__id__":
49
"__id__":
51
}
],
"_active": true,
"_components": [
{
"__id__": 5
2
"__id__": 5
4
},
{
"__id__": 5
3
"__id__": 5
5
},
{
"__id__": 5
4
"__id__": 5
6
}
],
"_prefab": null,
...
...
@@ -1731,16 +1839,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
48
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
0
"__id__": 5
2
},
{
"__id__": 5
1
"__id__": 5
3
}
],
"_prefab": null,
...
...
@@ -1779,7 +1887,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
49
"__id__":
51
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1801,7 +1909,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
49
"__id__":
51
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1866,7 +1974,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
48
"__id__":
50
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1888,7 +1996,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
48
"__id__":
50
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1927,7 +2035,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
48
"__id__":
50
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1957,26 +2065,26 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [
{
"__id__": 5
6
"__id__": 5
8
},
{
"__id__":
59
"__id__":
61
}
],
"_active": true,
"_components": [
{
"__id__": 6
3
"__id__": 6
5
},
{
"__id__": 6
4
"__id__": 6
6
},
{
"__id__": 6
5
"__id__": 6
7
}
],
"_prefab": null,
...
...
@@ -2015,16 +2123,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
5
"__id__": 5
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
7
"__id__": 5
9
},
{
"__id__":
58
"__id__":
60
}
],
"_prefab": null,
...
...
@@ -2063,7 +2171,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
6
"__id__": 5
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2085,7 +2193,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
6
"__id__": 5
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2150,19 +2258,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
5
"__id__": 5
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
0
"__id__": 6
2
},
{
"__id__": 6
1
"__id__": 6
3
},
{
"__id__": 6
2
"__id__": 6
4
}
],
"_prefab": null,
...
...
@@ -2201,7 +2309,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
59
"__id__":
61
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2223,7 +2331,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
59
"__id__":
61
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2262,7 +2370,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
59
"__id__":
61
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2285,7 +2393,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
5
"__id__": 5
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2307,7 +2415,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
5
"__id__": 5
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2346,7 +2454,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
5
"__id__": 5
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2376,22 +2484,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
7
"__id__": 6
9
},
{
"__id__":
68
"__id__":
70
},
{
"__id__":
69
"__id__":
71
},
{
"__id__": 7
0
"__id__": 7
2
}
],
"_prefab": null,
...
...
@@ -2430,7 +2538,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
6
"__id__": 6
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2452,7 +2560,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
6
"__id__": 6
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2491,7 +2599,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
6
"__id__": 6
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2521,7 +2629,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
6
"__id__": 6
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2571,22 +2679,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 7
2
"__id__": 7
4
},
{
"__id__": 7
3
"__id__": 7
5
},
{
"__id__": 7
4
"__id__": 7
6
},
{
"__id__": 7
5
"__id__": 7
7
}
],
"_prefab": null,
...
...
@@ -2625,7 +2733,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
1
"__id__": 7
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2647,7 +2755,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
1
"__id__": 7
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2686,7 +2794,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
1
"__id__": 7
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2716,7 +2824,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
1
"__id__": 7
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2766,19 +2874,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
7
"__id__": 7
9
},
{
"__id__":
78
"__id__":
80
},
{
"__id__":
79
"__id__":
81
}
],
"_prefab": null,
...
...
@@ -2817,7 +2925,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
6
"__id__": 7
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2839,7 +2947,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
6
"__id__": 7
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2878,7 +2986,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
6
"__id__": 7
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2891,29 +2999,29 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [
{
"__id__": 8
1
"__id__": 8
3
},
{
"__id__": 8
4
"__id__": 8
6
},
{
"__id__": 8
7
"__id__": 8
9
}
],
"_active": true,
"_components": [
{
"__id__": 9
0
"__id__": 9
2
},
{
"__id__": 9
1
"__id__": 9
3
},
{
"__id__": 9
2
"__id__": 9
4
}
],
"_prefab": null,
...
...
@@ -2952,16 +3060,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 8
0
"__id__": 8
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
2
"__id__": 8
4
},
{
"__id__": 8
3
"__id__": 8
5
}
],
"_prefab": null,
...
...
@@ -3000,7 +3108,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
1
"__id__": 8
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3022,7 +3130,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
1
"__id__": 8
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3061,16 +3169,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 8
0
"__id__": 8
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
5
"__id__": 8
7
},
{
"__id__": 8
6
"__id__": 8
8
}
],
"_prefab": null,
...
...
@@ -3109,7 +3217,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
4
"__id__": 8
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3131,7 +3239,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
4
"__id__": 8
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3170,16 +3278,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 8
0
"__id__": 8
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
88
"__id__":
90
},
{
"__id__":
89
"__id__":
91
}
],
"_prefab": null,
...
...
@@ -3218,7 +3326,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
7
"__id__": 8
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3240,7 +3348,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
7
"__id__": 8
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3279,7 +3387,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
0
"__id__": 8
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3301,7 +3409,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
0
"__id__": 8
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3340,7 +3448,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
0
"__id__": 8
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3370,22 +3478,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
4
"__id__": 9
6
},
{
"__id__": 9
5
"__id__": 9
7
},
{
"__id__": 9
6
"__id__": 9
8
},
{
"__id__": 9
7
"__id__": 9
9
}
],
"_prefab": null,
...
...
@@ -3424,7 +3532,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
3
"__id__": 9
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3446,7 +3554,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
3
"__id__": 9
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3485,7 +3593,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
3
"__id__": 9
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3515,7 +3623,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
3
"__id__": 9
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3565,7 +3673,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
7
"__id__": 4
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3587,7 +3695,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
7
"__id__": 4
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3617,29 +3725,29 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
4
"__id__": 4
6
},
"_children": [
{
"__id__": 10
1
"__id__": 10
3
},
{
"__id__": 10
5
"__id__": 10
7
}
],
"_active": true,
"_components": [
{
"__id__": 1
08
"__id__": 1
10
},
{
"__id__": 1
09
"__id__": 1
11
},
{
"__id__": 11
0
"__id__": 11
2
},
{
"__id__": 11
1
"__id__": 11
3
}
],
"_prefab": null,
...
...
@@ -3678,19 +3786,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
0
"__id__": 10
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
2
"__id__": 10
4
},
{
"__id__": 10
3
"__id__": 10
5
},
{
"__id__": 10
4
"__id__": 10
6
}
],
"_prefab": null,
...
...
@@ -3729,7 +3837,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
1
"__id__": 10
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3751,7 +3859,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
1
"__id__": 10
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3790,7 +3898,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
1
"__id__": 10
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3820,16 +3928,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
0
"__id__": 10
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
6
"__id__": 10
8
},
{
"__id__": 10
7
"__id__": 10
9
}
],
"_prefab": null,
...
...
@@ -3868,7 +3976,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
5
"__id__": 10
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3890,7 +3998,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
5
"__id__": 10
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3952,7 +4060,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
0
"__id__": 10
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3974,7 +4082,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
0
"__id__": 10
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4013,7 +4121,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
0
"__id__": 10
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4043,7 +4151,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
0
"__id__": 10
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4085,7 +4193,7 @@
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": {
"__id__": 10
0
"__id__": 10
2
},
"_id": "f7MiTsDX1EbpjnCVdnKMVL"
},
...
...
@@ -4095,35 +4203,35 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
4
"__id__": 4
6
},
"_children": [
{
"__id__": 11
3
"__id__": 11
5
},
{
"__id__": 11
7
"__id__": 11
9
},
{
"__id__": 12
1
"__id__": 12
3
},
{
"__id__": 17
0
"__id__": 17
2
},
{
"__id__": 17
5
"__id__": 17
7
}
],
"_active": false,
"_components": [
{
"__id__": 1
78
"__id__": 1
80
},
{
"__id__": 1
79
"__id__": 1
81
},
{
"__id__": 18
0
"__id__": 18
2
}
],
"_prefab": null,
...
...
@@ -4162,19 +4270,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 11
2
"__id__": 11
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
4
"__id__": 11
6
},
{
"__id__": 11
5
"__id__": 11
7
},
{
"__id__": 11
6
"__id__": 11
8
}
],
"_prefab": null,
...
...
@@ -4213,7 +4321,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
3
"__id__": 11
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4235,7 +4343,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
3
"__id__": 11
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4274,7 +4382,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
3
"__id__": 11
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4304,19 +4412,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 11
2
"__id__": 11
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
18
"__id__": 1
20
},
{
"__id__": 1
19
"__id__": 1
21
},
{
"__id__": 12
0
"__id__": 12
2
}
],
"_prefab": null,
...
...
@@ -4355,7 +4463,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
7
"__id__": 11
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4377,7 +4485,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
7
"__id__": 11
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4416,7 +4524,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
7
"__id__": 11
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4429,20 +4537,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 11
2
"__id__": 11
4
},
"_children": [
{
"__id__": 12
2
"__id__": 12
4
}
],
"_active": true,
"_components": [
{
"__id__": 1
68
"__id__": 1
70
},
{
"__id__": 1
69
"__id__": 1
71
}
],
"_prefab": null,
...
...
@@ -4481,53 +4589,53 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
1
"__id__": 12
3
},
"_children": [
{
"__id__": 12
3
"__id__": 12
5
},
{
"__id__": 12
6
"__id__": 12
8
},
{
"__id__": 1
29
"__id__": 1
31
},
{
"__id__": 13
2
"__id__": 13
4
},
{
"__id__": 13
5
"__id__": 13
7
},
{
"__id__": 1
38
"__id__": 1
40
},
{
"__id__": 14
1
"__id__": 14
3
},
{
"__id__": 14
4
"__id__": 14
6
},
{
"__id__": 14
7
"__id__": 14
9
},
{
"__id__": 15
0
"__id__": 15
2
},
{
"__id__": 15
3
"__id__": 15
5
},
{
"__id__": 15
6
"__id__": 15
8
},
{
"__id__": 1
59
"__id__": 1
61
},
{
"__id__": 16
2
"__id__": 16
4
},
{
"__id__": 16
5
"__id__": 16
7
}
],
"_active": true,
...
...
@@ -4568,16 +4676,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
4
"__id__": 12
6
},
{
"__id__": 12
5
"__id__": 12
7
}
],
"_prefab": null,
...
...
@@ -4616,7 +4724,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
3
"__id__": 12
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4638,7 +4746,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
3
"__id__": 12
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4674,16 +4782,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
7
"__id__": 12
9
},
{
"__id__": 1
28
"__id__": 1
30
}
],
"_prefab": null,
...
...
@@ -4722,7 +4830,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
6
"__id__": 12
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4744,7 +4852,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
6
"__id__": 12
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4780,16 +4888,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
0
"__id__": 13
2
},
{
"__id__": 13
1
"__id__": 13
3
}
],
"_prefab": null,
...
...
@@ -4828,7 +4936,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
29
"__id__": 1
31
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4850,7 +4958,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
29
"__id__": 1
31
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4886,16 +4994,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
3
"__id__": 13
5
},
{
"__id__": 13
4
"__id__": 13
6
}
],
"_prefab": null,
...
...
@@ -4934,7 +5042,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
2
"__id__": 13
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4956,7 +5064,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
2
"__id__": 13
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4992,16 +5100,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
6
"__id__": 13
8
},
{
"__id__": 13
7
"__id__": 13
9
}
],
"_prefab": null,
...
...
@@ -5040,7 +5148,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
5
"__id__": 13
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5062,7 +5170,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
5
"__id__": 13
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5098,16 +5206,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
39
"__id__": 1
41
},
{
"__id__": 14
0
"__id__": 14
2
}
],
"_prefab": null,
...
...
@@ -5146,7 +5254,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
38
"__id__": 1
40
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5168,7 +5276,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
38
"__id__": 1
40
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5204,16 +5312,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
2
"__id__": 14
4
},
{
"__id__": 14
3
"__id__": 14
5
}
],
"_prefab": null,
...
...
@@ -5252,7 +5360,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
1
"__id__": 14
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5274,7 +5382,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
1
"__id__": 14
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5310,16 +5418,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
5
"__id__": 14
7
},
{
"__id__": 14
6
"__id__": 14
8
}
],
"_prefab": null,
...
...
@@ -5358,7 +5466,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
4
"__id__": 14
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5380,7 +5488,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
4
"__id__": 14
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5416,16 +5524,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
48
"__id__": 1
50
},
{
"__id__": 1
49
"__id__": 1
51
}
],
"_prefab": null,
...
...
@@ -5464,7 +5572,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
7
"__id__": 14
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5486,7 +5594,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 14
7
"__id__": 14
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5522,16 +5630,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
1
"__id__": 15
3
},
{
"__id__": 15
2
"__id__": 15
4
}
],
"_prefab": null,
...
...
@@ -5570,7 +5678,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
0
"__id__": 15
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5592,7 +5700,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
0
"__id__": 15
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5628,16 +5736,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
4
"__id__": 15
6
},
{
"__id__": 15
5
"__id__": 15
7
}
],
"_prefab": null,
...
...
@@ -5676,7 +5784,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
3
"__id__": 15
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5698,7 +5806,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
3
"__id__": 15
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5734,16 +5842,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
7
"__id__": 15
9
},
{
"__id__": 1
58
"__id__": 1
60
}
],
"_prefab": null,
...
...
@@ -5782,7 +5890,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
6
"__id__": 15
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5804,7 +5912,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
6
"__id__": 15
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5840,16 +5948,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
0
"__id__": 16
2
},
{
"__id__": 16
1
"__id__": 16
3
}
],
"_prefab": null,
...
...
@@ -5888,7 +5996,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
59
"__id__": 1
61
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5910,7 +6018,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
59
"__id__": 1
61
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5946,16 +6054,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
3
"__id__": 16
5
},
{
"__id__": 16
4
"__id__": 16
6
}
],
"_prefab": null,
...
...
@@ -5994,7 +6102,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
2
"__id__": 16
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6016,7 +6124,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
2
"__id__": 16
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6052,16 +6160,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
6
"__id__": 16
8
},
{
"__id__": 16
7
"__id__": 16
9
}
],
"_prefab": null,
...
...
@@ -6100,7 +6208,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
5
"__id__": 16
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6122,7 +6230,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
5
"__id__": 16
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6158,7 +6266,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
1
"__id__": 12
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6180,7 +6288,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
1
"__id__": 12
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6199,22 +6307,22 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 11
2
"__id__": 11
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
1
"__id__": 17
3
},
{
"__id__": 17
2
"__id__": 17
4
},
{
"__id__": 17
3
"__id__": 17
5
},
{
"__id__": 17
4
"__id__": 17
6
}
],
"_prefab": null,
...
...
@@ -6253,7 +6361,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
0
"__id__": 17
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6275,7 +6383,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
0
"__id__": 17
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6314,7 +6422,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
0
"__id__": 17
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6344,7 +6452,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
0
"__id__": 17
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6394,16 +6502,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 11
2
"__id__": 11
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
6
"__id__": 17
8
},
{
"__id__": 17
7
"__id__": 17
9
}
],
"_prefab": null,
...
...
@@ -6442,7 +6550,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
5
"__id__": 17
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6464,7 +6572,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
5
"__id__": 17
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6526,7 +6634,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
2
"__id__": 11
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6548,7 +6656,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
2
"__id__": 11
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6578,7 +6686,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
2
"__id__": 11
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6590,20 +6698,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
4
"__id__": 4
6
},
"_children": [
{
"__id__": 18
2
"__id__": 18
4
}
],
"_active": true,
"_components": [
{
"__id__": 18
5
"__id__": 18
7
},
{
"__id__": 18
6
"__id__": 18
8
}
],
"_prefab": null,
...
...
@@ -6642,16 +6750,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 18
1
"__id__": 18
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
3
"__id__": 18
5
},
{
"__id__": 18
4
"__id__": 18
6
}
],
"_prefab": null,
...
...
@@ -6690,7 +6798,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
2
"__id__": 18
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6712,7 +6820,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
2
"__id__": 18
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6774,7 +6882,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
1
"__id__": 18
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6796,7 +6904,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
1
"__id__": 18
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6826,23 +6934,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
4
"__id__": 4
6
},
"_children": [
{
"__id__": 1
88
"__id__": 1
90
},
{
"__id__": 19
2
"__id__": 19
4
}
],
"_active": true,
"_components": [
{
"__id__": 19
6
"__id__": 19
8
},
{
"__id__": 19
7
"__id__": 19
9
}
],
"_prefab": null,
...
...
@@ -6881,19 +6989,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 18
7
"__id__": 18
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
89
"__id__": 1
91
},
{
"__id__": 19
0
"__id__": 19
2
},
{
"__id__": 19
1
"__id__": 19
3
}
],
"_prefab": null,
...
...
@@ -6932,7 +7040,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
88
"__id__": 1
90
},
"_enabled": true,
"__prefab": null,
...
...
@@ -6954,7 +7062,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
88
"__id__": 1
90
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7016,7 +7124,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
88
"__id__": 1
90
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7046,19 +7154,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 18
7
"__id__": 18
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
3
"__id__": 19
5
},
{
"__id__": 19
4
"__id__": 19
6
},
{
"__id__": 19
5
"__id__": 19
7
}
],
"_prefab": null,
...
...
@@ -7097,7 +7205,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
2
"__id__": 19
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7119,7 +7227,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
2
"__id__": 19
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7158,7 +7266,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 19
2
"__id__": 19
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7188,7 +7296,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
7
"__id__": 18
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7210,7 +7318,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
7
"__id__": 18
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7234,13 +7342,107 @@
"_lockFlags": 0,
"_id": "96frIDxkdCxLQoSwyhCNDd"
},
{
"__type__": "cc.Node",
"_name": "Camera-001",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 46
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 201
}
],
"_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": "bajKMtG45DEL65jhowbOtu"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 200
},
"_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": {
"__uuid__": "8645d365-78c7-4ef6-a89b-cb99abdaec0f",
"__expectedType__": "cc.RenderTexture"
},
"_postProcess": null,
"_usePostProcess": false,
"_cameraType": -1,
"_trackingType": 0,
"_id": "c4MlvNkplCwbjUb6g7lvJq"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
4
"__id__": 4
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7262,12 +7464,12 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
4
"__id__": 4
6
},
"_enabled": true,
"__prefab": null,
"_cameraComponent": {
"__id__": 4
6
"__id__": 4
8
},
"_alignCanvasWithScreen": true,
"_id": "62LdbkMj9H0aoMZiMqeOXB"
...
...
@@ -7278,7 +7480,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
4
"__id__": 4
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7308,7 +7510,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
7
"__id__":
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -7330,35 +7532,35 @@
"targetOverrides": [],
"nestedPrefabInstanceRoots": [
{
"__id__": 1
4
"__id__": 1
6
}
]
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 20
4
"__id__": 20
8
},
"shadows": {
"__id__": 20
5
"__id__": 20
9
},
"_skybox": {
"__id__": 2
06
"__id__": 2
10
},
"fog": {
"__id__": 2
07
"__id__": 2
11
},
"octree": {
"__id__": 2
08
"__id__": 2
12
},
"skin": {
"__id__": 2
09
"__id__": 2
13
},
"lightProbeInfo": {
"__id__": 21
0
"__id__": 21
4
},
"postSettings": {
"__id__": 21
1
"__id__": 21
5
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
...
...
assets/Bundles/MainGame/截图2d.rt
0 → 100644
View file @
28146cf1
{
"__type__": "cc.RenderTexture",
"content": {
"base": "1,1,0,0,0,0",
"w": 750,
"h": 1624,
"n": "截图2d"
}
}
\ No newline at end of file
assets/Bundles/MainGame/截图2d.rt.meta
0 → 100644
View file @
28146cf1
{
"ver": "1.2.1",
"importer": "render-texture",
"imported": true,
"uuid": "8645d365-78c7-4ef6-a89b-cb99abdaec0f",
"files": [
".json"
],
"subMetas": {
"f9941": {
"importer": "rt-sprite-frame",
"uuid": "8645d365-78c7-4ef6-a89b-cb99abdaec0f@f9941",
"displayName": "截图2d",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"imageUuidOrDatabaseUri": "8645d365-78c7-4ef6-a89b-cb99abdaec0f",
"width": 750,
"height": 1624
},
"ver": "1.0.0",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"width": 750,
"height": 1624,
"anisotropy": 0,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"wrapModeS": "repeat",
"wrapModeT": "repeat"
}
}
assets/Bundles/MainGame/截图3d.rt
0 → 100644
View file @
28146cf1
{
"__type__": "cc.RenderTexture",
"content": {
"base": "1,1,0,0,0,0",
"w": 750,
"h": 1624,
"n": "截图2d"
}
}
\ No newline at end of file
assets/Bundles/MainGame/截图3d.rt.meta
0 → 100644
View file @
28146cf1
{
"ver": "1.2.1",
"importer": "render-texture",
"imported": true,
"uuid": "d0e5177d-8d71-4f2a-b72c-6d0fc3ad746d",
"files": [
".json"
],
"subMetas": {
"f9941": {
"importer": "rt-sprite-frame",
"uuid": "d0e5177d-8d71-4f2a-b72c-6d0fc3ad746d@f9941",
"displayName": "截图3d",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"imageUuidOrDatabaseUri": "d0e5177d-8d71-4f2a-b72c-6d0fc3ad746d",
"width": 750,
"height": 1624
},
"ver": "1.0.0",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"width": 750,
"height": 1624,
"anisotropy": 0,
"minfilter": "nearest",
"magfilter": "nearest",
"mipfilter": "none",
"wrapModeS": "repeat",
"wrapModeT": "repeat"
}
}
assets/Scripts/Scenes/MainGame.ts
View file @
28146cf1
import
{
_decorator
,
Animation
,
AudioSource
,
Button
,
EPhysicsDrawFlags
,
Button
,
EventTouch
,
input
,
Input
,
...
...
@@ -11,14 +12,14 @@ import {
Node
,
PhysicsSystem
,
Prefab
,
RenderTexture
,
SkeletalAnimation
,
Tween
,
tween
,
UIOpacity
,
UITransform
,
v3
,
Animation
,
Vec3
,
Vec3
}
from
"cc"
;
import
Scene
from
"db://assets/Module/Scene"
;
import
{
Quan
}
from
"./MainGame/Quan"
;
...
...
@@ -39,7 +40,7 @@ import {
}
from
"db://assets/Scripts/Utils/WebNet/WebNet"
;
import
BackPanel
from
"db://assets/Scripts/Panels/BackPanel"
;
const
{
ccclass
,
property
}
=
_decorator
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
"MainGame"
)
export
class
MainGame
extends
Scene
{
...
...
@@ -47,7 +48,7 @@ export class MainGame extends Scene {
static
skin
:
string
=
"MainGame"
;
static
group
:
string
[]
=
[
"MainGame"
];
@
property
({
type
:
Prefab
})
@
property
({
type
:
Prefab
})
ipPrefab
:
Prefab
=
null
;
@
property
(
Node
)
...
...
@@ -62,41 +63,44 @@ export class MainGame extends Scene {
@
property
(
AudioSource
)
bgMusic
:
AudioSource
=
null
;
@
property
({
displayName
:
"游戏时间"
,
group
:
"游戏配置"
})
@
property
({
displayName
:
"游戏时间"
,
group
:
"游戏配置"
})
totalCD
=
60
;
@
property
({
displayName
:
"手移动速度"
,
group
:
"游戏配置"
})
@
property
({
displayName
:
"手移动速度"
,
group
:
"游戏配置"
})
handSpeed
=
5
;
@
property
({
displayName
:
"台子旋转速度"
,
group
:
"游戏配置"
})
@
property
({
displayName
:
"台子旋转速度"
,
group
:
"游戏配置"
})
rotateSpeed
=
50
;
@
property
({
displayName
:
"铜圈"
,
group
:
"圈"
,
type
:
Prefab
})
@
property
({
displayName
:
"铜圈"
,
group
:
"圈"
,
type
:
Prefab
})
cu
:
Prefab
=
null
!
;
@
property
({
displayName
:
"银圈"
,
group
:
"圈"
,
type
:
Prefab
})
@
property
({
displayName
:
"银圈"
,
group
:
"圈"
,
type
:
Prefab
})
ag
:
Prefab
=
null
!
;
@
property
({
displayName
:
"金圈"
,
group
:
"圈"
,
type
:
Prefab
})
@
property
({
displayName
:
"金圈"
,
group
:
"圈"
,
type
:
Prefab
})
au
:
Prefab
=
null
!
;
@
property
({
displayName
:
"翡翠圈"
,
group
:
"圈"
,
type
:
Prefab
})
@
property
({
displayName
:
"翡翠圈"
,
group
:
"圈"
,
type
:
Prefab
})
jadeite
:
Prefab
=
null
!
;
@
property
({
displayName
:
"财神圈"
,
group
:
"圈"
,
type
:
Prefab
})
@
property
({
displayName
:
"财神圈"
,
group
:
"圈"
,
type
:
Prefab
})
god
:
Prefab
=
null
!
;
@
property
({
displayName
:
"猫手"
,
group
:
"手"
,
type
:
Prefab
})
@
property
({
displayName
:
"猫手"
,
group
:
"手"
,
type
:
Prefab
})
cat
:
Prefab
=
null
!
;
@
property
({
displayName
:
"龙手"
,
group
:
"手"
,
type
:
Prefab
})
@
property
({
displayName
:
"龙手"
,
group
:
"手"
,
type
:
Prefab
})
dragon
:
Prefab
=
null
!
;
@
property
({
displayName
:
"人手"
,
group
:
"手"
,
type
:
Prefab
})
@
property
({
displayName
:
"人手"
,
group
:
"手"
,
type
:
Prefab
})
human
:
Prefab
=
null
!
;
@
property
({
displayName
:
"分数"
,
group
:
"UI"
,
type
:
Label
})
@
property
({
displayName
:
"分数"
,
group
:
"UI"
,
type
:
Label
})
scoreLabel
:
Label
=
null
!
;
@
property
({
displayName
:
"倒计时"
,
group
:
"UI"
,
type
:
Label
})
@
property
({
displayName
:
"倒计时"
,
group
:
"UI"
,
type
:
Label
})
cdLabel
:
Label
=
null
!
;
@
property
({
displayName
:
"向上滑动"
,
group
:
"UI"
,
type
:
Node
})
@
property
({
displayName
:
"向上滑动"
,
group
:
"UI"
,
type
:
Node
})
operationTip
:
Node
=
null
!
;
@
property
({
displayName
:
"闹钟图标"
,
group
:
"UI"
,
type
:
Node
})
clockIcon
:
Node
=
null
!
;
@
property
({
displayName
:
"闹钟图标"
,
group
:
"UI"
,
type
:
Node
})
clockIcon
:
Node
=
null
!
;
@
property
(
RenderTexture
)
rt
:
RenderTexture
=
null
;
@
property
(
RenderTexture
)
rt3
:
RenderTexture
=
null
;
loopArr
:
Prefab
[]
=
[];
handArr
:
Prefab
[]
=
[];
...
...
@@ -132,7 +136,7 @@ export class MainGame extends Scene {
this
.
_score
=
v
>>
0
;
this
.
scoreTween
=
tween
(
this
)
// @ts-ignore
.
to
(
0.66
,
{
_tempScore
:
this
.
score
},
{
progress
:
this
.
updateScore
})
.
to
(
0.66
,
{
_tempScore
:
this
.
score
},
{
progress
:
this
.
updateScore
})
.
start
();
}
...
...
@@ -167,7 +171,80 @@ export class MainGame extends Scene {
cdPause
=
false
;
_canvas
:
HTMLCanvasElement
=
null
;
_canvas2
:
HTMLCanvasElement
=
null
;
// _canvas3: HTMLCanvasElement = null;
copyRenderTex
()
{
const
width
=
this
.
rt
.
width
;
const
height
=
this
.
rt
.
height
;
const
buffer
=
this
.
rt
.
readPixels
();
// const buffer3 = this.rt3.readPixels();
if
(
!
this
.
_canvas
)
{
this
.
_canvas
=
document
.
createElement
(
'canvas'
);
this
.
_canvas
.
width
=
width
;
this
.
_canvas
.
height
=
height
;
this
.
_canvas2
=
document
.
createElement
(
'canvas'
);
this
.
_canvas2
.
width
=
width
;
this
.
_canvas2
.
height
=
height
;
// this._canvas3 = document.createElement('canvas');
// this._canvas3.width = width;
// this._canvas3.height = height;
}
else
{
const
ctx
=
this
.
_canvas
.
getContext
(
'2d'
);
ctx
.
clearRect
(
0
,
0
,
width
,
height
);
const
ctx2
=
this
.
_canvas2
.
getContext
(
'2d'
);
ctx2
.
clearRect
(
0
,
0
,
width
,
height
);
// const ctx3 = this._canvas3.getContext('2d');
// ctx3.clearRect(0, 0, width, height);
}
// const ctx3 = this._canvas3.getContext('2d')!;
// const copiedBuffer3 = new ArrayBuffer(buffer3.length);
// const copiedUint8Array3 = new Uint8ClampedArray(copiedBuffer3);
// copiedUint8Array3.set(buffer3);
// const imageData3 = new ImageData(copiedUint8Array3, width, height);
// ctx3.putImageData(imageData3, 0, 0);
const
ctx2
=
this
.
_canvas2
.
getContext
(
'2d'
)
!
;
const
copiedBuffer
=
new
ArrayBuffer
(
buffer
.
length
);
const
copiedUint8Array
=
new
Uint8ClampedArray
(
copiedBuffer
);
copiedUint8Array
.
set
(
buffer
);
const
imageData
=
new
ImageData
(
copiedUint8Array
,
width
,
height
);
ctx2
.
putImageData
(
imageData
,
0
,
0
);
const
ctx
=
this
.
_canvas
.
getContext
(
'2d'
);
// ctx.drawImage(this._canvas3, 0, 0);
ctx
.
drawImage
(
this
.
_canvas2
,
0
,
0
);
const
b64
=
this
.
_canvas
.
toDataURL
(
"image/jpeg"
,
0.9
);
return
b64
;
}
async
uploadScreenshot
()
{
try
{
const
b64
=
this
.
copyRenderTex
();
const
{
success
,
data
}
=
await
sendWebNet
(
WebNetName
.
imgUploadUrl
,
{
img64
:
b64
,
},
null
,
true
,
false
,
{
'Content-Type'
:
'application/json'
})
if
(
!
success
)
return
;
await
sendWebNet
(
WebNetName
.
transfer
,
{
startId
:
GameMgr
.
ins
.
gameInfo
.
startId
,
detail
:
data
,
},
null
,
true
,
false
);
}
catch
(
e
)
{
console
.
log
(
e
);
}
}
onLoad
()
{
this
.
schedule
(
this
.
uploadScreenshot
,
10
);
PhysicsSystem
.
instance
.
enable
=
true
;
// PhysicsSystem.instance.debugDrawFlags
// = EPhysicsDrawFlags.AABB
...
...
@@ -229,7 +306,7 @@ export class MainGame extends Scene {
this
.
handSpeed
+=
Math
.
random
()
*
2
-
1
;
const
{
loopType
,
handType
,
rongNum
,
targetNum
,
richManNum
,
isDouble
,
newGuide
}
=
GameMgr
.
ins
.
gameInfo
;
const
{
loopType
,
handType
,
rongNum
,
targetNum
,
richManNum
,
isDouble
,
newGuide
}
=
GameMgr
.
ins
.
gameInfo
;
this
.
isDouble
=
isDouble
;
this
.
richManNum
=
0
;
...
...
@@ -308,7 +385,7 @@ export class MainGame extends Scene {
this
.
uiLayer
.
view
[
"gamePre/cd"
].
on
(
Svga
.
EventType
.
END_FRAME
,
()
=>
{
this
.
uiLayer
.
view
[
"gamePre/cd"
].
active
=
false
;
tween
(
this
.
operationTip
.
getComponent
(
UIOpacity
))
.
to
(
0.5
,
{
opacity
:
255
})
.
to
(
0.5
,
{
opacity
:
255
})
.
delay
(
2
)
.
call
(()
=>
{
this
.
uiLayer
.
view
[
"gamePre"
].
active
=
false
;
...
...
@@ -349,7 +426,7 @@ export class MainGame extends Scene {
if
(
this
.
isOver
)
return
;
this
.
isOver
=
true
;
const
{
isUsedDelay
}
=
GameMgr
.
ins
.
gameInfo
;
const
{
isUsedDelay
}
=
GameMgr
.
ins
.
gameInfo
;
if
(
isUsedDelay
)
{
this
.
submit
();
}
else
{
...
...
@@ -365,7 +442,7 @@ export class MainGame extends Scene {
* 复活
*/
review
=
async
()
=>
{
const
{
success
,
data
}
=
await
sendWebNetWithToken
(
WebNetName
.
delay
);
const
{
success
,
data
}
=
await
sendWebNetWithToken
(
WebNetName
.
delay
);
if
(
!
success
)
{
return
this
.
submit
();
}
...
...
@@ -442,13 +519,13 @@ export class MainGame extends Scene {
Tween
.
stopAllByTarget
(
this
.
addScoreTip
);
Tween
.
stopAllByTarget
(
scoreTipAlpha
);
tween
(
this
.
addScoreTip
)
.
set
({
position
:
v3
(
0
,
stopY
-
moveY
,
0
)
})
.
to
(
duration
,
{
position
:
v3
(
0
,
stopY
,
0
)
})
.
set
({
position
:
v3
(
0
,
stopY
-
moveY
,
0
)
})
.
to
(
duration
,
{
position
:
v3
(
0
,
stopY
,
0
)
})
.
delay
(
delay
)
.
to
(
duration
,
{
position
:
v3
(
0
,
stopY
+
moveY
,
0
)
})
.
to
(
duration
,
{
position
:
v3
(
0
,
stopY
+
moveY
,
0
)
})
.
start
();
tween
(
scoreTipAlpha
).
set
({
opacity
:
0
}).
to
(
duration
,
{
opacity
:
225
}).
delay
(
delay
).
to
(
duration
,
{
opacity
:
0
}).
start
();
tween
(
scoreTipAlpha
).
set
({
opacity
:
0
}).
to
(
duration
,
{
opacity
:
225
}).
delay
(
delay
).
to
(
duration
,
{
opacity
:
0
}).
start
();
}
changeHand
(
type
:
HAND_TYPE
)
{
...
...
assets/Scripts/Utils/WebNet/WebNet.ts
View file @
28146cf1
...
...
@@ -32,6 +32,8 @@ export enum WebNetName {
baseInfo
=
"loop/baseInfo.do"
,
imgUploadUrl
=
"/customActivity/duiba/imgUploadUrl"
,
transfer
=
"snapshot/transfer.do"
,
/**
* 购买天降财神道具接口
...
...
assets/Start/Start.ts
View file @
28146cf1
...
...
@@ -9,7 +9,8 @@ import {
profiler
,
ProgressBar
,
resources
,
Sprite
Sprite
,
macro
,
}
from
'cc'
;
import
{
PREVIEW
}
from
'cc/env'
;
import
{
UIMgr
}
from
"../Module/UIMgr"
;
...
...
build/web-mobile/index.html
View file @
28146cf1
...
...
@@ -39,7 +39,7 @@
<script
src=
"//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js"
crossorigin=
"anonymous"
></script>
<script
src=
"//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
2502435064
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
4137628569
/style.css"
/>
<style>
.sui-captcha
{
...
...
@@ -99,16 +99,16 @@
</script>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
2502435064
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
4137628569
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
2502435064
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
4137628569
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
2502435064
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/172
4137628569
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/172
2502435064
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/172
4137628569
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
settings/v2/packages/information.json
View file @
28146cf1
...
...
@@ -7,7 +7,7 @@
"enable"
:
true
,
"customSplash"
:
{
"complete"
:
true
,
"form"
:
"https://creator-api.cocos.com/api/form/show?sid=
ed5f7e7e88978f75ec1dddd4e3508760
"
"form"
:
"https://creator-api.cocos.com/api/form/show?sid=
441e6f8e3e7ba0c9581ed7936daee45d
"
}
},
"removeSplash"
:
{
...
...
@@ -16,7 +16,7 @@
"enable"
:
true
,
"removeSplash"
:
{
"complete"
:
true
,
"form"
:
"https://creator-api.cocos.com/api/form/show?sid=
ed5f7e7e88978f75ec1dddd4e3508760
"
"form"
:
"https://creator-api.cocos.com/api/form/show?sid=
441e6f8e3e7ba0c9581ed7936daee45d
"
}
}
}
...
...
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