Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy01_danci
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
hy01_danci
Commits
2f1813c5
Commit
2f1813c5
authored
Jun 14, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
游戏完成
parent
bddc2368
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2184 additions
and
300 deletions
+2184
-300
LayerRecord.ts
assets/hy01_danci/common/script/LayerRecord.ts
+1
-1
hy01_danci.fire
assets/hy01_danci/scene/hy01_danci.fire
+1990
-272
hy01_danci.ts
assets/hy01_danci/scene/hy01_danci.ts
+159
-18
pg.ts
assets/hy01_danci/scene/pg.ts
+5
-3
defaultData.ts
assets/hy01_danci/script/defaultData.ts
+29
-6
No files found.
assets/hy01_danci/common/script/LayerRecord.ts
View file @
2f1813c5
...
@@ -104,6 +104,6 @@ export default class LayerRecord extends cc.Component {
...
@@ -104,6 +104,6 @@ export default class LayerRecord extends cc.Component {
}
}
async
recrodEnd
(
data
)
{
async
recrodEnd
(
data
)
{
let
score
=
data
.
result
.
overall
;
let
score
=
data
.
result
.
overall
;
pg
.
event
.
on
(
'
layer_record_score
'
,
score
);
pg
.
event
.
emit
(
'
layer_record_score
'
,
score
);
}
}
}
}
assets/hy01_danci/scene/hy01_danci.fire
View file @
2f1813c5
...
@@ -78,28 +78,34 @@
...
@@ -78,28 +78,34 @@
"__id__": 7
"__id__": 7
},
},
{
{
"__id__": 3
8
"__id__": 3
9
},
},
{
{
"__id__":
69
"__id__":
70
},
},
{
{
"__id__":
90
"__id__":
71
},
},
{
{
"__id__": 130
"__id__": 92
},
{
"__id__": 132
},
{
"__id__": 177
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
40
"__id__": 1
87
},
},
{
{
"__id__": 1
41
"__id__": 1
88
},
},
{
{
"__id__": 1
42
"__id__": 1
89
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1162,6 +1168,9 @@
...
@@ -1162,6 +1168,9 @@
"_components": [
"_components": [
{
{
"__id__": 37
"__id__": 37
},
{
"__id__": 38
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1404,7 +1413,7 @@
...
@@ -1404,7 +1413,7 @@
"__id__": 24
"__id__": 24
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 29
"__id__": 29
...
@@ -1511,7 +1520,7 @@
...
@@ -1511,7 +1520,7 @@
"__id__": 24
"__id__": 24
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 32
"__id__": 32
...
@@ -1690,6 +1699,76 @@
...
@@ -1690,6 +1699,76 @@
"_atlas": null,
"_atlas": null,
"_id": "d1LqW/hntMK6gnXLHOHEon"
"_id": "d1LqW/hntMK6gnXLHOHEon"
},
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_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": {
"__id__": 23
},
"_id": "747PtiQihFBrs7qgIwySv/"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "layer_word_little",
"_name": "layer_word_little",
...
@@ -1699,16 +1778,16 @@
...
@@ -1699,16 +1778,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
39
"__id__":
40
},
},
{
{
"__id__": 5
0
"__id__": 5
1
},
},
{
{
"__id__": 5
2
"__id__": 5
3
},
},
{
{
"__id__": 5
4
"__id__": 5
5
}
}
],
],
"_active": false,
"_active": false,
...
@@ -1766,23 +1845,23 @@
...
@@ -1766,23 +1845,23 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
8
"__id__": 3
9
},
},
"_children": [
"_children": [
{
{
"__id__": 4
0
"__id__": 4
1
},
},
{
{
"__id__": 4
2
"__id__": 4
3
},
},
{
{
"__id__": 4
4
"__id__": 4
5
},
},
{
{
"__id__": 4
6
"__id__": 4
7
},
},
{
{
"__id__": 4
8
"__id__": 4
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1840,13 +1919,13 @@
...
@@ -1840,13 +1919,13 @@
"_name": "c4",
"_name": "c4",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
40
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
1
"__id__": 4
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1902,7 +1981,7 @@
...
@@ -1902,7 +1981,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1934,13 +2013,13 @@
...
@@ -1934,13 +2013,13 @@
"_name": "c2",
"_name": "c2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
40
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
3
"__id__": 4
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1996,7 +2075,7 @@
...
@@ -1996,7 +2075,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2028,13 +2107,13 @@
...
@@ -2028,13 +2107,13 @@
"_name": "word_bg",
"_name": "word_bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
40
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2090,7 +2169,7 @@
...
@@ -2090,7 +2169,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
4
"__id__": 4
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2122,13 +2201,13 @@
...
@@ -2122,13 +2201,13 @@
"_name": "c1",
"_name": "c1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
40
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
7
"__id__": 4
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2184,7 +2263,7 @@
...
@@ -2184,7 +2263,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
6
"__id__": 4
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2216,13 +2295,13 @@
...
@@ -2216,13 +2295,13 @@
"_name": "c3",
"_name": "c3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
40
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
49
"__id__":
50
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2278,7 +2357,7 @@
...
@@ -2278,7 +2357,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
8
"__id__": 4
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2310,13 +2389,13 @@
...
@@ -2310,13 +2389,13 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
8
"__id__": 3
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
1
"__id__": 5
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2372,7 +2451,7 @@
...
@@ -2372,7 +2451,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2404,13 +2483,13 @@
...
@@ -2404,13 +2483,13 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
8
"__id__": 3
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
3
"__id__": 5
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2466,7 +2545,7 @@
...
@@ -2466,7 +2545,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
2
"__id__": 5
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2499,17 +2578,17 @@
...
@@ -2499,17 +2578,17 @@
"_name": "voice",
"_name": "voice",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
8
"__id__": 3
9
},
},
"_children": [
"_children": [
{
{
"__id__": 5
5
"__id__": 5
6
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
8
"__id__": 6
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2565,30 +2644,30 @@
...
@@ -2565,30 +2644,30 @@
"_name": "img_voice",
"_name": "img_voice",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
4
"__id__": 5
5
},
},
"_children": [
"_children": [
{
{
"__id__": 5
6
"__id__": 5
7
},
},
{
{
"__id__":
59
"__id__":
60
},
},
{
{
"__id__": 6
2
"__id__": 6
3
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
5
"__id__": 6
6
},
},
{
{
"__id__": 6
6
"__id__": 6
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 6
7
"__id__": 6
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2642,17 +2721,17 @@
...
@@ -2642,17 +2721,17 @@
"_name": "p1",
"_name": "p1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
5
"__id__": 5
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
7
"__id__": 5
8
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 5
8
"__id__": 5
9
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2706,7 +2785,7 @@
...
@@ -2706,7 +2785,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
6
"__id__": 5
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2736,7 +2815,7 @@
...
@@ -2736,7 +2815,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 5
5
"__id__": 5
6
},
},
"asset": {
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
...
@@ -2749,17 +2828,17 @@
...
@@ -2749,17 +2828,17 @@
"_name": "p3",
"_name": "p3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
5
"__id__": 5
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
0
"__id__": 6
1
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 6
1
"__id__": 6
2
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2813,7 +2892,7 @@
...
@@ -2813,7 +2892,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
59
"__id__":
60
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2843,7 +2922,7 @@
...
@@ -2843,7 +2922,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 5
5
"__id__": 5
6
},
},
"asset": {
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
...
@@ -2856,17 +2935,17 @@
...
@@ -2856,17 +2935,17 @@
"_name": "p2",
"_name": "p2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
5
"__id__": 5
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
3
"__id__": 6
4
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 6
4
"__id__": 6
5
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2920,7 +2999,7 @@
...
@@ -2920,7 +2999,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
2
"__id__": 6
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2950,7 +3029,7 @@
...
@@ -2950,7 +3029,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 5
5
"__id__": 5
6
},
},
"asset": {
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
...
@@ -2963,7 +3042,7 @@
...
@@ -2963,7 +3042,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
5
"__id__": 5
6
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2990,7 +3069,7 @@
...
@@ -2990,7 +3069,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
5
"__id__": 5
6
},
},
"_enabled": true,
"_enabled": true,
"_id": "85bUaAXRhOt4Mjn4Cshjhc"
"_id": "85bUaAXRhOt4Mjn4Cshjhc"
...
@@ -2998,7 +3077,7 @@
...
@@ -2998,7 +3077,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 5
5
"__id__": 5
6
},
},
"asset": {
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
...
@@ -3011,7 +3090,7 @@
...
@@ -3011,7 +3090,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
4
"__id__": 5
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3038,6 +3117,64 @@
...
@@ -3038,6 +3117,64 @@
"_atlas": null,
"_atlas": null,
"_id": "3fXQgH0YxJdqEvXBWj2YQ+"
"_id": "3fXQgH0YxJdqEvXBWj2YQ+"
},
},
{
"__type__": "cc.Node",
"_name": "layer_game",
"_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": "6dQb8JKv9Nf7iB61HmJ6j3"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "layer_back",
"_name": "layer_back",
...
@@ -3047,23 +3184,23 @@
...
@@ -3047,23 +3184,23 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 7
0
"__id__": 7
2
},
},
{
{
"__id__": 7
5
"__id__": 7
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
7
"__id__": 8
9
},
},
{
{
"__id__":
88
"__id__":
90
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
89
"__id__":
91
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3117,23 +3254,23 @@
...
@@ -3117,23 +3254,23 @@
"_name": "btn_back",
"_name": "btn_back",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
69
"__id__":
71
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
1
"__id__": 7
3
},
},
{
{
"__id__": 7
2
"__id__": 7
4
},
},
{
{
"__id__": 7
3
"__id__": 7
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 7
4
"__id__": 7
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3187,7 +3324,7 @@
...
@@ -3187,7 +3324,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
0
"__id__": 7
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3219,7 +3356,7 @@
...
@@ -3219,7 +3356,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
0
"__id__": 7
2
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -3287,7 +3424,7 @@
...
@@ -3287,7 +3424,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
0
"__id__": 7
2
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3312,7 +3449,7 @@
...
@@ -3312,7 +3449,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
69
"__id__":
71
},
},
"asset": {
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
@@ -3325,27 +3462,27 @@
...
@@ -3325,27 +3462,27 @@
"_name": "img_npc_voice",
"_name": "img_npc_voice",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
69
"__id__":
71
},
},
"_children": [
"_children": [
{
{
"__id__": 7
6
"__id__": 7
8
},
},
{
{
"__id__":
79
"__id__":
81
},
},
{
{
"__id__": 8
2
"__id__": 8
4
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
5
"__id__": 8
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 8
6
"__id__": 8
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3399,17 +3536,17 @@
...
@@ -3399,17 +3536,17 @@
"_name": "p1",
"_name": "p1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
5
"__id__": 7
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
7
"__id__": 7
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
78
"__id__":
80
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3463,7 +3600,7 @@
...
@@ -3463,7 +3600,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
6
"__id__": 7
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3493,7 +3630,7 @@
...
@@ -3493,7 +3630,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
69
"__id__":
71
},
},
"asset": {
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
@@ -3506,17 +3643,17 @@
...
@@ -3506,17 +3643,17 @@
"_name": "p2",
"_name": "p2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
5
"__id__": 7
7
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
0
"__id__": 8
2
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 8
1
"__id__": 8
3
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3570,7 +3707,7 @@
...
@@ -3570,7 +3707,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
79
"__id__":
81
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3600,7 +3737,7 @@
...
@@ -3600,7 +3737,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
69
"__id__":
71
},
},
"asset": {
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
@@ -3613,17 +3750,17 @@
...
@@ -3613,17 +3750,17 @@
"_name": "p3",
"_name": "p3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
5
"__id__": 7
7
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
3
"__id__": 8
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 8
4
"__id__": 8
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3677,7 +3814,7 @@
...
@@ -3677,7 +3814,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
2
"__id__": 8
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3707,7 +3844,7 @@
...
@@ -3707,7 +3844,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
69
"__id__":
71
},
},
"asset": {
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
@@ -3720,7 +3857,7 @@
...
@@ -3720,7 +3857,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
5
"__id__": 7
7
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3745,7 +3882,7 @@
...
@@ -3745,7 +3882,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
69
"__id__":
71
},
},
"asset": {
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
@@ -3758,7 +3895,7 @@
...
@@ -3758,7 +3895,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3785,7 +3922,7 @@
...
@@ -3785,7 +3922,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"_id": "4bOu5J5BNMRbgcr/N6dJzl"
"_id": "4bOu5J5BNMRbgcr/N6dJzl"
...
@@ -3793,7 +3930,7 @@
...
@@ -3793,7 +3930,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
69
"__id__":
71
},
},
"asset": {
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
@@ -3810,20 +3947,20 @@
...
@@ -3810,20 +3947,20 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 9
1
"__id__": 9
3
}
}
],
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 12
7
"__id__": 12
9
},
},
{
{
"__id__": 1
28
"__id__": 1
30
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
29
"__id__": 1
31
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3877,39 +4014,39 @@
...
@@ -3877,39 +4014,39 @@
"_name": "layout_record",
"_name": "layout_record",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
0
"__id__": 9
2
},
},
"_children": [
"_children": [
{
{
"__id__": 9
2
"__id__": 9
4
},
},
{
{
"__id__": 9
5
"__id__": 9
7
},
},
{
{
"__id__":
98
"__id__":
100
},
},
{
{
"__id__": 10
1
"__id__": 10
3
},
},
{
{
"__id__": 10
4
"__id__": 10
6
},
},
{
{
"__id__": 10
7
"__id__": 10
9
},
},
{
{
"__id__": 11
0
"__id__": 11
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
5
"__id__": 12
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 12
6
"__id__": 12
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3963,17 +4100,17 @@
...
@@ -3963,17 +4100,17 @@
"_name": "voice_white",
"_name": "voice_white",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
3
"__id__": 9
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 9
4
"__id__": 9
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4027,7 +4164,7 @@
...
@@ -4027,7 +4164,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4057,7 +4194,7 @@
...
@@ -4057,7 +4194,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4070,17 +4207,17 @@
...
@@ -4070,17 +4207,17 @@
"_name": "record_bg",
"_name": "record_bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
6
"__id__": 9
8
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 9
7
"__id__": 9
9
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4134,7 +4271,7 @@
...
@@ -4134,7 +4271,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
5
"__id__": 9
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4164,7 +4301,7 @@
...
@@ -4164,7 +4301,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4177,17 +4314,17 @@
...
@@ -4177,17 +4314,17 @@
"_name": "record_icon",
"_name": "record_icon",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
99
"__id__":
101
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 10
0
"__id__": 10
2
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4241,7 +4378,7 @@
...
@@ -4241,7 +4378,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
100
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4271,7 +4408,7 @@
...
@@ -4271,7 +4408,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4284,17 +4421,17 @@
...
@@ -4284,17 +4421,17 @@
"_name": "record_time",
"_name": "record_time",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
2
"__id__": 10
4
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 10
3
"__id__": 10
5
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4348,7 +4485,7 @@
...
@@ -4348,7 +4485,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
1
"__id__": 10
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4378,7 +4515,7 @@
...
@@ -4378,7 +4515,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4391,17 +4528,17 @@
...
@@ -4391,17 +4528,17 @@
"_name": "AniNode",
"_name": "AniNode",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 10
5
"__id__": 10
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 10
6
"__id__": 10
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4455,7 +4592,7 @@
...
@@ -4455,7 +4592,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
4
"__id__": 10
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4493,7 +4630,7 @@
...
@@ -4493,7 +4630,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4506,17 +4643,17 @@
...
@@ -4506,17 +4643,17 @@
"_name": "btn_record",
"_name": "btn_record",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
08
"__id__": 1
10
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
09
"__id__": 1
11
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4570,7 +4707,7 @@
...
@@ -4570,7 +4707,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
7
"__id__": 10
9
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4636,7 +4773,7 @@
...
@@ -4636,7 +4773,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4649,30 +4786,30 @@
...
@@ -4649,30 +4786,30 @@
"_name": "btn_play",
"_name": "btn_play",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
3
},
},
"_children": [
"_children": [
{
{
"__id__": 11
1
"__id__": 11
3
},
},
{
{
"__id__": 11
4
"__id__": 11
6
},
},
{
{
"__id__": 11
7
"__id__": 11
9
},
},
{
{
"__id__": 12
0
"__id__": 12
2
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 12
3
"__id__": 12
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 12
4
"__id__": 12
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4726,17 +4863,17 @@
...
@@ -4726,17 +4863,17 @@
"_name": "p1",
"_name": "p1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
2
"__id__": 11
4
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 11
3
"__id__": 11
5
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4790,7 +4927,7 @@
...
@@ -4790,7 +4927,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
1
"__id__": 11
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4820,7 +4957,7 @@
...
@@ -4820,7 +4957,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4833,17 +4970,17 @@
...
@@ -4833,17 +4970,17 @@
"_name": "p0",
"_name": "p0",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
5
"__id__": 11
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 11
6
"__id__": 11
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4897,7 +5034,7 @@
...
@@ -4897,7 +5034,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
4
"__id__": 11
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4927,7 +5064,7 @@
...
@@ -4927,7 +5064,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -4940,17 +5077,17 @@
...
@@ -4940,17 +5077,17 @@
"_name": "p2",
"_name": "p2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
18
"__id__": 1
20
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
19
"__id__": 1
21
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5004,7 +5141,7 @@
...
@@ -5004,7 +5141,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
7
"__id__": 11
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5034,7 +5171,7 @@
...
@@ -5034,7 +5171,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -5047,17 +5184,17 @@
...
@@ -5047,17 +5184,17 @@
"_name": "p3",
"_name": "p3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
1
"__id__": 12
3
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 12
2
"__id__": 12
4
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5111,7 +5248,7 @@
...
@@ -5111,7 +5248,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
0
"__id__": 12
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5141,7 +5278,7 @@
...
@@ -5141,7 +5278,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -5154,7 +5291,7 @@
...
@@ -5154,7 +5291,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
0
"__id__": 11
2
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -5179,7 +5316,7 @@
...
@@ -5179,7 +5316,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -5192,7 +5329,7 @@
...
@@ -5192,7 +5329,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
1
"__id__": 9
3
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -5217,7 +5354,7 @@
...
@@ -5217,7 +5354,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -5230,7 +5367,7 @@
...
@@ -5230,7 +5367,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
0
"__id__": 9
2
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -5257,7 +5394,7 @@
...
@@ -5257,7 +5394,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
0
"__id__": 9
2
},
},
"_enabled": true,
"_enabled": true,
"_id": "28SYbspDNAfqMNbpyAm+q/"
"_id": "28SYbspDNAfqMNbpyAm+q/"
...
@@ -5265,7 +5402,7 @@
...
@@ -5265,7 +5402,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 9
0
"__id__": 9
2
},
},
"asset": {
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
@@ -5275,25 +5412,37 @@
...
@@ -5275,25 +5412,37 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
res
",
"_name": "
layer_right
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
},
},
"_children": [
"_children": [
{
{
"__id__": 13
1
"__id__": 13
3
},
},
{
{
"__id__": 1
34
"__id__": 1
47
},
},
{
{
"__id__": 137
"__id__": 156
},
{
"__id__": 165
}
}
],
],
"_active": false,
"_active": true,
"_components": [],
"_components": [
"_prefab": null,
{
"__id__": 174
},
{
"__id__": 175
}
],
"_prefab": {
"__id__": 176
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -5304,8 +5453,8 @@
...
@@ -5304,8 +5453,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 0,
"width":
192
0,
"height": 0
"height":
108
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5339,23 +5488,34 @@
...
@@ -5339,23 +5488,34 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
0aAzbH6R1E+6AmGRrkKa5O
"
"_id": "
31EWSfVh1ERo80KTYeOH53
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
font
",
"_name": "
voice
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
0
"__id__": 13
2
},
},
"_children": [
"_children": [
{
{
"__id__": 132
"__id__": 134
},
{
"__id__": 137
},
{
"__id__": 140
},
{
"__id__": 143
}
}
],
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [],
"_components": [],
"_prefab": null,
"_prefab": {
"__id__": 146
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -5401,23 +5561,25 @@
...
@@ -5401,23 +5561,25 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
9bLfcYeeNKrr524vzWchiM
"
"_id": "
3bRtQ28bxIXYhrmwpkkTxq
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
BRLNSDB
",
"_name": "
excellent
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
1
"__id__": 13
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
3
"__id__": 13
5
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 136
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -5463,54 +5625,55 @@
...
@@ -5463,54 +5625,55 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "cf
MLGsq0BMhJARv+ySMAxS
"
"_id": "cf
7K5Dqr1AC6XXJMcSKLOw
"
},
},
{
{
"__type__": "cc.
Label
",
"__type__": "cc.
AudioSource
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
2
"__id__": 13
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_clip": {
"_srcBlendFactor": 770,
"__uuid__": "bafa4c84-01c2-4d6c-8343-745066eed098"
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
},
},
"_isSystemFontUsed": false,
"_volume": 1,
"_spacingX": 0,
"_mute": false,
"_batchAsBitmap": false,
"_loop": false,
"_styleFlags": 0,
"_firstlyEnabled": true,
"_underlineHeight": 0,
"playOnLoad": false,
"_N$horizontalAlign": 0,
"preload": false,
"_N$verticalAlign": 0,
"_id": "64VwKuySxFtLXsbP5WNhIY"
"_N$fontFamily": "Arial",
},
"_N$overflow": 0,
{
"_N$cacheMode": 0,
"__type__": "cc.PrefabInfo",
"_id": "9bNHNPu5lC7rQYyr8ai/sY"
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "33BUA/V/lMP72inCoeXVsT",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
img
",
"_name": "
good
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
0
"__id__": 13
3
},
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
{
"__id__": 13
5
"__id__": 13
8
}
}
],
],
"_
active": true,
"_
prefab": {
"_components": [],
"__id__": 139
"_prefab": null
,
}
,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -5556,23 +5719,55 @@
...
@@ -5556,23 +5719,55 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs"
"_id": "0dEVsKPPJI96cniRXBEtHe"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 137
},
"_enabled": true,
"_clip": {
"__uuid__": "78f18bf7-e329-4386-aaee-1b6737fe5a03"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "92j4d51ZBEnoiH6/kxfhrg"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "1aZVj6BXRH4qCn6l6Mr4Xd",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
ico
n",
"_name": "
tryagai
n",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 13
4
"__id__": 13
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
36
"__id__": 1
41
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 142
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -5583,8 +5778,8 @@
...
@@ -5583,8 +5778,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
138
,
"width":
0
,
"height":
141
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5618,46 +5813,1569 @@
...
@@ -5618,46 +5813,1569 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
1blU2OArJIfoC9XfupGxJG
"
"_id": "
92EQJvthVLOazzDkgQmU5q
"
},
},
{
{
"__type__": "cc.
Sprit
e",
"__type__": "cc.
AudioSourc
e",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
35
"__id__": 1
40
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_clip": {
"_srcBlendFactor": 770,
"__uuid__": "3796b67a-a501-40dc-a1b1-8ea234651d9e"
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
},
"_fillStart": 0,
"_volume": 1,
"_fillRange": 0,
"_mute": false,
"_isTrimmedMode": true,
"_loop": false,
"_atlas": null,
"_firstlyEnabled": true,
"_id": "03GEWUEZJGyKormWgIWCtM"
"playOnLoad": false,
"preload": false,
"_id": "bfWSq9KExJn4sEqLKg6Jx0"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "9eQtRXoTJFf7nIEjAHkeFj",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 133
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 144
}
],
"_prefab": {
"__id__": 145
},
"_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": "47GT/n1dpEP7Fdg6TNtPEw"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 143
},
"_enabled": true,
"_clip": {
"__uuid__": "674f97a3-1898-4235-9473-17c357c39605"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "a5dNwp7KxEVofBDo+cesK0"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "e3ZmGZ8MpFYoRQ8CustwVU",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "0bdqtUq3JBRpMAm0cr1j0t",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layout_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 132
},
"_children": [
{
"__id__": 148
},
{
"__id__": 151
}
],
"_active": false,
"_components": [
{
"__id__": 154
}
],
"_prefab": {
"__id__": 155
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "63kJC8GpFGNIgEXdR09Dtu"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 147
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 149
}
],
"_prefab": {
"__id__": 150
},
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2000,
"height": 2000
},
"_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": "ffKWiUx5RHebffL7bg3JCz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_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": "75I7sbln1KSaqtrNjNtJ0z"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "a4AdqYiz1DOqgSmMuhc2/N",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 147
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
}
],
"_prefab": {
"__id__": 153
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-550,
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": "1coKD5evlKGaetMLtQ6Nnj"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "cafb4d03-522d-4674-879a-b8193c99d2b2#14afe0ae-e556-497f-bf9e-0aab665b5693",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "cafb4d03-522d-4674-879a-b8193c99d2b2"
},
"_N$dragonAtlasAsset": {
"__uuid__": "14afe0ae-e556-497f-bf9e-0aab665b5693"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "1fFe9v0qBAeoKOj1kJPItE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "b40tHKPZVIp4ryIkubxK9K",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
},
"_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": "c8q+R32dlOb72vMBSNRblE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "83atRd3AhNS6YbVLMWW6z7",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layout_good",
"_objFlags": 0,
"_parent": {
"__id__": 132
},
"_children": [
{
"__id__": 157
},
{
"__id__": 160
}
],
"_active": false,
"_components": [
{
"__id__": 163
}
],
"_prefab": {
"__id__": 164
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "4eGiV702xNt5eCqx6KNP2d"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 156
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 158
}
],
"_prefab": {
"__id__": 159
},
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2000,
"height": 2000
},
"_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": "e1la9/hMlFGrOxO8MpIEYx"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
},
"_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": "498siAdftFYa3xhNotbiHq"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "b0N5+syk5Fma/+rzNtImtq",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 156
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 161
}
],
"_prefab": {
"__id__": 162
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-550,
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": "3byKUgaQxAFoGcBReT1K8P"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "c9cb8190-feb9-4295-a068-9669e36839ad#0d2c601a-6231-45ad-9d1f-d5d51092137b",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "c9cb8190-feb9-4295-a068-9669e36839ad"
},
"_N$dragonAtlasAsset": {
"__uuid__": "0d2c601a-6231-45ad-9d1f-d5d51092137b"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "7bxMXNN4FBH6ICUgnJXlsV"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "ackXXHynhEpaEXIfNccJJW",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 156
},
"_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": "92RB8ISRhBGoaxbiWnEXQw"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "8eHReYoFBEp6s2TkckkFAw",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layout_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 132
},
"_children": [
{
"__id__": 166
},
{
"__id__": 169
}
],
"_active": false,
"_components": [
{
"__id__": 172
}
],
"_prefab": {
"__id__": 173
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "2dg9BBLM5MxL1p99eBYuNG"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 165
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 167
}
],
"_prefab": {
"__id__": 168
},
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2000,
"height": 2000
},
"_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": "4aSTTz9ENJxLqGJpTQ+/K2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 166
},
"_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": "beAMRD0mhPJZDM4ICOJCSd"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "e1LWaBqmRKr73B1CTK/ObB",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 165
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 170
}
],
"_prefab": {
"__id__": 171
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-550,
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": "faA7vs661Aa6LycCMlr1RD"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 169
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "b42b295e-67a2-4856-abff-b0f11377e257#1281c03b-70f7-44b4-8cd7-be6328cc711e",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "b42b295e-67a2-4856-abff-b0f11377e257"
},
"_N$dragonAtlasAsset": {
"__uuid__": "1281c03b-70f7-44b4-8cd7-be6328cc711e"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "33G5WvdndCIaJQXG8ZKs9w"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "e1BDqU+wNAoI5A+CoPvUBu",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
},
"_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": "f42Mg4FAtP360snq8Aj0c5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "24bb5gispDeJFU6G8gojxv",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
},
"_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": "b4NoN/vlFBbqtXE3YkM37O"
},
{
"__type__": "6f117NCDy9BKrINFNVufOha",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
},
"_enabled": true,
"_id": "f8RLolwXVG8YWO7i32J+zq"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 132
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 178
},
{
"__id__": 181
},
{
"__id__": 184
}
],
"_active": false,
"_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": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Node",
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 177
},
"_children": [
{
"__id__": 179
}
],
"_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": "9bLfcYeeNKrr524vzWchiM"
},
{
"__type__": "cc.Node",
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 178
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 180
}
],
"_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": "cfMLGsq0BMhJARv+ySMAxS"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 179
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9bNHNPu5lC7rQYyr8ai/sY"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 177
},
"_children": [
{
"__id__": 182
}
],
"_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": "53LUHHG2pEr79fyrvazXJs"
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 181
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 183
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 138,
"height": 141
},
"_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": "1blU2OArJIfoC9XfupGxJG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 182
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "03GEWUEZJGyKormWgIWCtM"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "audio",
"_name": "audio",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
30
"__id__": 1
77
},
},
"_children": [
"_children": [
{
{
"__id__": 1
38
"__id__": 1
85
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5715,13 +7433,13 @@
...
@@ -5715,13 +7433,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
37
"__id__": 1
84
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
39
"__id__": 1
86
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5777,7 +7495,7 @@
...
@@ -5777,7 +7495,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
38
"__id__": 1
85
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
...
assets/hy01_danci/scene/hy01_danci.ts
View file @
2f1813c5
...
@@ -27,39 +27,180 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -27,39 +27,180 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
initData
();
this
.
initData
();
this
.
initView
();
this
.
initView
();
this
.
initListener
();
this
.
initListener
();
this
.
initGame
();
}
}
_cantouch
=
null
;
_cantouch
=
null
;
private
list
:
Array
<
{
type
,
text
,
right
,
imgage
,
duration
,
content
,
audio
}
>
;
private
recordFlag
:
boolean
;
//录音模式
initData
()
{
initData
()
{
// 所有全局变量 默认都是null
// 所有全局变量 默认都是null
this
.
_cantouch
=
true
;
this
.
_cantouch
=
true
;
let
data
=
this
.
data
;
this
.
recordFlag
=
data
.
recordFlag
;
this
.
list
=
data
.
questions
[
0
].
options
;
this
.
layers
=
[];
}
}
private
layer_record
:
cc
.
Node
;
private
layer_game
:
cc
.
Node
;
private
layer_word
:
cc
.
Node
;
private
layer_word_little
:
cc
.
Node
;
private
layers
:
Array
<
cc
.
Node
>
;
initView
()
{
initView
()
{
// pg.event.on('layer_right_show_excellent_end', () => {
this
.
layer_record
=
pg
.
view
.
find
(
this
,
'
layer_record
'
)
// alert('test')
this
.
layer_game
=
pg
.
view
.
find
(
this
,
'
layer_game
'
)
// })
this
.
layer_word
=
pg
.
view
.
find
(
this
,
'
layer_word
'
)
// pg.event.emit('layer_right_show_excellent')
this
.
layer_word_little
=
pg
.
view
.
find
(
this
,
'
layer_word_little
'
)
// pg.event.on('layer_right_show_good_end', () => {
// alert('test')
// })
// pg.event.emit('layer_right_show_good')
// pg.event.on('layer_right_show_tryagain_end', () => {
// alert('test')
// })
// pg.event.emit('layer_right_show_tryagain')
// pg.event.emit('img_voice_play_voice_start')
// setTimeout(() => {
// pg.event.emit('img_voice_play_voice_end')
// }, 2000)
}
}
initListener
()
{
initListener
()
{
pg
.
event
.
on
(
'
layer_record_score
'
,
(
score
)
=>
{
this
.
onRecorScore
(
score
);
})
}
private
get
CurrentData
()
{
return
this
.
list
[
this
.
count
]
}
private
get
NextData
()
{
return
this
.
list
[
this
.
count
+
1
]
}
private
get
OutData
()
{
return
this
.
list
[
this
.
count
+
2
]
}
private
get
CurrentLayer
()
{
return
this
.
layers
[
0
]
}
private
get
LittleLayer
()
{
return
this
.
layers
[
1
]
}
private
get
OutLayer
()
{
return
this
.
layers
[
2
]
}
private
count
:
number
;
initGame
()
{
this
.
count
=
0
;
let
currentLayer
=
this
.
createLayer
();
this
.
updateLayer
(
currentLayer
,
this
.
CurrentData
)
this
.
layers
.
push
(
currentLayer
)
let
nextLayer
=
this
.
createLittleLayer
();
this
.
updateLayer
(
nextLayer
,
this
.
NextData
)
this
.
layers
.
push
(
nextLayer
)
this
.
startPlay
();
}
startPlay
()
{
if
(
this
.
recordFlag
)
{
this
.
layer_record
.
active
=
true
;
}
else
{
if
(
this
.
CurrentData
.
type
.
indexOf
(
'
audio
'
)
>
-
1
)
{
pg
.
event
.
emit
(
'
img_voice_play_voice_start
'
)
pg
.
audio
.
playAudioByUrl
(
this
.
CurrentData
.
audio
,
()
=>
{
pg
.
event
.
emit
(
'
img_voice_play_voice_end
'
)
this
.
nextLayer
();
})
}
}
}
onRecorScore
(
score
)
{
if
(
score
<
10
)
{
pg
.
event
.
on
(
'
layer_right_show_tryagain_end
'
,
()
=>
{
// alert('test')
})
pg
.
event
.
emit
(
'
layer_right_show_tryagain
'
)
}
else
if
(
score
<
60
)
{
pg
.
event
.
on
(
'
layer_right_show_good_end
'
,
()
=>
{
this
.
nextLayer
();
})
pg
.
event
.
emit
(
'
layer_right_show_good
'
)
}
else
{
pg
.
event
.
on
(
'
layer_right_show_excellent_end
'
,
()
=>
{
this
.
nextLayer
();
})
pg
.
event
.
emit
(
'
layer_right_show_excellent
'
)
}
}
nextLayer
()
{
if
(
!
this
.
NextData
)
{
this
.
gameOver
();
return
;
}
if
(
this
.
OutData
)
{
let
outLayer
=
this
.
createLittleLayer
();
this
.
updateLayer
(
outLayer
,
this
.
OutData
)
outLayer
.
x
=
-
1500
;
this
.
layers
.
push
(
outLayer
)
}
cc
.
tween
(
this
.
CurrentLayer
).
to
(
3
,
{
x
:
2000
}).
start
();
if
(
this
.
LittleLayer
)
{
cc
.
tween
(
this
.
LittleLayer
).
to
(
3
,
{
x
:
0
,
y
:
0
,
scale
:
1
}).
start
();
}
if
(
this
.
OutLayer
)
{
cc
.
tween
(
this
.
OutLayer
).
to
(
3
,
{
x
:
this
.
layer_word_little
.
x
,
y
:
this
.
layer_word_little
.
y
}).
start
();
}
this
.
scheduleOnce
(()
=>
{
this
.
count
++
;
this
.
layers
.
shift
();
this
.
startPlay
();
},
3
)
}
gameOver
()
{
}
}
createLayer
()
{
let
layer
=
pg
.
view
.
clone
(
this
.
layer_word
);
layer
.
active
=
true
;
this
.
layer_game
.
addChild
(
layer
)
return
layer
;
}
createLittleLayer
()
{
let
layer
=
pg
.
view
.
clone
(
this
.
layer_word
);
layer
.
active
=
true
;
layer
.
x
=
this
.
layer_word_little
.
x
;
layer
.
y
=
this
.
layer_word_little
.
y
;
layer
.
scale
=
this
.
layer_word_little
.
scale
;
this
.
layer_game
.
addChild
(
layer
)
return
layer
;
}
updateLayer
(
layer
,
data
)
{
let
bg
=
pg
.
view
.
find
(
layer
,
'
bg
'
);
let
c1
=
pg
.
view
.
find
(
bg
,
'
c1
'
);
let
c2
=
pg
.
view
.
find
(
bg
,
'
c2
'
);
let
c3
=
pg
.
view
.
find
(
bg
,
'
c3
'
);
let
c4
=
pg
.
view
.
find
(
bg
,
'
c4
'
);
let
img
=
pg
.
view
.
find
(
layer
,
'
img
'
);
let
label
=
pg
.
view
.
find
(
layer
,
'
label
'
);
let
voice
=
pg
.
view
.
find
(
layer
,
'
voice
'
);
// 根据数据来渲染
img
.
active
=
true
;
pg
.
view
.
setNetImg
(
img
,
data
.
image
,
{
w
:
600
,
h
:
370
})
label
.
active
=
data
.
type
==
'
img_txt
'
||
data
.
type
==
'
img_txt_audio
'
pg
.
view
.
setString
(
label
,
data
.
text
);
voice
.
active
=
data
.
type
==
'
img_audio
'
||
data
.
type
==
'
img_txt_audio
'
pg
.
view
.
touchOn
(
voice
,
this
.
onTouchVoice
,
this
);
if
(
this
.
recordFlag
)
{
c1
.
active
=
false
;
c2
.
active
=
false
;
c3
.
active
=
false
;
c4
.
active
=
false
;
}
}
onTouchVoice
(
e
)
{
let
layer
=
e
.
target
.
parent
;
if
(
layer
===
this
.
CurrentLayer
)
{
pg
.
event
.
emit
(
'
img_voice_play_voice_start
'
)
pg
.
audio
.
playAudioByUrl
(
this
.
CurrentData
.
audio
,
()
=>
{
pg
.
event
.
emit
(
'
img_voice_play_voice_end
'
)
})
}
}
playLocalAudio
(
audioName
)
{
playLocalAudio
(
audioName
)
{
const
audio
=
cc
.
find
(
`Canvas/res/audio/
${
audioName
}
`
).
getComponent
(
cc
.
AudioSource
);
const
audio
=
cc
.
find
(
`Canvas/res/audio/
${
audioName
}
`
).
getComponent
(
cc
.
AudioSource
);
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
assets/hy01_danci/scene/pg.ts
View file @
2f1813c5
...
@@ -291,9 +291,9 @@ let pg = {
...
@@ -291,9 +291,9 @@ let pg = {
if
(
w
&&
h
&&
custom
)
{
if
(
w
&&
h
&&
custom
)
{
let
scaleX
=
w
/
nw
;
let
scaleX
=
w
/
nw
;
let
scaleY
=
h
/
nh
;
let
scaleY
=
h
/
nh
;
//
let scale = scaleX <= scaleY ? scaleX : scaleY;
let
scale
=
scaleX
<=
scaleY
?
scaleX
:
scaleY
;
node
.
width
=
nw
*
scale
X
;
node
.
width
=
nw
*
scale
;
node
.
height
=
nh
*
scale
Y
;
node
.
height
=
nh
*
scale
;
}
}
node
.
active
=
nodeActive
;
node
.
active
=
nodeActive
;
resolve
({
w
:
nw
,
h
:
nh
});
resolve
({
w
:
nw
,
h
:
nh
});
...
@@ -570,7 +570,9 @@ let pg = {
...
@@ -570,7 +570,9 @@ let pg = {
playAudioByUrl
(
audio_url
,
cb
=
null
,
loadCb
=
null
)
{
playAudioByUrl
(
audio_url
,
cb
=
null
,
loadCb
=
null
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
if
(
!
audio_url
)
return
resolve
(
null
);
if
(
!
audio_url
)
return
resolve
(
null
);
cc
.
assetManager
.
loadRemote
(
audio_url
,
(
err
,
audioClip
:
any
)
=>
{
cc
.
assetManager
.
loadRemote
(
audio_url
,
(
err
,
audioClip
:
any
)
=>
{
cc
.
audioEngine
.
stopAll
();
const
audioId
=
cc
.
audioEngine
.
play
(
audioClip
,
false
,
0.8
);
const
audioId
=
cc
.
audioEngine
.
play
(
audioClip
,
false
,
0.8
);
cc
.
audioEngine
.
setFinishCallback
(
audioId
,
()
=>
{
cc
.
audioEngine
.
setFinishCallback
(
audioId
,
()
=>
{
cb
&&
cb
();
cb
&&
cb
();
...
...
assets/hy01_danci/script/defaultData.ts
View file @
2f1813c5
export
const
defaultData
=
{
export
const
defaultData
=
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png
"
,
{
"
pic_url_2
"
:
"
http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png
"
,
"
recordFlag
"
:
true
,
"
text
"
:
"
This is a test label.
"
,
"
title
"
:
"
test
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3
"
"
questionText
"
:
""
,
}
"
questionTextAudio
"
:
""
,
\ No newline at end of file
"
questions
"
:
[
{
"
questionAudio
"
:
""
,
"
duration
"
:
120
,
"
options
"
:
[
{
"
type
"
:
"
img_audio
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/875862129c75a075b3d710f541258a00.png
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/43839adb578c7e01456748b8a176a0c3_l.mp3
"
,
"
text
"
:
""
,
"
duration
"
:
10
,
"
content
"
:
"
egg
"
,
"
right
"
:
false
},
{
"
type
"
:
"
img_txt_audio
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/011cf423d6fd8760e810644ca6070e34.png
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/43839adb578c7e01456748b8a176a0c3_l.mp3
"
,
"
text
"
:
"
hammer
"
,
"
duration
"
:
10
,
"
content
"
:
"
hammer
"
,
"
right
"
:
false
},
{
"
type
"
:
"
img_txt_audio
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/befdc1801d93fd95b3a8ee7c7a2d2d05.png
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/43839adb578c7e01456748b8a176a0c3_l.mp3
"
,
"
text
"
:
"
clound
"
,
"
duration
"
:
10
,
"
content
"
:
"
clound
"
,
"
right
"
:
false
,
"
audioName
"
:
"
敲碎蛋的声音.mp3
"
}]
}],
"
bgAudio
"
:
""
,
"
bgAudioName
"
:
""
,
"
audioName
"
:
""
}
// {
// "recordFlag": true,
// "title": "test",
// "questionText": "",
// "questionTextAudio": "",
// "questions": [
// {
// "questionAudio": "", "duration": 120,
// "options": [
// { "type": "img", "image": "http://staging-teach.cdn.ireadabc.com/875862129c75a075b3d710f541258a00.png", "audio": "", "text": "", "duration": 10, "content": "egg", "right": false },
// { "type": "img_txt", "image": "http://staging-teach.cdn.ireadabc.com/011cf423d6fd8760e810644ca6070e34.png", "audio": "", "text": "hammer", "duration": 10, "content": "hammer", "right": false },
// { "type": "img_txt_audio", "image": "http://staging-teach.cdn.ireadabc.com/befdc1801d93fd95b3a8ee7c7a2d2d05.png", "audio": "http://staging-teach.cdn.ireadabc.com/43839adb578c7e01456748b8a176a0c3_l.mp3", "text": "clound", "duration": 10, "content": "clound", "right": false, "audioName": "敲碎蛋的声音.mp3" }]
// }], "bgAudio": "", "bgAudioName": "", "audioName": ""
// }
\ 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