Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn19_read
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
sn19_read
Commits
3cbc3878
Commit
3cbc3878
authored
Nov 15, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理bug
parent
c54a1d89
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
195 additions
and
116 deletions
+195
-116
sn19_read.fire
assets/sn19_read/scene/sn19_read.fire
+190
-116
sn19_read.ts
assets/sn19_read/scene/sn19_read.ts
+5
-0
No files found.
assets/sn19_read/scene/sn19_read.fire
View file @
3cbc3878
...
@@ -89,9 +89,6 @@
...
@@ -89,9 +89,6 @@
{
{
"__id__": 75
"__id__": 75
},
},
{
"__id__": 110
},
{
{
"__id__": 112
"__id__": 112
},
},
...
@@ -100,18 +97,21 @@
...
@@ -100,18 +97,21 @@
},
},
{
{
"__id__": 116
"__id__": 116
},
{
"__id__": 118
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
6
"__id__": 13
8
},
},
{
{
"__id__": 13
7
"__id__": 13
9
},
},
{
{
"__id__": 1
38
"__id__": 1
40
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3635,16 +3635,16 @@
...
@@ -3635,16 +3635,16 @@
"__id__": 76
"__id__": 76
},
},
{
{
"__id__": 10
4
"__id__": 10
6
},
},
{
{
"__id__": 10
7
"__id__": 10
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
09
"__id__": 1
11
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3710,7 +3710,7 @@
...
@@ -3710,7 +3710,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
3
"__id__": 10
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3773,16 +3773,16 @@
...
@@ -3773,16 +3773,16 @@
"__id__": 78
"__id__": 78
},
},
{
{
"__id__": 9
1
"__id__": 9
2
},
},
{
{
"__id__": 9
5
"__id__": 9
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
2
"__id__": 10
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3849,6 +3849,9 @@
...
@@ -3849,6 +3849,9 @@
"_components": [
"_components": [
{
{
"__id__": 90
"__id__": 90
},
{
"__id__": 91
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4518,6 +4521,16 @@
...
@@ -4518,6 +4521,16 @@
"_N$inverted": false,
"_N$inverted": false,
"_id": "47to5rp15ChI6m++PlmOmD"
"_id": "47to5rp15ChI6m++PlmOmD"
},
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"_id": "5dXYFz7wNAV4VXwSR8ERF0"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "bg",
"_name": "bg",
...
@@ -4527,10 +4540,71 @@
...
@@ -4527,10 +4540,71 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 92
"__id__": 93
},
{
"__id__": 95
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 187,
"height": 191
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-11.989,
53,
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": "40i0XmOhxAt4MEZracszf8"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 94
"__id__": 94
...
@@ -4559,8 +4633,8 @@
...
@@ -4559,8 +4633,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-11.989
,
0
,
53
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -4582,20 +4656,52 @@
...
@@ -4582,20 +4656,52 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "40i0XmOhxAt4MEZracszf8"
"_id": "3cQUu2h29Gjr/nYL/6pbe0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "49ca0e50-030e-4c6e-a6a1-dd379cbca6e2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c6uv/la2JKAJHeH5W5VX8j"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "ani",
"_name": "ani",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
1
"__id__": 9
2
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 9
3
"__id__": 9
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4651,7 +4757,7 @@
...
@@ -4651,7 +4757,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4686,38 +4792,6 @@
...
@@ -4686,38 +4792,6 @@
"_N$enableBatch": false,
"_N$enableBatch": false,
"_id": "d4+y3SH21BnIUihQoB7w/n"
"_id": "d4+y3SH21BnIUihQoB7w/n"
},
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "49ca0e50-030e-4c6e-a6a1-dd379cbca6e2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "49k0aHrO1BPIf1zVqh/uPt"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "img_voice",
"_name": "img_voice",
...
@@ -4727,19 +4801,19 @@
...
@@ -4727,19 +4801,19 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 9
6
"__id__": 9
8
},
},
{
{
"__id__": 9
7
"__id__": 9
9
},
},
{
{
"__id__":
99
"__id__":
101
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 10
1
"__id__": 10
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4795,7 +4869,7 @@
...
@@ -4795,7 +4869,7 @@
"_name": "p1",
"_name": "p1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -4853,13 +4927,13 @@
...
@@ -4853,13 +4927,13 @@
"_name": "p2",
"_name": "p2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
98
"__id__":
100
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4915,7 +4989,7 @@
...
@@ -4915,7 +4989,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
7
"__id__": 9
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4947,13 +5021,13 @@
...
@@ -4947,13 +5021,13 @@
"_name": "p3",
"_name": "p3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
0
"__id__": 10
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5009,7 +5083,7 @@
...
@@ -5009,7 +5083,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
99
"__id__":
101
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5041,7 +5115,7 @@
...
@@ -5041,7 +5115,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
5
"__id__": 9
7
},
},
"_enabled": true,
"_enabled": true,
"_id": "1b37Xp6IVLg6RciXLxM7OU"
"_id": "1b37Xp6IVLg6RciXLxM7OU"
...
@@ -5108,13 +5182,13 @@
...
@@ -5108,13 +5182,13 @@
"__id__": 75
"__id__": 75
},
},
"_children": [],
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
"_components": [
{
{
"__id__": 10
5
"__id__": 10
7
},
},
{
{
"__id__": 10
6
"__id__": 10
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5141,7 +5215,7 @@
...
@@ -5141,7 +5215,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
-4
57.315
,
-4
14.489
,
0,
0,
0,
0,
0,
0,
...
@@ -5170,7 +5244,7 @@
...
@@ -5170,7 +5244,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
4
"__id__": 10
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5205,7 +5279,7 @@
...
@@ -5205,7 +5279,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
4
"__id__": 10
6
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -5214,7 +5288,7 @@
...
@@ -5214,7 +5288,7 @@
"_left": 0,
"_left": 0,
"_right": 0,
"_right": 0,
"_top": 0,
"_top": 0,
"_bottom":
32.28500000000002
5,
"_bottom":
75.1110000000000
5,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
@@ -5238,7 +5312,7 @@
...
@@ -5238,7 +5312,7 @@
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
08
"__id__": 1
10
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5294,7 +5368,7 @@
...
@@ -5294,7 +5368,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
7
"__id__": 10
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5367,7 +5441,7 @@
...
@@ -5367,7 +5441,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
1
"__id__": 11
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5423,7 +5497,7 @@
...
@@ -5423,7 +5497,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
0
"__id__": 11
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5461,7 +5535,7 @@
...
@@ -5461,7 +5535,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
3
"__id__": 11
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5517,7 +5591,7 @@
...
@@ -5517,7 +5591,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
2
"__id__": 11
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5555,7 +5629,7 @@
...
@@ -5555,7 +5629,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
5
"__id__": 11
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5611,7 +5685,7 @@
...
@@ -5611,7 +5685,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
4
"__id__": 11
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5647,13 +5721,13 @@
...
@@ -5647,13 +5721,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 11
7
"__id__": 11
9
},
},
{
{
"__id__": 12
0
"__id__": 12
2
},
},
{
{
"__id__": 12
3
"__id__": 12
5
}
}
],
],
"_active": false,
"_active": false,
...
@@ -5711,11 +5785,11 @@
...
@@ -5711,11 +5785,11 @@
"_name": "font",
"_name": "font",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
6
"__id__": 11
8
},
},
"_children": [
"_children": [
{
{
"__id__": 1
18
"__id__": 1
20
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5773,13 +5847,13 @@
...
@@ -5773,13 +5847,13 @@
"_name": "BRLNSDB",
"_name": "BRLNSDB",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
7
"__id__": 11
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
19
"__id__": 1
21
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5835,7 +5909,7 @@
...
@@ -5835,7 +5909,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
18
"__id__": 1
20
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -5866,11 +5940,11 @@
...
@@ -5866,11 +5940,11 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
6
"__id__": 11
8
},
},
"_children": [
"_children": [
{
{
"__id__": 12
1
"__id__": 12
3
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5928,13 +6002,13 @@
...
@@ -5928,13 +6002,13 @@
"_name": "icon",
"_name": "icon",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
0
"__id__": 12
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
2
"__id__": 12
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5990,7 +6064,7 @@
...
@@ -5990,7 +6064,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
1
"__id__": 12
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -6018,12 +6092,9 @@
...
@@ -6018,12 +6092,9 @@
"_name": "audio",
"_name": "audio",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
6
"__id__": 11
8
},
},
"_children": [
"_children": [
{
"__id__": 124
},
{
{
"__id__": 126
"__id__": 126
},
},
...
@@ -6038,6 +6109,9 @@
...
@@ -6038,6 +6109,9 @@
},
},
{
{
"__id__": 134
"__id__": 134
},
{
"__id__": 136
}
}
],
],
"_active": true,
"_active": true,
...
@@ -6095,13 +6169,13 @@
...
@@ -6095,13 +6169,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
5
"__id__": 12
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6157,7 +6231,7 @@
...
@@ -6157,7 +6231,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
4
"__id__": 12
6
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6176,13 +6250,13 @@
...
@@ -6176,13 +6250,13 @@
"_name": "tip",
"_name": "tip",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
7
"__id__": 12
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6238,7 +6312,7 @@
...
@@ -6238,7 +6312,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
6
"__id__": 12
8
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6257,13 +6331,13 @@
...
@@ -6257,13 +6331,13 @@
"_name": "tosmall",
"_name": "tosmall",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
29
"__id__": 1
31
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6319,7 +6393,7 @@
...
@@ -6319,7 +6393,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
28
"__id__": 1
30
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6338,13 +6412,13 @@
...
@@ -6338,13 +6412,13 @@
"_name": "pagenext",
"_name": "pagenext",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
1
"__id__": 13
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6400,7 +6474,7 @@
...
@@ -6400,7 +6474,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
0
"__id__": 13
2
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6419,13 +6493,13 @@
...
@@ -6419,13 +6493,13 @@
"_name": "arrow",
"_name": "arrow",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
3
"__id__": 13
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6481,7 +6555,7 @@
...
@@ -6481,7 +6555,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
2
"__id__": 13
4
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6500,13 +6574,13 @@
...
@@ -6500,13 +6574,13 @@
"_name": "right",
"_name": "right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
5
"__id__": 13
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6562,7 +6636,7 @@
...
@@ -6562,7 +6636,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
4
"__id__": 13
6
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6644,10 +6718,10 @@
...
@@ -6644,10 +6718,10 @@
"__id__": 13
"__id__": 13
},
},
"label_word": {
"label_word": {
"__id__": 10
4
"__id__": 10
6
},
},
"ani_good": {
"ani_good": {
"__id__": 10
7
"__id__": 10
9
},
},
"ani_npc": {
"ani_npc": {
"__id__": 72
"__id__": 72
...
...
assets/sn19_read/scene/sn19_read.ts
View file @
3cbc3878
...
@@ -210,14 +210,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -210,14 +210,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 展示点击效果
// 展示点击效果
async
showRecordWait
()
{
async
showRecordWait
()
{
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/bg
'
).
active
=
false
;
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/ani
'
).
active
=
true
;
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/ani
'
).
active
=
true
;
}
}
async
showRecordWaitEnd
()
{
async
showRecordWaitEnd
()
{
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/bg
'
).
active
=
true
;
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/ani
'
).
active
=
false
;
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/ani
'
).
active
=
false
;
}
}
showRecordHide
()
{
showRecordHide
()
{
this
.
showRecordWaitEnd
();
this
.
showRecordWaitEnd
();
this
.
readyNext
=
false
;
this
.
readyTime
=
999999
;
this
.
img_npc
.
active
=
false
;
this
.
img_npc
.
active
=
false
;
this
.
showLastNext
=
3
;
// 3秒显示时间
this
.
showLastNext
=
3
;
// 3秒显示时间
let
img_voice
=
pg
.
view
.
find
(
this
.
btn_record
,
"
img_voice
"
);
let
img_voice
=
pg
.
view
.
find
(
this
.
btn_record
,
"
img_voice
"
);
...
@@ -397,6 +401,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -397,6 +401,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
readyNext
=
false
;
this
.
readyNext
=
false
;
this
.
readyTime
=
999999
;
this
.
readyTime
=
999999
;
this
.
showNpcAudioPlayEnd
();
this
.
showNpcAudioPlayEnd
();
this
.
CurrentData
.
npcPlay
=
false
this
.
showNpcAudioPlay
().
then
(()
=>
{
this
.
showNpcAudioPlay
().
then
(()
=>
{
this
.
showNpcAudioPlayEnd
();
this
.
showNpcAudioPlayEnd
();
this
.
readyNext
=
true
;
this
.
readyNext
=
true
;
...
...
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