Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy07_tiankong
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
hy07_tiankong
Commits
97285f9a
Commit
97285f9a
authored
Sep 19, 2023
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e2e480f0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
807 additions
and
341 deletions
+807
-341
img_voice_hy07_tiankong.prefab
...y07_tiankong/common/prefab/img_voice_hy07_tiankong.prefab
+7
-7
hy07_tiankong.fire
assets/hy07_tiankong/scene/hy07_tiankong.fire
+777
-328
hy07_tiankong.ts
assets/hy07_tiankong/scene/hy07_tiankong.ts
+21
-4
defaultData_hy07_tiankong.ts
assets/hy07_tiankong/script/defaultData_hy07_tiankong.ts
+2
-2
No files found.
assets/hy07_tiankong/common/prefab/img_voice_hy07_tiankong.prefab
View file @
97285f9a
...
...
@@ -49,8 +49,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width":
15
0,
"height":
15
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -188,7 +188,7 @@
"__id__": 1
},
"asset": {
"__
id__": 0
"__
uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"fileId": "b2AVtPfI1H8rsYBg+57NsK",
"sync": false
...
...
@@ -295,7 +295,7 @@
"__id__": 1
},
"asset": {
"__
id__": 0
"__
uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"fileId": "28xDtc6+BJ74MCN73DdTk4",
"sync": false
...
...
@@ -402,7 +402,7 @@
"__id__": 1
},
"asset": {
"__
id__": 0
"__
uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"fileId": "3bzotBPcdH6KRt6Og7x6F9",
"sync": false
...
...
@@ -435,7 +435,7 @@
"_id": ""
},
{
"__type__": "
f6509JnLAlKfZ9VLFWlQcNk
",
"__type__": "
8fa11v2FMRF5aYUQ2xw3/ss
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -450,7 +450,7 @@
"__id__": 1
},
"asset": {
"__
id__": 0
"__
uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"fileId": "",
"sync": false
...
...
assets/hy07_tiankong/scene/hy07_tiankong.fire
View file @
97285f9a
...
...
@@ -105,22 +105,25 @@
"__id__": 212
},
{
"__id__": 2
42
"__id__": 2
25
},
{
"__id__": 265
"__id__": 255
},
{
"__id__": 278
}
],
"_active": true,
"_components": [
{
"__id__": 3
04
"__id__": 3
17
},
{
"__id__": 3
05
"__id__": 3
18
},
{
"__id__": 3
06
"__id__": 3
19
}
],
"_prefab": null,
...
...
@@ -8184,7 +8187,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
50.74
,
"width": 1
48.45
,
"height": 50
},
"_anchorPoint": {
...
...
@@ -8270,7 +8273,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
20
8.95399999999995
,
20
6.664
,
0,
0,
0,
...
...
@@ -8892,7 +8895,7 @@
},
{
"__type__": "cc.Node",
"_name": "
layer_right
",
"_name": "
img_voice
",
"_objFlags": 0,
"_parent": {
"__id__": 2
...
...
@@ -8902,25 +8905,24 @@
"__id__": 213
},
{
"__id__": 222
},
{
"__id__": 228
"__id__": 216
},
{
"__id__": 2
34
"__id__": 2
19
}
],
"_active": true,
"_components": [
{
"__id__": 2
40
"__id__": 2
22
},
{
"__id__": 2
41
"__id__": 2
23
}
],
"_prefab": null,
"_prefab": {
"__id__": 224
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -8931,8 +8933,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
92
0,
"height": 1
08
0
"width": 1
5
0,
"height": 1
5
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -8944,7 +8946,7 @@
"ctor": "Float64Array",
"array": [
0,
0
,
415
,
0,
0,
0,
...
...
@@ -8966,32 +8968,25 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
4c1DE4GctO5LHa3XnfXTGm
"
"_id": "
68mbAv3dpCNrvPmvk+4DGy
"
},
{
"__type__": "cc.Node",
"_name": "
voice
",
"_name": "
p1
",
"_objFlags": 0,
"_parent": {
"__id__": 212
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 214
},
{
"__id__": 216
},
{
"__id__": 218
},
{
"__id__": 220
}
],
"_
active": false,
"_components": [],
"_prefab": null
,
"_
prefab": {
"__id__": 215
}
,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -9002,8 +8997,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
0
,
"height":
0
"width":
106
,
"height":
106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -9037,95 +9032,57 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
47lFPX21xIqYmFJXXRdLGI
"
"_id": "
83WbEBKh5DXq0Cq0dHNF4i
"
},
{
"__type__": "cc.
Nod
e",
"_name": "
excellent
",
"__type__": "cc.
Sprit
e",
"_name": "",
"_objFlags": 0,
"
_parent
": {
"
node
": {
"__id__": 213
},
"_children": [],
"_active": true,
"_components": [
"_enabled": true,
"_materials": [
{
"__
id__": 215
"__
uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5d6944d6-a8e5-4fb1-8a51-398599119594"
},
"_anchorPoint": {
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__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
"y": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b8BueIRvRAmpCLETnn0+w6"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3d6WqmFcZKx7vOZ/+O7diT"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 214
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 212
},
"_enabled": true,
"_clip": {
"__uuid__": "bafa4c84-01c2-4d6c-8343-745066eed098"
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "b8pk1tOnxIVodwfQWmf50x"
"fileId": "b2AVtPfI1H8rsYBg+57NsK",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "
good
",
"_name": "
p3
",
"_objFlags": 0,
"_parent": {
"__id__": 21
3
"__id__": 21
2
},
"_children": [],
"_active": true,
...
...
@@ -9134,7 +9091,9 @@
"__id__": 217
}
],
"_prefab": null,
"_prefab": {
"__id__": 218
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -9145,8 +9104,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
0
,
"height":
0
"width":
106
,
"height":
106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -9180,42 +9139,68 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "2
bwP97MbBDkoGtW2sFKlwU
"
"_id": "2
8YuDHvNNLAoLdgwX+3LKc
"
},
{
"__type__": "cc.
AudioSourc
e",
"__type__": "cc.
Sprit
e",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 216
},
"_enabled": true,
"_clip": {
"__uuid__": "78f18bf7-e329-4386-aaee-1b6737fe5a03"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "422c2578-4308-4ecb-b662-e6f8ac2f7012"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "4fzzqAbv1EgoWBNohOpWrd"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "75/yam/XZMtoNkfRY59osQ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 212
},
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"fileId": "28xDtc6+BJ74MCN73DdTk4",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "
tryagain
",
"_name": "
p2
",
"_objFlags": 0,
"_parent": {
"__id__": 21
3
"__id__": 21
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
19
"__id__": 2
20
}
],
"_prefab": null,
"_prefab": {
"__id__": 221
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -9226,8 +9211,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
0
,
"height":
0
"width":
106
,
"height":
106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -9261,56 +9246,520 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
e88sOqSFNHEqlnJuOUhmn/
"
"_id": "
22fOqv5p5LFI10D6mGlaQT
"
},
{
"__type__": "cc.
AudioSourc
e",
"__type__": "cc.
Sprit
e",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
8
"__id__": 21
9
},
"_enabled": true,
"_clip": {
"__uuid__": "3796b67a-a501-40dc-a1b1-8ea234651d9e"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "61EQoUr5ZP0rd/SaAuUug/"
},
{
"__type__": "cc.Node",
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 213
},
"_children": [],
"_active": true,
"_components": [
"_materials": [
{
"__
id__": 221
"__
uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d1a502ee-14cf-4c20-95e9-e8132e334e85"
},
"_anchorPoint": {
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ebFgzHRdRJqad4l9d8RA/B"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 212
},
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"fileId": "3bzotBPcdH6KRt6Og7x6F9",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 212
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 885,
"_right": 0,
"_top": 50,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "f3sJg9pFNOBpXxNRuya8vC"
},
{
"__type__": "8fa11v2FMRF5aYUQ2xw3/ss",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 212
},
"_enabled": true,
"_id": "edfvcnA0dCEZYBBL9NMotO"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 212
},
"asset": {
"__uuid__": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layer_right",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 226
},
{
"__id__": 235
},
{
"__id__": 241
},
{
"__id__": 247
}
],
"_active": true,
"_components": [
{
"__id__": 253
},
{
"__id__": 254
}
],
"_prefab": null,
"_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": "4c1DE4GctO5LHa3XnfXTGm"
},
{
"__type__": "cc.Node",
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 225
},
"_children": [
{
"__id__": 227
},
{
"__id__": 229
},
{
"__id__": 231
},
{
"__id__": 233
}
],
"_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": "47lFPX21xIqYmFJXXRdLGI"
},
{
"__type__": "cc.Node",
"_name": "excellent",
"_objFlags": 0,
"_parent": {
"__id__": 226
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 228
}
],
"_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": "b8BueIRvRAmpCLETnn0+w6"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 227
},
"_enabled": true,
"_clip": {
"__uuid__": "bafa4c84-01c2-4d6c-8343-745066eed098"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "b8pk1tOnxIVodwfQWmf50x"
},
{
"__type__": "cc.Node",
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__": 226
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 230
}
],
"_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": "2bwP97MbBDkoGtW2sFKlwU"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 229
},
"_enabled": true,
"_clip": {
"__uuid__": "78f18bf7-e329-4386-aaee-1b6737fe5a03"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "4fzzqAbv1EgoWBNohOpWrd"
},
{
"__type__": "cc.Node",
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 226
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 232
}
],
"_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": "e88sOqSFNHEqlnJuOUhmn/"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 231
},
"_enabled": true,
"_clip": {
"__uuid__": "3796b67a-a501-40dc-a1b1-8ea234651d9e"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "61EQoUr5ZP0rd/SaAuUug/"
},
{
"__type__": "cc.Node",
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 226
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 234
}
],
"_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
...
...
@@ -9349,7 +9798,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
20
"__id__": 2
33
},
"_enabled": true,
"_clip": {
...
...
@@ -9368,20 +9817,20 @@
"_name": "layout_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 2
12
"__id__": 2
25
},
"_children": [
{
"__id__": 2
23
"__id__": 2
36
},
{
"__id__": 2
25
"__id__": 2
38
}
],
"_active": false,
"_components": [
{
"__id__": 2
27
"__id__": 2
40
}
],
"_prefab": null,
...
...
@@ -9437,13 +9886,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
22
"__id__": 2
35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
24
"__id__": 2
37
}
],
"_prefab": null,
...
...
@@ -9499,7 +9948,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
23
"__id__": 2
36
},
"_enabled": true,
"_materials": [
...
...
@@ -9531,13 +9980,13 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 2
22
"__id__": 2
35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
26
"__id__": 2
39
}
],
"_prefab": null,
...
...
@@ -9593,7 +10042,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
25
"__id__": 2
38
},
"_enabled": true,
"_materials": [
...
...
@@ -9633,7 +10082,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
22
"__id__": 2
35
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -9660,20 +10109,20 @@
"_name": "layout_good",
"_objFlags": 0,
"_parent": {
"__id__": 2
12
"__id__": 2
25
},
"_children": [
{
"__id__": 2
29
"__id__": 2
42
},
{
"__id__": 2
31
"__id__": 2
44
}
],
"_active": false,
"_components": [
{
"__id__": 2
33
"__id__": 2
46
}
],
"_prefab": null,
...
...
@@ -9729,13 +10178,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
28
"__id__": 2
41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
30
"__id__": 2
43
}
],
"_prefab": null,
...
...
@@ -9791,7 +10240,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
29
"__id__": 2
42
},
"_enabled": true,
"_materials": [
...
...
@@ -9823,13 +10272,13 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 2
28
"__id__": 2
41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
32
"__id__": 2
45
}
],
"_prefab": null,
...
...
@@ -9885,7 +10334,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
31
"__id__": 2
44
},
"_enabled": true,
"_materials": [
...
...
@@ -9925,7 +10374,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
28
"__id__": 2
41
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -9952,20 +10401,20 @@
"_name": "layout_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 2
12
"__id__": 2
25
},
"_children": [
{
"__id__": 2
35
"__id__": 2
48
},
{
"__id__": 2
37
"__id__": 2
50
}
],
"_active": false,
"_components": [
{
"__id__": 2
39
"__id__": 2
52
}
],
"_prefab": null,
...
...
@@ -10021,13 +10470,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
34
"__id__": 2
47
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
36
"__id__": 2
49
}
],
"_prefab": null,
...
...
@@ -10083,7 +10532,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
35
"__id__": 2
48
},
"_enabled": true,
"_materials": [
...
...
@@ -10115,13 +10564,13 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 2
34
"__id__": 2
47
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
38
"__id__": 2
51
}
],
"_prefab": null,
...
...
@@ -10177,7 +10626,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
37
"__id__": 2
50
},
"_enabled": true,
"_materials": [
...
...
@@ -10217,7 +10666,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
34
"__id__": 2
47
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -10244,7 +10693,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
12
"__id__": 2
25
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -10271,7 +10720,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
12
"__id__": 2
25
},
"_enabled": true,
"_id": "376KYjCnBLh5CgFYxTLhAX"
...
...
@@ -10285,20 +10734,20 @@
},
"_children": [
{
"__id__": 2
43
"__id__": 2
56
},
{
"__id__": 2
58
"__id__": 2
71
}
],
"_active": true,
"_components": [
{
"__id__": 2
63
"__id__": 2
76
}
],
"_prefab": {
"__id__": 2
64
"__id__": 2
77
},
"_opacity": 255,
"_color": {
...
...
@@ -10352,30 +10801,30 @@
"_name": "layout_center",
"_objFlags": 0,
"_parent": {
"__id__": 2
42
"__id__": 2
55
},
"_children": [
{
"__id__": 2
44
"__id__": 2
57
},
{
"__id__": 2
47
"__id__": 2
60
},
{
"__id__": 2
50
"__id__": 2
63
},
{
"__id__": 2
53
"__id__": 2
66
}
],
"_active": false,
"_components": [
{
"__id__": 2
56
"__id__": 2
69
}
],
"_prefab": {
"__id__": 2
57
"__id__": 2
70
},
"_opacity": 255,
"_color": {
...
...
@@ -10429,17 +10878,17 @@
"_name": "bg_gray",
"_objFlags": 0,
"_parent": {
"__id__": 2
43
"__id__": 2
56
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
45
"__id__": 2
58
}
],
"_prefab": {
"__id__": 2
46
"__id__": 2
59
},
"_opacity": 102,
"_color": {
...
...
@@ -10493,7 +10942,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
44
"__id__": 2
57
},
"_enabled": true,
"_materials": [
...
...
@@ -10523,7 +10972,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -10536,17 +10985,17 @@
"_name": "aniNode1",
"_objFlags": 0,
"_parent": {
"__id__": 2
43
"__id__": 2
56
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 2
48
"__id__": 2
61
}
],
"_prefab": {
"__id__": 2
49
"__id__": 2
62
},
"_opacity": 255,
"_color": {
...
...
@@ -10600,7 +11049,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
47
"__id__": 2
60
},
"_enabled": true,
"_materials": [
...
...
@@ -10638,7 +11087,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -10651,17 +11100,17 @@
"_name": "aniNode2",
"_objFlags": 0,
"_parent": {
"__id__": 2
43
"__id__": 2
56
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 2
51
"__id__": 2
64
}
],
"_prefab": {
"__id__": 2
52
"__id__": 2
65
},
"_opacity": 255,
"_color": {
...
...
@@ -10715,7 +11164,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
50
"__id__": 2
63
},
"_enabled": true,
"_materials": [
...
...
@@ -10753,7 +11202,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -10766,17 +11215,17 @@
"_name": "aniNode3",
"_objFlags": 0,
"_parent": {
"__id__": 2
43
"__id__": 2
56
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 2
54
"__id__": 2
67
}
],
"_prefab": {
"__id__": 2
55
"__id__": 2
68
},
"_opacity": 255,
"_color": {
...
...
@@ -10830,7 +11279,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
53
"__id__": 2
66
},
"_enabled": true,
"_materials": [
...
...
@@ -10868,7 +11317,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -10881,7 +11330,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
43
"__id__": 2
56
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -10906,7 +11355,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -10919,17 +11368,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
42
"__id__": 2
55
},
"_children": [
{
"__id__": 2
59
"__id__": 2
72
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 2
62
"__id__": 2
75
},
"_opacity": 255,
"_color": {
...
...
@@ -10983,17 +11432,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 2
58
"__id__": 2
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
60
"__id__": 2
73
}
],
"_prefab": {
"__id__": 2
61
"__id__": 2
74
},
"_opacity": 255,
"_color": {
...
...
@@ -11047,7 +11496,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
59
"__id__": 2
72
},
"_enabled": true,
"_clip": {
...
...
@@ -11064,7 +11513,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -11075,7 +11524,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -11088,7 +11537,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
42
"__id__": 2
55
},
"_enabled": true,
"_id": "1di1aYEUVDr65Qsdr0q+WQ"
...
...
@@ -11096,7 +11545,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
42
"__id__": 2
55
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
...
@@ -11113,20 +11562,20 @@
},
"_children": [
{
"__id__": 2
66
"__id__": 2
79
},
{
"__id__":
297
"__id__":
310
}
],
"_active": true,
"_components": [
{
"__id__": 3
02
"__id__": 3
15
}
],
"_prefab": {
"__id__": 3
03
"__id__": 3
16
},
"_opacity": 255,
"_color": {
...
...
@@ -11180,35 +11629,35 @@
"_name": "layer_center",
"_objFlags": 0,
"_parent": {
"__id__": 2
65
"__id__": 2
78
},
"_children": [
{
"__id__": 2
67
"__id__": 2
80
},
{
"__id__": 2
70
"__id__": 2
83
},
{
"__id__": 2
72
"__id__": 2
85
},
{
"__id__": 2
75
"__id__": 2
88
},
{
"__id__": 2
78
"__id__": 2
91
},
{
"__id__": 2
81
"__id__": 2
94
},
{
"__id__": 2
84
"__id__": 2
97
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__":
296
"__id__":
309
},
"_opacity": 255,
"_color": {
...
...
@@ -11262,17 +11711,17 @@
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 2
66
"__id__": 2
79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
68
"__id__": 2
81
}
],
"_prefab": {
"__id__": 2
69
"__id__": 2
82
},
"_opacity": 102,
"_color": {
...
...
@@ -11326,7 +11775,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
67
"__id__": 2
80
},
"_enabled": true,
"_materials": [
...
...
@@ -11356,7 +11805,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -11369,13 +11818,13 @@
"_name": "layer_middle",
"_objFlags": 0,
"_parent": {
"__id__": 2
66
"__id__": 2
79
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 2
71
"__id__": 2
84
},
"_opacity": 255,
"_color": {
...
...
@@ -11427,7 +11876,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -11440,17 +11889,17 @@
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 2
66
"__id__": 2
79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
73
"__id__": 2
86
}
],
"_prefab": {
"__id__": 2
74
"__id__": 2
87
},
"_opacity": 255,
"_color": {
...
...
@@ -11504,7 +11953,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
72
"__id__": 2
85
},
"_enabled": true,
"_materials": [
...
...
@@ -11534,7 +11983,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -11547,17 +11996,17 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__": 2
66
"__id__": 2
79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
76
"__id__": 2
89
}
],
"_prefab": {
"__id__": 2
77
"__id__": 2
90
},
"_opacity": 255,
"_color": {
...
...
@@ -11611,7 +12060,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
75
"__id__": 2
88
},
"_enabled": true,
"_materials": [
...
...
@@ -11641,7 +12090,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -11654,17 +12103,17 @@
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 2
66
"__id__": 2
79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
79
"__id__": 2
92
}
],
"_prefab": {
"__id__": 2
80
"__id__": 2
93
},
"_opacity": 255,
"_color": {
...
...
@@ -11718,7 +12167,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
78
"__id__": 2
91
},
"_enabled": true,
"_materials": [
...
...
@@ -11756,7 +12205,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -11769,17 +12218,17 @@
"_name": "next_btn",
"_objFlags": 0,
"_parent": {
"__id__": 2
66
"__id__": 2
79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
82
"__id__": 2
95
}
],
"_prefab": {
"__id__": 2
83
"__id__": 2
96
},
"_opacity": 255,
"_color": {
...
...
@@ -11833,7 +12282,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
81
"__id__": 2
94
},
"_enabled": true,
"_materials": [
...
...
@@ -11863,7 +12312,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -11876,27 +12325,27 @@
"_name": "finish_box",
"_objFlags": 0,
"_parent": {
"__id__": 2
66
"__id__": 2
79
},
"_children": [
{
"__id__": 2
85
"__id__": 2
98
},
{
"__id__":
288
"__id__":
301
},
{
"__id__":
291
"__id__":
304
}
],
"_active": true,
"_components": [
{
"__id__":
294
"__id__":
307
}
],
"_prefab": {
"__id__":
295
"__id__":
308
},
"_opacity": 255,
"_color": {
...
...
@@ -11950,17 +12399,17 @@
"_name": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 2
84
"__id__": 2
97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
86
"__id__": 2
99
}
],
"_prefab": {
"__id__":
287
"__id__":
300
},
"_opacity": 255,
"_color": {
...
...
@@ -12014,7 +12463,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
85
"__id__": 2
98
},
"_enabled": true,
"_materials": [
...
...
@@ -12045,7 +12494,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -12058,17 +12507,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 2
84
"__id__": 2
97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
289
"__id__":
302
}
],
"_prefab": {
"__id__":
290
"__id__":
303
},
"_opacity": 255,
"_color": {
...
...
@@ -12122,7 +12571,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
288
"__id__":
301
},
"_enabled": true,
"_materials": [
...
...
@@ -12152,7 +12601,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -12165,17 +12614,17 @@
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 2
84
"__id__": 2
97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
292
"__id__":
305
}
],
"_prefab": {
"__id__":
293
"__id__":
306
},
"_opacity": 255,
"_color": {
...
...
@@ -12229,7 +12678,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
291
"__id__":
304
},
"_enabled": true,
"_materials": [
...
...
@@ -12260,7 +12709,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -12273,7 +12722,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
84
"__id__": 2
97
},
"_enabled": true,
"_materials": [
...
...
@@ -12303,7 +12752,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -12314,7 +12763,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -12327,17 +12776,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
65
"__id__": 2
78
},
"_children": [
{
"__id__":
298
"__id__":
311
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 3
01
"__id__": 3
14
},
"_opacity": 255,
"_color": {
...
...
@@ -12391,17 +12840,17 @@
"_name": "ending",
"_objFlags": 0,
"_parent": {
"__id__":
297
"__id__":
310
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
299
"__id__":
312
}
],
"_prefab": {
"__id__": 3
00
"__id__": 3
13
},
"_opacity": 255,
"_color": {
...
...
@@ -12455,7 +12904,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
298
"__id__":
311
},
"_enabled": true,
"_clip": {
...
...
@@ -12472,7 +12921,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -12483,7 +12932,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
@@ -12496,7 +12945,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
65
"__id__": 2
78
},
"_enabled": true,
"_id": "dfs3pqjvRPPr+plIwEelgZ"
...
...
@@ -12504,7 +12953,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
65
"__id__": 2
78
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
assets/hy07_tiankong/scene/hy07_tiankong.ts
View file @
97285f9a
...
...
@@ -115,8 +115,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
event
.
on
(
"
layer_record_score
"
,
(
score
)
=>
{
});
pg
.
event
.
on
(
'
npc_voice_play_voice_end
'
,
()
=>
{
pg
.
event
.
on
(
'
npc_voice_play_voice_end
'
,
async
()
=>
{
asyncDelay
(
0.3
);
this
.
playQuestAudio
();
})
pg
.
event
.
emit
(
'
npc_layer_back_init
'
,
this
.
data
)
...
...
@@ -149,6 +150,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
pic_light
=
cc
.
find
(
"
pic_light
"
,
node
.
parent
);
if
(
pic_light
)
pic_light
.
active
=
false
;
});
cc
.
find
(
"
img_voice
"
,
this
.
node
).
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
()
=>
{
this
.
playQuestAudio
();
})
}
sendData
(
score
)
{
...
...
@@ -175,11 +179,25 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
initData
();
this
.
initView
();
}
private
playQuestAudio
()
{
cc
.
audioEngine
.
stopAllEffects
();
let
question
=
Game
.
getIns
().
getCurrentPage
();
if
(
question
.
audioUrl
!=
""
)
{
pg
.
event
.
emit
(
"
img_voice_play_voice_start
"
);
pg
.
audio
.
playAudioByUrl
(
question
.
audioUrl
).
then
(
async
()
=>
{
this
.
isClick
=
true
;
pg
.
event
.
emit
(
"
img_voice_play_voice_end
"
);
})
}
else
{
this
.
isClick
=
true
;
}
}
private
playOpAudio
()
{
let
question
=
Game
.
getIns
().
getCurrentPage
();
if
(
question
.
audioUrl
!=
""
)
{
pg
.
event
.
emit
(
"
img_voice_play_voice_start
"
);
pg
.
audio
.
playAudioByUrl
(
question
.
audioUrl
).
then
(
async
()
=>
{
pg
.
event
.
emit
(
"
img_voice_play_voice_end
"
);
await
asyncDelay
(
0.5
);
pg
.
event
.
emit
(
"
layer_right_show_excellent
"
);
})
...
...
@@ -294,7 +312,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
await
asyncDelay
(
0.03
);
box_up
.
active
=
isBig
;
this
.
isClick
=
true
;
if
(
isBig
&&
this
.
layout_up
.
width
<
this
.
layout_down
.
width
)
{
this
.
layout_up
.
getComponent
(
cc
.
Layout
).
enabled
=
false
;
this
.
layout_up
.
width
=
this
.
layout_down
.
width
;
...
...
assets/hy07_tiankong/script/defaultData_hy07_tiankong.ts
View file @
97285f9a
...
...
@@ -24,8 +24,8 @@ export const defaultData = {
"
check
"
:
1
}
],
"
audio
"
:
""
,
//
"audio": "http://staging-teach.cdn.ireadabc.com/83268f4def70e408cf9243bc214592b6_l.mp3",
//
"audio": "",
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/83268f4def70e408cf9243bc214592b6_l.mp3
"
,
"
contentMain
"
:
"
what is
\n
your name?
"
,
"
text
"
:
""
,
"
audioName
"
:
"
bear_1.mp3
"
...
...
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