Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SSAPP2502
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
SSAPP2502
Commits
bf4e8a1c
Commit
bf4e8a1c
authored
Aug 22, 2025
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(游戏场景): 添加重新开始功能并优化游戏结束逻辑
parent
5c89c59b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2214 additions
and
350 deletions
+2214
-350
SSAPP2502.fire
assets/SSAPP2502/scene/SSAPP2502.fire
+2053
-330
SSAPP2502.ts
assets/SSAPP2502/scene/SSAPP2502.ts
+55
-1
defaultData.ts
assets/SSAPP2502/script/defaultData.ts
+22
-19
common.meta
assets/SSAPP2502/textures/common.meta
+12
-0
btn_restart.png
assets/SSAPP2502/textures/common/btn_restart.png
+0
-0
btn_restart.png.meta
assets/SSAPP2502/textures/common/btn_restart.png.meta
+36
-0
cd.png
assets/SSAPP2502/textures/common/cd.png
+0
-0
cd.png.meta
assets/SSAPP2502/textures/common/cd.png.meta
+36
-0
No files found.
assets/SSAPP2502/scene/SSAPP2502.fire
View file @
bf4e8a1c
...
...
@@ -90,19 +90,28 @@
"__id__": 114
},
{
"__id__": 128
"__id__": 122
},
{
"__id__": 136
},
{
"__id__": 137
},
{
"__id__": 158
}
],
"_active": true,
"_components": [
{
"__id__": 1
49
"__id__": 1
83
},
{
"__id__": 1
50
"__id__": 1
84
},
{
"__id__": 1
51
"__id__": 1
85
}
],
"_prefab": null,
...
...
@@ -466,10 +475,8 @@
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "d0e87e8f-fec8-4f63-b2f0-bdc9eca44e87"
},
"_isSystemFontUsed": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
...
...
@@ -5310,7 +5317,7 @@
},
{
"__type__": "cc.Node",
"_name": "layout_
tip
",
"_name": "layout_
restart
",
"_objFlags": 0,
"_parent": {
"__id__": 2
...
...
@@ -5321,21 +5328,12 @@
},
{
"__id__": 119
},
{
"__id__": 121
},
{
"__id__": 123
},
{
"__id__": 125
}
],
"_active": false,
"_components": [
{
"__id__": 12
7
"__id__": 12
1
}
],
"_prefab": null,
...
...
@@ -5384,7 +5382,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
4dT002ZWNCGrST+Yr0GBfW
"
"_id": "
10S36WrXtDxoZ1OgEiS1IH
"
},
{
"__type__": "cc.Node",
...
...
@@ -5407,7 +5405,7 @@
}
],
"_prefab": null,
"_opacity": 1
25
,
"_opacity": 1
50
,
"_color": {
"__type__": "cc.Color",
"r": 0,
...
...
@@ -5452,7 +5450,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
e5sdGyyM1GzIwAsoxmOrZ3
"
"_id": "
98Qy8mfIVAXJIYR9/fQgLx
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -5484,7 +5482,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
bb9wMwdLdMdYOinYDqu1mn
"
"_id": "
fah58Zx9FHMafZHilKl4nl
"
},
{
"__type__": "cc.Widget",
...
...
@@ -5511,7 +5509,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_id": "
41rT7ZWG1KjKrJ2VUG3N4b
"
"_id": "
92J60kUptMf5sKL1lCtCia
"
},
{
"__type__": "cc.BlockInputEvents",
...
...
@@ -5521,17 +5519,17 @@
"__id__": 115
},
"_enabled": true,
"_id": "0
6Mffqf45GhK4NFe0w8hTw
"
"_id": "0
bvHy8AlpAM4QUUAKnasCj
"
},
{
"__type__": "cc.Node",
"_name": "
ani_comeon
",
"_name": "
btn_restart
",
"_objFlags": 0,
"_parent": {
"__id__": 114
},
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 120
...
...
@@ -5548,8 +5546,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
1211
,
"height":
506
"width":
407
,
"height":
179
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5561,7 +5559,7 @@
"ctor": "Float64Array",
"array": [
0,
-228
,
0
,
0,
0,
0,
...
...
@@ -5583,10 +5581,10 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
0e5aCM5yNI57gjVwzHPE4b
"
"_id": "
3cxoxHxnhKoKgV4Cb3A8s8
"
},
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.Sprite
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -5598,45 +5596,80 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "c82f7971-0fc9-42f3-9350-9fbbb9966f19#d8292d6b-d69f-444b-b8d7-f084e3d5b3e6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "c82f7971-0fc9-42f3-9350-9fbbb9966f19"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d7580966-b781-4363-99e0-617bb3bfdd48"
},
"_N$dragonAtlasAsset": {
"__uuid__": "d8292d6b-d69f-444b-b8d7-f084e3d5b3e6"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "e8LmSH/KFLmLQ2gte3b1Wx"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ffWCKFiF1Oc54PTCoI2sVJ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
},
"_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": 0,
"_originalHeight": 0,
"_id": "80+FDCvmpJeJeVzRS1NzpW"
},
{
"__type__": "cc.Node",
"_name": "
ani_excellent
",
"_name": "
layout_tip
",
"_objFlags": 0,
"_parent": {
"__id__":
114
"__id__":
2
},
"_children": [],
"_children": [
{
"__id__": 123
},
{
"__id__": 127
},
{
"__id__": 129
},
{
"__id__": 131
},
{
"__id__": 133
}
],
"_active": false,
"_components": [
{
"__id__": 1
22
"__id__": 1
35
}
],
"_prefab": null,
...
...
@@ -5650,8 +5683,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
211
,
"height":
506
"width": 1
920
,
"height":
1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5663,7 +5696,7 @@
"ctor": "Float64Array",
"array": [
0,
-228
,
0
,
0,
0,
0,
...
...
@@ -5685,75 +5718,41 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "0ahfTBfsFPpal6JGPLcB6i"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "95b88b62-55cd-41fb-a3b8-017f75e36ac9#c81ee045-98ea-43d8-af2d-5aa8958b39f9",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "95b88b62-55cd-41fb-a3b8-017f75e36ac9"
},
"_N$dragonAtlasAsset": {
"__uuid__": "c81ee045-98ea-43d8-af2d-5aa8958b39f9"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b7P2IGfz9MNaJ/Bhnz44Lh"
"_id": "4dT002ZWNCGrST+Yr0GBfW"
},
{
"__type__": "cc.Node",
"_name": "
ani_nice
",
"_name": "
gray
",
"_objFlags": 0,
"_parent": {
"__id__": 1
14
"__id__": 1
22
},
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 124
},
{
"__id__": 125
},
{
"__id__": 126
}
],
"_prefab": null,
"_opacity":
25
5,
"_opacity":
12
5,
"_color": {
"__type__": "cc.Color",
"r":
255
,
"g":
255
,
"b":
255
,
"r":
0
,
"g":
0
,
"b":
0
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
211
,
"height":
506
"width": 1
920
,
"height":
1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5765,7 +5764,7 @@
"ctor": "Float64Array",
"array": [
0,
-228
,
0
,
0,
0,
0,
...
...
@@ -5787,10 +5786,10 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
52mHcgexpFCbhKXMVrQII8
"
"_id": "
e5sdGyyM1GzIwAsoxmOrZ3
"
},
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.Sprite
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -5802,45 +5801,74 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e0573608-4dd3-4331-ad29-a1e715f315f9#5391086e-9faa-44a5-9b1d-fc46fba237d8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e0573608-4dd3-4331-ad29-a1e715f315f9"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_N$dragonAtlasAsset": {
"__uuid__": "5391086e-9faa-44a5-9b1d-fc46fba237d8"
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "78bwcmgUJMkol17oqqWhgJ"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "bb9wMwdLdMdYOinYDqu1mn"
},
{
"__type__": "cc.Node",
"_name": "ani_tryagain",
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_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": 100,
"_originalHeight": 100,
"_id": "41rT7ZWG1KjKrJ2VUG3N4b"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"_id": "06Mffqf45GhK4NFe0w8hTw"
},
{
"__type__": "cc.Node",
"_name": "ani_comeon",
"_objFlags": 0,
"_parent": {
"__id__": 1
14
"__id__": 1
22
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 12
6
"__id__": 12
8
}
],
"_prefab": null,
...
...
@@ -5854,8 +5882,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
055
,
"height":
455
"width": 1
211
,
"height":
506
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5867,7 +5895,7 @@
"ctor": "Float64Array",
"array": [
0,
-22
5.221
,
-22
8
,
0,
0,
0,
...
...
@@ -5889,14 +5917,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
9dRee/GnFCx7ckoCRonVne
"
"_id": "
0e5aCM5yNI57gjVwzHPE4b
"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
5
"__id__": 12
7
},
"_enabled": true,
"_materials": [
...
...
@@ -5905,12 +5933,12 @@
}
],
"_armatureName": "armatureName",
"_animationName": "
结算
",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "
7c9ebe35-7b88-45c9-bac0-c3600dcfd654#94fe694d-23eb-4878-911f-699e779e09f8
",
"_armatureKey": "
c82f7971-0fc9-42f3-9350-9fbbb9966f19#d8292d6b-d69f-444b-b8d7-f084e3d5b3e6
",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
...
...
@@ -5918,72 +5946,135 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "
7c9ebe35-7b88-45c9-bac0-c3600dcfd654
"
"__uuid__": "
c82f7971-0fc9-42f3-9350-9fbbb9966f19
"
},
"_N$dragonAtlasAsset": {
"__uuid__": "
94fe694d-23eb-4878-911f-699e779e09f8
"
"__uuid__": "
d8292d6b-d69f-444b-b8d7-f084e3d5b3e6
"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex":
1
,
"_N$_animationIndex":
0
,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "
0fEyLxuGtAnYl6rkATC+cY
"
"_id": "
e8LmSH/KFLmLQ2gte3b1Wx
"
},
{
"__type__": "cc.Widget",
"__type__": "cc.Node",
"_name": "ani_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 122
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 130
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1211,
"height": 506
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-228,
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": "0ahfTBfsFPpal6JGPLcB6i"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
14
"__id__": 1
29
},
"_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": 1334,
"_originalHeight": 750,
"_id": "30y5RovkNA95hUyau20164"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "95b88b62-55cd-41fb-a3b8-017f75e36ac9#c81ee045-98ea-43d8-af2d-5aa8958b39f9",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "95b88b62-55cd-41fb-a3b8-017f75e36ac9"
},
"_N$dragonAtlasAsset": {
"__uuid__": "c81ee045-98ea-43d8-af2d-5aa8958b39f9"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b7P2IGfz9MNaJ/Bhnz44Lh"
},
{
"__type__": "cc.Node",
"_name": "
paperBas
e",
"_name": "
ani_nic
e",
"_objFlags": 0,
"_parent": {
"__id__": 2
"__id__":
12
2
},
"_children": [
{
"__id__": 129
},
{
"__id__": 133
},
{
"__id__": 137
},
{
"__id__": 141
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 1
45
"__id__": 1
32
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -5995,8 +6086,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
0
,
"height":
0
"width":
1211
,
"height":
506
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6007,8 +6098,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1861.265
,
-
1216.272
,
0
,
-
228
,
0,
0,
0,
...
...
@@ -6030,18 +6121,1183 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c0AJtKmbJPoaV+YMlWup+a"
"_id": "52mHcgexpFCbhKXMVrQII8"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e0573608-4dd3-4331-ad29-a1e715f315f9#5391086e-9faa-44a5-9b1d-fc46fba237d8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e0573608-4dd3-4331-ad29-a1e715f315f9"
},
"_N$dragonAtlasAsset": {
"__uuid__": "5391086e-9faa-44a5-9b1d-fc46fba237d8"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "78bwcmgUJMkol17oqqWhgJ"
},
{
"__type__": "cc.Node",
"_name": "
quadBase
",
"_name": "
ani_tryagain
",
"_objFlags": 0,
"_parent": {
"__id__": 12
8
"__id__": 12
2
},
"_children": [
"_children": [],
"_active": false,
"_components": [
{
"__id__": 130
"__id__": 134
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1055,
"height": 455
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-225.221,
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": "9dRee/GnFCx7ckoCRonVne"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "结算",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "7c9ebe35-7b88-45c9-bac0-c3600dcfd654#94fe694d-23eb-4878-911f-699e779e09f8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "7c9ebe35-7b88-45c9-bac0-c3600dcfd654"
},
"_N$dragonAtlasAsset": {
"__uuid__": "94fe694d-23eb-4878-911f-699e779e09f8"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "0fEyLxuGtAnYl6rkATC+cY"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
},
"_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": 1334,
"_originalHeight": 750,
"_id": "30y5RovkNA95hUyau20164"
},
{
"__type__": "cc.Node",
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [],
"_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": "044uUtxEZMLJkIjcZKgNl8"
},
{
"__type__": "cc.Node",
"_name": "paperBase",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 138
},
{
"__id__": 142
},
{
"__id__": 146
},
{
"__id__": 150
},
{
"__id__": 154
}
],
"_active": true,
"_components": [],
"_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": [
-1861.265,
-1216.272,
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": "c0AJtKmbJPoaV+YMlWup+a"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 137
},
"_children": [
{
"__id__": 139
}
],
"_active": true,
"_components": [],
"_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": "b76ApfMh9JPJV2TMbdyRQR"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 138
},
"_children": [
{
"__id__": 140
}
],
"_active": true,
"_components": [],
"_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": "fftQ61WL1L/o1SgcbO5K7Y"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 139
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 141
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10,
"height": 17
},
"_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": "f8gVVWIadLCZJtl847Dru+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c38SnmLG9BIpkqPUo30IOL"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 137
},
"_children": [
{
"__id__": 143
}
],
"_active": true,
"_components": [],
"_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": "7c62mZKkpMdqTNChlbaKEU"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 142
},
"_children": [
{
"__id__": 144
}
],
"_active": true,
"_components": [],
"_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": "b506sHR1xKJ6+zbDx/4LKl"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 143
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 145
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10,
"height": 17
},
"_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": "ca27f+JIpGX6aroZLVvPMX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 144
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a8/rSqhKJEnq4wtbtcvpyH"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 137
},
"_children": [
{
"__id__": 147
}
],
"_active": true,
"_components": [],
"_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": "7fxJAc2wNE/ZWpPoboXr/p"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 146
},
"_children": [
{
"__id__": 148
}
],
"_active": true,
"_components": [],
"_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": "97OEGrYEpEo6D2heF50LEl"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 147
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 149
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10,
"height": 17
},
"_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": "d7NjaubJJNaaRcwoYNdpMX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "25axBgTi1KH6nkVIE4VNtP"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 137
},
"_children": [
{
"__id__": 151
}
],
"_active": true,
"_components": [],
"_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": "adrnKhVxNLBI5I0S7xnu0B"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 150
},
"_children": [
{
"__id__": 152
}
],
"_active": true,
"_components": [],
"_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": "38sKI4WlNCk5gDhCCbfwFs"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 151
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 153
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10,
"height": 17
},
"_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": "1fgVx0wpBN5bNR9JXXOnJv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0e8YzlYVRIbbkLfsbJtapt"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 137
},
"_children": [
{
"__id__": 155
}
],
"_active": true,
...
...
@@ -6092,18 +7348,18 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
b76ApfMh9JPJV2TMbdyRQR
"
"_id": "
09Ff0wc7FJ4at4UytlF57t
"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 1
29
"__id__": 1
54
},
"_children": [
{
"__id__": 1
31
"__id__": 1
56
}
],
"_active": true,
...
...
@@ -6154,20 +7410,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
fftQ61WL1L/o1SgcbO5K7Y
"
"_id": "
8aR3CJxMJKMIihkv10Qx/1
"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 1
30
"__id__": 1
55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
32
"__id__": 1
57
}
],
"_prefab": null,
...
...
@@ -6216,14 +7472,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
f8gVVWIadLCZJtl847Dru+
"
"_id": "
61AMj8DblLxLzX8L9MokqO
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
31
"__id__": 1
56
},
"_enabled": true,
"_materials": [
...
...
@@ -6246,18 +7502,39 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
c38SnmLG9BIpkqPUo30IOL
"
"_id": "
61zGt0crNLCaphU32lgTTA
"
},
{
"__type__": "cc.Node",
"_name": "
quad
Base",
"_name": "
Rabbon
Base",
"_objFlags": 0,
"_parent": {
"__id__":
128
"__id__":
2
},
"_children": [
{
"__id__": 134
"__id__": 159
},
{
"__id__": 162
},
{
"__id__": 165
},
{
"__id__": 168
},
{
"__id__": 171
},
{
"__id__": 174
},
{
"__id__": 177
},
{
"__id__": 180
}
],
"_active": true,
...
...
@@ -6285,8 +7562,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0
,
0
,
-2219.663
,
-1459.242
,
0,
0,
0,
...
...
@@ -6308,18 +7585,18 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
7c62mZKkpMdqTNChlbaKEU
"
"_id": "
8765MxWz1FTqSUobNYoN9p
"
},
{
"__type__": "cc.Node",
"_name": "
quad
",
"_name": "
New Node
",
"_objFlags": 0,
"_parent": {
"__id__": 1
33
"__id__": 1
58
},
"_children": [
{
"__id__": 1
35
"__id__": 1
60
}
],
"_active": true,
...
...
@@ -6348,14 +7625,14 @@
"ctor": "Float64Array",
"array": [
0,
0,
34
0,
0,
0,
0,
0,
1,
1
,
1
,
0.5
,
0.5
,
1
]
},
...
...
@@ -6370,22 +7647,116 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
b506sHR1xKJ6+zbDx/4LKl
"
"_id": "
4bsE+3D4ZI/pkopaUTsZwA
"
},
{
"__type__": "cc.Node",
"_name": "
paper
",
"_name": "
New Sprite
",
"_objFlags": 0,
"_parent": {
"__id__": 1
34
"__id__": 1
59
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 136
"__id__": 161
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 252,
"g": 126,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "5d53BZ86lPtp2g0Pxq+C98"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "bf79hfPs5CX4NWg6SLJ/9f"
},
{
"__type__": "cc.Node",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [
{
"__id__": 163
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -6397,8 +7768,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
1
0,
"height":
17
"width": 0,
"height":
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6410,14 +7781,14 @@
"ctor": "Float64Array",
"array": [
0,
0,
-8
0,
0,
0,
0,
0,
1,
1
,
1
,
0.5
,
0.5
,
1
]
},
...
...
@@ -6432,14 +7803,76 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ca27f+JIpGX6aroZLVvPMX"
"_id": "2bdRwIofNIxLpdO5DlRGaS"
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 162
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 164
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 246,
"g": 241,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "52RqUhNslLJ4lBSdZfpsHi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
35
"__id__": 1
63
},
"_enabled": true,
"_materials": [
...
...
@@ -6449,7 +7882,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
...
...
@@ -6462,18 +7897,18 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
a8/rSqhKJEnq4wtbtcvpyH
"
"_id": "
31+B+rY55Ce6VwXNZTLdG4
"
},
{
"__type__": "cc.Node",
"_name": "
quadBas
e",
"_name": "
New Nod
e",
"_objFlags": 0,
"_parent": {
"__id__": 1
2
8
"__id__": 1
5
8
},
"_children": [
{
"__id__": 1
38
"__id__": 1
66
}
],
"_active": true,
...
...
@@ -6502,14 +7937,14 @@
"ctor": "Float64Array",
"array": [
0,
4,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
...
...
@@ -6524,18 +7959,112 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7fxJAc2wNE/ZWpPoboXr/p"
"_id": "b7ZCzE9i5OKL8rxr0UFzi8"
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 165
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 167
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 255,
"b": 15,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ed7kfIOGFEu4ePQ0oaMJlf"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 166
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "01z70h2xRBJonC7hmHYrN/"
},
{
"__type__": "cc.Node",
"_name": "
quad
",
"_name": "
New Node
",
"_objFlags": 0,
"_parent": {
"__id__": 1
37
"__id__": 1
58
},
"_children": [
{
"__id__": 1
3
9
"__id__": 1
6
9
}
],
"_active": true,
...
...
@@ -6564,14 +8093,14 @@
"ctor": "Float64Array",
"array": [
0,
88,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
...
...
@@ -6586,35 +8115,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
97OEGrYEpEo6D2heF50LEl
"
"_id": "
bdDPelGk5ML4ARsC/tHGKA
"
},
{
"__type__": "cc.Node",
"_name": "
paper
",
"_name": "
New Sprite
",
"_objFlags": 0,
"_parent": {
"__id__": 1
3
8
"__id__": 1
6
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
4
0
"__id__": 1
7
0
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r":
255
,
"g": 2
55
,
"b": 2
5
5,
"r":
0
,
"g": 2
39
,
"b": 2
2
5,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
10
,
"height":
17
"width":
55
,
"height":
76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6630,10 +8159,10 @@
0,
0,
0,
0
,
1
,
1
,
1
,
-0.7071067811865475
,
0.7071067811865476
,
0.5
,
0.5
,
1
]
},
...
...
@@ -6641,21 +8170,21 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z":
-9
0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
d7NjaubJJNaaRcwoYNdpMX
"
"_id": "
a7M78N6Y5BoIFRHL9+9DwQ
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
3
9
"__id__": 1
6
9
},
"_enabled": true,
"_materials": [
...
...
@@ -6665,7 +8194,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
...
...
@@ -6678,18 +8209,18 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
25axBgTi1KH6nkVIE4VNtP
"
"_id": "
ccefgahRhCZLxIpx91P9wn
"
},
{
"__type__": "cc.Node",
"_name": "
quadBas
e",
"_name": "
New Nod
e",
"_objFlags": 0,
"_parent": {
"__id__": 1
2
8
"__id__": 1
5
8
},
"_children": [
{
"__id__": 1
4
2
"__id__": 1
7
2
}
],
"_active": true,
...
...
@@ -6718,14 +8249,14 @@
"ctor": "Float64Array",
"array": [
0,
172,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
...
...
@@ -6740,18 +8271,112 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
adrnKhVxNLBI5I0S7xnu0B
"
"_id": "
79yQSLW4lMGZZz9kGk9Ers
"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 171
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 173
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 216,
"b": 251,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "caURFm6HRMmpb9ea6vXi7u"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 172
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c4SGERyl1JK69+C1JUlP+1"
},
{
"__type__": "cc.Node",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
41
"__id__": 1
58
},
"_children": [
{
"__id__": 1
43
"__id__": 1
75
}
],
"_active": true,
...
...
@@ -6780,14 +8405,14 @@
"ctor": "Float64Array",
"array": [
0,
256,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
...
...
@@ -6802,35 +8427,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
38sKI4WlNCk5gDhCCbfwFs
"
"_id": "
01l/+Oa1tMe5wXBHj4Gypv
"
},
{
"__type__": "cc.Node",
"_name": "
paper
",
"_name": "
New Sprite
",
"_objFlags": 0,
"_parent": {
"__id__": 1
42
"__id__": 1
74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
44
"__id__": 1
76
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r":
25
5,
"g":
255
,
"b": 2
55
,
"r":
9
5,
"g":
0
,
"b": 2
49
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
10
,
"height":
17
"width":
55
,
"height":
76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6846,10 +8471,10 @@
0,
0,
0,
0
,
1
,
1
,
1
,
-0.7071067811865475
,
0.7071067811865476
,
0.5
,
0.5
,
1
]
},
...
...
@@ -6857,21 +8482,21 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z":
-9
0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
1fgVx0wpBN5bNR9JXXOnJv
"
"_id": "
3e6+M9/pBLMJQrjnJoagrn
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
43
"__id__": 1
75
},
"_enabled": true,
"_materials": [
...
...
@@ -6881,7 +8506,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
...
...
@@ -6894,18 +8521,18 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
0e8YzlYVRIbbkLfsbJtapt
"
"_id": "
7d7mOac2lLw7n50H5CD4/j
"
},
{
"__type__": "cc.Node",
"_name": "
quadBas
e",
"_name": "
New Nod
e",
"_objFlags": 0,
"_parent": {
"__id__": 1
2
8
"__id__": 1
5
8
},
"_children": [
{
"__id__": 1
46
"__id__": 1
78
}
],
"_active": true,
...
...
@@ -6934,14 +8561,14 @@
"ctor": "Float64Array",
"array": [
0,
-164,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
...
...
@@ -6956,18 +8583,112 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
09Ff0wc7FJ4at4UytlF57t
"
"_id": "
fcBlROdUpDHZ5tKRbx6ilL
"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 177
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 179
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 254,
"g": 3,
"b": 3,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6b4eOrSL1OwJ7rmXfcl3ST"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 178
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "84maTlVDpP7LqWRgxw0b7Q"
},
{
"__type__": "cc.Node",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
45
"__id__": 1
58
},
"_children": [
{
"__id__": 1
47
"__id__": 1
81
}
],
"_active": true,
...
...
@@ -6996,14 +8717,14 @@
"ctor": "Float64Array",
"array": [
0,
0
,
-248
,
0,
0,
0,
0,
1,
1
,
1
,
0.5
,
0.5
,
1
]
},
...
...
@@ -7018,35 +8739,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
8aR3CJxMJKMIihkv10Qx/1
"
"_id": "
65u7a92p1N/IZObD6QFcrj
"
},
{
"__type__": "cc.Node",
"_name": "
paper
",
"_name": "
New Sprite
",
"_objFlags": 0,
"_parent": {
"__id__": 1
46
"__id__": 1
80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
48
"__id__": 1
82
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 2
55
,
"g":
255
,
"b": 2
55
,
"r": 2
10
,
"g":
0
,
"b": 2
44
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
10
,
"height":
17
"width":
55
,
"height":
76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -7062,10 +8783,10 @@
0,
0,
0,
0
,
1
,
1
,
1
,
-0.7071067811865475
,
0.7071067811865476
,
0.5
,
0.5
,
1
]
},
...
...
@@ -7073,21 +8794,21 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z":
-9
0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
61AMj8DblLxLzX8L9MokqO
"
"_id": "
88dNSg6uND2KaU/XhkLejW
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
47
"__id__": 1
81
},
"_enabled": true,
"_materials": [
...
...
@@ -7097,7 +8818,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "91a5c684-5c06-4886-9fd2-24f7acddfb75"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
...
...
@@ -7110,7 +8833,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
61zGt0crNLCaphU32lgTTA
"
"_id": "
5aV2Ms01VDBI86kaxZdKG0
"
},
{
"__type__": "cc.Canvas",
...
...
@@ -7168,7 +8891,7 @@
"__id__": 61
},
"layout_tip": {
"__id__": 1
14
"__id__": 1
22
},
"layout_speak": {
"__id__": 80
...
...
assets/SSAPP2502/scene/SSAPP2502.ts
View file @
bf4e8a1c
...
...
@@ -5,7 +5,7 @@
*/
// 导入工具函数
import
{
asyncDelay
,
onHomeworkFinish
,
RandomInt
}
from
"
../script/util
"
;
import
{
asyncDelay
,
onHomeworkFinish
,
showTrebleFirework
}
from
"
../script/util
"
;
// 导入基础场景组件
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent
"
;
// 导入游戏管理类和相关枚举
...
...
@@ -111,6 +111,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
initEvent
();
// 初始化事件
this
.
initGame
();
}
restartGame
()
{
this
.
initData
();
// 初始化数据
this
.
initView
();
// 初始化视图
this
.
initEvent
();
// 初始化事件
this
.
initGame
();
}
/**
* 组件销毁时的回调
* 清理事件监听,防止内存泄漏
...
...
@@ -190,6 +196,36 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
activeNodes
=
[];
// 初始化触摸状态
this
.
touching
=
false
;
// 初始化录音相关变量
this
.
recordStartTime
=
0
;
this
.
maxRecordDuration
=
30
;
// 初始化提示相关变量
this
.
inactiveTimer
=
0
;
this
.
hintThreshold
=
3
;
// 初始化音频ID
this
.
audioId
=
-
1
;
// 初始化语音动画定时器
this
.
_voiceAniTimer
=
null
;
// 初始化语音关闭状态
this
.
onTouchSpeakCloseClosing
=
false
;
// 初始化重试状态
this
.
tryAgain
=
false
;
this
.
recordTouching
=
false
;
// 初始化重新开始布局
this
.
layout_restart
=
null
;
// 重置游戏布局和页面节点到初始状态
if
(
this
.
layout_game
)
{
// 重置游戏布局位置到初始状态(x=0)
this
.
layout_game
.
x
=
0
;
}
}
/** 音频播放ID */
private
audioId
:
any
;
...
...
@@ -1229,6 +1265,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
gameOver
()
{
// 设置游戏状态为结束
Game
.
getIns
().
state
=
GAME_STATE
.
OVER
;
showTrebleFirework
(
cc
.
find
(
'
Canvas/ani
'
),
cc
.
find
(
'
Canvas/RabbonBase
'
).
children
);
// 准备提交的数据
let
data
:
any
=
{};
...
...
@@ -1242,6 +1280,22 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 提交作业完成数据
onHomeworkFinish
(
data
)
// 显示重新开始
this
.
showRestart
();
}
private
layout_restart
:
cc
.
Node
=
null
;
showRestart
()
{
if
(
!
this
.
layout_restart
)
this
.
layout_restart
=
cc
.
find
(
'
Canvas/layout_restart
'
);
this
.
layout_restart
.
active
=
true
;
pg
.
view
.
touchOn
(
pg
.
view
.
find
(
this
.
layout_restart
,
'
btn_restart
'
),
this
.
onTouchRestart
,
this
);
}
hideRestart
()
{
if
(
!
this
.
layout_restart
)
this
.
layout_restart
=
cc
.
find
(
'
Canvas/layout_restart
'
);
this
.
layout_restart
.
active
=
false
;
}
onTouchRestart
()
{
this
.
hideRestart
();
this
.
restartGame
();
}
/**
...
...
assets/SSAPP2502/script/defaultData.ts
View file @
bf4e8a1c
...
...
@@ -25,23 +25,26 @@ export const defaultData = {
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/fbe3d792ce2a72310e5298e1d75d0d71.png
"
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
"
shoot.MP3
"
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/a6fb6452f0e383808cd056939ed81917_l.mp3
"
,
"
text
"
:
"
circle
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/d0652838333e892b5e495fbdd8746fa0.png
"
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
"
levelup.MP3
"
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/e8d058205a1bc894c55a9dc46d60717f_l.mp3
"
,
"
text
"
:
"
shoot
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
"
yasuo.mp3
"
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
apple
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
""
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
international
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
""
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
deep
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
""
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
fun
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
10
,
"
audioName
"
:
""
}]
},
// {
// "type": "img",
// "audio": "http://staging-teach.cdn.ireadabc.com/a6fb6452f0e383808cd056939ed81917_l.mp3", "text": "circle", "image": "http://staging-teach.cdn.ireadabc.com/d0652838333e892b5e495fbdd8746fa0.png",
// "time": null, "duration": 30,
// "audioName": "levelup.MP3"
// }, {
// "type": "txt",
// "audio": "http://staging-teach.cdn.ireadabc.com/e8d058205a1bc894c55a9dc46d60717f_l.mp3", "text": "shoot", "image": "",
// "time": null, "duration": 30,
// "audioName": "yasuo.mp3"
// }, {
// "type": "txt", "audio": "", "text": "apple", "image": "", "time": null, "duration": 30, "audioName": ""
// }, {
// "type": "txt", "audio": "", "text": "international", "image": "", "time": null, "duration": 30, "audioName": ""
// }, {
// "type": "txt", "audio": "", "text": "deep", "image": "", "time": null, "duration": 30, "audioName": ""
// }, {
// "type": "txt", "audio": "", "text": "fun", "image": "", "time": null, "duration": 10, "audioName": ""
// }
]
}
assets/SSAPP2502/textures/common.meta
0 → 100644
View file @
bf4e8a1c
{
"ver": "1.1.2",
"uuid": "0114ba45-275e-4cfe-aedd-b1d276da1db2",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/SSAPP2502/textures/common/btn_restart.png
0 → 100644
View file @
bf4e8a1c
55 KB
assets/SSAPP2502/textures/common/btn_restart.png.meta
0 → 100644
View file @
bf4e8a1c
{
"ver": "2.3.5",
"uuid": "2984828f-4c2b-4ba9-9656-0f3b7bc71db9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 407,
"height": 179,
"platformSettings": {},
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "d7580966-b781-4363-99e0-617bb3bfdd48",
"rawTextureUuid": "2984828f-4c2b-4ba9-9656-0f3b7bc71db9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 407,
"height": 179,
"rawWidth": 407,
"rawHeight": 179,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/SSAPP2502/textures/common/cd.png
0 → 100644
View file @
bf4e8a1c
1.29 KB
assets/SSAPP2502/textures/common/cd.png.meta
0 → 100644
View file @
bf4e8a1c
{
"ver": "2.3.5",
"uuid": "c6c3a776-728e-4eb2-8e07-a949381530bb",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 55,
"height": 76,
"platformSettings": {},
"subMetas": {
"cd": {
"ver": "1.0.4",
"uuid": "91a5c684-5c06-4886-9fd2-24f7acddfb75",
"rawTextureUuid": "c6c3a776-728e-4eb2-8e07-a949381530bb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 55,
"height": 76,
"rawWidth": 55,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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