Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy17_hds
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
hy17_hds
Commits
8b4b07f4
Commit
8b4b07f4
authored
Jun 25, 2023
by
WangFan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加完成处理
parent
4083a9aa
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
394 additions
and
178 deletions
+394
-178
hy17_hds.fire
assets/hy17_hds/scene/hy17_hds.fire
+311
-175
hy17_hds.ts
assets/hy17_hds/scene/hy17_hds.ts
+21
-1
defaultData_hy17_hds.ts
assets/hy17_hds/script/defaultData_hy17_hds.ts
+2
-2
finish.meta
assets/hy17_hds/textures/hy17/ani/finish.meta
+12
-0
finish.png
assets/hy17_hds/textures/hy17/ani/finish/finish.png
+0
-0
finish.png.meta
assets/hy17_hds/textures/hy17/ani/finish/finish.png.meta
+36
-0
finish_ske.json
assets/hy17_hds/textures/hy17/ani/finish/finish_ske.json
+1
-0
finish_ske.json.meta
...ts/hy17_hds/textures/hy17/ani/finish/finish_ske.json.meta
+5
-0
finish_tex.json
assets/hy17_hds/textures/hy17/ani/finish/finish_tex.json
+1
-0
finish_tex.json.meta
...ts/hy17_hds/textures/hy17/ani/finish/finish_tex.json.meta
+5
-0
No files found.
assets/hy17_hds/scene/hy17_hds.fire
View file @
8b4b07f4
...
@@ -75,25 +75,25 @@
...
@@ -75,25 +75,25 @@
"__id__": 5
"__id__": 5
},
},
{
{
"__id__": 4
7
"__id__": 4
8
},
},
{
{
"__id__":
69
"__id__":
70
},
},
{
{
"__id__": 8
6
"__id__": 8
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
2
"__id__": 10
5
},
},
{
{
"__id__": 10
3
"__id__": 10
6
},
},
{
{
"__id__": 10
4
"__id__": 10
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -169,8 +169,8 @@
...
@@ -169,8 +169,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
28
0,
"width": 1
92
0,
"height":
72
0
"height":
108
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
"array": [
"array": [
0,
0,
0,
0,
362.85545494732423
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -257,19 +257,19 @@
...
@@ -257,19 +257,19 @@
"__id__": 8
"__id__": 8
},
},
{
{
"__id__": 1
7
"__id__": 1
8
},
},
{
{
"__id__": 3
0
"__id__": 3
1
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
6
},
},
{
{
"__id__": 4
6
"__id__": 4
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -436,7 +436,11 @@
...
@@ -436,7 +436,11 @@
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 17
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -448,8 +452,8 @@
...
@@ -448,8 +452,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",
...
@@ -861,6 +865,33 @@
...
@@ -861,6 +865,33 @@
"_atlas": null,
"_atlas": null,
"_id": "7e1W3DiylMM4f2AZ7HUXQb"
"_id": "7e1W3DiylMM4f2AZ7HUXQb"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_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": "11LUN/LzJPMqCx0dDmMknA"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "static",
"_name": "static",
...
@@ -870,22 +901,22 @@
...
@@ -870,22 +901,22 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
8
"__id__": 1
9
},
},
{
{
"__id__": 2
0
"__id__": 2
1
},
},
{
{
"__id__": 2
2
"__id__": 2
3
},
},
{
{
"__id__": 2
4
"__id__": 2
5
},
},
{
{
"__id__": 2
6
"__id__": 2
7
},
},
{
{
"__id__": 2
8
"__id__": 2
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -943,13 +974,13 @@
...
@@ -943,13 +974,13 @@
"_name": "cloud_ske",
"_name": "cloud_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
19
"__id__":
20
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1005,7 +1036,7 @@
...
@@ -1005,7 +1036,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
8
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1045,13 +1076,13 @@
...
@@ -1045,13 +1076,13 @@
"_name": "m3_ske",
"_name": "m3_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
1
"__id__": 2
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1107,7 +1138,7 @@
...
@@ -1107,7 +1138,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
0
"__id__": 2
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1147,13 +1178,13 @@
...
@@ -1147,13 +1178,13 @@
"_name": "g2_ske",
"_name": "g2_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
3
"__id__": 2
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1209,7 +1240,7 @@
...
@@ -1209,7 +1240,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
2
"__id__": 2
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1249,13 +1280,13 @@
...
@@ -1249,13 +1280,13 @@
"_name": "m1g1_ske",
"_name": "m1g1_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
5
"__id__": 2
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1311,7 +1342,7 @@
...
@@ -1311,7 +1342,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
4
"__id__": 2
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1351,13 +1382,13 @@
...
@@ -1351,13 +1382,13 @@
"_name": "tree_ske",
"_name": "tree_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
7
"__id__": 2
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1413,7 +1444,7 @@
...
@@ -1413,7 +1444,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
6
"__id__": 2
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1453,13 +1484,13 @@
...
@@ -1453,13 +1484,13 @@
"_name": "m2g2_ske",
"_name": "m2g2_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
29
"__id__":
30
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1515,7 +1546,7 @@
...
@@ -1515,7 +1546,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
8
"__id__": 2
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1559,28 +1590,28 @@
...
@@ -1559,28 +1590,28 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 3
1
"__id__": 3
2
},
},
{
{
"__id__": 3
3
"__id__": 3
4
},
},
{
{
"__id__": 3
5
"__id__": 3
6
},
},
{
{
"__id__": 3
7
"__id__": 3
8
},
},
{
{
"__id__":
39
"__id__":
40
},
},
{
{
"__id__": 4
1
"__id__": 4
2
},
},
{
{
"__id__": 4
3
"__id__": 4
4
}
}
],
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [],
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
...
@@ -1635,13 +1666,13 @@
...
@@ -1635,13 +1666,13 @@
"_name": "cloud_ske",
"_name": "cloud_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 3
2
"__id__": 3
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1697,7 +1728,7 @@
...
@@ -1697,7 +1728,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
1
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1737,13 +1768,13 @@
...
@@ -1737,13 +1768,13 @@
"_name": "m3_ske",
"_name": "m3_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
4
"__id__": 3
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1799,7 +1830,7 @@
...
@@ -1799,7 +1830,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1839,13 +1870,13 @@
...
@@ -1839,13 +1870,13 @@
"_name": "m1g1_ske",
"_name": "m1g1_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
6
"__id__": 3
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1901,7 +1932,7 @@
...
@@ -1901,7 +1932,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
5
"__id__": 3
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1941,13 +1972,13 @@
...
@@ -1941,13 +1972,13 @@
"_name": "g2_ske",
"_name": "g2_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
8
"__id__": 3
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2003,7 +2034,7 @@
...
@@ -2003,7 +2034,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
7
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2043,13 +2074,13 @@
...
@@ -2043,13 +2074,13 @@
"_name": "tree_ske",
"_name": "tree_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
0
"__id__": 4
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2105,7 +2136,7 @@
...
@@ -2105,7 +2136,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
39
"__id__":
40
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2145,13 +2176,13 @@
...
@@ -2145,13 +2176,13 @@
"_name": "m2g2_ske",
"_name": "m2g2_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
2
"__id__": 4
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2207,7 +2238,7 @@
...
@@ -2207,7 +2238,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2247,13 +2278,13 @@
...
@@ -2247,13 +2278,13 @@
"_name": "icon_mountain",
"_name": "icon_mountain",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
4
"__id__": 4
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2309,7 +2340,7 @@
...
@@ -2309,7 +2340,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
3
"__id__": 4
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2404,13 +2435,13 @@
...
@@ -2404,13 +2435,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 4
8
"__id__": 4
9
},
},
{
{
"__id__": 5
0
"__id__": 5
1
},
},
{
{
"__id__": 6
4
"__id__": 6
5
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2468,13 +2499,13 @@
...
@@ -2468,13 +2499,13 @@
"_name": "game_view",
"_name": "game_view",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
7
"__id__": 4
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
49
"__id__":
50
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2530,7 +2561,7 @@
...
@@ -2530,7 +2561,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
8
"__id__": 4
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2562,20 +2593,20 @@
...
@@ -2562,20 +2593,20 @@
"_name": "sentence_box",
"_name": "sentence_box",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
7
"__id__": 4
8
},
},
"_children": [
"_children": [
{
{
"__id__": 5
1
"__id__": 5
2
},
},
{
{
"__id__": 5
3
"__id__": 5
4
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
3
"__id__": 6
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2631,13 +2662,13 @@
...
@@ -2631,13 +2662,13 @@
"_name": "sentence",
"_name": "sentence",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
0
"__id__": 5
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
2
"__id__": 5
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2693,7 +2724,7 @@
...
@@ -2693,7 +2724,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
1
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2728,23 +2759,23 @@
...
@@ -2728,23 +2759,23 @@
"_name": "microphone_area",
"_name": "microphone_area",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
0
"__id__": 5
1
},
},
"_children": [
"_children": [
{
{
"__id__": 5
4
"__id__": 5
5
},
},
{
{
"__id__":
59
"__id__":
60
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
1
"__id__": 6
2
},
},
{
{
"__id__": 6
2
"__id__": 6
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2800,14 +2831,14 @@
...
@@ -2800,14 +2831,14 @@
"_name": "time_area",
"_name": "time_area",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
3
"__id__": 5
4
},
},
"_children": [
"_children": [
{
{
"__id__": 5
5
"__id__": 5
6
},
},
{
{
"__id__": 5
7
"__id__": 5
8
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2865,13 +2896,13 @@
...
@@ -2865,13 +2896,13 @@
"_name": "time_bg",
"_name": "time_bg",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__": 5
4
"__id__": 5
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
6
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2927,7 +2958,7 @@
...
@@ -2927,7 +2958,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
5
"__id__": 5
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2959,13 +2990,13 @@
...
@@ -2959,13 +2990,13 @@
"_name": "time",
"_name": "time",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__": 5
4
"__id__": 5
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
8
"__id__": 5
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3021,7 +3052,7 @@
...
@@ -3021,7 +3052,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
7
"__id__": 5
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3056,13 +3087,13 @@
...
@@ -3056,13 +3087,13 @@
"_name": "icon_recording",
"_name": "icon_recording",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
3
"__id__": 5
4
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 6
0
"__id__": 6
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3118,7 +3149,7 @@
...
@@ -3118,7 +3149,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
59
"__id__":
60
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3150,7 +3181,7 @@
...
@@ -3150,7 +3181,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
3
"__id__": 5
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3182,7 +3213,7 @@
...
@@ -3182,7 +3213,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
3
"__id__": 5
4
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -3243,7 +3274,7 @@
...
@@ -3243,7 +3274,7 @@
"hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"_N$target": {
"__id__": 5
3
"__id__": 5
4
},
},
"_id": "82hOj6Qd1ATrynPlOZXPHu"
"_id": "82hOj6Qd1ATrynPlOZXPHu"
},
},
...
@@ -3252,7 +3283,7 @@
...
@@ -3252,7 +3283,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3284,14 +3315,14 @@
...
@@ -3284,14 +3315,14 @@
"_name": "coin_area",
"_name": "coin_area",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
7
"__id__": 4
8
},
},
"_children": [
"_children": [
{
{
"__id__": 6
5
"__id__": 6
6
},
},
{
{
"__id__": 6
7
"__id__": 6
8
}
}
],
],
"_active": false,
"_active": false,
...
@@ -3349,13 +3380,13 @@
...
@@ -3349,13 +3380,13 @@
"_name": "gray_cover",
"_name": "gray_cover",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
4
"__id__": 6
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
6
"__id__": 6
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3411,7 +3442,7 @@
...
@@ -3411,7 +3442,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
5
"__id__": 6
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3443,13 +3474,13 @@
...
@@ -3443,13 +3474,13 @@
"_name": "coin1_ske",
"_name": "coin1_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
4
"__id__": 6
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
8
"__id__": 6
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3505,7 +3536,7 @@
...
@@ -3505,7 +3536,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
7
"__id__": 6
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3549,19 +3580,22 @@
...
@@ -3549,19 +3580,22 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 7
0
"__id__": 7
1
},
},
{
{
"__id__": 7
2
"__id__": 7
3
},
},
{
{
"__id__": 7
4
"__id__": 7
5
},
},
{
{
"__id__": 7
6
"__id__": 7
7
},
},
{
{
"__id__": 78
"__id__": 79
},
{
"__id__": 81
}
}
],
],
"_active": false,
"_active": false,
...
@@ -3619,13 +3653,13 @@
...
@@ -3619,13 +3653,13 @@
"_name": "finish_view",
"_name": "finish_view",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
69
"__id__":
70
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 7
1
"__id__": 7
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3681,7 +3715,7 @@
...
@@ -3681,7 +3715,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
0
"__id__": 7
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3713,13 +3747,13 @@
...
@@ -3713,13 +3747,13 @@
"_name": "gray_cover",
"_name": "gray_cover",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
69
"__id__":
70
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
3
"__id__": 7
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3775,7 +3809,7 @@
...
@@ -3775,7 +3809,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
2
"__id__": 7
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3807,13 +3841,13 @@
...
@@ -3807,13 +3841,13 @@
"_name": "replay_btn",
"_name": "replay_btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
69
"__id__":
70
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
5
"__id__": 7
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3869,7 +3903,7 @@
...
@@ -3869,7 +3903,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
4
"__id__": 7
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3896,18 +3930,120 @@
...
@@ -3896,18 +3930,120 @@
"_atlas": null,
"_atlas": null,
"_id": "9anlB4U3hMep+lkN85wb/J"
"_id": "9anlB4U3hMep+lkN85wb/J"
},
},
{
"__type__": "cc.Node",
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 512,
"height": 497.77919520611704
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-214.645,
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": "11rRxH0PhKR6lS7UQUDp9r"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "a3fdb391-e9ad-464d-ad51-2698de2b38e1#c9537625-dbfc-4d95-a3b3-d3d672dc93e6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "a3fdb391-e9ad-464d-ad51-2698de2b38e1"
},
"_N$dragonAtlasAsset": {
"__uuid__": "c9537625-dbfc-4d95-a3b3-d3d672dc93e6"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "c2/S1O7EtNv65xpW70fYEX"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "next_btn",
"_name": "next_btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
69
"__id__":
70
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
77
"__id__":
80
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3963,7 +4099,7 @@
...
@@ -3963,7 +4099,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
6
"__id__": 7
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3995,23 +4131,23 @@
...
@@ -3995,23 +4131,23 @@
"_name": "finish_box",
"_name": "finish_box",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
69
"__id__":
70
},
},
"_children": [
"_children": [
{
{
"__id__":
79
"__id__":
82
},
},
{
{
"__id__": 8
1
"__id__": 8
4
},
},
{
{
"__id__": 8
3
"__id__": 8
6
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
5
"__id__": 8
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4067,13 +4203,13 @@
...
@@ -4067,13 +4203,13 @@
"_name": "result_text",
"_name": "result_text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
78
"__id__":
81
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
0
"__id__": 8
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4129,7 +4265,7 @@
...
@@ -4129,7 +4265,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
79
"__id__":
82
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4164,13 +4300,13 @@
...
@@ -4164,13 +4300,13 @@
"_name": "coin",
"_name": "coin",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
78
"__id__":
81
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
2
"__id__": 8
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4226,7 +4362,7 @@
...
@@ -4226,7 +4362,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
1
"__id__": 8
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4258,13 +4394,13 @@
...
@@ -4258,13 +4394,13 @@
"_name": "coin_num",
"_name": "coin_num",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
78
"__id__":
81
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
4
"__id__": 8
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4320,7 +4456,7 @@
...
@@ -4320,7 +4456,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4353,7 +4489,7 @@
...
@@ -4353,7 +4489,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
78
"__id__":
81
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4388,14 +4524,14 @@
...
@@ -4388,14 +4524,14 @@
"__id__": 2
"__id__": 2
},
},
"_children": [
"_children": [
{
"__id__": 87
},
{
{
"__id__": 90
"__id__": 90
},
},
{
{
"__id__": 93
"__id__": 93
},
{
"__id__": 96
}
}
],
],
"_active": false,
"_active": false,
...
@@ -4453,11 +4589,11 @@
...
@@ -4453,11 +4589,11 @@
"_name": "font",
"_name": "font",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
6
"__id__": 8
9
},
},
"_children": [
"_children": [
{
{
"__id__":
88
"__id__":
91
}
}
],
],
"_active": true,
"_active": true,
...
@@ -4515,13 +4651,13 @@
...
@@ -4515,13 +4651,13 @@
"_name": "BRLNSDB",
"_name": "BRLNSDB",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
87
"__id__":
90
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
89
"__id__":
92
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4577,7 +4713,7 @@
...
@@ -4577,7 +4713,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
91
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -4608,11 +4744,11 @@
...
@@ -4608,11 +4744,11 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
6
"__id__": 8
9
},
},
"_children": [
"_children": [
{
{
"__id__": 9
1
"__id__": 9
4
}
}
],
],
"_active": true,
"_active": true,
...
@@ -4670,13 +4806,13 @@
...
@@ -4670,13 +4806,13 @@
"_name": "icon",
"_name": "icon",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
2
"__id__": 9
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4732,7 +4868,7 @@
...
@@ -4732,7 +4868,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
1
"__id__": 9
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -4760,20 +4896,20 @@
...
@@ -4760,20 +4896,20 @@
"_name": "audio",
"_name": "audio",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
6
"__id__": 8
9
},
},
"_children": [
"_children": [
{
{
"__id__": 9
4
"__id__": 9
7
},
},
{
{
"__id__": 9
6
"__id__": 9
9
},
},
{
{
"__id__":
98
"__id__":
101
},
},
{
{
"__id__": 10
0
"__id__": 10
3
}
}
],
],
"_active": true,
"_active": true,
...
@@ -4831,13 +4967,13 @@
...
@@ -4831,13 +4967,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
3
"__id__": 9
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
5
"__id__": 9
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4893,7 +5029,7 @@
...
@@ -4893,7 +5029,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
4
"__id__": 9
7
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -4912,13 +5048,13 @@
...
@@ -4912,13 +5048,13 @@
"_name": "show",
"_name": "show",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
3
"__id__": 9
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
97
"__id__":
100
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4974,7 +5110,7 @@
...
@@ -4974,7 +5110,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
6
"__id__": 9
9
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -4993,13 +5129,13 @@
...
@@ -4993,13 +5129,13 @@
"_name": "coin",
"_name": "coin",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
3
"__id__": 9
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
99
"__id__":
102
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5055,7 +5191,7 @@
...
@@ -5055,7 +5191,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
101
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5074,13 +5210,13 @@
...
@@ -5074,13 +5210,13 @@
"_name": "over",
"_name": "over",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
3
"__id__": 9
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
1
"__id__": 10
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5136,7 +5272,7 @@
...
@@ -5136,7 +5272,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
0
"__id__": 10
3
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
...
assets/hy17_hds/scene/hy17_hds.ts
View file @
8b4b07f4
...
@@ -68,10 +68,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -68,10 +68,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
time_area
=
pg
.
view
.
find
(
this
.
microphone_area
,
"
time_area
"
)
this
.
time_area
=
pg
.
view
.
find
(
this
.
microphone_area
,
"
time_area
"
)
this
.
time
=
pg
.
view
.
find
(
this
.
time_area
,
"
time
"
)
this
.
time
=
pg
.
view
.
find
(
this
.
time_area
,
"
time
"
)
this
.
coin_area
=
pg
.
view
.
find
(
this
.
layer_game
,
"
coin_area
"
)
this
.
coin_area
=
pg
.
view
.
find
(
this
.
layer_game
,
"
coin_area
"
)
this
.
replay_btn
=
pg
.
view
.
find
(
this
.
layer_finish
,
"
replay_btn
"
)
this
.
next_btn
=
pg
.
view
.
find
(
this
.
layer_finish
,
"
next_btn
"
)
}
}
initListener
()
{
initListener
()
{
pg
.
view
.
touchOn
(
this
.
microphone_area
,
this
.
onTouchRecordEnd
,
this
);
pg
.
view
.
touchOn
(
this
.
microphone_area
,
this
.
onTouchRecordEnd
,
this
);
pg
.
view
.
touchOn
(
this
.
replay_btn
,
this
.
onTouchReplay
,
this
)
pg
.
view
.
touchOn
(
this
.
next_btn
,
this
.
onTouchNext
,
this
)
}
}
initGame
()
{
initGame
()
{
this
.
current
=
-
1
;
this
.
current
=
-
1
;
...
@@ -81,6 +85,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -81,6 +85,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
return
this
.
sentence_list
[
this
.
current
];
return
this
.
sentence_list
[
this
.
current
];
}
}
initSentence
()
{
initSentence
()
{
if
(
!
this
.
sentence_box
)
return
pg
.
view
.
visible
(
this
.
sentence_box
,
true
)
this
.
current
++
;
this
.
current
++
;
if
(
!
this
.
currentQuestion
)
{
if
(
!
this
.
currentQuestion
)
{
this
.
gameOver
();
this
.
gameOver
();
...
@@ -117,7 +123,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -117,7 +123,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
// this.coinShow()
// this.coinShow()
}
}
onTouchReplay
(){
pg
.
view
.
visible
(
this
.
layer_finish
,
false
)
this
.
initGame
()
}
onTouchNext
(){
pg
.
view
.
visible
(
this
.
layer_finish
,
false
)
this
.
initGame
()
}
//--------------------------------Record-----------------------------
//--------------------------------Record-----------------------------
private
letter
:
string
;
private
letter
:
string
;
...
@@ -126,6 +140,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -126,6 +140,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
startTime
:
number
;
private
startTime
:
number
;
private
recording
:
boolean
;
private
recording
:
boolean
;
private
microPhoneChange
:
boolean
;
private
microPhoneChange
:
boolean
;
private
replay_btn
:
cc
.
Node
;
private
next_btn
:
cc
.
Node
;
showTimeStart
()
{
showTimeStart
()
{
if
(
!
this
.
targetTime
)
return
;
if
(
!
this
.
targetTime
)
return
;
let
nowTime
=
new
Date
().
getTime
();
let
nowTime
=
new
Date
().
getTime
();
...
@@ -298,7 +315,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -298,7 +315,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
gameOver
()
{
gameOver
()
{
pg
.
view
.
visible
(
this
.
sentence_box
,
false
)
let
finish_cat
=
pg
.
view
.
find
(
this
.
layer_finish
,
"
finish_cat
"
)
pg
.
view
.
playDBAnimation
(
finish_cat
,
"
finish
"
,
1
);
pg
.
view
.
visible
(
this
.
layer_finish
,
true
)
}
}
}
}
...
...
assets/hy17_hds/script/defaultData_hy17_hds.ts
View file @
8b4b07f4
export
const
defaultData
=
export
const
defaultData
=
{
{
"
recordFlag
"
:
false
,
"
title
"
:
""
,
"
questionText
"
:
""
,
"
questionTextAudio
"
:
""
,
"
questions
"
:
[
"
recordFlag
"
:
false
,
"
title
"
:
""
,
"
questionText
"
:
""
,
"
questionTextAudio
"
:
""
,
"
questions
"
:
[
{
"
text
"
:
"
this is info
"
,
"
time
"
:
10
},
{
"
text
"
:
"
this is info
"
,
"
time
"
:
2
},
{
"
text
"
:
"
test some thing.
"
,
"
time
"
:
10
}],
"
bgAudio
"
:
""
,
"
bgAudioName
"
:
""
,
"
audioName
"
:
""
{
"
text
"
:
"
test some thing.
"
,
"
time
"
:
2
}],
"
bgAudio
"
:
""
,
"
bgAudioName
"
:
""
,
"
audioName
"
:
""
}
}
// {
// {
// "recordFlag": true,
// "recordFlag": true,
...
...
assets/hy17_hds/textures/hy17/ani/finish.meta
0 → 100644
View file @
8b4b07f4
{
"ver": "1.1.2",
"uuid": "80d273de-f7a1-45e8-b75c-b4c3032d0b78",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/hy17_hds/textures/hy17/ani/finish/finish.png
0 → 100644
View file @
8b4b07f4
122 KB
assets/hy17_hds/textures/hy17/ani/finish/finish.png.meta
0 → 100644
View file @
8b4b07f4
{
"ver": "2.3.5",
"uuid": "6cda522a-b8bc-40b4-b8c5-28ccdbd817b4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"finish": {
"ver": "1.0.4",
"uuid": "df8c0d1b-db97-497e-b721-ebebd22dac62",
"rawTextureUuid": "6cda522a-b8bc-40b4-b8c5-28ccdbd817b4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -10.5,
"offsetY": 75.5,
"trimX": 1,
"trimY": 1,
"width": 1001,
"height": 871,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/hy17_hds/textures/hy17/ani/finish/finish_ske.json
0 → 100644
View file @
8b4b07f4
{
"name"
:
"finish"
,
"version"
:
"5.5"
,
"frameRate"
:
24
,
"isGlobal"
:
0
,
"armature"
:[{
"name"
:
"Armature"
,
"animation"
:[{
"name"
:
"finish"
,
"ffd"
:[],
"frame"
:[],
"duration"
:
26
,
"slot"
:[{
"name"
:
"金币底"
,
"colorFrame"
:[{
"tweenEasing"
:
0
,
"color"
:{
"aM"
:
0
},
"duration"
:
4
},{
"tweenEasing"
:
0
,
"color"
:{
"aM"
:
0
},
"duration"
:
6
},{
"tweenEasing"
:
0
,
"color"
:{
"aM"
:
44
},
"duration"
:
10
},{
"color"
:{
"aM"
:
0
},
"duration"
:
6
}],
"displayFrame"
:[]},{
"name"
:
"圈"
,
"colorFrame"
:[{
"tweenEasing"
:
0
,
"color"
:{
"aM"
:
0
},
"duration"
:
4
},{
"tweenEasing"
:
0
,
"color"
:{
"aM"
:
0
},
"duration"
:
4
},{
"tweenEasing"
:
0
,
"color"
:{
"aM"
:
0
},
"duration"
:
6
},{
"tweenEasing"
:
0
,
"color"
:{
"aM"
:
40
},
"duration"
:
6
},{
"color"
:{
"aM"
:
0
},
"duration"
:
6
}],
"displayFrame"
:[]},{
"name"
:
"金币"
,
"colorFrame"
:[],
"displayFrame"
:[{
"duration"
:
4
,
"value"
:
-1
},{
"duration"
:
7
,
"value"
:
-1
},{
"duration"
:
15
}]},{
"name"
:
"条1"
,
"colorFrame"
:[{
"color"
:{
"aM"
:
0
},
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.34269662921348315
,
0.9952978056426333
],
"color"
:{
"aM"
:
22
},
"duration"
:
11
},{
"tweenEasing"
:
0
,
"duration"
:
7
},{
"color"
:{
"aM"
:
0
},
"duration"
:
0
}],
"displayFrame"
:[]},{
"name"
:
"条11"
,
"colorFrame"
:[{
"color"
:{
"aM"
:
0
},
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.5
,
1
],
"color"
:{
"aM"
:
22
},
"duration"
:
11
},{
"tweenEasing"
:
0
,
"duration"
:
7
},{
"color"
:{
"aM"
:
0
},
"duration"
:
0
}],
"displayFrame"
:[]},{
"name"
:
"条111"
,
"colorFrame"
:[{
"color"
:{
"aM"
:
0
},
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.5
,
1
],
"color"
:{
"aM"
:
22
},
"duration"
:
11
},{
"tweenEasing"
:
0
,
"duration"
:
7
},{
"color"
:{
"aM"
:
0
},
"duration"
:
0
}],
"displayFrame"
:[]},{
"name"
:
"条12"
,
"colorFrame"
:[{
"color"
:{
"aM"
:
0
},
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.5
,
1
],
"color"
:{
"aM"
:
22
},
"duration"
:
11
},{
"tweenEasing"
:
0
,
"duration"
:
7
},{
"color"
:{
"aM"
:
0
},
"duration"
:
0
}],
"displayFrame"
:[]},{
"name"
:
"条13"
,
"colorFrame"
:[{
"color"
:{
"aM"
:
0
},
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.34269662921348315
,
0.9952978056426333
],
"color"
:{
"aM"
:
22
},
"duration"
:
11
},{
"tweenEasing"
:
0
,
"duration"
:
7
},{
"color"
:{
"aM"
:
0
},
"duration"
:
0
}],
"displayFrame"
:[]},{
"name"
:
"条121"
,
"colorFrame"
:[{
"color"
:{
"aM"
:
0
},
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.34269662921348315
,
0.9952978056426333
],
"color"
:{
"aM"
:
22
},
"duration"
:
11
},{
"tweenEasing"
:
0
,
"duration"
:
7
},{
"color"
:{
"aM"
:
0
},
"duration"
:
0
}],
"displayFrame"
:[]},{
"name"
:
"条122"
,
"colorFrame"
:[{
"color"
:{
"aM"
:
0
},
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.34269662921348315
,
0.9952978056426333
],
"color"
:{
"aM"
:
22
},
"duration"
:
11
},{
"tweenEasing"
:
0
,
"duration"
:
7
},{
"color"
:{
"aM"
:
0
},
"duration"
:
0
}],
"displayFrame"
:[]}],
"bone"
:[{
"name"
:
"root"
,
"translateFrame"
:[],
"rotateFrame"
:[],
"scaleFrame"
:[]},{
"name"
:
"金币底"
,
"translateFrame"
:[],
"rotateFrame"
:[],
"scaleFrame"
:[{
"x"
:
1.3
,
"duration"
:
4
,
"tweenEasing"
:
0
,
"y"
:
1.3
},{
"x"
:
1.3
,
"duration"
:
6
,
"tweenEasing"
:
0
,
"y"
:
1.3
},{
"duration"
:
16
}]},{
"name"
:
"圈"
,
"translateFrame"
:[],
"rotateFrame"
:[],
"scaleFrame"
:[{
"duration"
:
11
},{
"duration"
:
9
,
"tweenEasing"
:
0
},{
"x"
:
1.4
,
"duration"
:
6
,
"y"
:
1.4
}]},{
"name"
:
"金币"
,
"translateFrame"
:[],
"rotateFrame"
:[],
"scaleFrame"
:[{
"duration"
:
11
},{
"x"
:
0.5
,
"duration"
:
4
,
"tweenEasing"
:
0
,
"y"
:
0.5
},{
"duration"
:
7
,
"curve"
:[
0.7359550561797753
,
0.009404388714733543
,
1
,
1
],
"y"
:
1.1
},{
"duration"
:
4
}]},{
"name"
:
"条1"
,
"translateFrame"
:[{
"duration"
:
8
},{
"x"
:
93.3333
,
"duration"
:
11
,
"tweenEasing"
:
0
,
"y"
:
33.3333
},{
"x"
:
-236.6667
,
"duration"
:
7
,
"y"
:
-54.1608
}],
"rotateFrame"
:[{
"duration"
:
8
},{
"duration"
:
11
,
"tweenEasing"
:
0
},{
"rotate"
:
-93.3665
,
"duration"
:
7
}],
"scaleFrame"
:[{
"duration"
:
8
},{
"x"
:
0.7
,
"duration"
:
11
,
"tweenEasing"
:
0
,
"y"
:
0.7
},{
"duration"
:
7
}]},{
"name"
:
"bone"
,
"translateFrame"
:[],
"rotateFrame"
:[{
"duration"
:
22
,
"clockwise"
:
2
,
"tweenEasing"
:
0
},{
"duration"
:
4
}],
"scaleFrame"
:[]},{
"name"
:
"条11"
,
"translateFrame"
:[{
"duration"
:
8
},{
"x"
:
-178.25
,
"duration"
:
11
,
"curve"
:[
0
,
0
,
0.5
,
1
],
"y"
:
33.3333
},{
"x"
:
-581.1667
,
"duration"
:
7
,
"y"
:
-526.7441
}],
"rotateFrame"
:[{
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.5
,
1
],
"duration"
:
11
},{
"rotate"
:
-93.3665
,
"duration"
:
7
}],
"scaleFrame"
:[{
"duration"
:
8
},{
"x"
:
0.7
,
"duration"
:
11
,
"curve"
:[
0
,
0
,
0.5
,
1
],
"y"
:
0.7
},{
"duration"
:
7
}]},{
"name"
:
"条111"
,
"translateFrame"
:[{
"duration"
:
8
},{
"x"
:
-178.25
,
"duration"
:
11
,
"curve"
:[
0
,
0
,
0.5
,
1
],
"y"
:
33.3333
},{
"x"
:
146.8333
,
"duration"
:
7
,
"y"
:
-138.9941
}],
"rotateFrame"
:[{
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.5
,
1
],
"duration"
:
11
},{
"rotate"
:
-93.3665
,
"duration"
:
7
}],
"scaleFrame"
:[{
"duration"
:
8
},{
"x"
:
0.7
,
"duration"
:
11
,
"curve"
:[
0
,
0
,
0.5
,
1
],
"y"
:
0.7
},{
"duration"
:
7
}]},{
"name"
:
"条12"
,
"translateFrame"
:[{
"duration"
:
8
},{
"x"
:
93.3333
,
"duration"
:
11
,
"curve"
:[
0
,
0
,
0.5
,
1
],
"y"
:
33.3333
},{
"x"
:
300.8333
,
"duration"
:
7
,
"y"
:
-54.1608
}],
"rotateFrame"
:[{
"duration"
:
8
},{
"curve"
:[
0
,
0
,
0.5
,
1
],
"duration"
:
11
},{
"rotate"
:
-93.3665
,
"duration"
:
7
}],
"scaleFrame"
:[{
"duration"
:
8
},{
"x"
:
0.7
,
"duration"
:
11
,
"curve"
:[
0
,
0
,
0.5
,
1
],
"y"
:
0.7
},{
"duration"
:
7
}]},{
"name"
:
"条13"
,
"translateFrame"
:[{
"duration"
:
8
},{
"x"
:
93.3333
,
"duration"
:
11
,
"tweenEasing"
:
0
,
"y"
:
33.3333
},{
"x"
:
321
,
"duration"
:
7
,
"y"
:
-189.8274
}],
"rotateFrame"
:[{
"duration"
:
8
},{
"duration"
:
11
,
"tweenEasing"
:
0
},{
"rotate"
:
-34.1966
,
"duration"
:
7
}],
"scaleFrame"
:[{
"duration"
:
8
},{
"x"
:
0.7
,
"duration"
:
11
,
"tweenEasing"
:
0
,
"y"
:
0.7
},{
"duration"
:
7
}]},{
"name"
:
"条121"
,
"translateFrame"
:[{
"duration"
:
8
},{
"x"
:
93.3333
,
"duration"
:
11
,
"tweenEasing"
:
0
,
"y"
:
33.3333
},{
"x"
:
-236.6667
,
"duration"
:
7
,
"y"
:
-54.1608
}],
"rotateFrame"
:[{
"duration"
:
8
},{
"duration"
:
11
,
"tweenEasing"
:
0
},{
"rotate"
:
-93.3665
,
"duration"
:
7
}],
"scaleFrame"
:[{
"duration"
:
8
},{
"x"
:
0.7
,
"duration"
:
11
,
"tweenEasing"
:
0
,
"y"
:
0.7
},{
"duration"
:
7
}]}],
"ik"
:[],
"playTimes"
:
0
}],
"bone"
:[{
"name"
:
"root"
,
"transform"
:{
"x"
:
-131.6667
,
"y"
:
16.6667
}},{
"name"
:
"圈"
,
"transform"
:{
"x"
:
140.655
,
"y"
:
-240.8618
},
"parent"
:
"root"
},{
"name"
:
"金币"
,
"transform"
:{
"x"
:
143.8193
,
"y"
:
-246.4
},
"parent"
:
"root"
},{
"name"
:
"条1"
,
"transform"
:{
"x"
:
33.3193
,
"y"
:
-90.0208
},
"parent"
:
"root"
},{
"name"
:
"金币底"
,
"transform"
:{
"x"
:
146.8193
,
"y"
:
-242
},
"parent"
:
"root"
},{
"name"
:
"bone"
,
"transform"
:{
"x"
:
138.33
,
"y"
:
-245.75
},
"parent"
:
"root"
},{
"name"
:
"条11"
,
"transform"
:{
"x"
:
323.3193
,
"scY"
:
0.7
,
"y"
:
-95.8541
,
"scX"
:
0.7
},
"parent"
:
"root"
},{
"name"
:
"条111"
,
"transform"
:{
"x"
:
323.3193
,
"scY"
:
0.7
,
"y"
:
-95.8541
,
"scX"
:
0.7
},
"parent"
:
"root"
},{
"name"
:
"条12"
,
"transform"
:{
"x"
:
166.6526
,
"y"
:
-40.0208
},
"parent"
:
"root"
},{
"name"
:
"条13"
,
"transform"
:{
"x"
:
98.1526
,
"y"
:
-115.9375
},
"parent"
:
"root"
},{
"name"
:
"条121"
,
"transform"
:{
"x"
:
33.3193
,
"y"
:
-90.0208
},
"parent"
:
"root"
}],
"skin"
:[{
"name"
:
""
,
"slot"
:[{
"name"
:
"条11"
,
"display"
:[{
"name"
:
"金币动画/条"
,
"transform"
:{
"x"
:
-270.4571
,
"skX"
:
-39.1322
,
"y"
:
73.2524
,
"skY"
:
-39.1322
},
"type"
:
"image"
,
"path"
:
"金币动画/条"
}]},{
"name"
:
"圈"
,
"display"
:[{
"name"
:
"金币动画/圈"
,
"transform"
:{
"x"
:
3.5699
,
"y"
:
0.3676
},
"type"
:
"image"
,
"path"
:
"金币动画/圈"
}]},{
"name"
:
"金币底"
,
"display"
:[{
"name"
:
"金币动画/金币底"
,
"transform"
:{
"x"
:
-3
,
"y"
:
-0.5
},
"type"
:
"image"
,
"path"
:
"金币动画/金币底"
}]},{
"name"
:
"金币"
,
"display"
:[{
"name"
:
"金币动画/金币"
,
"transform"
:{
"y"
:
5.9
},
"type"
:
"image"
,
"path"
:
"金币动画/金币"
}]},{
"name"
:
"条1"
,
"display"
:[{
"name"
:
"金币动画/条"
,
"transform"
:{
"x"
:
122.0667
,
"scY"
:
0.5
,
"y"
:
-6.3667
,
"scX"
:
0.5
},
"type"
:
"image"
,
"path"
:
"金币动画/条"
}]},{
"name"
:
"条111"
,
"display"
:[{
"name"
:
"金币动画/条"
,
"transform"
:{
"x"
:
-0.1
,
"y"
:
-0.2
},
"type"
:
"image"
,
"path"
:
"金币动画/条"
}]},{
"name"
:
"条13"
,
"display"
:[{
"name"
:
"金币动画/条"
,
"transform"
:{
"x"
:
122.0667
,
"scY"
:
0.5
,
"y"
:
-6.3667
,
"scX"
:
0.5
},
"type"
:
"image"
,
"path"
:
"金币动画/条"
}]},{
"name"
:
"条12"
,
"display"
:[{
"name"
:
"金币动画/条"
,
"transform"
:{
"x"
:
-0.1
,
"y"
:
-0.2
},
"type"
:
"image"
,
"path"
:
"金币动画/条"
}]},{
"name"
:
"条122"
,
"display"
:[{
"name"
:
"金币动画/条"
,
"transform"
:{
"x"
:
-0.1
,
"y"
:
-0.2
},
"type"
:
"image"
,
"path"
:
"金币动画/条"
}]},{
"name"
:
"条121"
,
"display"
:[]}]}],
"defaultActions"
:[{
"gotoAndPlay"
:
"finish"
}],
"frameRate"
:
24
,
"slot"
:[{
"name"
:
"金币底"
,
"color"
:{},
"parent"
:
"金币底"
},{
"name"
:
"圈"
,
"color"
:{},
"z"
:
1
,
"parent"
:
"圈"
},{
"name"
:
"金币"
,
"color"
:{},
"z"
:
2
,
"parent"
:
"金币"
},{
"name"
:
"条1"
,
"color"
:{},
"z"
:
3
,
"parent"
:
"条1"
},{
"name"
:
"条11"
,
"color"
:{},
"z"
:
4
,
"parent"
:
"条11"
},{
"name"
:
"条111"
,
"color"
:{},
"z"
:
5
,
"parent"
:
"条111"
},{
"name"
:
"条12"
,
"color"
:{},
"z"
:
6
,
"parent"
:
"条12"
},{
"name"
:
"条13"
,
"color"
:{},
"z"
:
7
,
"parent"
:
"条13"
},{
"name"
:
"条121"
,
"color"
:{},
"z"
:
8
,
"parent"
:
"root"
,
"displayIndex"
:
-1
},{
"name"
:
"条122"
,
"color"
:{},
"z"
:
9
,
"parent"
:
"条121"
}],
"type"
:
"Armature"
,
"ik"
:[],
"aabb"
:{
"x"
:
-243.44169151262471
,
"height"
:
497.77919520611704
,
"y"
:
-469.33333333333337
,
"width"
:
512
}}]}
\ No newline at end of file
assets/hy17_hds/textures/hy17/ani/finish/finish_ske.json.meta
0 → 100644
View file @
8b4b07f4
{
"ver": "1.0.1",
"uuid": "a3fdb391-e9ad-464d-ad51-2698de2b38e1",
"subMetas": {}
}
\ No newline at end of file
assets/hy17_hds/textures/hy17/ani/finish/finish_tex.json
0 → 100644
View file @
8b4b07f4
{
"name"
:
"finish"
,
"SubTexture"
:[{
"name"
:
"金币动画/金币底"
,
"x"
:
1
,
"height"
:
487
,
"y"
:
1
,
"width"
:
487
},{
"name"
:
"金币动画/圈"
,
"x"
:
490
,
"height"
:
420
,
"y"
:
1
,
"width"
:
512
},{
"name"
:
"金币动画/金币"
,
"x"
:
490
,
"height"
:
449
,
"y"
:
423
,
"width"
:
388
},{
"name"
:
"金币动画/条"
,
"x"
:
880
,
"height"
:
104
,
"y"
:
423
,
"width"
:
105
}],
"height"
:
1024
,
"imagePath"
:
"finish.png"
,
"width"
:
1024
}
\ No newline at end of file
assets/hy17_hds/textures/hy17/ani/finish/finish_tex.json.meta
0 → 100644
View file @
8b4b07f4
{
"ver": "1.0.1",
"uuid": "c9537625-dbfc-4d95-a3b3-d3d672dc93e6",
"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