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
0fa4f01c
Commit
0fa4f01c
authored
Jun 27, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
效果调整
parent
c3b52237
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1174 additions
and
200 deletions
+1174
-200
layer_ending_hy17_hds.ts
assets/hy17_hds/common/layer_ending/layer_ending_hy17_hds.ts
+4
-4
hy17_hds.fire
assets/hy17_hds/scene/hy17_hds.fire
+1159
-195
hy17_hds.ts
assets/hy17_hds/scene/hy17_hds.ts
+11
-1
No files found.
assets/hy17_hds/common/layer_ending/layer_ending_hy17_hds.ts
View file @
0fa4f01c
...
@@ -21,13 +21,13 @@ export default class LayerEnding extends cc.Component {
...
@@ -21,13 +21,13 @@ export default class LayerEnding extends cc.Component {
this
.
next_btn
=
pg
.
view
.
find
(
this
.
layer_center
,
"
next_btn
"
)
this
.
next_btn
=
pg
.
view
.
find
(
this
.
layer_center
,
"
next_btn
"
)
pg
.
view
.
touchOn
(
this
.
replay_btn
,
this
.
onTouchReplay
,
this
)
pg
.
view
.
touchOn
(
this
.
replay_btn
,
this
.
onTouchReplay
,
this
)
pg
.
view
.
touchOn
(
this
.
next_btn
,
this
.
onTouchNext
,
this
)
pg
.
view
.
touchOn
(
this
.
next_btn
,
this
.
onTouchNext
,
this
)
pg
.
event
.
on
(
'
layer_ending_show
'
,
()
=>
{
pg
.
event
.
on
(
'
layer_ending_show
'
,
(
data
)
=>
{
this
.
showLayer
();
this
.
showLayer
(
data
);
})
})
}
}
showLayer
()
{
showLayer
(
data
)
{
pg
.
view
.
visible
(
this
.
layer_center
,
true
)
pg
.
view
.
visible
(
this
.
layer_center
,
true
)
pg
.
view
.
setString
(
pg
.
view
.
find
(
this
,
'
coin_num
'
),
'
X3
'
);
pg
.
view
.
setString
(
pg
.
view
.
find
(
this
.
layer_center
,
'
finish_box/coin_num
'
),
'
X
'
+
data
.
coin
);
let
finish_cat
=
pg
.
view
.
find
(
this
.
layer_center
,
"
finish_cat
"
)
let
finish_cat
=
pg
.
view
.
find
(
this
.
layer_center
,
"
finish_cat
"
)
pg
.
view
.
playDBAnimation
(
finish_cat
,
"
finish
"
,
1
);
pg
.
view
.
playDBAnimation
(
finish_cat
,
"
finish
"
,
1
);
...
...
assets/hy17_hds/scene/hy17_hds.fire
View file @
0fa4f01c
...
@@ -81,19 +81,22 @@
...
@@ -81,19 +81,22 @@
"__id__": 84
"__id__": 84
},
},
{
{
"__id__": 105
"__id__": 118
},
{
"__id__": 139
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
21
"__id__": 1
55
},
},
{
{
"__id__": 1
22
"__id__": 1
56
},
},
{
{
"__id__": 1
23
"__id__": 1
57
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3106,8 +3109,8 @@
...
@@ -3106,8 +3109,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 11
5
0,
"width": 11
0
0,
"height": 2
5
0
"height": 2
2
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -3162,7 +3165,7 @@
...
@@ -3162,7 +3165,7 @@
"_N$string": "While there is life there is hope",
"_N$string": "While there is life there is hope",
"_fontSize": 170,
"_fontSize": 170,
"_lineHeight": 170,
"_lineHeight": 170,
"_enableWrapText":
tru
e,
"_enableWrapText":
fals
e,
"_N$file": {
"_N$file": {
"__uuid__": "e76aff25-445c-4315-8509-23d42bef3d57"
"__uuid__": "e76aff25-445c-4315-8509-23d42bef3d57"
},
},
...
@@ -3997,7 +4000,7 @@
...
@@ -3997,7 +4000,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "layer_
finish
",
"_name": "layer_
ending_hy17_hds
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
...
@@ -4005,29 +4008,17 @@
...
@@ -4005,29 +4008,17 @@
"_children": [
"_children": [
{
{
"__id__": 85
"__id__": 85
},
}
{
],
"__id__": 87
"_active": true,
},
"_components": [
{
"__id__": 89
},
{
"__id__": 91
},
{
"__id__": 93
},
{
"__id__": 95
},
{
{
"__id__":
97
"__id__":
116
}
}
],
],
"_
active": false,
"_
prefab": {
"_components": [],
"__id__": 117
"_prefab": null
,
}
,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4073,23 +4064,43 @@
...
@@ -4073,23 +4064,43 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
68dYu8KqBIroGxDJ3jRt73
"
"_id": "
7eAmMAqa9EAZUzeHURRs2D
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
finish_view
",
"_name": "
layer_center
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 84
"__id__": 84
},
},
"_children": [],
"_children": [
"_active": false,
"_components": [
{
{
"__id__": 86
"__id__": 86
},
{
"__id__": 89
},
{
"__id__": 91
},
{
"__id__": 94
},
{
"__id__": 97
},
{
"__id__": 100
},
{
"__id__": 103
}
}
],
],
"_prefab": null,
"_active": false,
"_components": [],
"_prefab": {
"__id__": 115
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4100,8 +4111,8 @@
...
@@ -4100,8 +4111,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
192
0,
"width": 0,
"height":
108
0
"height": 0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4135,53 +4146,25 @@
...
@@ -4135,53 +4146,25 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "c0h4KilVhF+aJh+zbZl9Mr"
"_id": "f5KC0nFvxBRprckbExAaOO"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "bdBQKFFgBCYK9tvJODgoK5"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "gray_cover",
"_name": "gray_cover",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
4
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
8
"__id__": 8
7
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 88
},
"_opacity": 102,
"_opacity": 102,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4227,14 +4210,14 @@
...
@@ -4227,14 +4210,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
29VU/wGmpDiKTa/IsjXask
"
"_id": "
1dIiMS/T1CerRb2cwIHFXE
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
7
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4259,23 +4242,107 @@
...
@@ -4259,23 +4242,107 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "68aVGU3n5AcqKLsHaJEajA"
"_id": "68YkoP99NKjaI89TfP3Geu"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "1cfNdHF9FH3KbwZyC/Rw6p",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_light
",
"_name": "
layer_middle
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 90
},
"_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": "57mqIUWyRMb6W9+O9yxtNc"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
"__id__": 84
},
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "05udCU1VdI/agyYkkywj7D",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 85
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
0
"__id__": 9
2
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 93
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4286,8 +4353,8 @@
...
@@ -4286,8 +4353,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
104
,
"width": 1
53
,
"height": 1
109
"height": 1
53
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4298,8 +4365,8 @@
...
@@ -4298,8 +4365,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
23.467
,
-
500.013
,
-
16.761
,
-
340.145
,
0,
0,
0,
0,
0,
0,
...
@@ -4321,14 +4388,14 @@
...
@@ -4321,14 +4388,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
9fmv9PiPFLa4gt+URxY6Ci
"
"_id": "
d8Hogu6fFIErHeJd+mHecQ
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
89
"__id__":
91
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4339,7 +4406,7 @@
...
@@ -4339,7 +4406,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
25fb3f92-bcc7-4131-9799-223ffe697b15
"
"__uuid__": "
1b782eab-25d2-4314-b83a-258f7e4d7ea4
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -4353,23 +4420,36 @@
...
@@ -4353,23 +4420,36 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "0bE43hmTRKkoTVHDNBTi0E"
"_id": "85Rnk2+AJKU5eOFvwJrteP"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "64JkLZPOJB45Eawytu4dgS",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
replay_btn
",
"_name": "
bg_light
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
4
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
2
"__id__": 9
5
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 96
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4380,8 +4460,8 @@
...
@@ -4380,8 +4460,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
53
,
"width": 1
104
,
"height": 1
53
"height": 1
109
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4392,8 +4472,8 @@
...
@@ -4392,8 +4472,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-500.013
,
0
,
-340.145
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -4415,14 +4495,14 @@
...
@@ -4415,14 +4495,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
797JaIw8RHnI1Uyn49alTD
"
"_id": "
d0ufcp3klBhrfmN14DlMXY
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
1
"__id__": 9
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4433,7 +4513,7 @@
...
@@ -4433,7 +4513,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
1b782eab-25d2-4314-b83a-258f7e4d7ea4
"
"__uuid__": "
25fb3f92-bcc7-4131-9799-223ffe697b15
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -4447,23 +4527,36 @@
...
@@ -4447,23 +4527,36 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "9anlB4U3hMep+lkN85wb/J"
"_id": "54WZL5CPJN87MfHuvv/k2P"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "06ZiT3YYpCj6mdNSxdYMvD",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "finish_cat",
"_name": "finish_cat",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
4
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
4
"__id__": 9
8
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 99
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4509,14 +4602,14 @@
...
@@ -4509,14 +4602,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
11rRxH0PhKR6lS7UQUDp9r
"
"_id": "
99ORosNsZHm5L0GLAHfQEY
"
},
},
{
{
"__type__": "dragonBones.ArmatureDisplay",
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
3
"__id__": 9
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4549,23 +4642,36 @@
...
@@ -4549,23 +4642,36 @@
"_N$timeScale": 1,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$debugBones": false,
"_N$enableBatch": false,
"_N$enableBatch": false,
"_id": "c2/S1O7EtNv65xpW70fYEX"
"_id": "45Ny1sXjpOgLYKQcVwgc0B"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "15OJA0Q/JIlJbDN8f4ukZN",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "next_btn",
"_name": "next_btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
4
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
96
"__id__":
101
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 102
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4611,14 +4717,14 @@
...
@@ -4611,14 +4717,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
b2SgRMNuNLwpbmEYNoG8MB
"
"_id": "
13fR5ihv9Cb5uGUBmoyKHU
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
95
"__id__":
100
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4643,33 +4749,802 @@
...
@@ -4643,33 +4749,802 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "23Cg/lkZlKiKFBQY4kDgWh"
"_id": "aeSNEGePtMeI7/sXO1KQzT"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "e68b5eJphElLrpxtQEdyxG",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "finish_box",
"_name": "finish_box",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
4
"__id__": 8
5
},
},
"_children": [
"_children": [
{
{
"__id__":
98
"__id__":
104
},
},
{
{
"__id__": 10
0
"__id__": 10
7
},
},
{
{
"__id__": 1
02
"__id__": 1
10
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
04
"__id__": 1
13
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 114
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 714,
"height": 166
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-204,
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": "e1L8BULfxJsqf4nrfEcuNB"
},
{
"__type__": "cc.Node",
"_name": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 105
}
],
"_prefab": {
"__id__": 106
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 252,
"b": 232,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 221.4,
"height": 56.7
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-88,
10,
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": "7eeFQvTYtPM6dSi/H7KjbD"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "恭喜你获得",
"_N$string": "恭喜你获得",
"_fontSize": 45,
"_lineHeight": 45,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "e76aff25-445c-4315-8509-23d42bef3d57"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "7cy2T+PCBMU4K4PsRmybrP"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "eaTaVhDcBEkqwz8ACtP7x3",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 108
}
],
"_prefab": {
"__id__": 109
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 67,
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
83,
10,
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": "b7WvpTH7ZHVZx8x1AlCfK9"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4c1488d1-d283-4f03-864e-742eedadf6d9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "93z0jcdBpI6Z0WUMMTZQwX"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "13IYbTThlC5rDXn6k7swYV",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 111
}
],
"_prefab": {
"__id__": 112
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 252,
"b": 232,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55.04,
"height": 56.7
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
130.345,
10,
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": "02rSaZxsJP8JR65yVhaPOG"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "X5",
"_N$string": "X5",
"_fontSize": 45,
"_lineHeight": 45,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9daHFeeMBG2YS5CCdRY6R6"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "52Z0lpksxE1JprOrhHgdow",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3180f64c-6ecd-455f-8a3d-3be96921ca7b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6atDmmq1RIiqpP9EadC/yu"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "911Shrt8NB/ZWFA9u7l/SL",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "7cG7U7lH9Ie5/sK83LZUCP",
"sync": false
},
{
"__type__": "8aa900+eYBD775dNwfvQqgE",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_id": "cfHFUZnfJNHbbpeiyDx+Ym"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 84
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layer_back_hy17_hds",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 119
},
{
"__id__": 124
}
],
"_active": true,
"_components": [
{
"__id__": 136
},
{
"__id__": 137
}
],
"_prefab": {
"__id__": 138
},
"_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": "86+2LZ5yFJdYc8noxLXZZc"
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 118
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 120
},
{
"__id__": 121
},
{
"__id__": 122
}
],
"_prefab": {
"__id__": 123
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 189,
"height": 117
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-804.917,
439.747,
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": "21YHtxQk5BXrq6QcXidteH"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "92327074-92fd-4d4a-a8aa-32f7ed514ab1"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c3bqF0RjRILKCBZFAa/4aq"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "13zYQXNMhLRJ3fftkccK4B"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 60.58299999999997,
"_right": 0,
"_top": 41.752999999999986,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "f9dcRi2RNGkLa4h3Cpoy/G"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 118
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "61ulP3c3dDLb+4SfgnWK1F",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "img_npc_voice",
"_objFlags": 0,
"_parent": {
"__id__": 118
},
"_children": [
{
"__id__": 125
},
{
"__id__": 128
},
{
"__id__": 131
}
],
"_active": true,
"_components": [
{
"__id__": 134
}
],
"_prefab": {
"__id__": 135
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4680,8 +5555,8 @@
...
@@ -4680,8 +5555,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
714
,
"width":
0
,
"height":
166
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4692,8 +5567,8 @@
...
@@ -4692,8 +5567,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-638.532
,
-204
,
437.61
,
0,
0,
0,
0,
0,
0,
...
@@ -4715,35 +5590,37 @@
...
@@ -4715,35 +5590,37 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
e1eW7YcodKVqPhnVKTTnr9
"
"_id": "
b023TwkgNOPp47O5HFOfLa
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
result_text
",
"_name": "
p1
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
97
"__id__":
124
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
99
"__id__":
126
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 127
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g": 25
2
,
"g": 25
5
,
"b": 2
32
,
"b": 2
55
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
221.4
,
"width":
68
,
"height":
56.7
"height":
70
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4754,8 +5631,8 @@
...
@@ -4754,8 +5631,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
88
,
-
10.611
,
1
0,
0,
0,
0,
0,
0,
0,
0,
...
@@ -4777,14 +5654,14 @@
...
@@ -4777,14 +5654,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
699GfsCeFNQZ6yL6i6qvHU
"
"_id": "
07EIp9sT9LA6Bca+SjQani
"
},
},
{
{
"__type__": "cc.
Label
",
"__type__": "cc.
Sprite
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
125
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4794,41 +5671,51 @@
...
@@ -4794,41 +5671,51 @@
],
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_string": "恭喜你获得",
"_spriteFrame": {
"_N$string": "恭喜你获得",
"__uuid__": "5d214bcc-ae6a-48b2-8e3e-693089d66911"
"_fontSize": 45,
"_lineHeight": 45,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "e76aff25-445c-4315-8509-23d42bef3d57"
},
},
"_isSystemFontUsed": false,
"_type": 0,
"_spacingX": 0,
"_sizeMode": 1,
"_batchAsBitmap": false,
"_fillType": 0,
"_styleFlags": 1,
"_fillCenter": {
"_underlineHeight": 0,
"__type__": "cc.Vec2",
"_N$horizontalAlign": 1,
"x": 0,
"_N$verticalAlign": 1,
"y": 0
"_N$fontFamily": "Arial",
},
"_N$overflow": 0,
"_fillStart": 0,
"_N$cacheMode": 0,
"_fillRange": 0,
"_id": "71g6QjM/VFfaMT9B8kXz8m"
"_isTrimmedMode": true,
"_atlas": null,
"_id": "08LbWFKOxL/IJzbOE/fH5W"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 118
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "eeSSmA+sZKe4zFitN7jaL3",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
coin
",
"_name": "
p2
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
97
"__id__":
124
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 1
01
"__id__": 1
29
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 130
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
...
@@ -4839,7 +5726,7 @@
...
@@ -4839,7 +5726,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
67
,
"width":
84
,
"height": 70
"height": 70
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -4851,8 +5738,8 @@
...
@@ -4851,8 +5738,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
83
,
-2.806
,
10
,
-0.005
,
0,
0,
0,
0,
0,
0,
...
@@ -4874,14 +5761,14 @@
...
@@ -4874,14 +5761,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
a5CO8RTElJ55D8ec5NpDk4
"
"_id": "
3faLXcUixNlbhxFfTrfWGe
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
00
"__id__": 1
28
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4892,7 +5779,7 @@
...
@@ -4892,7 +5779,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
4c1488d1-d283-4f03-864e-742eedadf6d9
"
"__uuid__": "
008bbd55-b1e7-4e82-bf54-f6cf40ebb738
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -4906,35 +5793,48 @@
...
@@ -4906,35 +5793,48 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "79U97xOxRHA6sRVSsAth/q"
"_id": "31u8Fet3BIrbCdKxH+nsKA"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 118
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "29QTrf+y1JVa+D/t6K2NFr",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
coin_num
",
"_name": "
p3
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
97
"__id__":
124
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 1
03
"__id__": 1
32
}
}
],
],
"_prefab": null,
"_prefab": {
"__id__": 133
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g": 25
2
,
"g": 25
5
,
"b": 2
32
,
"b": 2
55
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
55.04
,
"width":
95
,
"height":
56.7
"height":
70
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4945,8 +5845,8 @@
...
@@ -4945,8 +5845,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
15
8,
2.
8,
1
0,
0,
0,
0,
0,
0,
0,
0,
...
@@ -4968,47 +5868,14 @@
...
@@ -4968,47 +5868,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "513nsU905FWrGInabiHnyR"
"_id": "ef3MbGdktKO68ALiSd9EMW"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "X5",
"_N$string": "X5",
"_fontSize": 45,
"_lineHeight": 45,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "8b7kF/BdREArzf3xEDKVcs"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
97
"__id__":
131
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5019,7 +5886,7 @@
...
@@ -5019,7 +5886,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
3180f64c-6ecd-455f-8a3d-3be96921ca7b
"
"__uuid__": "
603d0882-deba-4173-8432-b9da5e547d20
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -5033,7 +5900,104 @@
...
@@ -5033,7 +5900,104 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "694IE7RfJDXLCde/mMhSBe"
"_id": "f2kLeqp0NKwZIatWdXeEx1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 118
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "4anvaDTjZFOb9U0HkCAMR2",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 321.46799999999996,
"_right": 0,
"_top": 102.38999999999999,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "99QYWVEEtAWqwVuuB4W5Yc"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 118
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "fft5aHS35DjoYobvKkISue",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_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": "ebCV5coOBMRY9mzGhX5spG"
},
{
"__type__": "7ab71itR/hJz4giCFo5yFB1",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"_id": "83Pdr6PU9BUoRB9BwC31cQ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 118
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -5044,13 +6008,13 @@
...
@@ -5044,13 +6008,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
06
"__id__": 1
40
},
},
{
{
"__id__": 1
09
"__id__": 1
43
},
},
{
{
"__id__": 1
12
"__id__": 1
46
}
}
],
],
"_active": false,
"_active": false,
...
@@ -5108,11 +6072,11 @@
...
@@ -5108,11 +6072,11 @@
"_name": "font",
"_name": "font",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
05
"__id__": 1
39
},
},
"_children": [
"_children": [
{
{
"__id__": 1
07
"__id__": 1
41
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5170,13 +6134,13 @@
...
@@ -5170,13 +6134,13 @@
"_name": "BRLNSDB",
"_name": "BRLNSDB",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
06
"__id__": 1
40
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
08
"__id__": 1
42
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5232,7 +6196,7 @@
...
@@ -5232,7 +6196,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
07
"__id__": 1
41
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -5263,11 +6227,11 @@
...
@@ -5263,11 +6227,11 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
05
"__id__": 1
39
},
},
"_children": [
"_children": [
{
{
"__id__": 1
10
"__id__": 1
44
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5325,13 +6289,13 @@
...
@@ -5325,13 +6289,13 @@
"_name": "icon",
"_name": "icon",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
09
"__id__": 1
43
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
11
"__id__": 1
45
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5387,7 +6351,7 @@
...
@@ -5387,7 +6351,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
10
"__id__": 1
44
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -5415,20 +6379,20 @@
...
@@ -5415,20 +6379,20 @@
"_name": "audio",
"_name": "audio",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
05
"__id__": 1
39
},
},
"_children": [
"_children": [
{
{
"__id__": 1
13
"__id__": 1
47
},
},
{
{
"__id__": 1
15
"__id__": 1
49
},
},
{
{
"__id__": 1
17
"__id__": 1
51
},
},
{
{
"__id__": 1
19
"__id__": 1
53
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5486,13 +6450,13 @@
...
@@ -5486,13 +6450,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
12
"__id__": 1
46
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
14
"__id__": 1
48
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5548,7 +6512,7 @@
...
@@ -5548,7 +6512,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
13
"__id__": 1
47
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5567,13 +6531,13 @@
...
@@ -5567,13 +6531,13 @@
"_name": "show",
"_name": "show",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
12
"__id__": 1
46
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
16
"__id__": 1
50
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5629,7 +6593,7 @@
...
@@ -5629,7 +6593,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
15
"__id__": 1
49
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5648,13 +6612,13 @@
...
@@ -5648,13 +6612,13 @@
"_name": "coin",
"_name": "coin",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
12
"__id__": 1
46
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
18
"__id__": 1
52
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5710,7 +6674,7 @@
...
@@ -5710,7 +6674,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
17
"__id__": 1
51
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5729,13 +6693,13 @@
...
@@ -5729,13 +6693,13 @@
"_name": "over",
"_name": "over",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
12
"__id__": 1
46
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
20
"__id__": 1
54
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5791,7 +6755,7 @@
...
@@ -5791,7 +6755,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
19
"__id__": 1
53
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
...
assets/hy17_hds/scene/hy17_hds.ts
View file @
0fa4f01c
...
@@ -43,6 +43,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -43,6 +43,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
content
:
question
.
text
content
:
question
.
text
}
}
})
})
this
.
sentence_list
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
)
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
)
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
)
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
);
}
}
private
layer_bg
:
cc
.
Node
;
private
layer_bg
:
cc
.
Node
;
...
@@ -79,6 +83,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -79,6 +83,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
initGame
()
{
initGame
()
{
this
.
current
=
-
1
;
this
.
current
=
-
1
;
this
.
sentence_list
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
)
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
)
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
)
.
sort
((
A
,
B
)
=>
Math
.
random
()
-
0.5
);
this
.
initSentence
();
this
.
initSentence
();
}
}
get
currentQuestion
()
{
get
currentQuestion
()
{
...
@@ -312,7 +320,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -312,7 +320,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
gameOver
()
{
gameOver
()
{
pg
.
view
.
visible
(
this
.
sentence_box
,
false
)
pg
.
view
.
visible
(
this
.
sentence_box
,
false
)
pg
.
event
.
emit
(
'
layer_ending_show
'
)
pg
.
event
.
emit
(
'
layer_ending_show
'
,
{
coin
:
this
.
sentence_list
.
length
*
3
})
}
}
}
}
...
...
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