Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy05_pintu
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
hy05_pintu
Commits
5ec68f3c
Commit
5ec68f3c
authored
Jul 09, 2023
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
92a53a1c
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
856 additions
and
471 deletions
+856
-471
LayerBack_hy05_pintu.ts
assets/hy05_pintu/common/layer_back/LayerBack_hy05_pintu.ts
+4
-0
layer_back_hy05_pintu.prefab
...hy05_pintu/common/layer_back/layer_back_hy05_pintu.prefab
+181
-33
layer_coin_hy05_pintu.ts
assets/hy05_pintu/common/layer_coin/layer_coin_hy05_pintu.ts
+1
-0
layer_ending_hy05_pintu.ts
...hy05_pintu/common/layer_ending/layer_ending_hy05_pintu.ts
+1
-0
Candy_hy05_pintu.ts
assets/hy05_pintu/common/script/Candy_hy05_pintu.ts
+7
-3
ImgVoice_hy05_pintu.ts
assets/hy05_pintu/common/script/ImgVoice_hy05_pintu.ts
+1
-0
LayerRecord_hy05_pintu.ts
assets/hy05_pintu/common/script/LayerRecord_hy05_pintu.ts
+1
-0
LayerRight_hy05_pintu.ts
assets/hy05_pintu/common/script/LayerRight_hy05_pintu.ts
+1
-0
Gamehy05_pintu.ts
assets/hy05_pintu/scene/Gamehy05_pintu.ts
+40
-40
hy05_pintu.fire
assets/hy05_pintu/scene/hy05_pintu.fire
+410
-262
hy05_pintu.ts
assets/hy05_pintu/scene/hy05_pintu.ts
+23
-11
pg_hy05_pintu.ts
assets/hy05_pintu/scene/pg_hy05_pintu.ts
+1
-0
MyCocosSceneComponent_hy05_pintu.ts
assets/hy05_pintu/script/MyCocosSceneComponent_hy05_pintu.ts
+1
-0
defaultData_hy05_pintu.ts
assets/hy05_pintu/script/defaultData_hy05_pintu.ts
+139
-54
util_hy05_pintu.ts
assets/hy05_pintu/script/util_hy05_pintu.ts
+1
-0
form.component.html
form/src/app/form/form.component.html
+42
-64
form.component.ts
form/src/app/form/form.component.ts
+2
-4
No files found.
assets/hy05_pintu/common/layer_back/LayerBack_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -12,6 +12,7 @@ const { ccclass, property } = cc._decorator;
...
@@ -12,6 +12,7 @@ const { ccclass, property } = cc._decorator;
export
default
class
LayerBack
extends
cc
.
Component
{
export
default
class
LayerBack
extends
cc
.
Component
{
private
btn_back
:
cc
.
Node
;
private
btn_back
:
cc
.
Node
;
private
img_npc_voice
:
cc
.
Node
;
private
img_npc_voice
:
cc
.
Node
;
private
bg_forbid
:
cc
.
Node
;
onLoad
()
{
onLoad
()
{
this
.
initView
();
this
.
initView
();
this
.
initEvent
();
this
.
initEvent
();
...
@@ -20,6 +21,7 @@ export default class LayerBack extends cc.Component {
...
@@ -20,6 +21,7 @@ export default class LayerBack extends cc.Component {
initView
()
{
initView
()
{
this
.
bg_forbid
=
pg
.
view
.
find
(
this
,
'
bg_forbid
'
)
this
.
btn_back
=
pg
.
view
.
find
(
this
,
'
btn_back
'
)
this
.
btn_back
=
pg
.
view
.
find
(
this
,
'
btn_back
'
)
this
.
label_title
=
pg
.
view
.
find
(
this
,
'
label_title
'
)
this
.
label_title
=
pg
.
view
.
find
(
this
,
'
label_title
'
)
this
.
img_npc_voice
=
pg
.
view
.
find
(
this
.
label_title
,
'
img_npc_voice
'
)
this
.
img_npc_voice
=
pg
.
view
.
find
(
this
.
label_title
,
'
img_npc_voice
'
)
...
@@ -39,6 +41,7 @@ export default class LayerBack extends cc.Component {
...
@@ -39,6 +41,7 @@ export default class LayerBack extends cc.Component {
pg
.
event
.
on
(
'
npc_layer_back_init
'
,
(
data
)
=>
{
pg
.
event
.
on
(
'
npc_layer_back_init
'
,
(
data
)
=>
{
this
.
updateView
(
data
);
this
.
updateView
(
data
);
if
(
!
this
.
npcAudio
)
{
if
(
!
this
.
npcAudio
)
{
pg
.
view
.
visible
(
this
.
bg_forbid
,
false
)
pg
.
event
.
emit
(
'
npc_voice_play_voice_end
'
);
pg
.
event
.
emit
(
'
npc_voice_play_voice_end
'
);
}
else
{
}
else
{
this
.
playVoiceStart
();
this
.
playVoiceStart
();
...
@@ -56,6 +59,7 @@ export default class LayerBack extends cc.Component {
...
@@ -56,6 +59,7 @@ export default class LayerBack extends cc.Component {
this
.
schedule
(
this
.
playVoiceRunning
,
0.3
)
this
.
schedule
(
this
.
playVoiceRunning
,
0.3
)
pg
.
audio
.
playAudioByUrl
(
this
.
npcAudio
,
()
=>
{
pg
.
audio
.
playAudioByUrl
(
this
.
npcAudio
,
()
=>
{
this
.
playVoiceEnd
();
this
.
playVoiceEnd
();
pg
.
view
.
visible
(
this
.
bg_forbid
,
false
)
pg
.
event
.
emit
(
'
npc_voice_play_voice_end
'
)
pg
.
event
.
emit
(
'
npc_voice_play_voice_end
'
)
},
(
audioId
)
=>
{
},
(
audioId
)
=>
{
this
.
audioId
=
audioId
;
this
.
audioId
=
audioId
;
...
...
assets/hy05_pintu/common/layer_back/layer_back_hy05_pintu.prefab
View file @
5ec68f3c
...
@@ -21,20 +21,23 @@
...
@@ -21,20 +21,23 @@
"__id__": 2
"__id__": 2
},
},
{
{
"__id__": 7
"__id__": 6
},
{
"__id__": 11
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
2
"__id__": 2
7
},
},
{
{
"__id__": 2
3
"__id__": 2
8
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
4
"__id__": 2
9
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -85,7 +88,7 @@
...
@@ -85,7 +88,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "b
tn_back
",
"_name": "b
g_forbid
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
"__id__": 1
...
@@ -98,13 +101,128 @@
...
@@ -98,13 +101,128 @@
},
},
{
{
"__id__": 4
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_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": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_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": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "07DTTDThBNdJCrgpsUtJSh",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
},
{
"__id__": 8
},
},
{
{
"__id__":
5
"__id__":
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
6
"__id__":
10
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -158,7 +276,7 @@
...
@@ -158,7 +276,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
"__id__":
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -190,7 +308,7 @@
...
@@ -190,7 +308,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
"__id__":
6
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -258,7 +376,7 @@
...
@@ -258,7 +376,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
"__id__":
6
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -300,17 +418,20 @@
...
@@ -300,17 +418,20 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
8
"__id__":
12
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 20
"__id__": 24
},
{
"__id__": 25
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
1
"__id__": 2
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -364,27 +485,27 @@
...
@@ -364,27 +485,27 @@
"_name": "img_npc_voice",
"_name": "img_npc_voice",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
7
"__id__":
11
},
},
"_children": [
"_children": [
{
{
"__id__":
9
"__id__":
13
},
},
{
{
"__id__": 1
2
"__id__": 1
6
},
},
{
{
"__id__": 1
5
"__id__": 1
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
18
"__id__":
22
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
19
"__id__":
23
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -438,17 +559,17 @@
...
@@ -438,17 +559,17 @@
"_name": "p1",
"_name": "p1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
8
"__id__":
12
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
0
"__id__": 1
4
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
1
"__id__": 1
5
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -502,7 +623,7 @@
...
@@ -502,7 +623,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
"__id__":
13
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -545,17 +666,17 @@
...
@@ -545,17 +666,17 @@
"_name": "p2",
"_name": "p2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
8
"__id__":
12
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
3
"__id__": 1
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
4
"__id__": 1
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -609,7 +730,7 @@
...
@@ -609,7 +730,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
2
"__id__": 1
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -652,17 +773,17 @@
...
@@ -652,17 +773,17 @@
"_name": "p3",
"_name": "p3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
8
"__id__":
12
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
16
"__id__":
20
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
17
"__id__":
21
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -716,7 +837,7 @@
...
@@ -716,7 +837,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
5
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -759,7 +880,7 @@
...
@@ -759,7 +880,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
8
"__id__":
12
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 2,
"alignMode": 2,
...
@@ -797,7 +918,7 @@
...
@@ -797,7 +918,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
"__id__":
11
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -827,6 +948,33 @@
...
@@ -827,6 +948,33 @@
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": ""
"_id": ""
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 67.39999999999998,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
...
...
assets/hy05_pintu/common/layer_coin/layer_coin_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -69,3 +69,4 @@ export default class LayerCoin extends cc.Component {
...
@@ -69,3 +69,4 @@ export default class LayerCoin extends cc.Component {
assets/hy05_pintu/common/layer_ending/layer_ending_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -57,3 +57,4 @@ export default class LayerEnding extends cc.Component {
...
@@ -57,3 +57,4 @@ export default class LayerEnding extends cc.Component {
assets/hy05_pintu/common/script/Candy_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -39,13 +39,16 @@ export default class Candy extends cc.Component {
...
@@ -39,13 +39,16 @@ export default class Candy extends cc.Component {
ch
.
y
=
0
;
ch
.
y
=
0
;
let
ju
=
cc
.
jumpBy
(
0.5
,
cc
.
v2
(
x
,
y
),
this
.
jumpHeight
,
1
);
let
ju
=
cc
.
jumpBy
(
0.5
,
cc
.
v2
(
x
,
y
),
this
.
jumpHeight
,
1
);
let
call
=
cc
.
callFunc
(()
=>
{
let
call
=
cc
.
callFunc
(()
=>
{
if
(
idx
==
this
.
node
.
children
.
length
-
1
)
if
(
idx
==
this
.
node
.
children
.
length
-
1
)
{
pg
.
event
.
emit
(
"
camdy_action_end
"
,
this
.
node
);
pg
.
event
.
emit
(
"
camdy_action_end
"
,
this
.
node
);
if
(
this
.
isHide
)
this
.
node
.
active
=
!
this
.
isHide
;
let
light
=
cc
.
find
(
"
pic_light
"
,
this
.
node
);
cc
.
tween
(
light
).
to
(
1
,
{
opacity
:
0
}).
start
();
}
// if (this.isHide) this.node.active = !this.isHide;
})
})
// ch.runAction(ju);
// ch.runAction(ju);
cc
.
tween
(
ch
).
sequence
(
ju
,
call
).
start
();
cc
.
tween
(
ch
).
sequence
(
ju
,
call
).
start
();
cc
.
tween
(
ch
).
delay
(
0.5
).
to
(
0.2
,
{
opacity
:
0
}).
start
();
})
})
...
@@ -59,3 +62,4 @@ export default class Candy extends cc.Component {
...
@@ -59,3 +62,4 @@ export default class Candy extends cc.Component {
assets/hy05_pintu/common/script/ImgVoice_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -55,3 +55,4 @@ export default class ImgVoice extends cc.Component {
...
@@ -55,3 +55,4 @@ export default class ImgVoice extends cc.Component {
assets/hy05_pintu/common/script/LayerRecord_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -200,3 +200,4 @@ export default class LayerRecord extends cc.Component {
...
@@ -200,3 +200,4 @@ export default class LayerRecord extends cc.Component {
assets/hy05_pintu/common/script/LayerRight_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -111,3 +111,4 @@ export default class LayerRight extends cc.Component {
...
@@ -111,3 +111,4 @@ export default class LayerRight extends cc.Component {
assets/hy05_pintu/scene/Gamehy05_pintu.ts
View file @
5ec68f3c
...
@@ -4,7 +4,7 @@ export let imageZize = {
...
@@ -4,7 +4,7 @@ export let imageZize = {
}
}
export
class
Option
Jigsaw
{
export
class
Option
{
type
;
type
;
txt
;
txt
;
picUrl
;
picUrl
;
...
@@ -17,11 +17,11 @@ export class OptionJigsaw {
...
@@ -17,11 +17,11 @@ export class OptionJigsaw {
this
.
data
=
data
;
this
.
data
=
data
;
this
.
type
=
data
.
type
;
this
.
type
=
data
.
type
;
this
.
txt
=
data
.
text
;
this
.
txt
=
data
.
text
;
this
.
picUrl
=
data
.
image
;
this
.
picUrl
=
data
.
pic_url
;
this
.
audioUrl
=
data
.
optionAudio
;
this
.
audioUrl
=
data
.
optionAudio
;
}
}
}
}
export
class
Item
Jigsaw
{
export
class
Item
{
public
page
;
public
page
;
public
audio
;
public
audio
;
public
image
;
public
image
;
...
@@ -29,26 +29,42 @@ export class ItemJigsaw {
...
@@ -29,26 +29,42 @@ export class ItemJigsaw {
public
voice
;
public
voice
;
public
time
;
public
time
;
public
id
;
public
id
;
public
hotZoneItemArr
;
count
:
number
;
count
:
number
;
constructor
(
data
,
page
)
{
constructor
(
data
,
page
)
{
// this.audio = data.audio;
this
.
image
=
data
.
pic_url
;
this
.
image
=
data
.
pic_url
;
// this.voice = data.voice;
// this.time = data.time;
this
.
id
=
page
;
this
.
id
=
page
;
// this.optionList = data.options.map(o => {
// return new Option(o, id++);
// })
// this.optionList.sort(function () {
this
.
page
=
page
;
// return (0.5 - Math.random());
this
.
audio
=
data
.
audioUrl
;
// });
this
.
image
=
data
.
bgItem
.
url
;
// for (let i = 0; i < this.optionList.length; i++) {
this
.
hotZoneItemArr
=
[];
// this.optionList[i].count = i;
// }
for
(
let
i
=
0
;
i
<
data
.
hotZoneItemArr
.
length
;
i
++
)
{
let
d
=
data
.
hotZoneItemArr
[
i
];
this
.
hotZoneItemArr
.
push
(
new
Option
(
d
,
i
));
}
this
.
changepoints
(
data
);
}
// this.page = page;
public
pointsArr
;
private
changepoints
(
data
)
{
let
scX
=
imageZize
.
width
/
data
.
bgItem
.
rect
.
width
;
let
scY
=
imageZize
.
height
/
data
.
bgItem
.
rect
.
height
;
let
px
=
data
.
bgItem
.
rect
.
x
;
let
py
=
data
.
bgItem
.
rect
.
y
;
this
.
pointsArr
=
[];
let
arr
=
[];
data
.
hotZoneItemArr
.
forEach
((
item
,
idx
)
=>
{
let
p
=
item
.
rect
;
arr
[
idx
]
=
{
x
:
(
p
.
x
+
(
p
.
width
/
2
))
*
scX
,
// - px
y
:
-
((
p
.
y
+
(
p
.
height
/
2
))
*
scY
)
// - py
}
})
this
.
pointsArr
=
arr
.
concat
();
}
}
}
}
export
default
class
GameJigsaw
{
export
default
class
GameJigsaw
{
...
@@ -58,7 +74,7 @@ export default class GameJigsaw {
...
@@ -58,7 +74,7 @@ export default class GameJigsaw {
return
GameJigsaw
.
ins
;
return
GameJigsaw
.
ins
;
}
}
private
data
:
any
;
private
data
:
any
;
public
lists
:
Array
<
Item
Jigsaw
>
public
lists
:
Array
<
Item
>
public
title
:
string
;
public
title
:
string
;
public
titleAudio
:
string
;
public
titleAudio
:
string
;
public
image
:
string
;
public
image
:
string
;
...
@@ -82,7 +98,7 @@ export default class GameJigsaw {
...
@@ -82,7 +98,7 @@ export default class GameJigsaw {
public
init
(
data
)
{
public
init
(
data
)
{
this
.
start
=
false
;
this
.
start
=
false
;
this
.
lists
=
[];
this
.
lists
=
[];
this
.
data
=
data
.
hotZoneItemArr
;
this
.
data
=
data
.
questions
;
this
.
aniEnter
=
data
.
imgAni
;
this
.
aniEnter
=
data
.
imgAni
;
this
.
endImgAni
=
data
.
endImgAni
;
this
.
endImgAni
=
data
.
endImgAni
;
this
.
title
=
data
.
title
;
this
.
title
=
data
.
title
;
...
@@ -95,7 +111,6 @@ export default class GameJigsaw {
...
@@ -95,7 +111,6 @@ export default class GameJigsaw {
this
.
tipSwitch
=
data
.
tipSwitch
;
this
.
tipSwitch
=
data
.
tipSwitch
;
this
.
endImgTitle
=
data
.
endImgTitle
;
this
.
endImgTitle
=
data
.
endImgTitle
;
this
.
jumpIdx
=
data
.
jumpIdx
||
-
1
;
this
.
jumpIdx
=
data
.
jumpIdx
||
-
1
;
this
.
changepoints
(
data
);
}
}
public
start
:
boolean
;
public
start
:
boolean
;
public
page
:
number
;
public
page
:
number
;
...
@@ -105,13 +120,13 @@ export default class GameJigsaw {
...
@@ -105,13 +120,13 @@ export default class GameJigsaw {
this
.
lists
=
[];
this
.
lists
=
[];
for
(
let
i
=
0
;
i
<
this
.
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
data
.
length
;
i
++
)
{
let
data
=
this
.
data
[
i
];
let
data
=
this
.
data
[
i
];
this
.
lists
.
push
(
new
Item
Jigsaw
(
data
,
i
));
this
.
lists
.
push
(
new
Item
(
data
,
i
+
1
));
}
}
this
.
lists
.
sort
(
function
()
{
this
.
lists
.
sort
(
function
()
{
return
(
0.5
-
Math
.
random
());
return
(
0.5
-
Math
.
random
());
});
});
}
}
checkSuccess
(
arr
:
Option
Jigsaw
[])
{
checkSuccess
(
arr
:
Option
[])
{
let
data
=
this
.
getCurrentPage
();
let
data
=
this
.
getCurrentPage
();
let
options
=
data
.
optionList
.
concat
();
let
options
=
data
.
optionList
.
concat
();
options
.
sort
((
A
,
B
)
=>
A
.
id
-
B
.
id
)
options
.
sort
((
A
,
B
)
=>
A
.
id
-
B
.
id
)
...
@@ -122,23 +137,7 @@ export default class GameJigsaw {
...
@@ -122,23 +137,7 @@ export default class GameJigsaw {
}
}
return
true
;
return
true
;
}
}
public
pointsArr
;
private
changepoints
(
data
)
{
let
scX
=
imageZize
.
width
/
data
.
bgItem
.
rect
.
width
;
let
scY
=
imageZize
.
height
/
data
.
bgItem
.
rect
.
height
;
let
px
=
data
.
bgItem
.
rect
.
x
;
let
py
=
data
.
bgItem
.
rect
.
y
;
this
.
pointsArr
=
[];
let
arr
=
[];
data
.
hotZoneItemArr
.
forEach
((
item
,
idx
)
=>
{
let
p
=
item
.
rect
;
arr
[
idx
]
=
{
x
:
(
p
.
x
+
(
p
.
width
/
2
))
*
scX
,
// - px
y
:
-
((
p
.
y
+
(
p
.
height
/
2
))
*
scY
)
// - py
}
})
this
.
pointsArr
=
arr
.
concat
();
}
getTotalLabel
()
{
getTotalLabel
()
{
let
data
=
this
.
getCurrentPage
();
let
data
=
this
.
getCurrentPage
();
...
@@ -149,10 +148,10 @@ export default class GameJigsaw {
...
@@ -149,10 +148,10 @@ export default class GameJigsaw {
return
str
;
return
str
;
}
}
getDataByPage
(
page
):
Item
Jigsaw
{
getDataByPage
(
page
):
Item
{
return
this
.
lists
.
filter
(
li
=>
li
.
page
==
page
)[
0
]
return
this
.
lists
.
filter
(
li
=>
li
.
page
==
page
)[
0
]
}
}
getCurrentPage
():
Item
Jigsaw
{
getCurrentPage
():
Item
{
let
page
=
this
.
page
;
let
page
=
this
.
page
;
return
this
.
lists
.
filter
(
li
=>
li
.
page
==
page
)[
0
]
return
this
.
lists
.
filter
(
li
=>
li
.
page
==
page
)[
0
]
}
}
...
@@ -190,3 +189,4 @@ let win: any = window;
...
@@ -190,3 +189,4 @@ let win: any = window;
win
.
Game
=
GameJigsaw
;
win
.
Game
=
GameJigsaw
;
assets/hy05_pintu/scene/hy05_pintu.fire
View file @
5ec68f3c
...
@@ -102,25 +102,25 @@
...
@@ -102,25 +102,25 @@
"__id__": 116
"__id__": 116
},
},
{
{
"__id__": 14
0
"__id__": 14
5
},
},
{
{
"__id__": 16
2
"__id__": 16
7
},
},
{
{
"__id__": 2
07
"__id__": 2
12
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
46
"__id__": 2
51
},
},
{
{
"__id__": 2
47
"__id__": 2
52
},
},
{
{
"__id__": 2
48
"__id__": 2
53
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5062,20 +5062,23 @@
...
@@ -5062,20 +5062,23 @@
"__id__": 117
"__id__": 117
},
},
{
{
"__id__": 122
"__id__": 121
},
{
"__id__": 126
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
37
"__id__": 1
42
},
},
{
{
"__id__": 1
38
"__id__": 1
43
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
39
"__id__": 1
44
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5122,11 +5125,11 @@
...
@@ -5122,11 +5125,11 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
7cuShTPdZAsLSXsQ6mgK6F
"
"_id": "
65zeHRfWNHbJfxxjrLvRTP
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "b
tn_back
",
"_name": "b
g_forbid
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 116
"__id__": 116
...
@@ -5139,13 +5142,128 @@
...
@@ -5139,13 +5142,128 @@
},
},
{
{
"__id__": 119
"__id__": 119
}
],
"_prefab": {
"__id__": 120
},
"_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": "2ayIdngQBOSaRS37PgBMXi"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
},
"_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": "6aHwjtCppNIpmb1p9Vp4Kd"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
},
"_enabled": true,
"_id": "c2L8w/actDK5ZZAc2oDGrp"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 116
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "07DTTDThBNdJCrgpsUtJSh",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 122
},
},
{
{
"__id__": 120
"__id__": 123
},
{
"__id__": 124
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 12
1
"__id__": 12
5
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5192,14 +5310,14 @@
...
@@ -5192,14 +5310,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
351thQy2pJWLnA2/5I4LgK
"
"_id": "
6cz+VdUk5I3oHBzlQqC3qQ
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
17
"__id__": 1
21
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5224,14 +5342,14 @@
...
@@ -5224,14 +5342,14 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
04EUZJ0kZI2Y/gEvf4IaTe
"
"_id": "
6avIi7+25KRpK3PHrY+MKM
"
},
},
{
{
"__type__": "cc.Button",
"__type__": "cc.Button",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
17
"__id__": 1
21
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -5292,14 +5410,14 @@
...
@@ -5292,14 +5410,14 @@
"hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_N$target": null,
"_id": "d
bS/gi8n9CJqHG91bnNoVh
"
"_id": "d
5iglxWihJn7FptuEH6UVt
"
},
},
{
{
"__type__": "cc.Widget",
"__type__": "cc.Widget",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
17
"__id__": 1
21
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -5319,7 +5437,7 @@
...
@@ -5319,7 +5437,7 @@
"_isAbsVerticalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalWidth": 0,
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "
34ElcZPh5IoraR0bINyfKK
"
"_id": "
b8ZDnQ+htGF5bCVtNLJd1j
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -5341,17 +5459,20 @@
...
@@ -5341,17 +5459,20 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 12
3
"__id__": 12
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 135
"__id__": 139
},
{
"__id__": 140
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
36
"__id__": 1
41
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5398,34 +5519,34 @@
...
@@ -5398,34 +5519,34 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
66xQf+IVNJmpawPHk6pAvc
"
"_id": "
9cnB/TZqtF8aSYqsJMdR6x
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "img_npc_voice",
"_name": "img_npc_voice",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
2
"__id__": 12
6
},
},
"_children": [
"_children": [
{
{
"__id__": 12
4
"__id__": 12
8
},
},
{
{
"__id__": 1
27
"__id__": 1
31
},
},
{
{
"__id__": 13
0
"__id__": 13
4
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
3
"__id__": 13
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 13
4
"__id__": 13
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5472,24 +5593,24 @@
...
@@ -5472,24 +5593,24 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
ecUzmLvttPL6Jdz3rbcowb
"
"_id": "
66nuGQq91Bt5PDiv78sCTM
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "p1",
"_name": "p1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
5
"__id__": 12
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
26
"__id__": 1
30
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5536,14 +5657,14 @@
...
@@ -5536,14 +5657,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
8bWoJplVZLu52bz9fL/IJy
"
"_id": "
b9FNvhqndOHZ7w9Le5pCy1
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
4
"__id__": 12
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5568,7 +5689,7 @@
...
@@ -5568,7 +5689,7 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
06UOhzFqJHL6W0blBQoz/W
"
"_id": "
57oh8d6hBCNav+ZuWuSZc5
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -5586,17 +5707,17 @@
...
@@ -5586,17 +5707,17 @@
"_name": "p2",
"_name": "p2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
7
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
28
"__id__": 1
32
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
29
"__id__": 1
33
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5643,14 +5764,14 @@
...
@@ -5643,14 +5764,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
6aVgcbtW5AqpZmIe0Z/VG2
"
"_id": "
c2MKFR2uFD+bwWhoPYfL/t
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
27
"__id__": 1
31
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5675,7 +5796,7 @@
...
@@ -5675,7 +5796,7 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
5fjTxyQSFB3rC0+0XwGItx
"
"_id": "
dcsbGwzWxIl6p8mgxqDd9a
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -5693,17 +5814,17 @@
...
@@ -5693,17 +5814,17 @@
"_name": "p3",
"_name": "p3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
3
"__id__": 12
7
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 13
1
"__id__": 13
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 13
2
"__id__": 13
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5750,14 +5871,14 @@
...
@@ -5750,14 +5871,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
4dYPmylYhHi79QiGQV4w77
"
"_id": "
e4F/ZhQ6NPFaKCkcE8yqqE
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 13
0
"__id__": 13
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5782,7 +5903,7 @@
...
@@ -5782,7 +5903,7 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
d3kLDyU21AsqXOFBVnOEz+
"
"_id": "
6ezXS18h9H+pKJyYD2PiS/
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -5800,7 +5921,7 @@
...
@@ -5800,7 +5921,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
3
"__id__": 12
7
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 2,
"alignMode": 2,
...
@@ -5820,7 +5941,7 @@
...
@@ -5820,7 +5941,7 @@
"_isAbsVerticalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalWidth": 0,
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "
afNUOZRThC5LB/aDJUQ+3x
"
"_id": "
5ftj6JHUVNj5ATqMJdjJ1l
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -5838,7 +5959,7 @@
...
@@ -5838,7 +5959,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
2
"__id__": 12
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5866,7 +5987,34 @@
...
@@ -5866,7 +5987,34 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "8ccsTykYNJcLvI9x7JEKlc"
"_id": "138922vqZI5LzifYrvZJHA"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 67.39999999999998,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "27itUvXDZF66/kRTGFumoD"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -5904,7 +6052,7 @@
...
@@ -5904,7 +6052,7 @@
"_isAbsVerticalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalWidth": 0,
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "
7983eBOSZEZZvtwpjto+Eq
"
"_id": "
e7NHm9MfRBDKHVC3uNr/2n
"
},
},
{
{
"__type__": "7ab71itR/hJz4giCFo5yFB1",
"__type__": "7ab71itR/hJz4giCFo5yFB1",
...
@@ -5914,7 +6062,7 @@
...
@@ -5914,7 +6062,7 @@
"__id__": 116
"__id__": 116
},
},
"_enabled": true,
"_enabled": true,
"_id": "
c5RdodialFfaooU+L2UZUr
"
"_id": "
e04AUacyREUoIaiYrpZS4J
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
@@ -5936,20 +6084,20 @@
...
@@ -5936,20 +6084,20 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 14
1
"__id__": 14
6
},
},
{
{
"__id__": 1
55
"__id__": 1
60
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 16
0
"__id__": 16
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 16
1
"__id__": 16
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6003,26 +6151,26 @@
...
@@ -6003,26 +6151,26 @@
"_name": "layout_center",
"_name": "layout_center",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 14
0
"__id__": 14
5
},
},
"_children": [
"_children": [
{
{
"__id__": 14
2
"__id__": 14
7
},
},
{
{
"__id__": 1
45
"__id__": 1
50
},
},
{
{
"__id__": 1
48
"__id__": 1
53
},
},
{
{
"__id__": 15
1
"__id__": 15
6
}
}
],
],
"_active": false,
"_active": false,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 15
4
"__id__": 15
9
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6076,17 +6224,17 @@
...
@@ -6076,17 +6224,17 @@
"_name": "bg_gray",
"_name": "bg_gray",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 14
1
"__id__": 14
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 14
3
"__id__": 14
8
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 14
4
"__id__": 14
9
},
},
"_opacity": 102,
"_opacity": 102,
"_color": {
"_color": {
...
@@ -6140,7 +6288,7 @@
...
@@ -6140,7 +6288,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 14
2
"__id__": 14
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6170,7 +6318,7 @@
...
@@ -6170,7 +6318,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6183,17 +6331,17 @@
...
@@ -6183,17 +6331,17 @@
"_name": "aniNode1",
"_name": "aniNode1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 14
1
"__id__": 14
6
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
46
"__id__": 1
51
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
47
"__id__": 1
52
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6247,7 +6395,7 @@
...
@@ -6247,7 +6395,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
45
"__id__": 1
50
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6285,7 +6433,7 @@
...
@@ -6285,7 +6433,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6298,17 +6446,17 @@
...
@@ -6298,17 +6446,17 @@
"_name": "aniNode2",
"_name": "aniNode2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 14
1
"__id__": 14
6
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
49
"__id__": 1
54
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 15
0
"__id__": 15
5
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6362,7 +6510,7 @@
...
@@ -6362,7 +6510,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
48
"__id__": 1
53
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6398,7 +6546,7 @@
...
@@ -6398,7 +6546,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6411,17 +6559,17 @@
...
@@ -6411,17 +6559,17 @@
"_name": "aniNode3",
"_name": "aniNode3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 14
1
"__id__": 14
6
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 15
2
"__id__": 15
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 15
3
"__id__": 15
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6475,7 +6623,7 @@
...
@@ -6475,7 +6623,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 15
1
"__id__": 15
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6513,7 +6661,7 @@
...
@@ -6513,7 +6661,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6524,7 +6672,7 @@
...
@@ -6524,7 +6672,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6537,17 +6685,17 @@
...
@@ -6537,17 +6685,17 @@
"_name": "res",
"_name": "res",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 14
0
"__id__": 14
5
},
},
"_children": [
"_children": [
{
{
"__id__": 1
56
"__id__": 1
61
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 1
59
"__id__": 1
64
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6601,17 +6749,17 @@
...
@@ -6601,17 +6749,17 @@
"_name": "coin",
"_name": "coin",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
55
"__id__": 1
60
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
57
"__id__": 1
62
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
58
"__id__": 1
63
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6665,7 +6813,7 @@
...
@@ -6665,7 +6813,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
56
"__id__": 1
61
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6682,7 +6830,7 @@
...
@@ -6682,7 +6830,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6693,7 +6841,7 @@
...
@@ -6693,7 +6841,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6706,7 +6854,7 @@
...
@@ -6706,7 +6854,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 14
0
"__id__": 14
5
},
},
"_enabled": true,
"_enabled": true,
"_id": "2aSUIwikpOH6HSKdzsS3Ma"
"_id": "2aSUIwikpOH6HSKdzsS3Ma"
...
@@ -6714,7 +6862,7 @@
...
@@ -6714,7 +6862,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 14
0
"__id__": 14
5
},
},
"asset": {
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
...
@@ -6731,29 +6879,29 @@
...
@@ -6731,29 +6879,29 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 16
3
"__id__": 16
8
},
},
{
{
"__id__": 1
77
"__id__": 1
82
},
},
{
{
"__id__": 1
86
"__id__": 1
91
},
},
{
{
"__id__":
195
"__id__":
200
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 20
4
"__id__": 20
9
},
},
{
{
"__id__": 2
05
"__id__": 2
10
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
06
"__id__": 2
11
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6807,26 +6955,26 @@
...
@@ -6807,26 +6955,26 @@
"_name": "voice",
"_name": "voice",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
2
"__id__": 16
7
},
},
"_children": [
"_children": [
{
{
"__id__": 16
4
"__id__": 16
9
},
},
{
{
"__id__": 1
67
"__id__": 1
72
},
},
{
{
"__id__": 17
0
"__id__": 17
5
},
},
{
{
"__id__": 17
3
"__id__": 17
8
}
}
],
],
"_active": false,
"_active": false,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 1
76
"__id__": 1
81
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6880,17 +7028,17 @@
...
@@ -6880,17 +7028,17 @@
"_name": "excellent",
"_name": "excellent",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
3
"__id__": 16
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
65
"__id__": 1
70
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
66
"__id__": 1
71
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6944,7 +7092,7 @@
...
@@ -6944,7 +7092,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 16
4
"__id__": 16
9
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6961,7 +7109,7 @@
...
@@ -6961,7 +7109,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -6974,17 +7122,17 @@
...
@@ -6974,17 +7122,17 @@
"_name": "good",
"_name": "good",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
3
"__id__": 16
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
68
"__id__": 1
73
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
69
"__id__": 1
74
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -7038,7 +7186,7 @@
...
@@ -7038,7 +7186,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
67
"__id__": 1
72
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -7055,7 +7203,7 @@
...
@@ -7055,7 +7203,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7068,17 +7216,17 @@
...
@@ -7068,17 +7216,17 @@
"_name": "tryagain",
"_name": "tryagain",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
3
"__id__": 16
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 17
1
"__id__": 17
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 17
2
"__id__": 17
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -7132,7 +7280,7 @@
...
@@ -7132,7 +7280,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 17
0
"__id__": 17
5
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -7149,7 +7297,7 @@
...
@@ -7149,7 +7297,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7162,17 +7310,17 @@
...
@@ -7162,17 +7310,17 @@
"_name": "ani",
"_name": "ani",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
3
"__id__": 16
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 17
4
"__id__": 17
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
75
"__id__": 1
80
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -7226,7 +7374,7 @@
...
@@ -7226,7 +7374,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 17
3
"__id__": 17
8
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -7243,7 +7391,7 @@
...
@@ -7243,7 +7391,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7254,7 +7402,7 @@
...
@@ -7254,7 +7402,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7267,24 +7415,24 @@
...
@@ -7267,24 +7415,24 @@
"_name": "layout_excellent",
"_name": "layout_excellent",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
2
"__id__": 16
7
},
},
"_children": [
"_children": [
{
{
"__id__": 1
78
"__id__": 1
83
},
},
{
{
"__id__": 18
1
"__id__": 18
6
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 18
4
"__id__": 18
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
85
"__id__": 1
90
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -7338,17 +7486,17 @@
...
@@ -7338,17 +7486,17 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
77
"__id__": 1
82
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
79
"__id__": 1
84
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 18
0
"__id__": 18
5
},
},
"_opacity": 150,
"_opacity": 150,
"_color": {
"_color": {
...
@@ -7402,7 +7550,7 @@
...
@@ -7402,7 +7550,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
78
"__id__": 1
83
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -7432,7 +7580,7 @@
...
@@ -7432,7 +7580,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7445,17 +7593,17 @@
...
@@ -7445,17 +7593,17 @@
"_name": "AniNode",
"_name": "AniNode",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
77
"__id__": 1
82
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 18
2
"__id__": 18
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 18
3
"__id__": 18
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -7509,7 +7657,7 @@
...
@@ -7509,7 +7657,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 18
1
"__id__": 18
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -7547,7 +7695,7 @@
...
@@ -7547,7 +7695,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7560,7 +7708,7 @@
...
@@ -7560,7 +7708,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
77
"__id__": 1
82
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -7585,7 +7733,7 @@
...
@@ -7585,7 +7733,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7598,24 +7746,24 @@
...
@@ -7598,24 +7746,24 @@
"_name": "layout_good",
"_name": "layout_good",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
2
"__id__": 16
7
},
},
"_children": [
"_children": [
{
{
"__id__": 1
87
"__id__": 1
92
},
},
{
{
"__id__": 19
0
"__id__": 19
5
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 19
3
"__id__": 19
8
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 19
4
"__id__": 19
9
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -7669,17 +7817,17 @@
...
@@ -7669,17 +7817,17 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
86
"__id__": 1
91
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
88
"__id__": 1
93
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
89
"__id__": 1
94
},
},
"_opacity": 150,
"_opacity": 150,
"_color": {
"_color": {
...
@@ -7733,7 +7881,7 @@
...
@@ -7733,7 +7881,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
87
"__id__": 1
92
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -7763,7 +7911,7 @@
...
@@ -7763,7 +7911,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7776,17 +7924,17 @@
...
@@ -7776,17 +7924,17 @@
"_name": "AniNode",
"_name": "AniNode",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
86
"__id__": 1
91
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 19
1
"__id__": 19
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 19
2
"__id__": 19
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -7840,7 +7988,7 @@
...
@@ -7840,7 +7988,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 19
0
"__id__": 19
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -7878,7 +8026,7 @@
...
@@ -7878,7 +8026,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7891,7 +8039,7 @@
...
@@ -7891,7 +8039,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
86
"__id__": 1
91
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -7916,7 +8064,7 @@
...
@@ -7916,7 +8064,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -7929,24 +8077,24 @@
...
@@ -7929,24 +8077,24 @@
"_name": "layout_tryagain",
"_name": "layout_tryagain",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 16
2
"__id__": 16
7
},
},
"_children": [
"_children": [
{
{
"__id__":
196
"__id__":
201
},
},
{
{
"__id__":
199
"__id__":
204
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 20
2
"__id__": 20
7
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 20
3
"__id__": 20
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8000,17 +8148,17 @@
...
@@ -8000,17 +8148,17 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
195
"__id__":
200
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
197
"__id__":
202
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
198
"__id__":
203
},
},
"_opacity": 150,
"_opacity": 150,
"_color": {
"_color": {
...
@@ -8064,7 +8212,7 @@
...
@@ -8064,7 +8212,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
196
"__id__":
201
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -8094,7 +8242,7 @@
...
@@ -8094,7 +8242,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -8107,17 +8255,17 @@
...
@@ -8107,17 +8255,17 @@
"_name": "AniNode",
"_name": "AniNode",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
195
"__id__":
200
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 20
0
"__id__": 20
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 20
1
"__id__": 20
6
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8171,7 +8319,7 @@
...
@@ -8171,7 +8319,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
199
"__id__":
204
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -8209,7 +8357,7 @@
...
@@ -8209,7 +8357,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -8222,7 +8370,7 @@
...
@@ -8222,7 +8370,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
195
"__id__":
200
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -8247,7 +8395,7 @@
...
@@ -8247,7 +8395,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -8260,7 +8408,7 @@
...
@@ -8260,7 +8408,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 16
2
"__id__": 16
7
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -8287,7 +8435,7 @@
...
@@ -8287,7 +8435,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 16
2
"__id__": 16
7
},
},
"_enabled": true,
"_enabled": true,
"_id": "51GFKQ5chJcJKhZhDPhWFp"
"_id": "51GFKQ5chJcJKhZhDPhWFp"
...
@@ -8295,7 +8443,7 @@
...
@@ -8295,7 +8443,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 16
2
"__id__": 16
7
},
},
"asset": {
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
@@ -8312,20 +8460,20 @@
...
@@ -8312,20 +8460,20 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 2
08
"__id__": 2
13
},
},
{
{
"__id__": 2
39
"__id__": 2
44
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 24
4
"__id__": 24
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
45
"__id__": 2
50
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8379,35 +8527,35 @@
...
@@ -8379,35 +8527,35 @@
"_name": "layer_center",
"_name": "layer_center",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
07
"__id__": 2
12
},
},
"_children": [
"_children": [
{
{
"__id__": 2
09
"__id__": 2
14
},
},
{
{
"__id__": 21
2
"__id__": 21
7
},
},
{
{
"__id__": 21
4
"__id__": 21
9
},
},
{
{
"__id__": 2
17
"__id__": 2
22
},
},
{
{
"__id__": 22
0
"__id__": 22
5
},
},
{
{
"__id__": 22
3
"__id__": 22
8
},
},
{
{
"__id__": 2
26
"__id__": 2
31
}
}
],
],
"_active": false,
"_active": false,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 2
38
"__id__": 2
43
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8461,17 +8609,17 @@
...
@@ -8461,17 +8609,17 @@
"_name": "gray_cover",
"_name": "gray_cover",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
13
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 21
0
"__id__": 21
5
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 21
1
"__id__": 21
6
},
},
"_opacity": 102,
"_opacity": 102,
"_color": {
"_color": {
...
@@ -8525,7 +8673,7 @@
...
@@ -8525,7 +8673,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
09
"__id__": 2
14
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -8555,7 +8703,7 @@
...
@@ -8555,7 +8703,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -8568,13 +8716,13 @@
...
@@ -8568,13 +8716,13 @@
"_name": "layer_middle",
"_name": "layer_middle",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
13
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 21
3
"__id__": 21
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8626,7 +8774,7 @@
...
@@ -8626,7 +8774,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -8639,17 +8787,17 @@
...
@@ -8639,17 +8787,17 @@
"_name": "replay_btn",
"_name": "replay_btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
13
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
15
"__id__": 2
20
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
16
"__id__": 2
21
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8703,7 +8851,7 @@
...
@@ -8703,7 +8851,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 21
4
"__id__": 21
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -8733,7 +8881,7 @@
...
@@ -8733,7 +8881,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -8746,17 +8894,17 @@
...
@@ -8746,17 +8894,17 @@
"_name": "bg_light",
"_name": "bg_light",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
13
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
18
"__id__": 2
23
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
19
"__id__": 2
24
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8810,7 +8958,7 @@
...
@@ -8810,7 +8958,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
17
"__id__": 2
22
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -8840,7 +8988,7 @@
...
@@ -8840,7 +8988,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -8853,17 +9001,17 @@
...
@@ -8853,17 +9001,17 @@
"_name": "finish_cat",
"_name": "finish_cat",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
13
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 22
1
"__id__": 22
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 22
2
"__id__": 22
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -8917,7 +9065,7 @@
...
@@ -8917,7 +9065,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 22
0
"__id__": 22
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -8955,7 +9103,7 @@
...
@@ -8955,7 +9103,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -8968,17 +9116,17 @@
...
@@ -8968,17 +9116,17 @@
"_name": "next_btn",
"_name": "next_btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
13
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 22
4
"__id__": 22
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
25
"__id__": 2
30
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9032,7 +9180,7 @@
...
@@ -9032,7 +9180,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 22
3
"__id__": 22
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9062,7 +9210,7 @@
...
@@ -9062,7 +9210,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9075,27 +9223,27 @@
...
@@ -9075,27 +9223,27 @@
"_name": "finish_box",
"_name": "finish_box",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
13
},
},
"_children": [
"_children": [
{
{
"__id__": 2
27
"__id__": 2
32
},
},
{
{
"__id__": 23
0
"__id__": 23
5
},
},
{
{
"__id__": 23
3
"__id__": 23
8
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
36
"__id__": 2
41
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
37
"__id__": 2
42
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9149,17 +9297,17 @@
...
@@ -9149,17 +9297,17 @@
"_name": "result_text",
"_name": "result_text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
26
"__id__": 2
31
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
28
"__id__": 2
33
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
29
"__id__": 2
34
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9213,7 +9361,7 @@
...
@@ -9213,7 +9361,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
27
"__id__": 2
32
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9244,7 +9392,7 @@
...
@@ -9244,7 +9392,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9257,17 +9405,17 @@
...
@@ -9257,17 +9405,17 @@
"_name": "coin",
"_name": "coin",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
26
"__id__": 2
31
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 23
1
"__id__": 23
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 23
2
"__id__": 23
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9321,7 +9469,7 @@
...
@@ -9321,7 +9469,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 23
0
"__id__": 23
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9351,7 +9499,7 @@
...
@@ -9351,7 +9499,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9364,17 +9512,17 @@
...
@@ -9364,17 +9512,17 @@
"_name": "coin_num",
"_name": "coin_num",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
26
"__id__": 2
31
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 23
4
"__id__": 23
9
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 2
35
"__id__": 2
40
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9428,7 +9576,7 @@
...
@@ -9428,7 +9576,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 23
3
"__id__": 23
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9459,7 +9607,7 @@
...
@@ -9459,7 +9607,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9472,7 +9620,7 @@
...
@@ -9472,7 +9620,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
26
"__id__": 2
31
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9502,7 +9650,7 @@
...
@@ -9502,7 +9650,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9513,7 +9661,7 @@
...
@@ -9513,7 +9661,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9526,17 +9674,17 @@
...
@@ -9526,17 +9674,17 @@
"_name": "res",
"_name": "res",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
07
"__id__": 2
12
},
},
"_children": [
"_children": [
{
{
"__id__": 24
0
"__id__": 24
5
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 24
3
"__id__": 24
8
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9590,17 +9738,17 @@
...
@@ -9590,17 +9738,17 @@
"_name": "ending",
"_name": "ending",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
39
"__id__": 2
44
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 24
1
"__id__": 24
6
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 24
2
"__id__": 24
7
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9654,7 +9802,7 @@
...
@@ -9654,7 +9802,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 24
0
"__id__": 24
5
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -9671,7 +9819,7 @@
...
@@ -9671,7 +9819,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9682,7 +9830,7 @@
...
@@ -9682,7 +9830,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
@@ -9695,7 +9843,7 @@
...
@@ -9695,7 +9843,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
07
"__id__": 2
12
},
},
"_enabled": true,
"_enabled": true,
"_id": "9fpJ2rqgNGSZ0a4xQTpvJ7"
"_id": "9fpJ2rqgNGSZ0a4xQTpvJ7"
...
@@ -9703,7 +9851,7 @@
...
@@ -9703,7 +9851,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 2
07
"__id__": 2
12
},
},
"asset": {
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
...
...
assets/hy05_pintu/scene/hy05_pintu.ts
View file @
5ec68f3c
import
{
asyncDelay
,
exchangeNodePos
,
getSprNode
,
onHomeworkFinish
,
onHomeworkStart
,
playAudio
}
from
"
../script/util_hy05_pintu
"
;
import
{
asyncDelay
,
exchangeNodePos
,
getSprNode
,
onHomeworkFinish
,
onHomeworkStart
,
playAudio
}
from
"
../script/util_hy05_pintu
"
;
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent_hy05_pintu
"
;
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent_hy05_pintu
"
;
import
GameJigsaw
,
{
imageZize
,
Item
Jigsaw
,
OptionJigsaw
}
from
"
./Gamehy05_pintu
"
;
import
GameJigsaw
,
{
imageZize
,
Item
,
Option
}
from
"
./Gamehy05_pintu
"
;
import
pg
from
"
./pg_hy05_pintu
"
;
import
pg
from
"
./pg_hy05_pintu
"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
@@ -63,7 +63,6 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -63,7 +63,6 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
this
.
flyAction
();
this
.
flyAction
();
this
.
startGame
();
this
.
startGame
();
pg
.
view
.
setNetImg
(
this
.
img_bg
,
GameJigsaw
.
getIns
().
image
,
{
w
:
imageZize
.
width
,
h
:
imageZize
.
height
});
}
}
initEvent
()
{
initEvent
()
{
...
@@ -79,7 +78,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -79,7 +78,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
});
});
pg
.
event
.
on
(
'
npc_voice_play_voice_end
'
,
()
=>
{
pg
.
event
.
on
(
'
npc_voice_play_voice_end
'
,
()
=>
{
})
})
pg
.
event
.
emit
(
'
npc_layer_back_init
'
,
this
.
data
)
pg
.
event
.
emit
(
'
npc_layer_back_init
'
,
this
.
data
)
...
@@ -155,7 +154,6 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -155,7 +154,6 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
private
currentCards
:
cc
.
Node
[];
private
currentCards
:
cc
.
Node
[];
//开始游戏
//开始游戏
startGame
()
{
startGame
()
{
GameJigsaw
.
getIns
().
reset
();
this
.
nextPage
();
this
.
nextPage
();
}
}
nextPage
()
{
nextPage
()
{
...
@@ -163,21 +161,22 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -163,21 +161,22 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
this
.
cards
=
[];
this
.
cards
=
[];
this
.
currentCards
=
[];
this
.
currentCards
=
[];
this
.
cardBgs
=
[];
this
.
cardBgs
=
[];
let
data
=
GameJigsaw
.
getIns
().
list
;
let
data
=
GameJigsaw
.
getIns
().
getCurrentPage
()
;
//自动创建卡片
//自动创建卡片
this
.
right_layout
.
active
=
true
;
this
.
right_layout
.
active
=
true
;
this
.
createCrads
(
data
);
this
.
createCrads
(
data
);
pg
.
view
.
setNetImg
(
this
.
img_bg
,
data
.
image
,
{
w
:
imageZize
.
width
,
h
:
imageZize
.
height
});
}
}
//创建卡片
//创建卡片
private
cards
:
cc
.
Node
[];
private
cards
:
cc
.
Node
[];
private
cardBgs
:
cc
.
Node
[];
private
cardBgs
:
cc
.
Node
[];
createCrads
(
list
)
{
createCrads
(
data
:
Item
)
{
this
.
right_layout
.
removeAllChildren
();
this
.
right_layout
.
removeAllChildren
();
// this.cleanLayoutSort();
// this.cleanLayoutSort();
this
.
layout_sort
.
removeAllChildren
();
this
.
layout_sort
.
removeAllChildren
();
let
count
=
0
;
let
count
=
0
;
list
.
forEach
((
li
,
idx
)
=>
{
data
.
hotZoneItemArr
.
forEach
((
li
,
idx
)
=>
{
let
item
=
cc
.
instantiate
(
this
.
node_card
);
let
item
=
cc
.
instantiate
(
this
.
node_card
);
this
.
right_layout
.
addChild
(
item
);
this
.
right_layout
.
addChild
(
item
);
li
.
count
=
count
;
li
.
count
=
count
;
...
@@ -185,7 +184,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -185,7 +184,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
count
++
;
count
++
;
})
})
count
=
0
;
count
=
0
;
let
pos
=
GameJigsaw
.
getIns
()
.
pointsArr
;
let
pos
=
data
.
pointsArr
;
pos
.
forEach
((
li
,
idx
)
=>
{
pos
.
forEach
((
li
,
idx
)
=>
{
let
item
=
cc
.
instantiate
(
this
.
sort_card
);
let
item
=
cc
.
instantiate
(
this
.
sort_card
);
this
.
layout_sort
.
addChild
(
item
);
this
.
layout_sort
.
addChild
(
item
);
...
@@ -201,7 +200,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -201,7 +200,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
}
}
private
initTopCard
(
item
,
data
,
idx
)
{
private
initTopCard
(
item
,
data
,
idx
)
{
let
img
=
cc
.
find
(
"
img
"
,
item
);
let
img
=
cc
.
find
(
"
img
"
,
item
);
pg
.
view
.
setNetImg
(
img
,
data
.
image
,
{
w
:
118
,
h
:
118
},
false
);
pg
.
view
.
setNetImg
(
img
,
data
.
picUrl
,
{
w
:
118
,
h
:
118
},
false
);
img
.
x
=
idx
%
2
==
0
?
-
107
:
107
img
.
x
=
idx
%
2
==
0
?
-
107
:
107
item
.
active
=
true
;
item
.
active
=
true
;
item
.
y
=
0
;
item
.
y
=
0
;
...
@@ -314,8 +313,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -314,8 +313,7 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
// }, 1000);
// }, 1000);
if
(
this
.
checkRoundEnd
())
{
if
(
this
.
checkRoundEnd
())
{
GameJigsaw
.
getIns
().
addPage
();
this
.
checkGameOver
();
pg
.
event
.
emit
(
"
gameOver
"
);
}
}
}
else
{
}
else
{
this
.
playLocalAudio
(
"
error
"
);
this
.
playLocalAudio
(
"
error
"
);
...
@@ -353,6 +351,19 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -353,6 +351,19 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
return
this
.
currentCards
.
every
(
card
=>
!!
card
);
return
this
.
currentCards
.
every
(
card
=>
!!
card
);
}
}
private
checkGameOver
()
{
let
audio
=
GameJigsaw
.
getIns
().
getCurrentPage
().
audio
;
let
over
=
GameJigsaw
.
getIns
().
addPage
();
pg
.
audio
.
playAudioByUrl
(
audio
).
then
(
async
()
=>
{
await
asyncDelay
(
1
);
if
(
!
over
)
{
pg
.
event
.
emit
(
"
gameOver
"
);
}
else
{
this
.
nextPage
();
}
});
}
gameOver
()
{
gameOver
()
{
pg
.
event
.
once
(
'
layer_right_show_excellent_end
'
,
()
=>
{
pg
.
event
.
once
(
'
layer_right_show_excellent_end
'
,
()
=>
{
pg
.
event
.
emit
(
'
layer_coin_show_coin
'
,
3
)
//1 2 3硬币数量
pg
.
event
.
emit
(
'
layer_coin_show_coin
'
,
3
)
//1 2 3硬币数量
...
@@ -388,3 +399,4 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -388,3 +399,4 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
assets/hy05_pintu/scene/pg_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -587,3 +587,4 @@ let pg = {
...
@@ -587,3 +587,4 @@ let pg = {
export
default
pg
;
export
default
pg
;
assets/hy05_pintu/script/MyCocosSceneComponent_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -179,3 +179,4 @@ export class MyCocosSceneComponent extends cc.Component {
...
@@ -179,3 +179,4 @@ export class MyCocosSceneComponent extends cc.Component {
}
}
assets/hy05_pintu/script/defaultData_hy05_pintu.ts
View file @
5ec68f3c
export
const
defaultData
=
{
export
const
defaultData
=
{
"
npcTitle
"
:
"
pintu
"
,
"
npcAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/449e65975d358514cc3494f9f67bc012_l.mp3
"
,
"
npcAudioName
"
:
"
cape.mp3
"
,
"
tipSwitch
"
:
1
,
"
tipSwitch
"
:
1
,
"
tipType
"
:
"
page
"
,
"
tipType
"
:
"
page
"
,
"
tipBg
"
:
""
,
"
tipBg
"
:
""
,
"
tipPage
"
:
[{
"
tipPage
"
:
[{
"
title
"
:
""
,
"
title
"
:
""
,
"
audio
"
:
""
"
audio
"
:
""
}
}
],
],
"
title
"
:
""
,
"
title
"
:
""
,
"
audio
"
:
""
,
"
audio
"
:
""
,
...
@@ -15,43 +18,37 @@ export const defaultData = {
...
@@ -15,43 +18,37 @@ export const defaultData = {
"
points
"
:
""
,
"
points
"
:
""
,
"
questionScore
"
:
0
,
"
questionScore
"
:
0
,
"
questions
"
:
[{
"
questions
"
:
[{
"
options
"
:
[{
"
options
"
:
[{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
hotZoneItemArr
"
:
[],
"
audio
"
:
""
,
"
bgItem
"
:
""
,
"
text
"
:
""
,
"
right
"
:
false
"
time
"
:
""
,
},
{
"
right
"
:
false
"
audio
"
:
""
,
},
{
"
hotZoneItemArr
"
:
[],
"
type
"
:
"
img
"
,
"
bgItem
"
:
""
,
"
image
"
:
""
,
"
right
"
:
false
"
audio
"
:
""
,
},
{
"
text
"
:
""
,
"
audio
"
:
""
,
"
time
"
:
""
,
"
hotZoneItemArr
"
:
[],
"
right
"
:
false
"
bgItem
"
:
""
,
},
{
"
right
"
:
false
"
type
"
:
"
img
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
text
"
:
""
,
"
time
"
:
""
,
"
right
"
:
false
}
],
"
type
"
:
"
img
"
}
],
"
bgItem
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/1553dfbd077983ec0c42e03c28ded825.png
"
,
"
rect
"
:
{
"
x
"
:
0
,
"
y
"
:
62.27
,
"
width
"
:
904
,
"
height
"
:
567.45
}
}
},
],
"
hotZoneItemArr
"
:
[{
"
type
"
:
"
img
"
,
"
id
"
:
"
1686815485086
"
,
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/36067f9e2415d59fa37c3795a3929087_l.mp3
"
,
"
audioName
"
:
"
bear_3.mp3
"
,
"
bgItem
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/1553dfbd077983ec0c42e03c28ded825.png
"
,
"
rect
"
:
{
"
x
"
:
0
,
"
y
"
:
62.27
,
"
width
"
:
904
,
"
height
"
:
567.45
}
},
"
hotZoneItemArr
"
:
[{
"
id
"
:
"
1688889611322
"
,
"
index
"
:
0
,
"
index
"
:
0
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/43529c2ca99eb66d78fd920d863559a9.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/43529c2ca99eb66d78fd920d863559a9.png
"
,
"
itemType
"
:
"
pic
"
,
"
itemType
"
:
"
pic
"
,
...
@@ -70,12 +67,12 @@ export const defaultData = {
...
@@ -70,12 +67,12 @@ export const defaultData = {
"
ontColor
"
:
"
#8f3758
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
rect
"
:
{
"
x
"
:
311.77
,
"
x
"
:
311.77
,
"
y
"
:
143.5
1
,
"
y
"
:
143.5
,
"
width
"
:
280.46
,
"
width
"
:
280.46
,
"
height
"
:
280.46
"
height
"
:
280.46
}
}
},
{
},
{
"
id
"
:
"
168
6815494742
"
,
"
id
"
:
"
168
8889615595
"
,
"
index
"
:
1
,
"
index
"
:
1
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/47041db332a1ba4cd5050abf729b817d.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/47041db332a1ba4cd5050abf729b817d.png
"
,
"
itemType
"
:
"
pic
"
,
"
itemType
"
:
"
pic
"
,
...
@@ -93,13 +90,13 @@ export const defaultData = {
...
@@ -93,13 +90,13 @@ export const defaultData = {
"
fontName
"
:
"
ahronbd-1
"
,
"
fontName
"
:
"
ahronbd-1
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
rect
"
:
{
"
x
"
:
4
89
.77
,
"
x
"
:
4
90
.77
,
"
y
"
:
33
0
.5
,
"
y
"
:
33
1
.5
,
"
width
"
:
280.46
,
"
width
"
:
280.46
,
"
height
"
:
280.46
"
height
"
:
280.46
}
}
},
{
},
{
"
id
"
:
"
168
6815513031
"
,
"
id
"
:
"
168
8889616169
"
,
"
index
"
:
2
,
"
index
"
:
2
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/ce34627cca00e3eb7d869c95086d2a85.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/ce34627cca00e3eb7d869c95086d2a85.png
"
,
"
itemType
"
:
"
pic
"
,
"
itemType
"
:
"
pic
"
,
...
@@ -118,12 +115,12 @@ export const defaultData = {
...
@@ -118,12 +115,12 @@ export const defaultData = {
"
ontColor
"
:
"
#8f3758
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
rect
"
:
{
"
x
"
:
-
33.23
,
"
x
"
:
-
33.23
,
"
y
"
:
14
0
.5
,
"
y
"
:
14
3
.5
,
"
width
"
:
280.46
,
"
width
"
:
280.46
,
"
height
"
:
280.46
"
height
"
:
280.46
}
}
},
{
},
{
"
id
"
:
"
168
6815513951
"
,
"
id
"
:
"
168
8889617242
"
,
"
index
"
:
3
,
"
index
"
:
3
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/feba2ef37c412aa71a46c3c5f20abda2.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/feba2ef37c412aa71a46c3c5f20abda2.png
"
,
"
itemType
"
:
"
pic
"
,
"
itemType
"
:
"
pic
"
,
...
@@ -133,27 +130,115 @@ export const defaultData = {
...
@@ -133,27 +130,115 @@ export const defaultData = {
"
imgSizeH
"
:
300
,
"
imgSizeH
"
:
300
,
"
mapScale
"
:
0.70625
,
"
mapScale
"
:
0.70625
,
"
dragDot
"
:
{
"
dragDot
"
:
{
"
x
"
:
452
,
"
x
"
:
320
,
"
y
"
:
34
6
"
y
"
:
16
6
},
},
"
gIdx
"
:
"
0
"
,
"
gIdx
"
:
"
0
"
,
"
fontSize
"
:
50
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
ahronbd-1
"
,
"
fontName
"
:
"
ahronbd-1
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
rect
"
:
{
"
x
"
:
12
9
.77
,
"
x
"
:
12
8
.77
,
"
y
"
:
-
47.5
,
"
y
"
:
-
47.5
,
"
width
"
:
280.46
,
"
width
"
:
280.46
,
"
height
"
:
280.46
"
height
"
:
280.46
}
}
}
}
]
},
{
"
options
"
:
[],
"
type
"
:
"
img
"
,
"
bgItem
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/1553dfbd077983ec0c42e03c28ded825.png
"
,
"
rect
"
:
{
"
x
"
:
0
,
"
y
"
:
2.64
,
"
width
"
:
1094
,
"
height
"
:
686.72
}
},
"
hotZoneItemArr
"
:
[{
"
id
"
:
"
1688889777085
"
,
"
index
"
:
0
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/43529c2ca99eb66d78fd920d863559a9.png
"
,
"
itemType
"
:
"
pic
"
,
"
fontScale
"
:
0.8546875
,
"
imgScale
"
:
1.1313340227507755
,
"
imgSizeW
"
:
300
,
"
imgSizeH
"
:
300
,
"
mapScale
"
:
0.8546875
,
"
dragDot
"
:
{
"
x
"
:
547
,
"
y
"
:
346
},
"
gIdx
"
:
"
0
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
ahronbd-1
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
x
"
:
377.3
,
"
y
"
:
173.66
,
"
width
"
:
339.4
,
"
height
"
:
339.4
}
},
{
"
id
"
:
"
1688889778564
"
,
"
index
"
:
1
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/47041db332a1ba4cd5050abf729b817d.png
"
,
"
itemType
"
:
"
pic
"
,
"
fontScale
"
:
0.8546875
,
"
imgScale
"
:
1.1313340227507755
,
"
imgSizeW
"
:
300
,
"
imgSizeH
"
:
300
,
"
mapScale
"
:
0.8546875
,
"
dragDot
"
:
{
"
x
"
:
547
,
"
y
"
:
346
},
"
gIdx
"
:
"
0
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
ahronbd-1
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
x
"
:
592.3
,
"
y
"
:
398.66
,
"
width
"
:
339.4
,
"
height
"
:
339.4
}
},
{
"
id
"
:
"
1688889788878
"
,
"
index
"
:
2
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/feba2ef37c412aa71a46c3c5f20abda2.png
"
,
"
itemType
"
:
"
pic
"
,
"
fontScale
"
:
0.8546875
,
"
imgScale
"
:
1.1313340227507755
,
"
imgSizeW
"
:
300
,
"
imgSizeH
"
:
300
,
"
mapScale
"
:
0.8546875
,
"
dragDot
"
:
{
"
x
"
:
547
,
"
y
"
:
346
},
"
gIdx
"
:
"
0
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
ahronbd-1
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
x
"
:
155.3
,
"
y
"
:
-
60.34
,
"
width
"
:
339.4
,
"
height
"
:
339.4
}
}
],
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/36067f9e2415d59fa37c3795a3929087_l.mp3
"
,
"
audioName
"
:
"
bear_3.mp3
"
}
],
],
"
questionText
"
:
""
,
"
bgItem
"
:
""
,
"
npcTitle
"
:
"
hi fiddler
"
,
"
hotZoneItemArr
"
:
[],
"
npcAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/449e65975d358514cc3494f9f67bc012_l.mp3
"
,
"
questionText
"
:
""
"
npcAudioName
"
:
"
cape.mp3
"
}
}
assets/hy05_pintu/script/util_hy05_pintu.ts
View file @
5ec68f3c
...
@@ -444,3 +444,4 @@ export function onHomeworkStart(cb) {
...
@@ -444,3 +444,4 @@ export function onHomeworkStart(cb) {
}
}
form/src/app/form/form.component.html
View file @
5ec68f3c
...
@@ -89,78 +89,56 @@
...
@@ -89,78 +89,56 @@
<span>
{{ item.npcAudioName}}
</span>
<span>
{{ item.npcAudioName}}
</span>
</div>
</div>
</div>
</div>
<!-- <span style="margin-right: 20px;font-size: 18px;font-weight: bold;">提示开关 </span>
</div>
<nz-radio-group [ngModel]="item.tipSwitch" (ngModelChange)="customRadioChange($event, item,'tipSwitch')"
style="font-size: 20px;display: flex; align-items: center; justify-content: left; flex-wrap: wrap;">
<label nz-radio nzValue="1">开</label>
<label nz-radio nzValue="0">关</label>
</nz-radio-group> -->
<div
style=
"margin: 20px;width: 1300px;"
>
<!--
<div
*
ngFor=
"let question of item.questions; let i = index"
>
<div *ngIf="item.tipSwitch == 1">
<div
style=
"display: flex;margin-top: 20px;"
>
<span style="font-size: 20px;">提示动画: </span>
<div
class=
"border-solid"
style=
"min-width: 1300px;"
>
<app-upload-dragon-bone style="width: 100%" (save)="onDragonBoneSave($event,item)"
<div
class=
"word-type-title"
>
[skeJsonData]="item.imgAni.ske" [texJsonData]="item.imgAni.tex" [texPngData]="item.imgAni.png">
题目{{i+1}}
</app-upload-dragon-bone>
</div>
<div>
<span style="font-size: 20px;">提示背景: </span>
<div
class=
"option-audio"
>
<div style="width:300px">
<div
class=
"word-input-title"
>
<app-upload-image-with-preview [picUrl]="item.tipBg"
结束音频:
(imageUploaded)="onImageUploadSuccess($event,'tipBg', item)"></app-upload-image-with-preview>
</div>
</div>
<div
style=
"display: flex"
>
</div>
<div>
<div>
<app-audio-recorder
[
audioUrl
]="
question
.
audioUrl
"
<span style="font-size: 20px;">提示内容: </span>
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
audioUrl
',
question
,'
audioName
')"
>
<input *ngIf="item.tipType == 'scroll'" type="text" nz-input [(ngModel)]="item.title" (blur)="save()">
<div *ngIf="item.tipType == 'page'">
<div *ngFor="let page of item.tipPage; let m = index" style="margin-bottom: 5px; ">
<div style="display: flex;">
<div style="font-size: 20px;line-height:32px">页{{m+1}}</div>
<input style="width:700px;margin-left: 10px;" type="text" nz-input [(ngModel)]="page.title"
(blur)="save()">
<div style="margin-left: 20px;">
<app-audio-recorder [audioUrl]="page.audio"
(audioUploaded)="onAudioUploadSuccess($event, 'audio',page)">
</app-audio-recorder>
</app-audio-recorder>
</div>
</div>
<button class="btn-red" style="width: 100px; height: 32px;margin-left: 20px;" nz-button nzType="default"
<div
style=
"margin: 5px"
>
nzDanger (click)="removePage(m)">删除</button>
<span>
{{ question.audioName}}
</span>
</div>
</div>
<div
class=
"border-dashed"
style=
"margin: 20px;width: 1200px;"
>
<h2>
热区配置:
</h2>
<app-custom-hot-zone
[
bgItem
]="
question
.
bgItem
"
[
hotZoneItemArr
]="
question
.
hotZoneItemArr
"
[
customTypeGroupArr
]="
customTypeGroupArr
"
(
save
)="
saveHotZone
(
question
,
$
event
)"
>
</app-custom-hot-zone>
</div>
</div>
</div>
</div>
<button class="btn-blue" style="width: 150px; height: 32px;" nz-button nzType="default" nzDanger
(click)="addPage()">+增加提示内容</button>
</div>
<div
style=
"margin:0 20px"
>
<button
class=
"btn-red"
nz-button
nzType=
"default"
nzDanger
(
click
)="
removequestion
(
i
)"
>
删除题目
</button>
</div>
</div>
</div>
</div>
</div> -->
<div
style=
"margin-top: 20px;"
>
<!--
<button
class=
"btn-blue"
style=
"width: 1300px; height: 50px;"
nz-button
nzType=
"default"
nzDanger
<div>
(
click
)="
addquestion
()"
>
+增加题目
</button>
<span style="font-size: 20px;">游戏背景: </span>
<div style="width:300px">
<app-upload-image-with-preview [picUrl]="item.image"
(imageUploaded)="onImageUploadSuccess($event,'image', item)"></app-upload-image-with-preview>
</div>
</div>
</div>
</div>
<div style="display: flex; align-items: center; ">
<h2> 题目分值: </h2>
</div>
<input type="text" nz-input [(ngModel)]="item.questionScore" (blur)="save()">
<span style="font-size: 20px;">结束动画: </span>
<app-upload-dragon-bone style="width: 100%" (save)="onDragonBoneSave($event,item)"
[skeJsonData]="item.endImgAni.ske" [texJsonData]="item.endImgAni.tex" [texPngData]="item.endImgAni.png">
</app-upload-dragon-bone>
<span style="font-size: 20px;">结束动画文本: </span>
<input type="text" nz-input [(ngModel)]="item.endImgTitle" (blur)="save()">
<div style="display: flex; align-items: center; ">
<h2> 跳转页面: </h2>
</div>
<input type="text" nz-input [(ngModel)]="item.jumpIdx" (blur)="save()">
</div> -->
<div
class=
"border-dashed"
style=
"margin: 20px;width: 1000px;"
>
<h2>
热区配置:
</h2>
<app-custom-hot-zone
[
bgItem
]="
item
.
bgItem
"
[
hotZoneItemArr
]="
item
.
hotZoneItemArr
"
[
customTypeGroupArr
]="
customTypeGroupArr
"
(
save
)="
saveHotZone
(
item
,
$
event
)"
>
</app-custom-hot-zone>
</div>
</div>
</div>
</div>
...
...
form/src/app/form/form.component.ts
View file @
5ec68f3c
...
@@ -176,11 +176,9 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
...
@@ -176,11 +176,9 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
addoption
(
i
)
{
addoption
(
i
)
{
this
.
item
.
questions
[
i
].
options
.
push
({
this
.
item
.
questions
[
i
].
options
.
push
({
type
:
"
img
"
,
image
:
""
,
audio
:
""
,
audio
:
""
,
text
:
""
,
hotZoneItemArr
:
[]
,
time
:
""
,
bgItem
:
""
,
right
:
false
right
:
false
});
});
this
.
save
();
this
.
save
();
...
...
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