Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SaveTheDoge
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Quang Sáng
SaveTheDoge
Commits
15197a2b
Commit
15197a2b
authored
Aug 29, 2023
by
Nguyễn Quang Sáng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
29/8/2023 commit
parent
e00a4692
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
1708 additions
and
835 deletions
+1708
-835
Intro.anim
assets/Animations/Intro.anim
+33
-0
Intro.anim.meta
assets/Animations/Intro.anim.meta
+6
-0
Opening.anim
assets/Animations/Opening.anim
+4
-4
12.prefab
assets/Prefabs/Levels/12.prefab
+108
-382
30.prefab
assets/Prefabs/Levels/30.prefab
+245
-129
Unlock.png
assets/Resources/Unlock.png
+0
-0
Unlock.png.meta
assets/Resources/Unlock.png.meta
+0
-38
gameplay.fire
assets/Scenes/gameplay.fire
+368
-241
start.fire
assets/Scenes/start.fire
+361
-4
GamePlay.ts
assets/Scripts/Controllers/GamePlay.ts
+25
-20
Levels.ts
assets/Scripts/Controllers/Levels.ts
+1
-0
SkinsController.ts
assets/Scripts/Controllers/SkinsController.ts
+1
-0
SoundController.ts
assets/Scripts/Controllers/SoundController.ts
+28
-8
StartScene.ts
assets/Scripts/Controllers/StartScene.ts
+35
-4
LocalStorage.ts
assets/Scripts/Data/LocalStorage.ts
+16
-2
Bee.ts
assets/Scripts/Objects/Bee.ts
+1
-0
Dog.ts
assets/Scripts/Objects/Dog.ts
+2
-1
LimitBar.ts
assets/Scripts/Objects/LimitBar.ts
+1
-1
background.png
build-templates/web-mobile/background.png
+0
-0
favicon.ico
build-templates/web-mobile/favicon.ico
+0
-0
index.html
build-templates/web-mobile/index.html
+160
-0
splash.png
build-templates/web-mobile/splash.png
+0
-0
style-desktop.css
build-templates/web-mobile/style-desktop.css
+132
-0
style-mobile.css
build-templates/web-mobile/style-mobile.css
+124
-0
builder.json
settings/builder.json
+55
-0
project.json
settings/project.json
+2
-1
No files found.
assets/Animations/Intro.anim
0 → 100644
View file @
15197a2b
{
"__type__": "cc.AnimationClip",
"_name": "Intro",
"_objFlags": 0,
"_native": "",
"_duration": 0.16666666666666666,
"sample": 60,
"speed": 0.2,
"wrapMode": 2,
"curveData": {
"props": {
"opacity": [
{
"frame": 0,
"value": 255
},
{
"frame": 0.08333333333333333,
"value": 0
},
{
"frame": 0.15,
"value": 224.03280005870312
},
{
"frame": 0.16666666666666666,
"value": 255
}
]
}
},
"events": []
}
\ No newline at end of file
assets/Animations/Intro.anim.meta
0 → 100644
View file @
15197a2b
{
"ver": "2.1.2",
"uuid": "24b303eb-80f6-41f6-a817-f6bb048c2138",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
assets/Animations/Opening.anim
View file @
15197a2b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"_name": "Opening",
"_name": "Opening",
"_objFlags": 0,
"_objFlags": 0,
"_native": "",
"_native": "",
"_duration": 0.5
166666666666667
,
"_duration": 0.5
833333333333334
,
"sample": 60,
"sample": 60,
"speed": 1,
"speed": 1,
"wrapMode": 1,
"wrapMode": 1,
...
@@ -12,11 +12,11 @@
...
@@ -12,11 +12,11 @@
"opacity": [
"opacity": [
{
{
"frame": 0,
"frame": 0,
"value":
0
"value":
255
},
},
{
{
"frame": 0.5
166666666666667
,
"frame": 0.5
833333333333334
,
"value":
255
"value":
0
}
}
]
]
}
}
...
...
assets/Prefabs/Levels/12.prefab
View file @
15197a2b
...
@@ -21,29 +21,26 @@
...
@@ -21,29 +21,26 @@
"__id__": 2
"__id__": 2
},
},
{
{
"__id__":
26
"__id__":
19
},
},
{
{
"__id__": 4
"__id__": 4
},
},
{
{
"__id__": 11
"__id__": 12
},
{
"__id__": 19
},
},
{
{
"__id__":
33
"__id__":
26
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
7
"__id__": 7
0
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 7
8
"__id__": 7
1
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -107,7 +104,7 @@
...
@@ -107,7 +104,7 @@
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
32
"__id__":
25
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -167,25 +164,19 @@
...
@@ -167,25 +164,19 @@
"dogList": [
"dogList": [
{
{
"__id__": 4
"__id__": 4
},
{
"__id__": 11
}
}
],
],
"hiveList": [
"hiveList": [
{
{
"__id__": 1
8
"__id__": 1
1
},
},
{
{
"__id__":
25
"__id__":
18
}
}
],
],
"blockedObjects": [
"blockedObjects": [
{
{
"__id__": 4
"__id__": 4
},
{
"__id__": 11
}
}
],
],
"_id": ""
"_id": ""
...
@@ -241,8 +232,8 @@
...
@@ -241,8 +232,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
239.404
,
-
165.029
,
-2
22.934
,
-2
79.151
,
0,
0,
0,
0,
0,
0,
...
@@ -457,23 +448,14 @@
...
@@ -457,23 +448,14 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
Dog
",
"_name": "
Hole
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
"__id__": 1
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
"__id__": 12
},
{
"__id__": 13
},
{
"__id__": 14
},
{
{
"__id__": 15
"__id__": 15
},
},
...
@@ -492,262 +474,6 @@
...
@@ -492,262 +474,6 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_contentSize": {
"__type__": "cc.Size",
"width": 98,
"height": 98.99999999999994
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
238.069,
-218.432,
0,
0,
0,
0,
1,
1,
1,
-1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fa88432e-2413-4fb7-8239-25cbf06c5dec"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "66c0dT0+4VDrr9JdiNMsqQf",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "290ab410-a8d5-48d8-823a-18a941908c17"
},
"_clips": [
{
"__uuid__": "290ab410-a8d5-48d8-823a-18a941908c17"
},
{
"__uuid__": "e912ae40-0d1e-48f8-8d19-83f8d215dbd4"
},
{
"__uuid__": "b8789b21-46a2-4096-b3f3-87e769faf7db"
},
{
"__uuid__": "e154a8a7-63b5-455f-9cb8-4cbd2ad969fc"
}
],
"playOnLoad": true,
"_id": ""
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_type": 1,
"_allowSleep": false,
"_gravityScale": 2,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_id": ""
},
{
"__type__": "cc.PhysicsPolygonCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"points": [
{
"__type__": "cc.Vec2",
"x": -42.1,
"y": -30.5
},
{
"__type__": "cc.Vec2",
"x": -22.2,
"y": -44.8
},
{
"__type__": "cc.Vec2",
"x": -0.7,
"y": -47.2
},
{
"__type__": "cc.Vec2",
"x": 24.5,
"y": -44
},
{
"__type__": "cc.Vec2",
"x": 41,
"y": -33.1
},
{
"__type__": "cc.Vec2",
"x": 48.3,
"y": -7
},
{
"__type__": "cc.Vec2",
"x": 37.3,
"y": 23.6
},
{
"__type__": "cc.Vec2",
"x": 32,
"y": 47.6
},
{
"__type__": "cc.Vec2",
"x": -1.7,
"y": 37.6
},
{
"__type__": "cc.Vec2",
"x": -29.4,
"y": 45.7
},
{
"__type__": "cc.Vec2",
"x": -35.7,
"y": 25.7
},
{
"__type__": "cc.Vec2",
"x": -47.9,
"y": -2.9
}
],
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 11
},
"asset": {
"__uuid__": "c3f6df06-c0ad-4e83-999f-c26983a694bc"
},
"fileId": "19sxRmg+NPzIzullKoMWNB",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Hole",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
},
{
"__id__": 23
}
],
"_prefab": {
"__id__": 24
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 49,
"width": 49,
...
@@ -796,17 +522,17 @@
...
@@ -796,17 +522,17 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
8
"__id__": 1
1
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
20
"__id__":
13
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
21
"__id__":
14
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -860,7 +586,7 @@
...
@@ -860,7 +586,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
9
"__id__": 1
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -890,7 +616,7 @@
...
@@ -890,7 +616,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
9
"__id__": 1
2
},
},
"asset": {
"asset": {
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
...
@@ -903,7 +629,7 @@
...
@@ -903,7 +629,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
8
"__id__": 1
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -935,7 +661,7 @@
...
@@ -935,7 +661,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
8
"__id__": 1
1
},
},
"_enabled": true,
"_enabled": true,
"beePrefab": {
"beePrefab": {
...
@@ -949,7 +675,7 @@
...
@@ -949,7 +675,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
9
"__id__": 1
2
},
},
"asset": {
"asset": {
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
...
@@ -962,20 +688,20 @@
...
@@ -962,20 +688,20 @@
"_name": "Hole",
"_name": "Hole",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
26
"__id__":
19
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
9
"__id__": 2
2
},
},
{
{
"__id__":
30
"__id__":
23
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
31
"__id__":
24
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1033,17 +759,17 @@
...
@@ -1033,17 +759,17 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
25
"__id__":
18
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
7
"__id__": 2
0
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
8
"__id__": 2
1
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1097,7 +823,7 @@
...
@@ -1097,7 +823,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
26
"__id__":
19
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1127,7 +853,7 @@
...
@@ -1127,7 +853,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
26
"__id__":
19
},
},
"asset": {
"asset": {
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
...
@@ -1140,7 +866,7 @@
...
@@ -1140,7 +866,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
25
"__id__":
18
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1172,21 +898,21 @@
...
@@ -1172,21 +898,21 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
25
"__id__":
18
},
},
"_enabled": true,
"_enabled": true,
"beePrefab": {
"beePrefab": {
"__uuid__": "7c6aebf9-b0b0-4ee0-9a19-c3b7e1828a7f"
"__uuid__": "7c6aebf9-b0b0-4ee0-9a19-c3b7e1828a7f"
},
},
"dog": {
"dog": {
"__id__":
11
"__id__":
4
},
},
"_id": ""
"_id": ""
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
26
"__id__":
19
},
},
"asset": {
"asset": {
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
"__uuid__": "522dc4dc-bff9-4ced-9a5d-0fb11060097d"
...
@@ -1214,40 +940,40 @@
...
@@ -1214,40 +940,40 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
34
"__id__":
27
},
},
{
{
"__id__": 3
9
"__id__": 3
2
},
},
{
{
"__id__":
44
"__id__":
37
},
},
{
{
"__id__":
50
"__id__":
43
},
},
{
{
"__id__":
56
"__id__":
49
},
},
{
{
"__id__":
61
"__id__":
54
},
},
{
{
"__id__":
64
"__id__":
57
},
},
{
{
"__id__": 6
7
"__id__": 6
0
},
},
{
{
"__id__":
70
"__id__":
63
},
},
{
{
"__id__":
73
"__id__":
66
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__":
76
"__id__":
69
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1301,23 +1027,23 @@
...
@@ -1301,23 +1027,23 @@
"_name": "grass",
"_name": "grass",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
35
"__id__":
28
},
},
{
{
"__id__":
36
"__id__":
29
},
},
{
{
"__id__": 3
7
"__id__": 3
0
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 3
8
"__id__": 3
1
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1371,7 +1097,7 @@
...
@@ -1371,7 +1097,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
34
"__id__":
27
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1403,7 +1129,7 @@
...
@@ -1403,7 +1129,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
34
"__id__":
27
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -1428,7 +1154,7 @@
...
@@ -1428,7 +1154,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
34
"__id__":
27
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -1465,23 +1191,23 @@
...
@@ -1465,23 +1191,23 @@
"_name": "grass copy",
"_name": "grass copy",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
40
"__id__":
33
},
},
{
{
"__id__":
41
"__id__":
34
},
},
{
{
"__id__":
42
"__id__":
35
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
43
"__id__":
36
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1535,7 +1261,7 @@
...
@@ -1535,7 +1261,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
9
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1567,7 +1293,7 @@
...
@@ -1567,7 +1293,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
9
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -1592,7 +1318,7 @@
...
@@ -1592,7 +1318,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
9
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -1629,26 +1355,26 @@
...
@@ -1629,26 +1355,26 @@
"_name": "grass copy",
"_name": "grass copy",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
45
"__id__":
38
},
},
{
{
"__id__":
46
"__id__":
39
},
},
{
{
"__id__": 4
7
"__id__": 4
0
},
},
{
{
"__id__": 4
8
"__id__": 4
1
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 4
9
"__id__": 4
2
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1702,7 +1428,7 @@
...
@@ -1702,7 +1428,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
44
"__id__":
37
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1734,7 +1460,7 @@
...
@@ -1734,7 +1460,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
44
"__id__":
37
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -1759,7 +1485,7 @@
...
@@ -1759,7 +1485,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
44
"__id__":
37
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -1785,7 +1511,7 @@
...
@@ -1785,7 +1511,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
44
"__id__":
37
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -1822,26 +1548,26 @@
...
@@ -1822,26 +1548,26 @@
"_name": "grass copy",
"_name": "grass copy",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
51
"__id__":
44
},
},
{
{
"__id__":
52
"__id__":
45
},
},
{
{
"__id__":
53
"__id__":
46
},
},
{
{
"__id__":
54
"__id__":
47
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
55
"__id__":
48
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1895,7 +1621,7 @@
...
@@ -1895,7 +1621,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
50
"__id__":
43
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1927,7 +1653,7 @@
...
@@ -1927,7 +1653,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
50
"__id__":
43
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -1952,7 +1678,7 @@
...
@@ -1952,7 +1678,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
50
"__id__":
43
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -1978,7 +1704,7 @@
...
@@ -1978,7 +1704,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
50
"__id__":
43
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -2015,23 +1741,23 @@
...
@@ -2015,23 +1741,23 @@
"_name": "grass copy",
"_name": "grass copy",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
7
"__id__": 5
0
},
},
{
{
"__id__": 5
8
"__id__": 5
1
},
},
{
{
"__id__": 5
9
"__id__": 5
2
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
60
"__id__":
53
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2085,7 +1811,7 @@
...
@@ -2085,7 +1811,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
56
"__id__":
49
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2117,7 +1843,7 @@
...
@@ -2117,7 +1843,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
56
"__id__":
49
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -2142,7 +1868,7 @@
...
@@ -2142,7 +1868,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
56
"__id__":
49
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -2179,17 +1905,17 @@
...
@@ -2179,17 +1905,17 @@
"_name": "brick",
"_name": "brick",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
62
"__id__":
55
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
63
"__id__":
56
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2243,7 +1969,7 @@
...
@@ -2243,7 +1969,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
61
"__id__":
54
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2286,17 +2012,17 @@
...
@@ -2286,17 +2012,17 @@
"_name": "brick copy",
"_name": "brick copy",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
65
"__id__":
58
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
66
"__id__":
59
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2350,7 +2076,7 @@
...
@@ -2350,7 +2076,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
64
"__id__":
57
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2393,17 +2119,17 @@
...
@@ -2393,17 +2119,17 @@
"_name": "brick copy",
"_name": "brick copy",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
8
"__id__": 6
1
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 6
9
"__id__": 6
2
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2457,7 +2183,7 @@
...
@@ -2457,7 +2183,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
7
"__id__": 6
0
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2500,17 +2226,17 @@
...
@@ -2500,17 +2226,17 @@
"_name": "brick copy",
"_name": "brick copy",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
71
"__id__":
64
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
72
"__id__":
65
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2564,7 +2290,7 @@
...
@@ -2564,7 +2290,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
70
"__id__":
63
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2607,17 +2333,17 @@
...
@@ -2607,17 +2333,17 @@
"_name": "brick",
"_name": "brick",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
74
"__id__":
67
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
75
"__id__":
68
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2671,7 +2397,7 @@
...
@@ -2671,7 +2397,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
73
"__id__":
66
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
...
assets/Prefabs/Levels/30.prefab
View file @
15197a2b
...
@@ -33,44 +33,44 @@
...
@@ -33,44 +33,44 @@
"__id__": 26
"__id__": 26
},
},
{
{
"__id__":
69
"__id__":
73
},
},
{
{
"__id__": 7
4
"__id__": 7
8
},
},
{
{
"__id__": 32
"__id__": 32
},
},
{
{
"__id__": 4
1
"__id__": 4
2
},
},
{
{
"__id__": 5
0
"__id__": 5
2
},
},
{
{
"__id__":
59
"__id__":
62
},
},
{
{
"__id__": 8
3
"__id__": 8
7
},
},
{
{
"__id__":
88
"__id__":
92
},
},
{
{
"__id__": 9
3
"__id__": 9
7
},
},
{
{
"__id__":
98
"__id__":
102
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
3
"__id__": 10
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 10
4
"__id__": 10
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
68
"__id__":
72
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -215,16 +215,16 @@
...
@@ -215,16 +215,16 @@
"__id__": 32
"__id__": 32
},
},
{
{
"__id__": 4
1
"__id__": 4
2
},
},
{
{
"__id__": 11
"__id__": 11
},
},
{
{
"__id__": 5
0
"__id__": 5
2
},
},
{
{
"__id__":
59
"__id__":
62
}
}
],
],
"_id": ""
"_id": ""
...
@@ -280,8 +280,8 @@
...
@@ -280,8 +280,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
104.
3,
50.43
3,
67.158
,
-2.869
,
0,
0,
0,
0,
0,
0,
...
@@ -545,8 +545,8 @@
...
@@ -545,8 +545,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
93.467
,
-
50.374
,
67.158
,
-2.869
,
0,
0,
0,
0,
0,
0,
...
@@ -1252,10 +1252,13 @@
...
@@ -1252,10 +1252,13 @@
},
},
{
{
"__id__": 39
"__id__": 39
},
{
"__id__": 40
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 4
0
"__id__": 4
1
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1279,7 +1282,7 @@
...
@@ -1279,7 +1282,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
90.706
,
-
104.774
,
227.778,
227.778,
0,
0,
0,
0,
...
@@ -1525,6 +1528,32 @@
...
@@ -1525,6 +1528,32 @@
"awakeOnLoad": true,
"awakeOnLoad": true,
"_id": ""
"_id": ""
},
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 104,
"height": 66
},
"_id": ""
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
...
@@ -1545,20 +1574,23 @@
...
@@ -1545,20 +1574,23 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 4
2
"__id__": 4
3
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
7
"__id__": 4
8
},
},
{
{
"__id__": 48
"__id__": 49
},
{
"__id__": 50
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
49
"__id__":
51
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1612,23 +1644,23 @@
...
@@ -1612,23 +1644,23 @@
"_name": "Grass",
"_name": "Grass",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
"__id__": 43
},
{
{
"__id__": 44
"__id__": 44
},
},
{
{
"__id__": 45
"__id__": 45
},
{
"__id__": 46
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 4
6
"__id__": 4
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1682,7 +1714,7 @@
...
@@ -1682,7 +1714,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1714,7 +1746,7 @@
...
@@ -1714,7 +1746,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -1739,7 +1771,7 @@
...
@@ -1739,7 +1771,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -1763,7 +1795,7 @@
...
@@ -1763,7 +1795,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 4
1
"__id__": 4
2
},
},
"asset": {
"asset": {
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
...
@@ -1776,7 +1808,7 @@
...
@@ -1776,7 +1808,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1808,7 +1840,7 @@
...
@@ -1808,7 +1840,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
2
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -1828,10 +1860,36 @@
...
@@ -1828,10 +1860,36 @@
"awakeOnLoad": true,
"awakeOnLoad": true,
"_id": ""
"_id": ""
},
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 104,
"height": 66
},
"_id": ""
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 4
1
"__id__": 4
2
},
},
"asset": {
"asset": {
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
...
@@ -1848,20 +1906,23 @@
...
@@ -1848,20 +1906,23 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 5
1
"__id__": 5
3
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 56
"__id__": 58
},
{
"__id__": 59
},
},
{
{
"__id__":
57
"__id__":
60
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
58
"__id__":
61
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1915,23 +1976,23 @@
...
@@ -1915,23 +1976,23 @@
"_name": "Grass",
"_name": "Grass",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
0
"__id__": 5
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
2
"__id__": 5
4
},
},
{
{
"__id__": 5
3
"__id__": 5
5
},
},
{
{
"__id__": 5
4
"__id__": 5
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 5
5
"__id__": 5
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1985,7 +2046,7 @@
...
@@ -1985,7 +2046,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
1
"__id__": 5
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2017,7 +2078,7 @@
...
@@ -2017,7 +2078,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
1
"__id__": 5
3
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -2042,7 +2103,7 @@
...
@@ -2042,7 +2103,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
1
"__id__": 5
3
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -2066,7 +2127,7 @@
...
@@ -2066,7 +2127,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 5
0
"__id__": 5
2
},
},
"asset": {
"asset": {
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
...
@@ -2079,7 +2140,7 @@
...
@@ -2079,7 +2140,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2111,7 +2172,7 @@
...
@@ -2111,7 +2172,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -2131,10 +2192,36 @@
...
@@ -2131,10 +2192,36 @@
"awakeOnLoad": true,
"awakeOnLoad": true,
"_id": ""
"_id": ""
},
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 104,
"height": 66
},
"_id": ""
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 5
0
"__id__": 5
2
},
},
"asset": {
"asset": {
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
...
@@ -2151,20 +2238,23 @@
...
@@ -2151,20 +2238,23 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 6
0
"__id__": 6
3
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
5
"__id__": 6
8
},
},
{
{
"__id__": 66
"__id__": 69
},
{
"__id__": 70
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
67
"__id__":
71
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2188,7 +2278,7 @@
...
@@ -2188,7 +2278,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
99.15
9,
103.84
9,
227.778,
227.778,
0,
0,
0,
0,
...
@@ -2218,23 +2308,23 @@
...
@@ -2218,23 +2308,23 @@
"_name": "Grass",
"_name": "Grass",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
62
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
1
"__id__": 6
4
},
},
{
{
"__id__": 6
2
"__id__": 6
5
},
},
{
{
"__id__": 6
3
"__id__": 6
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 6
4
"__id__": 6
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2288,7 +2378,7 @@
...
@@ -2288,7 +2378,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
0
"__id__": 6
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2320,7 +2410,7 @@
...
@@ -2320,7 +2410,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
0
"__id__": 6
3
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -2345,7 +2435,7 @@
...
@@ -2345,7 +2435,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
0
"__id__": 6
3
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -2369,7 +2459,7 @@
...
@@ -2369,7 +2459,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
59
"__id__":
62
},
},
"asset": {
"asset": {
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
...
@@ -2382,7 +2472,7 @@
...
@@ -2382,7 +2472,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
59
"__id__":
62
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2414,7 +2504,7 @@
...
@@ -2414,7 +2504,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
59
"__id__":
62
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -2434,10 +2524,36 @@
...
@@ -2434,10 +2524,36 @@
"awakeOnLoad": true,
"awakeOnLoad": true,
"_id": ""
"_id": ""
},
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 104,
"height": 66
},
"_id": ""
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
59
"__id__":
62
},
},
"asset": {
"asset": {
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
"__uuid__": "3ef9ce8f-791c-430c-b1f8-ec3703b0ae18"
...
@@ -2467,17 +2583,17 @@
...
@@ -2467,17 +2583,17 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
0
"__id__": 7
4
},
},
{
{
"__id__": 7
1
"__id__": 7
5
},
},
{
{
"__id__": 7
2
"__id__": 7
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 7
3
"__id__": 7
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2502,7 +2618,7 @@
...
@@ -2502,7 +2618,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
6
57.397
,
6
67.634
,
0,
0,
0,
0,
0,
0,
...
@@ -2531,7 +2647,7 @@
...
@@ -2531,7 +2647,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
73
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2563,7 +2679,7 @@
...
@@ -2563,7 +2679,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
73
},
},
"_enabled": true,
"_enabled": true,
"_type": 1,
"_type": 1,
...
@@ -2588,7 +2704,7 @@
...
@@ -2588,7 +2704,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
73
},
},
"_enabled": true,
"_enabled": true,
"tag": 3,
"tag": 3,
...
@@ -2608,7 +2724,7 @@
...
@@ -2608,7 +2724,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
69
"__id__":
73
},
},
"asset": {
"asset": {
"__uuid__": "0e462732-051a-4c9a-a006-986f62c5c161"
"__uuid__": "0e462732-051a-4c9a-a006-986f62c5c161"
...
@@ -2625,26 +2741,26 @@
...
@@ -2625,26 +2741,26 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 7
5
"__id__": 7
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
78
"__id__":
82
},
},
{
{
"__id__":
79
"__id__":
83
},
},
{
{
"__id__": 8
0
"__id__": 8
4
},
},
{
{
"__id__": 8
1
"__id__": 8
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 8
2
"__id__": 8
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2698,17 +2814,17 @@
...
@@ -2698,17 +2814,17 @@
"_name": "Bubble",
"_name": "Bubble",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
4
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
76
"__id__":
80
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
77
"__id__":
81
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2762,7 +2878,7 @@
...
@@ -2762,7 +2878,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
5
"__id__": 7
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2863,7 +2979,7 @@
...
@@ -2863,7 +2979,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 7
4
"__id__": 7
8
},
},
"asset": {
"asset": {
"__uuid__": "d066880c-91af-4222-90eb-2dca44a4c99f"
"__uuid__": "d066880c-91af-4222-90eb-2dca44a4c99f"
...
@@ -2876,7 +2992,7 @@
...
@@ -2876,7 +2992,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
4
"__id__": 7
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2908,7 +3024,7 @@
...
@@ -2908,7 +3024,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
4
"__id__": 7
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2935,7 +3051,7 @@
...
@@ -2935,7 +3051,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
4
"__id__": 7
8
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -2960,7 +3076,7 @@
...
@@ -2960,7 +3076,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
4
"__id__": 7
8
},
},
"_enabled": true,
"_enabled": true,
"tag": 3,
"tag": 3,
...
@@ -2984,7 +3100,7 @@
...
@@ -2984,7 +3100,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 7
4
"__id__": 7
8
},
},
"asset": {
"asset": {
"__uuid__": "d066880c-91af-4222-90eb-2dca44a4c99f"
"__uuid__": "d066880c-91af-4222-90eb-2dca44a4c99f"
...
@@ -3003,17 +3119,17 @@
...
@@ -3003,17 +3119,17 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
4
"__id__": 8
8
},
},
{
{
"__id__": 8
5
"__id__": 8
9
},
},
{
{
"__id__":
86
"__id__":
90
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
87
"__id__":
91
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3037,7 +3153,7 @@
...
@@ -3037,7 +3153,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
90.776
,
-
103.672
,
160.213,
160.213,
0,
0,
0,
0,
...
@@ -3067,7 +3183,7 @@
...
@@ -3067,7 +3183,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3099,7 +3215,7 @@
...
@@ -3099,7 +3215,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
7
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -3124,7 +3240,7 @@
...
@@ -3124,7 +3240,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
7
},
},
"_enabled": true,
"_enabled": true,
"tag": 3,
"tag": 3,
...
@@ -3148,7 +3264,7 @@
...
@@ -3148,7 +3264,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 8
3
"__id__": 8
7
},
},
"asset": {
"asset": {
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
...
@@ -3167,17 +3283,17 @@
...
@@ -3167,17 +3283,17 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
89
"__id__":
93
},
},
{
{
"__id__": 9
0
"__id__": 9
4
},
},
{
{
"__id__": 9
1
"__id__": 9
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 9
2
"__id__": 9
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3231,7 +3347,7 @@
...
@@ -3231,7 +3347,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
92
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3263,7 +3379,7 @@
...
@@ -3263,7 +3379,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
92
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -3288,7 +3404,7 @@
...
@@ -3288,7 +3404,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
92
},
},
"_enabled": true,
"_enabled": true,
"tag": 3,
"tag": 3,
...
@@ -3312,7 +3428,7 @@
...
@@ -3312,7 +3428,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
88
"__id__":
92
},
},
"asset": {
"asset": {
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
...
@@ -3331,17 +3447,17 @@
...
@@ -3331,17 +3447,17 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
4
"__id__": 9
8
},
},
{
{
"__id__": 9
5
"__id__": 9
9
},
},
{
{
"__id__":
96
"__id__":
100
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
97
"__id__":
101
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3395,7 +3511,7 @@
...
@@ -3395,7 +3511,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
3
"__id__": 9
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3427,7 +3543,7 @@
...
@@ -3427,7 +3543,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
3
"__id__": 9
7
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -3452,7 +3568,7 @@
...
@@ -3452,7 +3568,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
3
"__id__": 9
7
},
},
"_enabled": true,
"_enabled": true,
"tag": 3,
"tag": 3,
...
@@ -3476,7 +3592,7 @@
...
@@ -3476,7 +3592,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
3
"__id__": 9
7
},
},
"asset": {
"asset": {
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
...
@@ -3495,17 +3611,17 @@
...
@@ -3495,17 +3611,17 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
99
"__id__":
103
},
},
{
{
"__id__": 10
0
"__id__": 10
4
},
},
{
{
"__id__": 10
1
"__id__": 10
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 10
2
"__id__": 10
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3529,7 +3645,7 @@
...
@@ -3529,7 +3645,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
99.089
,
106.123
,
160.213,
160.213,
0,
0,
0,
0,
...
@@ -3559,7 +3675,7 @@
...
@@ -3559,7 +3675,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
102
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3591,7 +3707,7 @@
...
@@ -3591,7 +3707,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
102
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -3616,7 +3732,7 @@
...
@@ -3616,7 +3732,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
102
},
},
"_enabled": true,
"_enabled": true,
"tag": 3,
"tag": 3,
...
@@ -3640,7 +3756,7 @@
...
@@ -3640,7 +3756,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
98
"__id__":
102
},
},
"asset": {
"asset": {
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
"__uuid__": "6673de46-a49c-4db5-8f01-3755cb2d143b"
...
...
assets/Resources/Unlock.png
deleted
100644 → 0
View file @
e00a4692
272 KB
assets/Resources/Unlock.png.meta
deleted
100644 → 0
View file @
e00a4692
{
"ver": "2.3.7",
"uuid": "0de0ba75-fee4-48db-b699-7993a835b98d",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1959,
"height": 701,
"platformSettings": {},
"subMetas": {
"Unlock": {
"ver": "1.0.6",
"uuid": "78d9ec6c-e154-4167-b29b-43fd0420025f",
"importer": "sprite-frame",
"rawTextureUuid": "0de0ba75-fee4-48db-b699-7993a835b98d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1959,
"height": 701,
"rawWidth": 1959,
"rawHeight": 701,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/Scenes/gameplay.fire
View file @
15197a2b
...
@@ -81,40 +81,40 @@
...
@@ -81,40 +81,40 @@
"__id__": 11
"__id__": 11
},
},
{
{
"__id__":
82
"__id__":
13
},
},
{
{
"__id__":
1
4
"__id__":
8
4
},
},
{
{
"__id__":
84
"__id__":
16
},
},
{
{
"__id__": 8
8
"__id__": 8
6
},
},
{
{
"__id__":
17
"__id__":
90
},
},
{
{
"__id__":
23
"__id__":
19
},
},
{
{
"__id__":
57
"__id__":
25
},
},
{
{
"__id__": 92
"__id__": 59
},
{
"__id__": 94
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 94
"__id__": 98
},
{
"__id__": 95
},
},
{
{
"__id__": 9
6
"__id__": 9
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -497,7 +497,7 @@
...
@@ -497,7 +497,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
GamePlay
",
"_name": "
SoundController
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
...
@@ -507,9 +507,125 @@
...
@@ -507,9 +507,125 @@
"_components": [
"_components": [
{
{
"__id__": 12
"__id__": 12
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "88wrbVKt1FrJLKEajq411z"
},
{
"__type__": "5dadapVlGJLqaxzmoiQJ0tg",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"sounds": [
{
"__uuid__": "bbd825a6-8b23-4d33-8155-a79dec10502c"
},
},
{
{
"__id__": 81
"__uuid__": "febe8456-39fd-46da-ad02-b40e8213cc77"
},
{
"__uuid__": "04d06b10-1e23-474d-954c-bcb82236f598"
},
{
"__uuid__": "cf27e773-adad-4fbc-8cae-5a44401a6a27"
},
{
"__uuid__": "1cf10392-24d4-4200-9afb-75e048eed10a"
},
{
"__uuid__": "d1728ddc-1995-4ee8-9245-737e548d72b5"
},
{
"__uuid__": "e17655fb-2143-40f4-8a19-b22c41ee06d5"
},
{
"__uuid__": "ccc4ecd1-ce5f-462b-8ae0-43e570740626"
},
{
"__uuid__": "57d0fdf1-b4bd-4d31-a932-c97a119ec7e0"
},
{
"__uuid__": "a1c3d2a6-7e02-4e5b-a911-e5079f46d116"
},
{
"__uuid__": "eca17ee6-efc0-4534-9c84-efbaa9872cd7"
},
{
"__uuid__": "96ee4f30-5b5b-4e32-ae12-bf8800500d85"
},
{
"__uuid__": "bc566fbf-7a76-438c-8d35-f5ba9693ebb3"
},
{
"__uuid__": "f43b9399-7cdd-4bbe-94f0-d2a83e9b6c6c"
}
],
"_id": "fb0sCIHhhPYLqgUNTdDdMu"
},
{
"__type__": "cc.Node",
"_name": "GamePlay",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
},
{
"__id__": 83
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -565,7 +681,7 @@
...
@@ -565,7 +681,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
"__id__": 1
3
},
},
"_enabled": true,
"_enabled": true,
"lineMinSegLength": 8,
"lineMinSegLength": 8,
...
@@ -663,34 +779,34 @@
...
@@ -663,34 +779,34 @@
}
}
],
],
"graphic": {
"graphic": {
"__id__": 1
3
"__id__": 1
5
},
},
"timerLabel": {
"timerLabel": {
"__id__": 1
5
"__id__": 1
7
},
},
"clock": {
"clock": {
"__id__": 1
7
"__id__": 1
9
},
},
"levelLabel": {
"levelLabel": {
"__id__": 2
2
"__id__": 2
4
},
},
"starLabel": {
"starLabel": {
"__id__": 5
6
"__id__": 5
8
},
},
"coinLabel": {
"coinLabel": {
"__id__": 4
7
"__id__": 4
9
},
},
"coinEarned": {
"coinEarned": {
"__id__": 6
6
"__id__": 6
8
},
},
"levelComp": {
"levelComp": {
"__id__": 5
7
"__id__": 5
9
},
},
"rewardSprite": {
"rewardSprite": {
"__id__": 7
5
"__id__": 7
7
},
},
"shadow": {
"shadow": {
"__id__": 3
3
"__id__": 3
5
},
},
"soundClick": {
"soundClick": {
"__uuid__": "cf27e773-adad-4fbc-8cae-5a44401a6a27"
"__uuid__": "cf27e773-adad-4fbc-8cae-5a44401a6a27"
...
@@ -764,7 +880,7 @@
...
@@ -764,7 +880,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
4
"__id__": 1
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -803,7 +919,7 @@
...
@@ -803,7 +919,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
3
"__id__": 1
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -859,7 +975,7 @@
...
@@ -859,7 +975,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
6
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -894,16 +1010,16 @@
...
@@ -894,16 +1010,16 @@
"_name": "ClockLabel",
"_name": "ClockLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
5
"__id__": 1
7
},
},
{
{
"__id__": 2
1
"__id__": 2
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -963,19 +1079,19 @@
...
@@ -963,19 +1079,19 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
6
"__id__": 1
8
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
18
"__id__":
20
},
},
{
{
"__id__":
19
"__id__":
21
},
},
{
{
"__id__": 2
0
"__id__": 2
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1031,7 +1147,7 @@
...
@@ -1031,7 +1147,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
7
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1063,7 +1179,7 @@
...
@@ -1063,7 +1179,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
7
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"_defaultClip": {
"_defaultClip": {
...
@@ -1082,7 +1198,7 @@
...
@@ -1082,7 +1198,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
7
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1109,7 +1225,7 @@
...
@@ -1109,7 +1225,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
6
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -1127,16 +1243,16 @@
...
@@ -1127,16 +1243,16 @@
"_name": "LevelLabel",
"_name": "LevelLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
4
"__id__": 5
6
},
},
{
{
"__id__": 5
5
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1196,28 +1312,28 @@
...
@@ -1196,28 +1312,28 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 2
2
"__id__": 2
4
},
},
{
{
"__id__": 2
4
"__id__": 2
6
},
},
{
{
"__id__": 3
3
"__id__": 3
5
},
},
{
{
"__id__": 3
6
"__id__": 3
8
},
},
{
{
"__id__": 4
1
"__id__": 4
3
},
},
{
{
"__id__": 4
6
"__id__": 4
8
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
3
"__id__": 5
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1273,26 +1389,26 @@
...
@@ -1273,26 +1389,26 @@
"_name": "LimitBar",
"_name": "LimitBar",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
5
},
},
"_children": [
"_children": [
{
"__id__": 25
},
{
{
"__id__": 27
"__id__": 27
},
},
{
{
"__id__": 29
"__id__": 29
},
{
"__id__": 31
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
1
"__id__": 3
3
},
},
{
{
"__id__": 3
2
"__id__": 3
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1348,13 +1464,13 @@
...
@@ -1348,13 +1464,13 @@
"_name": "Bar",
"_name": "Bar",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
4
"__id__": 2
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
6
"__id__": 2
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1410,7 +1526,7 @@
...
@@ -1410,7 +1526,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
5
"__id__": 2
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1442,13 +1558,13 @@
...
@@ -1442,13 +1558,13 @@
"_name": "Limit1",
"_name": "Limit1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
4
"__id__": 2
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
28
"__id__":
30
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1504,7 +1620,7 @@
...
@@ -1504,7 +1620,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
7
"__id__": 2
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1536,13 +1652,13 @@
...
@@ -1536,13 +1652,13 @@
"_name": "Limit2",
"_name": "Limit2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
4
"__id__": 2
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
0
"__id__": 3
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1598,7 +1714,7 @@
...
@@ -1598,7 +1714,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
29
"__id__":
31
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1630,7 +1746,7 @@
...
@@ -1630,7 +1746,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
4
"__id__": 2
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1662,11 +1778,11 @@
...
@@ -1662,11 +1778,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
4
"__id__": 2
6
},
},
"_enabled": true,
"_enabled": true,
"barSprite": {
"barSprite": {
"__id__": 2
6
"__id__": 2
8
},
},
"limitBarSprite1": {
"limitBarSprite1": {
"__uuid__": "d629670c-4b1a-42a5-8f0c-5c4f041e6ba3"
"__uuid__": "d629670c-4b1a-42a5-8f0c-5c4f041e6ba3"
...
@@ -1681,16 +1797,16 @@
...
@@ -1681,16 +1797,16 @@
"_name": "Shadow",
"_name": "Shadow",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 3
4
"__id__": 3
6
},
},
{
{
"__id__": 3
5
"__id__": 3
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1746,7 +1862,7 @@
...
@@ -1746,7 +1862,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1778,7 +1894,7 @@
...
@@ -1778,7 +1894,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1805,19 +1921,19 @@
...
@@ -1805,19 +1921,19 @@
"_name": "ButtonBack",
"_name": "ButtonBack",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
7
"__id__": 3
9
},
},
{
{
"__id__":
38
"__id__":
40
},
},
{
{
"__id__": 4
0
"__id__": 4
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1873,7 +1989,7 @@
...
@@ -1873,7 +1989,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
6
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1905,7 +2021,7 @@
...
@@ -1905,7 +2021,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
6
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -1914,7 +2030,7 @@
...
@@ -1914,7 +2030,7 @@
"zoomScale": 0.8,
"zoomScale": 0.8,
"clickEvents": [
"clickEvents": [
{
{
"__id__":
39
"__id__":
41
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -1975,7 +2091,7 @@
...
@@ -1975,7 +2091,7 @@
{
{
"__type__": "cc.ClickEvent",
"__type__": "cc.ClickEvent",
"target": {
"target": {
"__id__": 1
1
"__id__": 1
3
},
},
"component": "",
"component": "",
"_componentId": "696e4NRFAZMOL+y2DX8K7V0",
"_componentId": "696e4NRFAZMOL+y2DX8K7V0",
...
@@ -1987,7 +2103,7 @@
...
@@ -1987,7 +2103,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
6
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2014,19 +2130,19 @@
...
@@ -2014,19 +2130,19 @@
"_name": "ButtonReplay",
"_name": "ButtonReplay",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
2
"__id__": 4
4
},
},
{
{
"__id__": 4
3
"__id__": 4
5
},
},
{
{
"__id__": 4
5
"__id__": 4
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2082,7 +2198,7 @@
...
@@ -2082,7 +2198,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2114,7 +2230,7 @@
...
@@ -2114,7 +2230,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -2123,7 +2239,7 @@
...
@@ -2123,7 +2239,7 @@
"zoomScale": 0.8,
"zoomScale": 0.8,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 4
4
"__id__": 4
6
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -2184,7 +2300,7 @@
...
@@ -2184,7 +2300,7 @@
{
{
"__type__": "cc.ClickEvent",
"__type__": "cc.ClickEvent",
"target": {
"target": {
"__id__": 1
1
"__id__": 1
3
},
},
"component": "",
"component": "",
"_componentId": "696e4NRFAZMOL+y2DX8K7V0",
"_componentId": "696e4NRFAZMOL+y2DX8K7V0",
...
@@ -2196,7 +2312,7 @@
...
@@ -2196,7 +2312,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2223,20 +2339,20 @@
...
@@ -2223,20 +2339,20 @@
"_name": "New Node",
"_name": "New Node",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
5
},
},
"_children": [
"_children": [
{
{
"__id__": 4
7
"__id__": 4
9
},
},
{
{
"__id__": 5
0
"__id__": 5
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
2
"__id__": 5
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2292,16 +2408,16 @@
...
@@ -2292,16 +2408,16 @@
"_name": "CoinLabel",
"_name": "CoinLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
6
"__id__": 4
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
48
"__id__":
50
},
},
{
{
"__id__":
49
"__id__":
51
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2357,7 +2473,7 @@
...
@@ -2357,7 +2473,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
7
"__id__": 4
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2392,7 +2508,7 @@
...
@@ -2392,7 +2508,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
7
"__id__": 4
9
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -2410,13 +2526,13 @@
...
@@ -2410,13 +2526,13 @@
"_name": "Coin",
"_name": "Coin",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
6
"__id__": 4
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
1
"__id__": 5
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2472,7 +2588,7 @@
...
@@ -2472,7 +2588,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2504,7 +2620,7 @@
...
@@ -2504,7 +2620,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
6
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2531,7 +2647,7 @@
...
@@ -2531,7 +2647,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
3
"__id__": 2
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2558,7 +2674,7 @@
...
@@ -2558,7 +2674,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
2
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2593,7 +2709,7 @@
...
@@ -2593,7 +2709,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
2
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -2611,16 +2727,16 @@
...
@@ -2611,16 +2727,16 @@
"_name": "StarLabel",
"_name": "StarLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
79
"__id__":
81
},
},
{
{
"__id__": 8
0
"__id__": 8
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2680,34 +2796,34 @@
...
@@ -2680,34 +2796,34 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
58
"__id__":
60
},
},
{
{
"__id__": 6
1
"__id__": 6
3
},
},
{
{
"__id__": 6
4
"__id__": 6
6
},
},
{
{
"__id__": 6
6
"__id__": 6
8
},
},
{
{
"__id__":
69
"__id__":
71
},
},
{
{
"__id__": 7
3
"__id__": 7
5
},
},
{
{
"__id__": 5
6
"__id__": 5
8
},
},
{
{
"__id__": 7
5
"__id__": 7
7
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
78
"__id__":
80
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2763,16 +2879,16 @@
...
@@ -2763,16 +2879,16 @@
"_name": "Light",
"_name": "Light",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
59
"__id__":
61
},
},
{
{
"__id__": 6
0
"__id__": 6
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2828,7 +2944,7 @@
...
@@ -2828,7 +2944,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
58
"__id__":
60
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2860,7 +2976,7 @@
...
@@ -2860,7 +2976,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
58
"__id__":
60
},
},
"_enabled": true,
"_enabled": true,
"_defaultClip": {
"_defaultClip": {
...
@@ -2879,16 +2995,16 @@
...
@@ -2879,16 +2995,16 @@
"_name": "Title",
"_name": "Title",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
2
"__id__": 6
4
},
},
{
{
"__id__": 6
3
"__id__": 6
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2944,7 +3060,7 @@
...
@@ -2944,7 +3060,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
1
"__id__": 6
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2979,7 +3095,7 @@
...
@@ -2979,7 +3095,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
1
"__id__": 6
3
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -2997,13 +3113,13 @@
...
@@ -2997,13 +3113,13 @@
"_name": "EarnedCoin",
"_name": "EarnedCoin",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
5
"__id__": 6
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3059,7 +3175,7 @@
...
@@ -3059,7 +3175,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
4
"__id__": 6
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3091,16 +3207,16 @@
...
@@ -3091,16 +3207,16 @@
"_name": "EarnedCoinLabel",
"_name": "EarnedCoinLabel",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
7
"__id__": 6
9
},
},
{
{
"__id__":
68
"__id__":
70
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3156,7 +3272,7 @@
...
@@ -3156,7 +3272,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
6
"__id__": 6
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3191,7 +3307,7 @@
...
@@ -3191,7 +3307,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
6
"__id__": 6
8
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -3209,16 +3325,16 @@
...
@@ -3209,16 +3325,16 @@
"_name": "ButtonCollect",
"_name": "ButtonCollect",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
0
"__id__": 7
2
},
},
{
{
"__id__": 7
2
"__id__": 7
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3274,7 +3390,7 @@
...
@@ -3274,7 +3390,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -3283,7 +3399,7 @@
...
@@ -3283,7 +3399,7 @@
"zoomScale": 0.8,
"zoomScale": 0.8,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 7
1
"__id__": 7
3
}
}
],
],
"_N$interactable": true,
"_N$interactable": true,
...
@@ -3344,7 +3460,7 @@
...
@@ -3344,7 +3460,7 @@
{
{
"__type__": "cc.ClickEvent",
"__type__": "cc.ClickEvent",
"target": {
"target": {
"__id__": 1
1
"__id__": 1
3
},
},
"component": "",
"component": "",
"_componentId": "696e4NRFAZMOL+y2DX8K7V0",
"_componentId": "696e4NRFAZMOL+y2DX8K7V0",
...
@@ -3356,7 +3472,7 @@
...
@@ -3356,7 +3472,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3367,7 +3483,7 @@
...
@@ -3367,7 +3483,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
78d9ec6c-e154-4167-b29b-43fd0420025f
"
"__uuid__": "
c4251a1f-25f4-4c87-8e13-14c7845bac0d
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 0,
"_sizeMode": 0,
...
@@ -3388,13 +3504,13 @@
...
@@ -3388,13 +3504,13 @@
"_name": "Star",
"_name": "Star",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
4
"__id__": 7
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3450,7 +3566,7 @@
...
@@ -3450,7 +3566,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
3
"__id__": 7
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3482,16 +3598,16 @@
...
@@ -3482,16 +3598,16 @@
"_name": "RewardSprite",
"_name": "RewardSprite",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
7
"__id__": 5
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
6
"__id__": 7
8
},
},
{
{
"__id__": 7
7
"__id__": 7
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3547,7 +3663,7 @@
...
@@ -3547,7 +3663,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
5
"__id__": 7
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3579,7 +3695,7 @@
...
@@ -3579,7 +3695,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
5
"__id__": 7
7
},
},
"_enabled": true,
"_enabled": true,
"_defaultClip": {
"_defaultClip": {
...
@@ -3598,7 +3714,7 @@
...
@@ -3598,7 +3714,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
7
"__id__": 5
9
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3625,7 +3741,7 @@
...
@@ -3625,7 +3741,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
6
"__id__": 5
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3660,7 +3776,7 @@
...
@@ -3660,7 +3776,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
6
"__id__": 5
8
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -3678,7 +3794,7 @@
...
@@ -3678,7 +3794,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
"__id__": 1
3
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3711,7 +3827,7 @@
...
@@ -3711,7 +3827,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
3
"__id__": 8
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3767,7 +3883,7 @@
...
@@ -3767,7 +3883,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
2
"__id__": 8
4
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3800,13 +3916,13 @@
...
@@ -3800,13 +3916,13 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
5
"__id__": 8
7
},
},
{
{
"__id__": 8
6
"__id__": 8
8
},
},
{
{
"__id__": 8
7
"__id__": 8
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3862,7 +3978,7 @@
...
@@ -3862,7 +3978,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
4
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -3887,7 +4003,7 @@
...
@@ -3887,7 +4003,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
4
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -3913,7 +4029,7 @@
...
@@ -3913,7 +4029,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
4
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3946,13 +4062,13 @@
...
@@ -3946,13 +4062,13 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
89
"__id__":
91
},
},
{
{
"__id__": 9
0
"__id__": 9
2
},
},
{
{
"__id__": 9
1
"__id__": 9
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4008,7 +4124,7 @@
...
@@ -4008,7 +4124,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
90
},
},
"_enabled": true,
"_enabled": true,
"_type": 0,
"_type": 0,
...
@@ -4033,7 +4149,7 @@
...
@@ -4033,7 +4149,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
90
},
},
"_enabled": true,
"_enabled": true,
"tag": 0,
"tag": 0,
...
@@ -4059,7 +4175,7 @@
...
@@ -4059,7 +4175,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
90
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -4083,7 +4199,7 @@
...
@@ -4083,7 +4199,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
SoundController
",
"_name": "
Opening
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
...
@@ -4092,22 +4208,28 @@
...
@@ -4092,22 +4208,28 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 93
"__id__": 95
},
{
"__id__": 96
},
{
"__id__": 97
}
}
],
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
255
,
"r":
0
,
"g":
255
,
"g":
0
,
"b":
255
,
"b":
0
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 0,
"width":
64
0,
"height": 0
"height":
114
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4141,61 +4263,85 @@
...
@@ -4141,61 +4263,85 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
88wrbVKt1FrJLKEajq411z
"
"_id": "
c57CkDvJBMHZIsaDAIyzQf
"
},
},
{
{
"__type__": "
5dadapVlGJLqaxzmoiQJ0tg
",
"__type__": "
cc.Animation
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
4
},
},
"_enabled": true,
"_enabled": true,
"sounds": [
"_defaultClip": {
{
"__uuid__": "20dd64ba-ba66-4af0-9f75-d3196eca01af"
"__uuid__": "bbd825a6-8b23-4d33-8155-a79dec10502c"
},
},
"_clips": [
{
"__uuid__": "febe8456-39fd-46da-ad02-b40e8213cc77"
},
{
"__uuid__": "04d06b10-1e23-474d-954c-bcb82236f598"
},
{
"__uuid__": "cf27e773-adad-4fbc-8cae-5a44401a6a27"
},
{
"__uuid__": "1cf10392-24d4-4200-9afb-75e048eed10a"
},
{
"__uuid__": "d1728ddc-1995-4ee8-9245-737e548d72b5"
},
{
"__uuid__": "e17655fb-2143-40f4-8a19-b22c41ee06d5"
},
{
"__uuid__": "ccc4ecd1-ce5f-462b-8ae0-43e570740626"
},
{
"__uuid__": "57d0fdf1-b4bd-4d31-a932-c97a119ec7e0"
},
{
"__uuid__": "a1c3d2a6-7e02-4e5b-a911-e5079f46d116"
},
{
"__uuid__": "eca17ee6-efc0-4534-9c84-efbaa9872cd7"
},
{
"__uuid__": "96ee4f30-5b5b-4e32-ae12-bf8800500d85"
},
{
{
"__uuid__": "bc566fbf-7a76-438c-8d35-f5ba9693ebb3"
"__uuid__": "20dd64ba-ba66-4af0-9f75-d3196eca01af"
},
}
],
"playOnLoad": true,
"_id": "8efude0KpDBb32at3m43uk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"_materials": [
{
{
"__uuid__": "
f43b9399-7cdd-4bbe-94f0-d2a83e9b6c6c
"
"__uuid__": "
eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432
"
}
}
],
],
"_id": "fb0sCIHhhPYLqgUNTdDdMu"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "70ZImMkbNMl7ltZ6djJ5TX"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 640,
"_originalHeight": 1140,
"_id": "7e1alaxVxHPLMSyccOq+cj"
},
},
{
{
"__type__": "cc.Canvas",
"__type__": "cc.Canvas",
...
@@ -4240,24 +4386,5 @@
...
@@ -4240,24 +4386,5 @@
"_originalWidth": 0,
"_originalWidth": 0,
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "20dd64ba-ba66-4af0-9f75-d3196eca01af"
},
"_clips": [
{
"__uuid__": "20dd64ba-ba66-4af0-9f75-d3196eca01af"
}
],
"playOnLoad": true,
"_id": "14AFtokspG4Y6UzlcRsBxR"
}
}
]
]
\ No newline at end of file
assets/Scenes/start.fire
View file @
15197a2b
...
@@ -100,18 +100,21 @@
...
@@ -100,18 +100,21 @@
},
},
{
{
"__id__": 46
"__id__": 46
},
{
"__id__": 72
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
72
"__id__":
81
},
},
{
{
"__id__":
73
"__id__":
82
},
},
{
{
"__id__":
74
"__id__":
83
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -468,7 +471,7 @@
...
@@ -468,7 +471,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
d2abbacf-3959-4e3a-9fb7-5c1527a74dda
"
"__uuid__": "
65a2b7d8-d4e8-4571-aedb-766db7693820
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -3043,6 +3046,360 @@
...
@@ -3043,6 +3046,360 @@
"playOnLoad": true,
"playOnLoad": true,
"_id": "e1Sbe+retMy79f3NjKsuvG"
"_id": "e1Sbe+retMy79f3NjKsuvG"
},
},
{
"__type__": "cc.Node",
"_name": "Intro",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 73
}
],
"_active": true,
"_components": [
{
"__id__": 76
},
{
"__id__": 77
},
{
"__id__": 78
},
{
"__id__": 79
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 1140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "cdjfz9tR1KGagNMSd7GNIf"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 72
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
},
{
"__id__": 75
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 440.5,
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6dAPQo6k5LppgftUJo31S5"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "TOUCH TO START",
"_N$string": "TOUCH TO START",
"_fontSize": 50,
"_lineHeight": 50,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "0481a3d3-282a-499e-b2f1-c53edc40ac4c"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "39zrI+bwpE0IR3DzoBxIdK"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "24b303eb-80f6-41f6-a817-f6bb048c2138"
},
"_clips": [
{
"__uuid__": "24b303eb-80f6-41f6-a817-f6bb048c2138"
}
],
"playOnLoad": true,
"_id": "434rgdex9BGbtTN6xHBT0E"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0f8uZ5+zNJY6Z4dAoiMvml"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "20dd64ba-ba66-4af0-9f75-d3196eca01af"
},
"_clips": [
{
"__uuid__": "20dd64ba-ba66-4af0-9f75-d3196eca01af"
}
],
"playOnLoad": false,
"_id": "98HNEYNVlOaLQER47G6CHp"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 640,
"_originalHeight": 1140,
"_id": "6eDDZbgRNMOrXGgZwJUOUa"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 80
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "92U3JaTyFMwZhz+LiTOga4"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "221b6Awh/1PLZ7IzVb1f3El",
"handler": "onClickOpenGame",
"customEventData": ""
},
{
{
"__type__": "cc.Canvas",
"__type__": "cc.Canvas",
"_name": "",
"_name": "",
...
...
assets/Scripts/Controllers/GamePlay.ts
View file @
15197a2b
...
@@ -8,6 +8,7 @@ import StageController from "./StageController";
...
@@ -8,6 +8,7 @@ import StageController from "./StageController";
import
SkinController
from
"./SkinsController"
;
import
SkinController
from
"./SkinsController"
;
import
Hive
from
"../Objects/Hive"
;
import
Hive
from
"../Objects/Hive"
;
import
SoundController
from
"./SoundController"
;
import
SoundController
from
"./SoundController"
;
import
StartScene
from
"./StartScene"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
@@ -67,6 +68,7 @@ export default class GamePlay extends cc.Component {
...
@@ -67,6 +68,7 @@ export default class GamePlay extends cc.Component {
rightEdgePoints
:
Array
<
cc
.
Vec2
>
=
new
Array
<
cc
.
Vec2
>
();
rightEdgePoints
:
Array
<
cc
.
Vec2
>
=
new
Array
<
cc
.
Vec2
>
();
blockedObjects
:
Array
<
cc
.
Node
>
=
new
Array
<
cc
.
Node
>
();
blockedObjects
:
Array
<
cc
.
Node
>
=
new
Array
<
cc
.
Node
>
();
randomCoin
:
number
=
Math
.
floor
(
Math
.
random
()
*
(
30
-
26
))
+
25
;
protected
onLoad
():
void
{
protected
onLoad
():
void
{
GamePlay
.
instance
=
this
;
GamePlay
.
instance
=
this
;
...
@@ -117,9 +119,6 @@ export default class GamePlay extends cc.Component {
...
@@ -117,9 +119,6 @@ export default class GamePlay extends cc.Component {
this
.
isCompleted
=
false
;
this
.
isCompleted
=
false
;
this
.
isGameover
=
false
;
this
.
isGameover
=
false
;
this
.
updateSkin
();
this
.
updateSkin
();
if
(
this
.
node
.
children
[
0
].
getChildByName
(
"Acid"
))
{
SoundController
.
playLoopSound
(
SoundController
.
instance
.
sounds
[
0
],
1
);
}
}
}
updateSkin
()
{
updateSkin
()
{
...
@@ -197,7 +196,6 @@ export default class GamePlay extends cc.Component {
...
@@ -197,7 +196,6 @@ export default class GamePlay extends cc.Component {
}
}
onTouchMove
(
event
:
cc
.
Event
.
EventTouch
)
{
onTouchMove
(
event
:
cc
.
Event
.
EventTouch
)
{
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
12
]);
this
.
moved
=
true
;
this
.
moved
=
true
;
let
touchPos
=
event
.
getLocation
();
let
touchPos
=
event
.
getLocation
();
let
posValid
=
true
;
let
posValid
=
true
;
...
@@ -246,7 +244,7 @@ export default class GamePlay extends cc.Component {
...
@@ -246,7 +244,7 @@ export default class GamePlay extends cc.Component {
rightEdgeLast
,
rightEdgeLast
,
];
];
newPolyCol
.
restitution
=
1
.2
;
newPolyCol
.
restitution
=
1
;
newPolyCol
.
apply
();
newPolyCol
.
apply
();
this
.
lastTouchPos
=
touchPos
;
this
.
lastTouchPos
=
touchPos
;
...
@@ -256,14 +254,18 @@ export default class GamePlay extends cc.Component {
...
@@ -256,14 +254,18 @@ export default class GamePlay extends cc.Component {
LimitBar
.
instance
.
fillTheBar
();
LimitBar
.
instance
.
fillTheBar
();
if
(
LimitBar
.
instance
.
progress
<=
0
)
{
if
(
LimitBar
.
instance
.
progress
<=
0
)
{
this
.
onTouchUp
(
event
);
this
.
onTouchUp
(
event
);
}
else
this
.
drawLine
();
}
else
{
this
.
drawLine
();
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
12
]);
}
}
}
}
}
}
}
onTouchUp
(
event
:
cc
.
Event
.
EventTouch
)
{
onTouchUp
(
event
:
cc
.
Event
.
EventTouch
)
{
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
11
]);
if
(
!
this
.
drew
&&
this
.
moved
&&
this
.
linePoints
.
length
>
1
)
{
if
(
!
this
.
drew
&&
this
.
moved
&&
this
.
linePoints
.
length
>
1
)
{
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
11
]);
SoundController
.
playLoopSound
(
SoundController
.
instance
.
sounds
[
1
]);
this
.
rb
.
type
=
cc
.
RigidBodyType
.
Dynamic
;
this
.
rb
.
type
=
cc
.
RigidBodyType
.
Dynamic
;
if
(
this
.
node
.
children
[
0
].
getChildByName
(
"Stone"
))
{
if
(
this
.
node
.
children
[
0
].
getChildByName
(
"Stone"
))
{
this
.
node
.
children
[
0
]
this
.
node
.
children
[
0
]
...
@@ -272,7 +274,6 @@ export default class GamePlay extends cc.Component {
...
@@ -272,7 +274,6 @@ export default class GamePlay extends cc.Component {
}
}
StageController
.
instance
.
onHunting
();
StageController
.
instance
.
onHunting
();
SoundController
.
playLoopSound
(
SoundController
.
instance
.
sounds
[
1
],
1
);
this
.
clock
.
active
=
true
;
this
.
clock
.
active
=
true
;
this
.
startCount
=
true
;
this
.
startCount
=
true
;
this
.
drew
=
true
;
this
.
drew
=
true
;
...
@@ -299,7 +300,6 @@ export default class GamePlay extends cc.Component {
...
@@ -299,7 +300,6 @@ export default class GamePlay extends cc.Component {
protected
update
(
dt
:
number
):
void
{
protected
update
(
dt
:
number
):
void
{
if
(
!
this
.
startCount
)
return
;
if
(
!
this
.
startCount
)
return
;
this
.
countdown
-=
dt
;
this
.
countdown
-=
dt
;
this
.
onStartCountdown
();
this
.
onStartCountdown
();
}
}
...
@@ -316,22 +316,24 @@ export default class GamePlay extends cc.Component {
...
@@ -316,22 +316,24 @@ export default class GamePlay extends cc.Component {
}
}
if
(
!
Dog
.
instance
.
attacked
&&
this
.
countdown
<=
1
)
{
if
(
!
Dog
.
instance
.
attacked
&&
this
.
countdown
<=
1
)
{
this
.
startCount
=
false
;
this
.
startCount
=
false
;
cc
.
audioEngine
.
stopAllEffects
();
this
.
onLevelCompleted
(
this
.
currentLevel
);
this
.
onLevelCompleted
(
this
.
currentLevel
);
}
}
}
}
onReloadLevel
()
{
onReloadLevel
()
{
this
.
drew
=
false
;
this
.
drew
=
false
;
cc
.
audioEngine
.
stopAllEffects
(
);
SoundController
.
stopSound
(
SoundController
.
instance
.
sounds
[
1
]
);
cc
.
director
.
loadScene
(
"gameplay"
);
cc
.
director
.
loadScene
(
"gameplay"
);
}
}
onLevelCompleted
(
level
)
{
onLevelCompleted
(
level
)
{
SoundController
.
stopSound
(
SoundController
.
instance
.
sounds
[
1
]);
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
6
]);
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
6
]);
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
13
]);
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
13
]);
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
10
]);
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
10
]);
this
.
addCoin
();
this
.
coinEarned
.
getComponent
(
cc
.
Label
).
string
=
`x
${
this
.
randomCoin
}
`
;
this
.
isCompleted
=
true
;
this
.
isCompleted
=
true
;
StageController
.
instance
.
onCompleted
();
StageController
.
instance
.
onCompleted
();
if
(
this
.
currentLevel
+
1
==
this
.
highestLevel
)
{
if
(
this
.
currentLevel
+
1
==
this
.
highestLevel
)
{
...
@@ -360,22 +362,25 @@ export default class GamePlay extends cc.Component {
...
@@ -360,22 +362,25 @@ export default class GamePlay extends cc.Component {
this
.
updateAllStarLabel
();
this
.
updateAllStarLabel
();
}
}
addCoin
()
{
onClickCollect
()
{
let
randomCoin
=
Math
.
floor
(
Math
.
random
()
*
(
30
-
26
))
+
25
;
LocalStorage
.
setAllCoin
((
this
.
currentCoin
+=
this
.
randomCoin
));
this
.
coinEarned
.
getComponent
(
cc
.
Label
).
string
=
`x
${
randomCoin
}
`
;
LocalStorage
.
setAllCoin
((
this
.
currentCoin
+=
randomCoin
));
this
.
coinLabel
.
getComponent
(
this
.
coinLabel
.
getComponent
(
cc
.
Label
cc
.
Label
).
string
=
`x
${
LocalStorage
.
getAllCoin
()}
`
;
).
string
=
`x
${
LocalStorage
.
getAllCoin
()}
`
;
}
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
4
]);
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
5
]);
onNextLevel
()
{
LocalStorage
.
setCurrentLevel
((
this
.
currentLevel
+=
1
));
LocalStorage
.
setCurrentLevel
((
this
.
currentLevel
+=
1
));
this
.
currentLevel
=
LocalStorage
.
getCurrentLevel
();
this
.
currentLevel
=
LocalStorage
.
getCurrentLevel
();
if
(
this
.
currentLevel
>
29
)
return
cc
.
director
.
loadScene
(
"start"
);
if
(
this
.
currentLevel
>
29
)
return
cc
.
director
.
loadScene
(
"start"
);
this
.
drew
=
false
;
this
.
drew
=
false
;
GlobalVariables
.
levelToLoad
=
this
.
currentLevel
;
GlobalVariables
.
levelToLoad
=
this
.
currentLevel
;
cc
.
director
.
loadScene
(
"gameplay"
);
}
onNextLevel
()
{
this
.
onClickCollect
();
this
.
scheduleOnce
(()
=>
{
cc
.
director
.
loadScene
(
"gameplay"
);
},
1
);
}
}
onClickButtonBack
()
{
onClickButtonBack
()
{
...
...
assets/Scripts/Controllers/Levels.ts
View file @
15197a2b
import
{
GlobalVariables
}
from
"../Data/GlobalVariables"
;
import
{
GlobalVariables
}
from
"../Data/GlobalVariables"
;
import
LocalStorage
from
"../Data/LocalStorage"
;
import
LocalStorage
from
"../Data/LocalStorage"
;
import
StartScene
from
"./StartScene"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
...
assets/Scripts/Controllers/SkinsController.ts
View file @
15197a2b
import
{
GlobalVariables
}
from
"../Data/GlobalVariables"
;
import
{
GlobalVariables
}
from
"../Data/GlobalVariables"
;
import
LocalStorage
from
"../Data/LocalStorage"
;
import
LocalStorage
from
"../Data/LocalStorage"
;
import
StartScene
from
"./StartScene"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
...
assets/Scripts/Controllers/SoundController.ts
View file @
15197a2b
import
LocalStorage
from
"../Data/LocalStorage"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
@
ccclass
@
ccclass
export
default
class
SoundController
extends
cc
.
Component
{
export
default
class
SoundController
extends
cc
.
Component
{
static
instance
:
SoundController
;
static
instance
:
SoundController
;
private
playingSounds
:
{
audio
:
cc
.
AudioClip
;
audioId
:
number
}[]
=
[];
@
property
(
Array
(
cc
.
AudioClip
))
sounds
:
Array
<
cc
.
AudioClip
>
=
@
property
(
Array
(
cc
.
AudioClip
))
sounds
:
Array
<
cc
.
AudioClip
>
=
new
Array
<
cc
.
AudioClip
>
();
new
Array
<
cc
.
AudioClip
>
();
...
@@ -11,16 +15,32 @@ export default class SoundController extends cc.Component {
...
@@ -11,16 +15,32 @@ export default class SoundController extends cc.Component {
SoundController
.
instance
=
this
;
SoundController
.
instance
=
this
;
}
}
public
static
playLoopSound
(
sound
:
cc
.
AudioClip
,
delayTime
:
number
)
{
public
static
playLoopSound
(
sound
:
cc
.
AudioClip
)
{
const
audioId
=
cc
.
audioEngine
.
playEffect
(
sound
,
false
)
;
if
(
!
LocalStorage
.
getMusic
())
return
;
const
audioId
=
cc
.
audioEngine
.
play
(
sound
,
true
,
1
);
this
.
instance
.
scheduleOnce
(()
=>
{
SoundController
.
instance
.
playingSounds
.
push
(
{
cc
.
audioEngine
.
stopEffect
(
audioId
);
audio
:
sound
,
cc
.
audioEngine
.
playEffect
(
sound
,
true
);
audioId
:
audioId
,
}
,
delayTime
);
});
}
}
public
static
playNoLoopSound
(
sound
:
cc
.
AudioClip
)
{
public
static
playNoLoopSound
(
sound
:
cc
.
AudioClip
)
{
cc
.
audioEngine
.
playEffect
(
sound
,
false
);
if
(
!
LocalStorage
.
getMusic
())
return
;
const
audioId
=
cc
.
audioEngine
.
play
(
sound
,
false
,
1
);
SoundController
.
instance
.
playingSounds
.
push
({
audio
:
sound
,
audioId
:
audioId
,
});
}
public
static
stopSound
(
audioClip
:
cc
.
AudioClip
)
{
const
index
=
SoundController
.
instance
.
playingSounds
.
findIndex
(
(
item
)
=>
item
.
audio
===
audioClip
);
if
(
index
!==
-
1
)
{
const
audioId
=
SoundController
.
instance
.
playingSounds
[
index
].
audioId
;
cc
.
audioEngine
.
stop
(
audioId
);
SoundController
.
instance
.
playingSounds
.
splice
(
index
,
1
);
}
}
}
}
}
assets/Scripts/Controllers/StartScene.ts
View file @
15197a2b
...
@@ -16,15 +16,22 @@ export default class StartScene extends cc.Component {
...
@@ -16,15 +16,22 @@ export default class StartScene extends cc.Component {
pressed
:
boolean
=
false
;
pressed
:
boolean
=
false
;
highestUnlockedLevel
:
number
;
highestUnlockedLevel
:
number
;
currentAnimation
:
string
=
null
;
currentAnimation
:
string
=
null
;
isStarted
:
boolean
=
false
;
protected
onLoad
():
void
{
protected
onLoad
():
void
{
cc
.
audioEngine
.
playEffect
(
this
.
soundIntro
,
true
);
if
(
LocalStorage
.
getMusic
())
{
if
(
LocalStorage
.
getMusic
())
{
this
.
currentSprite
=
this
.
soundOnSprite
;
this
.
currentSprite
=
this
.
soundOnSprite
;
}
else
this
.
currentSprite
=
this
.
soundOffSprite
;
}
else
{
this
.
updateButtonSprite
()
;
this
.
currentSprite
=
this
.
soundOffSprite
;
if
(
this
.
currentSprite
==
this
.
soundOnSprite
)
{
cc
.
audioEngine
.
setMusicVolume
(
0
);
cc
.
audioEngine
.
playEffect
(
this
.
soundIntro
,
true
);
cc
.
audioEngine
.
setEffectsVolume
(
0
);
}
}
this
.
updateButtonSprite
();
window
.
addEventListener
(
"beforeunload"
,
this
.
handleGameReload
);
this
.
isStarted
=
LocalStorage
.
getGameStarted
();
if
(
this
.
isStarted
)
this
.
node
.
getChildByName
(
"Intro"
).
active
=
false
;
this
.
highestUnlockedLevel
=
LocalStorage
.
getHighestLevel
();
this
.
highestUnlockedLevel
=
LocalStorage
.
getHighestLevel
();
LocalStorage
.
getCurrentLevel
();
LocalStorage
.
getCurrentLevel
();
...
@@ -40,6 +47,26 @@ export default class StartScene extends cc.Component {
...
@@ -40,6 +47,26 @@ export default class StartScene extends cc.Component {
.
getComponent
(
cc
.
Label
).
string
=
`x
${
LocalStorage
.
getAllCoin
()}
`
;
.
getComponent
(
cc
.
Label
).
string
=
`x
${
LocalStorage
.
getAllCoin
()}
`
;
}
}
handleGameReload
()
{
LocalStorage
.
setGameStarted
(
false
);
}
onDestroy
()
{
window
.
removeEventListener
(
"beforeunload"
,
this
.
handleGameReload
);
}
onClickOpenGame
()
{
LocalStorage
.
setGameStarted
(
true
);
this
.
node
.
getChildByName
(
"Intro"
)
.
getComponent
(
cc
.
Animation
)
.
play
(
"Opening"
);
this
.
scheduleOnce
(()
=>
{
this
.
node
.
getChildByName
(
"Intro"
).
active
=
false
;
},
0.6
);
}
updateAllStarLabel
()
{
updateAllStarLabel
()
{
let
sum
=
0
;
let
sum
=
0
;
for
(
const
item
of
LocalStorage
.
getAllStars
())
{
for
(
const
item
of
LocalStorage
.
getAllStars
())
{
...
@@ -119,6 +146,10 @@ export default class StartScene extends cc.Component {
...
@@ -119,6 +146,10 @@ export default class StartScene extends cc.Component {
cc
.
audioEngine
.
playEffect
(
this
.
soundClick
,
false
);
cc
.
audioEngine
.
playEffect
(
this
.
soundClick
,
false
);
GlobalVariables
.
levelToLoad
=
this
.
highestUnlockedLevel
-
1
;
GlobalVariables
.
levelToLoad
=
this
.
highestUnlockedLevel
-
1
;
LocalStorage
.
setCurrentLevel
(
this
.
highestUnlockedLevel
-
1
);
LocalStorage
.
setCurrentLevel
(
this
.
highestUnlockedLevel
-
1
);
if
(
this
.
highestUnlockedLevel
==
31
)
{
GlobalVariables
.
levelToLoad
=
0
;
LocalStorage
.
setCurrentLevel
(
0
);
}
cc
.
director
.
loadScene
(
"gameplay"
);
cc
.
director
.
loadScene
(
"gameplay"
);
}
}
}
}
assets/Scripts/Data/LocalStorage.ts
View file @
15197a2b
...
@@ -2,14 +2,28 @@ const { ccclass, property } = cc._decorator;
...
@@ -2,14 +2,28 @@ const { ccclass, property } = cc._decorator;
@
ccclass
@
ccclass
export
default
class
LocalStorage
extends
cc
.
Component
{
export
default
class
LocalStorage
extends
cc
.
Component
{
public
static
setGameStarted
(
value
:
boolean
)
{
cc
.
sys
.
localStorage
.
setItem
(
"SaveTheDoge - GameStarted"
,
value
);
}
public
static
getGameStarted
():
boolean
{
if
(
cc
.
sys
.
localStorage
.
getItem
(
"SaveTheDoge - GameStarted"
)
==
null
)
{
cc
.
sys
.
localStorage
.
setItem
(
"SaveTheDoge - GameStarted"
,
false
);
return
false
;
}
else
return
JSON
.
parse
(
cc
.
sys
.
localStorage
.
getItem
(
"SaveTheDoge - GameStarted"
)
);
}
public
static
setMusic
(
value
:
boolean
)
{
public
static
setMusic
(
value
:
boolean
)
{
cc
.
sys
.
localStorage
.
setItem
(
"SaveTheDoge - Music"
,
value
);
cc
.
sys
.
localStorage
.
setItem
(
"SaveTheDoge - Music"
,
value
);
}
}
public
static
getMusic
():
boolean
{
public
static
getMusic
():
boolean
{
if
(
cc
.
sys
.
localStorage
.
getItem
(
"SaveTheDoge - Music"
)
==
null
)
{
if
(
cc
.
sys
.
localStorage
.
getItem
(
"SaveTheDoge - Music"
)
==
null
)
{
cc
.
sys
.
localStorage
.
setItem
(
"SaveTheDoge - Music"
,
fals
e
);
cc
.
sys
.
localStorage
.
setItem
(
"SaveTheDoge - Music"
,
tru
e
);
return
fals
e
;
return
tru
e
;
}
else
}
else
return
JSON
.
parse
(
cc
.
sys
.
localStorage
.
getItem
(
"SaveTheDoge - Music"
));
return
JSON
.
parse
(
cc
.
sys
.
localStorage
.
getItem
(
"SaveTheDoge - Music"
));
}
}
...
...
assets/Scripts/Objects/Bee.ts
View file @
15197a2b
...
@@ -26,6 +26,7 @@ export default class Bee extends cc.Component {
...
@@ -26,6 +26,7 @@ export default class Bee extends cc.Component {
this
.
targetPosition
=
arrayTarget
[
randomIndex
];
this
.
targetPosition
=
arrayTarget
[
randomIndex
];
}
}
if
(
otherCollider
.
tag
==
3
)
{
if
(
otherCollider
.
tag
==
3
)
{
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
7
]);
let
effect
=
cc
.
instantiate
(
GamePlay
.
instance
.
fadePrefab
);
let
effect
=
cc
.
instantiate
(
GamePlay
.
instance
.
fadePrefab
);
effect
.
parent
=
this
.
node
;
effect
.
parent
=
this
.
node
;
effect
.
position
=
this
.
node
.
convertToNodeSpaceAR
(
effect
.
position
=
this
.
node
.
convertToNodeSpaceAR
(
...
...
assets/Scripts/Objects/Dog.ts
View file @
15197a2b
...
@@ -21,10 +21,11 @@ export default class Dog extends cc.Component {
...
@@ -21,10 +21,11 @@ export default class Dog extends cc.Component {
if
(
!
this
.
attacked
&&
otherCollider
.
tag
==
1
)
{
if
(
!
this
.
attacked
&&
otherCollider
.
tag
==
1
)
{
this
.
attacked
=
true
;
this
.
attacked
=
true
;
GamePlay
.
instance
.
isGameover
=
true
;
GamePlay
.
instance
.
isGameover
=
true
;
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
9
])
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
9
])
;
this
.
node
.
getComponent
(
cc
.
Animation
).
play
(
`
${
this
.
currentSkin
}
Hurt`
);
this
.
node
.
getComponent
(
cc
.
Animation
).
play
(
`
${
this
.
currentSkin
}
Hurt`
);
}
}
if
(
otherCollider
.
tag
==
3
)
{
if
(
otherCollider
.
tag
==
3
)
{
SoundController
.
playNoLoopSound
(
SoundController
.
instance
.
sounds
[
7
]);
let
effect
=
cc
.
instantiate
(
GamePlay
.
instance
.
fadePrefab
);
let
effect
=
cc
.
instantiate
(
GamePlay
.
instance
.
fadePrefab
);
effect
.
parent
=
this
.
node
;
effect
.
parent
=
this
.
node
;
effect
.
position
=
this
.
node
.
convertToNodeSpaceAR
(
effect
.
position
=
this
.
node
.
convertToNodeSpaceAR
(
...
...
assets/Scripts/Objects/LimitBar.ts
View file @
15197a2b
...
@@ -17,7 +17,7 @@ export default class LimitBar extends cc.Component {
...
@@ -17,7 +17,7 @@ export default class LimitBar extends cc.Component {
}
}
fillTheBar
()
{
fillTheBar
()
{
this
.
progress
-=
0.00
6
;
this
.
progress
-=
0.00
5
;
this
.
barSprite
.
fillRange
=
this
.
progress
;
this
.
barSprite
.
fillRange
=
this
.
progress
;
if
(
this
.
progress
<=
0.6
)
{
if
(
this
.
progress
<=
0.6
)
{
this
.
winStar
=
2
;
this
.
winStar
=
2
;
...
...
build-templates/web-mobile/background.png
0 → 100644
View file @
15197a2b
240 KB
build-templates/web-mobile/favicon.ico
0 → 100644
View file @
15197a2b
1.12 KB
build-templates/web-mobile/index.html
0 → 100644
View file @
15197a2b
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title>
Save The Doge
</title>
<!--http://www.html5rocks.com/en/mobile/mobifying/-->
<meta
name=
"viewport"
content=
"width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1"
/>
<!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
/>
<meta
name=
"format-detection"
content=
"telephone=no"
/>
<!-- force webkit on 360 -->
<meta
name=
"renderer"
content=
"webkit"
/>
<meta
name=
"force-rendering"
content=
"webkit"
/>
<!-- force edge on IE -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<meta
name=
"msapplication-tap-highlight"
content=
"no"
/>
<!-- force full screen on some browser -->
<meta
name=
"full-screen"
content=
"yes"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<!-- force screen orientation on some browser -->
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-orientation"
content=
"portrait"
/>
<!--fix fireball/issues/3568 -->
<!--<meta name="browsermode" content="application">-->
<meta
name=
"x5-page-mode"
content=
"app"
/>
<!--<link rel="apple-touch-icon" href=".png" />-->
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<!-- <link rel="stylesheet" type="text/css" href="style-mobile.css"/> -->
<link
rel=
"icon"
href=
"favicon.ico"
/>
</head>
<body>
<!-- <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
<div id="splash">
<div class="progress-bar stripes">
<span style="width: 0%"></span>
</div>
</div> -->
<script
async
src=
"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1766156477558119"
crossorigin=
"anonymous"
></script>
<script>
window
.
adsbygoogle
=
window
.
adsbygoogle
||
[];
window
.
adBreak
=
function
(
o
)
{
adsbygoogle
.
push
(
o
);
};
window
.
adConfig
=
function
(
o
)
{
adsbygoogle
.
push
(
o
);
};
window
.
adConfig
({
sound
:
"off"
,
preloadAdBreaks
:
"on"
,
onReady
:
()
=>
{
console
.
log
(
"AdSense Ready!"
);
},
});
</script>
<script>
let
isMobile
=
false
;
(
function
(
a
)
{
if
(
/
(
android|bb
\d
+|meego
)
.+mobile|avantgo|bada
\/
|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip
(
hone|od
)
|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m
(
ob|in
)
i|palm
(
os
)?
|phone|p
(
ixi|re
)\/
|plucker|pocket|psp|series
(
4|6
)
0|symbian|treo|up
\.(
browser|link
)
|vodafone|wap|windows ce|xda|xiino/i
.
test
(
a
)
||
/1207|6310|6590|3gso|4thp|50
[
1-6
]
i|770s|802s|a wa|abac|ac
(
er|oo|s
\-)
|ai
(
ko|rn
)
|al
(
av|ca|co
)
|amoi|an
(
ex|ny|yw
)
|aptu|ar
(
ch|go
)
|as
(
te|us
)
|attw|au
(
di|
\-
m|r |s
)
|avan|be
(
ck|ll|nq
)
|bi
(
lb|rd
)
|bl
(
ac|az
)
|br
(
e|v
)
w|bumb|bw
\-(
n|u
)
|c55
\/
|capi|ccwa|cdm
\-
|cell|chtm|cldc|cmd
\-
|co
(
mp|nd
)
|craw|da
(
it|ll|ng
)
|dbte|dc
\-
s|devi|dica|dmob|do
(
c|p
)
o|ds
(
12|
\-
d
)
|el
(
49|ai
)
|em
(
l2|ul
)
|er
(
ic|k0
)
|esl8|ez
([
4-7
]
0|os|wa|ze
)
|fetc|fly
(\-
|_
)
|g1 u|g560|gene|gf
\-
5|g
\-
mo|go
(\.
w|od
)
|gr
(
ad|un
)
|haie|hcit|hd
\-(
m|p|t
)
|hei
\-
|hi
(
pt|ta
)
|hp
(
i|ip
)
|hs
\-
c|ht
(
c
(\-
| |_|a|g|p|s|t
)
|tp
)
|hu
(
aw|tc
)
|i
\-(
20|go|ma
)
|i230|iac
(
|
\-
|
\/)
|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja
(
t|v
)
a|jbro|jemu|jigs|kddi|keji|kgt
(
|
\/)
|klon|kpt |kwc
\-
|kyo
(
c|k
)
|le
(
no|xi
)
|lg
(
g|
\/(
k|l|u
)
|50|54|
\-[
a-w
])
|libw|lynx|m1
\-
w|m3ga|m50
\/
|ma
(
te|ui|xo
)
|mc
(
01|21|ca
)
|m
\-
cr|me
(
rc|ri
)
|mi
(
o8|oa|ts
)
|mmef|mo
(
01|02|bi|de|do|t
(\-
| |o|v
)
|zz
)
|mt
(
50|p1|v
)
|mwbp|mywa|n10
[
0-2
]
|n20
[
2-3
]
|n30
(
0|2
)
|n50
(
0|2|5
)
|n7
(
0
(
0|1
)
|10
)
|ne
((
c|m
)\-
|on|tf|wf|wg|wt
)
|nok
(
6|i
)
|nzph|o2im|op
(
ti|wv
)
|oran|owg1|p800|pan
(
a|d|t
)
|pdxg|pg
(
13|
\-([
1-8
]
|c
))
|phil|pire|pl
(
ay|uc
)
|pn
\-
2|po
(
ck|rt|se
)
|prox|psio|pt
\-
g|qa
\-
a|qc
(
07|12|21|32|60|
\-[
2-7
]
|i
\-)
|qtek|r380|r600|raks|rim9|ro
(
ve|zo
)
|s55
\/
|sa
(
ge|ma|mm|ms|ny|va
)
|sc
(
01|h
\-
|oo|p
\-)
|sdk
\/
|se
(
c
(\-
|0|1
)
|47|mc|nd|ri
)
|sgh
\-
|shar|sie
(\-
|m
)
|sk
\-
0|sl
(
45|id
)
|sm
(
al|ar|b3|it|t5
)
|so
(
ft|ny
)
|sp
(
01|h
\-
|v
\-
|v
)
|sy
(
01|mb
)
|t2
(
18|50
)
|t6
(
00|10|18
)
|ta
(
gt|lk
)
|tcl
\-
|tdg
\-
|tel
(
i|m
)
|tim
\-
|t
\-
mo|to
(
pl|sh
)
|ts
(
70|m
\-
|m3|m5
)
|tx
\-
9|up
(\.
b|g1|si
)
|utst|v400|v750|veri|vi
(
rg|te
)
|vk
(
40|5
[
0-3
]
|
\-
v
)
|vm40|voda|vulc|vx
(
52|53|60|61|70|80|81|83|85|98
)
|w3c
(\-
|
)
|webc|whit|wi
(
g |nc|nw
)
|wmlb|wonu|x700|yas
\-
|your|zeto|zte
\-
/i
.
test
(
a
.
substr
(
0
,
4
)
)
)
isMobile
=
true
;
})(
navigator
.
userAgent
||
navigator
.
vendor
||
window
.
opera
);
let
html
=
``
;
let
html2
=
``
;
if
(
isMobile
)
{
html
=
`
<canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
<div id="splash">
<div class="progress-bar stripes">
<span style="width: 0%"></span>
</div>
</div>
`
;
html2
=
`<link rel="stylesheet" type="text/css" href="style-mobile.css"/>`
;
}
else
{
html
=
`
<div id="GameDiv">
<canvas id="GameCanvas"></canvas>
<div id="splash">
<div class="progress-bar stripes">
<span style="width: 0%"></span>
</div>
</div>
</div>
`
;
html2
=
`<link rel="stylesheet" type="text/css" href="style-desktop.css"/>`
;
}
document
.
head
.
innerHTML
+=
html2
;
document
.
body
.
insertAdjacentHTML
(
"afterbegin"
,
html
);
</script>
<script
src=
"src/settings.js"
charset=
"utf-8"
></script>
<script
src=
"main.js"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
(
function
()
{
// open web debugger console
if
(
typeof
VConsole
!==
"undefined"
)
{
window
.
vConsole
=
new
VConsole
();
}
var
debug
=
window
.
_CCSettings
.
debug
;
var
splash
=
document
.
getElementById
(
"splash"
);
splash
.
style
.
display
=
"block"
;
function
loadScript
(
moduleName
,
cb
)
{
function
scriptLoaded
()
{
document
.
body
.
removeChild
(
domScript
);
domScript
.
removeEventListener
(
"load"
,
scriptLoaded
,
false
);
cb
&&
cb
();
}
var
domScript
=
document
.
createElement
(
"script"
);
domScript
.
async
=
true
;
domScript
.
src
=
moduleName
;
domScript
.
addEventListener
(
"load"
,
scriptLoaded
,
false
);
document
.
body
.
appendChild
(
domScript
);
}
loadScript
(
debug
?
"cocos2d-js.js"
:
"cocos2d-js-min.js"
,
function
()
{
if
(
CC_PHYSICS_BUILTIN
||
CC_PHYSICS_CANNON
)
{
loadScript
(
debug
?
"physics.js"
:
"physics-min.js"
,
window
.
boot
);
}
else
{
window
.
boot
();
}
});
})();
</script>
</body>
</html>
build-templates/web-mobile/splash.png
0 → 100644
View file @
15197a2b
140 KB
build-templates/web-mobile/style-desktop.css
0 → 100644
View file @
15197a2b
body
{
cursor
:
default
;
padding
:
0
;
/* border: 0;*/
margin
:
0
;
text-align
:
center
;
background-color
:
black
;
background-repeat
:
repeat
;
background-size
:
contain
;
background-image
:
url("./background.png")
;
font-family
:
Helvetica
,
Verdana
,
Arial
,
sans-serif
;
}
body
,
canvas
,
div
{
outline
:
none
;
-moz-user-select
:
none
;
-webkit-user-select
:
none
;
-ms-user-select
:
none
;
-khtml-user-select
:
none
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
}
/* Remove spin of input type number */
input
::-webkit-outer-spin-button
,
input
::-webkit-inner-spin-button
{
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance
:
none
;
margin
:
0
;
/* <-- Apparently some margin are still there even though it's hidden */
}
#Cocos2dGameContainer
{
position
:
absolute
;
margin
:
0
;
overflow
:
hidden
;
left
:
0px
;
top
:
0px
;
}
canvas
{
background-color
:
rgba
(
0
,
0
,
0
,
0
);
}
a
:link
,
a
:visited
{
color
:
#000
;
}
a
:active
,
a
:hover
{
color
:
#666
;
}
p
.header
{
font-size
:
small
;
}
p
.footer
{
font-size
:
x-small
;
}
#splash
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background
:
#171717
url(./splash.png)
no-repeat
center
;
background-size
:
540px
;
}
.progress-bar
{
background-color
:
#1a1a1a
;
position
:
absolute
;
left
:
50%
;
top
:
99%
;
height
:
5px
;
width
:
300px
;
margin
:
0
-150px
;
border-radius
:
5px
;
box-shadow
:
0
1px
5px
#000
inset
,
0
1px
0
#444
;
}
.progress-bar
span
{
display
:
block
;
height
:
100%
;
border-radius
:
5px
;
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.5
)
inset
;
transition
:
width
0.4s
ease-in-out
;
background-color
:
#3dc5de
;
}
.stripes
span
{
background-size
:
30px
30px
;
background-image
:
linear-gradient
(
135deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
animation
:
animate-stripes
1s
linear
infinite
;
}
@keyframes
animate-stripes
{
0
%
{
background-position
:
0
0
;
}
100
%
{
background-position
:
60px
0
;
}
}
h1
{
color
:
#444
;
text-shadow
:
3px
3px
15px
;
}
#GameDiv
{
width
:
calc
(
100vh
*
45
/
80
);
height
:
100vh
;
margin
:
0
auto
;
background
:
black
;
position
:
relative
;
}
build-templates/web-mobile/style-mobile.css
0 → 100644
View file @
15197a2b
html
{
-ms-touch-action
:
none
;
}
body
,
canvas
,
div
{
display
:
block
;
outline
:
none
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
user-select
:
none
;
-moz-user-select
:
none
;
-webkit-user-select
:
none
;
-ms-user-select
:
none
;
-khtml-user-select
:
none
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
}
/* Remove spin of input type number */
input
::-webkit-outer-spin-button
,
input
::-webkit-inner-spin-button
{
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance
:
none
;
margin
:
0
;
/* <-- Apparently some margin are still there even though it's hidden */
}
body
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
padding
:
0
;
border
:
0
;
margin
:
0
;
cursor
:
default
;
color
:
#888
;
background-color
:
#333
;
text-align
:
center
;
font-family
:
Helvetica
,
Verdana
,
Arial
,
sans-serif
;
display
:
flex
;
flex-direction
:
column
;
/* fix bug: https://github.com/cocos-creator/2d-tasks/issues/791 */
/* overflow cannot be applied in Cocos2dGameContainer,
otherwise child elements will be hidden when Cocos2dGameContainer rotated 90 deg */
overflow
:
hidden
;
}
#Cocos2dGameContainer
{
position
:
absolute
;
margin
:
0
;
left
:
0px
;
top
:
0px
;
display
:
-webkit-box
;
-webkit-box-orient
:
horizontal
;
-webkit-box-align
:
center
;
-webkit-box-pack
:
center
;
}
canvas
{
background-color
:
rgba
(
0
,
0
,
0
,
0
);
}
a
:link
,
a
:visited
{
color
:
#666
;
}
a
:active
,
a
:hover
{
color
:
#666
;
}
p
.header
{
font-size
:
small
;
}
p
.footer
{
font-size
:
x-small
;
}
#splash
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background
:
#171717
url(./splash.png)
no-repeat
center
;
background-size
:
45%
;
}
.progress-bar
{
position
:
absolute
;
left
:
27.5%
;
top
:
80%
;
height
:
3px
;
padding
:
2px
;
width
:
45%
;
border-radius
:
7px
;
box-shadow
:
0
1px
5px
#000
inset
,
0
1px
0
#444
;
}
.progress-bar
span
{
display
:
block
;
height
:
100%
;
border-radius
:
3px
;
transition
:
width
.4s
ease-in-out
;
background-color
:
#3dc5de
;
}
.stripes
span
{
background-size
:
30px
30px
;
background-image
:
linear-gradient
(
135deg
,
rgba
(
255
,
255
,
255
,
.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
.15
)
50%
,
rgba
(
255
,
255
,
255
,
.15
)
75%
,
transparent
75%
,
transparent
);
animation
:
animate-stripes
1s
linear
infinite
;
}
@keyframes
animate-stripes
{
0
%
{
background-position
:
0
0
;}
100
%
{
background-position
:
60px
0
;}
}
settings/builder.json
0 → 100644
View file @
15197a2b
{
"title"
:
"SaveTheDoge"
,
"packageName"
:
"org.cocos2d.demo"
,
"startScene"
:
"73089584-bdb3-4639-abbf-bb4f569866a9"
,
"excludeScenes"
:
[],
"orientation"
:
{
"landscapeRight"
:
true
,
"landscapeLeft"
:
true
,
"portrait"
:
false
,
"upsideDown"
:
false
},
"webOrientation"
:
"auto"
,
"inlineSpriteFrames"
:
true
,
"inlineSpriteFrames_native"
:
true
,
"mainCompressionType"
:
"default"
,
"mainIsRemote"
:
false
,
"optimizeHotUpdate"
:
false
,
"md5Cache"
:
true
,
"nativeMd5Cache"
:
true
,
"encryptJs"
:
true
,
"xxteaKey"
:
"5e03b453-5a96-44"
,
"zipCompressJs"
:
true
,
"fb-instant-games"
:
{},
"android"
:
{
"packageName"
:
"org.cocos2d.demo"
,
"REMOTE_SERVER_ROOT"
:
""
},
"ios"
:
{
"packageName"
:
"org.cocos2d.demo"
,
"REMOTE_SERVER_ROOT"
:
""
,
"ios_enable_jit"
:
true
},
"mac"
:
{
"packageName"
:
"org.cocos2d.demo"
,
"REMOTE_SERVER_ROOT"
:
""
,
"width"
:
1280
,
"height"
:
720
},
"win32"
:
{
"REMOTE_SERVER_ROOT"
:
""
,
"width"
:
1280
,
"height"
:
720
},
"android-instant"
:
{
"packageName"
:
"org.cocos2d.demo"
,
"REMOTE_SERVER_ROOT"
:
""
,
"pathPattern"
:
""
,
"scheme"
:
"https"
,
"host"
:
""
,
"skipRecord"
:
false
,
"recordPath"
:
""
},
"appBundle"
:
false
,
"agreements"
:
{}
}
settings/project.json
View file @
15197a2b
{
{
"start-scene"
:
"73089584-bdb3-4639-abbf-bb4f569866a9"
"start-scene"
:
"73089584-bdb3-4639-abbf-bb4f569866a9"
,
"last-module-event-record-time"
:
1693293321483
}
}
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