Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg10_ty
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
dg10_ty
Commits
5b9a217b
Commit
5b9a217b
authored
Oct 01, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
游戏完成
parent
dd7329ff
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2194 additions
and
642 deletions
+2194
-642
dg08_hx.fire
assets/dg08_hx/scene/dg08_hx.fire
+2029
-334
dg08_hx.ts
assets/dg08_hx/scene/dg08_hx.ts
+92
-241
Game.ts
assets/dg08_hx/scene/tool/Game.ts
+47
-41
pg.ts
assets/dg08_hx/scene/tool/pg.ts
+6
-0
defaultData.ts
assets/dg08_hx/script/defaultData.ts
+1
-25
form.component.html
form/src/app/form/form.component.html
+18
-1
form.component.ts
form/src/app/form/form.component.ts
+1
-0
No files found.
assets/dg08_hx/scene/dg08_hx.fire
View file @
5b9a217b
...
...
@@ -84,40 +84,40 @@
"__id__": 49
},
{
"__id__": 6
1
"__id__": 6
4
},
{
"__id__":
71
"__id__":
106
},
{
"__id__":
76
"__id__":
111
},
{
"__id__":
96
"__id__":
131
},
{
"__id__": 1
09
"__id__": 1
44
},
{
"__id__": 1
30
"__id__": 1
65
},
{
"__id__": 1
32
"__id__": 1
67
},
{
"__id__": 1
36
"__id__": 1
71
}
],
"_active": true,
"_components": [
{
"__id__": 1
62
"__id__": 1
97
},
{
"__id__": 1
63
"__id__": 1
98
},
{
"__id__": 1
64
"__id__": 1
99
}
],
"_prefab": null,
...
...
@@ -2205,13 +2205,13 @@
"__id__": 50
},
{
"__id__":
57
"__id__":
60
}
],
"_active": true,
"_components": [
{
"__id__": 6
0
"__id__": 6
3
}
],
"_prefab": null,
...
...
@@ -2225,8 +2225,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
192
0,
"height":
108
0
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2275,15 +2275,18 @@
},
{
"__id__": 53
},
{
"__id__": 56
}
],
"_active": true,
"_components": [
{
"__id__": 5
5
"__id__": 5
8
},
{
"__id__": 5
6
"__id__": 5
9
}
],
"_prefab": null,
...
...
@@ -2309,8 +2312,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0
,
4
46.696
,
75.616
,
4
16.333
,
0,
0,
0,
...
...
@@ -2336,7 +2339,7 @@
},
{
"__type__": "cc.Node",
"_name": "
round
",
"_name": "
bg_title
",
"_objFlags": 0,
"_parent": {
"__id__": 50
...
...
@@ -2353,14 +2356,111 @@
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 2
4
5,
"b": 2
22
,
"g": 2
5
5,
"b": 2
55
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 45.36
"width": 147,
"height": 114
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-141.762,
10.967,
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": "91cql1JgZG9pys5a9i0Eod"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "53786c4f-7a97-4be3-9593-eaff4c963e3b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "82IH4nDeBGbr2dPyQHT14k"
},
{
"__type__": "cc.Node",
"_name": "round",
"_objFlags": 0,
"_parent": {
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 54
},
{
"__id__": 55
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 27,
"g": 112,
"b": 184,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2,
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2371,8 +2471,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1
39.685
,
1
7.337
,
-1
48.654
,
1
0.413
,
0,
0,
0,
...
...
@@ -2401,7 +2501,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
1
"__id__": 5
3
},
"_enabled": true,
"_materials": [
...
...
@@ -2413,8 +2513,8 @@
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize":
36
,
"_lineHeight":
36
,
"_fontSize":
40
,
"_lineHeight":
50
,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c997d9b5-8f21-439c-a5d4-c699f99a8b07"
...
...
@@ -2422,7 +2522,7 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags":
0
,
"_styleFlags":
1
,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
...
...
@@ -2431,6 +2531,24 @@
"_N$cacheMode": 0,
"_id": "db0xJcvphKbpLmc9SkIAl8"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 27,
"g": 112,
"b": 184,
"a": 255
},
"_width": 1,
"_id": "d4j3ywcnRIYrnrFp674meh"
},
{
"__type__": "cc.Node",
"_name": "time",
...
...
@@ -2442,22 +2560,22 @@
"_active": true,
"_components": [
{
"__id__": 5
4
"__id__": 5
7
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r":
9
5,
"g":
119
,
"b":
151
,
"r":
25
5,
"g":
255
,
"b":
255
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
96.41
,
"height":
45.36
"width":
133.9
,
"height":
63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2468,8 +2586,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
92
.539,
17.337
,
21
.539,
-0.093
,
0,
0,
0,
...
...
@@ -2498,7 +2616,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
6
},
"_enabled": true,
"_materials": [
...
...
@@ -2510,8 +2628,8 @@
"_dstBlendFactor": 771,
"_string": "00:00",
"_N$string": "00:00",
"_fontSize":
36
,
"_lineHeight":
36
,
"_fontSize":
50
,
"_lineHeight":
50
,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c997d9b5-8f21-439c-a5d4-c699f99a8b07"
...
...
@@ -2519,7 +2637,7 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags":
0
,
"_styleFlags":
1
,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
...
...
@@ -2598,10 +2716,10 @@
"_active": false,
"_components": [
{
"__id__":
58
"__id__":
61
},
{
"__id__":
59
"__id__":
62
}
],
"_prefab": null,
...
...
@@ -2657,7 +2775,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
57
"__id__":
60
},
"_enabled": true,
"_materials": [
...
...
@@ -2692,7 +2810,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
57
"__id__":
60
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -2724,11 +2842,11 @@
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags":
45
,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_alignFlags":
1
,
"_left":
96
0,
"_right":
96
0,
"_top":
54
0,
"_bottom":
54
0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
...
...
@@ -2750,16 +2868,22 @@
},
"_children": [
{
"__id__": 6
2
"__id__": 6
5
},
{
"__id__": 64
"__id__": 68
},
{
"__id__": 90
},
{
"__id__": 91
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__":
70
"__id__":
105
}
],
"_prefab": null,
...
...
@@ -2812,16 +2936,19 @@
},
{
"__type__": "cc.Node",
"_name": "
player
",
"_name": "
btn_fish
",
"_objFlags": 0,
"_parent": {
"__id__": 6
1
"__id__": 6
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 66
},
{
"__id__": 67
}
],
"_prefab": null,
...
...
@@ -2835,20 +2962,20 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
345.83948822826306
,
"height":
470.147826086957
"width":
521
,
"height":
351
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.
5
,
"y": 0.
5
"x": 0.
34
,
"y": 0.
81
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-550
,
-
95
,
605.6179999999999
,
-
255.69
,
0,
0,
0,
...
...
@@ -2870,14 +2997,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
f1M2Zil0RCOJLM+cPljp4d
"
"_id": "
e5KvY6X2VFJIqXDR0K/l6Q
"
},
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.Sprite
",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
2
"__id__": 6
5
},
"_enabled": true,
"_materials": [
...
...
@@ -2885,54 +3012,72 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 0,
"premultipliedAlpha": false,
"_armatureKey": "6ea0dfe1-ab9d-4740-95c8-fc2e42be839a#8db46c95-192d-4dcd-acd1-e8f30a67f5e1",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "6ea0dfe1-ab9d-4740-95c8-fc2e42be839a"
},
"_N$dragonAtlasAsset": {
"__uuid__": "8db46c95-192d-4dcd-acd1-e8f30a67f5e1"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "8c7V4pLAdNc4Xu+U4PZeqh"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1e1c4847-a65b-4c3b-a30d-d9d8b2e40b81"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "32H0GUP6dAtpgJx8b+qFy3"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 10.522000000000048,
"_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": "60eXEabKdMo4sQ8znQ2QY6"
},
{
"__type__": "cc.Node",
"_name": "
star
",
"_name": "
layout_pop
",
"_objFlags": 0,
"_parent": {
"__id__": 6
1
"__id__": 6
4
},
"_children": [
{
"__id__": 65
}
],
"_active": true,
"_components": [
"__id__": 69
},
{
"__id__":
68
"__id__":
74
},
{
"__id__":
69
"__id__":
81
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -2944,8 +3089,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
227
,
"height":
345
"width":
0
,
"height":
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2956,8 +3101,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
445
,
-7
0,
0
,
0,
0,
0,
0,
...
...
@@ -2979,23 +3124,1397 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
4akS0SkHBOn6q3LZ7iN6/M
"
"_id": "
dfCG1QicNJl5Cy1PKT9s/T
"
},
{
"__type__": "cc.Node",
"_name": "
word
",
"_name": "
layout_2
",
"_objFlags": 0,
"_parent": {
"__id__": 6
4
"__id__": 6
8
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__":
66
"__id__":
70
},
{
"__id__": 67
"__id__": 72
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 150
},
"_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": "f4zW3hsy9ENr0IzYgNjTeJ"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 69
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-284.848,
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": "e1pfJrw+VF35jI8in3/J9N"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5765efGVxOy419GNnuR37N"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 69
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 73
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
365.035,
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": "d4dmwMN6tPsa2nFmCE0Pru"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "49tZUDxc9IkoTP3A1J5FYr"
},
{
"__type__": "cc.Node",
"_name": "layout_3",
"_objFlags": 0,
"_parent": {
"__id__": 68
},
"_children": [
{
"__id__": 75
},
{
"__id__": 77
},
{
"__id__": 79
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 150
},
"_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": "ebkR1feMJEwI/H8ZDsEpRJ"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-547,
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": "baiSAXYaNL2ZGRpcKZEoJs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1dNkLc1ilBdq/6SSGrY3yw"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
11,
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": "b7t3LAPQRGGLWGYRcb6qaq"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4e/teIsslCeZ8uz2fGRRvH"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
569,
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": "c6mbH68f1Ha5QvQbMA1v8A"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "49u8OHlWZK7LOCBtRX4Q8o"
},
{
"__type__": "cc.Node",
"_name": "layout_4",
"_objFlags": 0,
"_parent": {
"__id__": 68
},
"_children": [
{
"__id__": 82
},
{
"__id__": 84
},
{
"__id__": 86
},
{
"__id__": 88
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 150
},
"_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": "7cddLDiuVPYLKAdSszVA7C"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-704,
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": "063yzejeFIG6vC7Ldu1+0w"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "98Xl/0m2pL2pBnoIq6Np1+"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-231,
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": "e7ZgK9HFpO3qD/zLFux6XI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "21IAxFsYJIQ63sD0teMoRc"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 87
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
241,
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": "a5CUayEnNFuZbTiccTCFc3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e75mtKWDJKb71kdrmlOLix"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 89
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
714,
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": "3amint7IxOyoncIsmGQvH1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3dJH7gfltFjqsFXOPBYXxK"
},
{
"__type__": "cc.Node",
"_name": "layout_play",
"_objFlags": 0,
"_parent": {
"__id__": 64
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "26gwe83CBITplfgp8FtwaK"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 64
},
"_children": [
{
"__id__": 92
},
{
"__id__": 94
},
{
"__id__": 96
},
{
"__id__": 99
},
{
"__id__": 102
}
],
"_active": false,
"_components": [
{
"__id__": 104
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 420,
"height": 420
},
"_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": "0fA+MqdCxICImhmLmc5E1p"
},
{
"__type__": "cc.Node",
"_name": "btn_poper",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 418,
"height": 419
},
"_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": "a5wywcLKlOMb+Opc26JyWy"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "481b840e-a6a4-4fe8-bbbf-5f09690249a6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "47NoIuAXNLkJVLSxFyL/gM"
},
{
"__type__": "cc.Node",
"_name": "btn_poper_break",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 483,
"height": 472
},
"_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": "59McwI9hFHPZPmSgsWKN3P"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "816d5845-0aef-4607-a5cd-eec0a5dda30d"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "44FFgBlbxOoJdN1EN0Hvex"
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 97
},
{
"__id__": 98
}
],
"_prefab": null,
...
...
@@ -3003,14 +4522,14 @@
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 2
4
5,
"b": 2
22
,
"g": 2
5
5,
"b": 2
55
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
8
,
"height":
88.64
"width":
358.6
,
"height":
136
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3022,7 +4541,7 @@
"ctor": "Float64Array",
"array": [
0,
197.499
,
0
,
0,
0,
0,
...
...
@@ -3044,14 +4563,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
11Rsk+jHlEWoqBYL8G4ZxE
"
"_id": "
987qPZK55GSq578bF5e4+Y
"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
65
"__id__":
96
},
"_enabled": true,
"_materials": [
...
...
@@ -3061,10 +4580,10 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 6
4
,
"_lineHeight":
64
,
"_string": "
intnationnal
",
"_N$string": "
intnationnal
",
"_fontSize": 6
0
,
"_lineHeight":
100
,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c997d9b5-8f21-439c-a5d4-c699f99a8b07"
...
...
@@ -3072,39 +4591,219 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags":
0
,
"_styleFlags":
1
,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow":
0
,
"_N$overflow":
2
,
"_N$cacheMode": 0,
"_id": "
d2A/4PCapOC6CWSapBF3Vz
"
"_id": "
6dTg6yNSxCSLT889hyPxke
"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
"__id__": 96
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 27,
"g": 112,
"b": 184,
"a": 255
},
"_width": 5,
"_id": "5bZD08nfxJBo02tZmYwJ01"
},
{
"__type__": "cc.Node",
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
},
{
"__id__": 101
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300.5,
"height": 136
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-99.871,
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": "eaIa1KB7FHPrS2ldDK6oaE"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "intnationnal",
"_N$string": "intnationnal",
"_fontSize": 50,
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c997d9b5-8f21-439c-a5d4-c699f99a8b07"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 1,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "b2JEivZSBGwp/dZnEpUYax"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 58,
"g": 121,
"b": 186,
"r": 27,
"g": 112,
"b": 184,
"a": 255
},
"_width": 5,
"_id": "56Kq68ZbFOq7anD7fXhhG4"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 103
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_width": 4,
"_id": "65xdai59lMyKWjX+nVrF7i"
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
34.249,
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": "39oPDiOqVE+bXfedWTFUuE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
64
"__id__":
102
},
"_enabled": true,
"_materials": [
...
...
@@ -3115,10 +4814,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
83e25ef2-bf86-4450-bb4d-d5c43e37da74
"
"__uuid__": "
a23235d1-15db-4b95-8439-a2e005bfff91
"
},
"_type": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -3129,14 +4828,14 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
60vUBaLGtOL48j+hw29B8n
"
"_id": "
daUiBQA3RFRrCAVTqxPahO
"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
64
"__id__":
91
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3196,15 +4895,17 @@
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "99KVwu23xP6JvDDExcEuBO"
"_N$target": {
"__id__": 91
},
"_id": "9cHxufFsdK+57cybP2VpLy"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
1
"__id__": 6
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -3235,16 +4936,16 @@
},
"_children": [
{
"__id__":
72
"__id__":
107
}
],
"_active": true,
"_components": [
{
"__id__":
74
"__id__":
109
},
{
"__id__":
75
"__id__":
110
}
],
"_prefab": null,
...
...
@@ -3270,8 +4971,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
8
67.985
,
423.
535
,
8
04.87
,
423.
97
,
0,
0,
0,
...
...
@@ -3300,13 +5001,13 @@
"_name": "btn_laba2",
"_objFlags": 0,
"_parent": {
"__id__":
71
"__id__":
106
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
73
"__id__":
108
}
],
"_prefab": null,
...
...
@@ -3362,7 +5063,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
72
"__id__":
107
},
"_enabled": true,
"_materials": [
...
...
@@ -3394,7 +5095,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
71
"__id__":
106
},
"_enabled": true,
"_materials": [
...
...
@@ -3426,15 +5127,15 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
71
"__id__":
106
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right":
21.514999999999986
,
"_top": 56.
464999999999975
,
"_right":
84.63
,
"_top": 56.
02999999999997
,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
...
...
@@ -3457,22 +5158,22 @@
},
"_children": [
{
"__id__":
77
"__id__":
112
},
{
"__id__":
80
"__id__":
115
},
{
"__id__":
85
"__id__":
120
},
{
"__id__":
90
"__id__":
125
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__":
95
"__id__":
130
}
],
"_prefab": null,
...
...
@@ -3528,16 +5229,16 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__":
76
"__id__":
111
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
78
"__id__":
113
},
{
"__id__":
79
"__id__":
114
}
],
"_prefab": null,
...
...
@@ -3593,7 +5294,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
77
"__id__":
112
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -3620,7 +5321,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
77
"__id__":
112
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3688,14 +5389,14 @@
"_name": "img_gj",
"_objFlags": 0,
"_parent": {
"__id__":
76
"__id__":
111
},
"_children": [
{
"__id__":
81
"__id__":
116
},
{
"__id__":
83
"__id__":
118
}
],
"_active": false,
...
...
@@ -3753,13 +5454,13 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
115
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
82
"__id__":
117
}
],
"_prefab": null,
...
...
@@ -3815,7 +5516,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
81
"__id__":
116
},
"_enabled": true,
"_materials": [
...
...
@@ -3845,13 +5546,13 @@
"_name": "bg_goodjob",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
84
"__id__":
119
}
],
"_prefab": null,
...
...
@@ -3907,7 +5608,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
83
"__id__":
118
},
"_enabled": true,
"_materials": [
...
...
@@ -3939,14 +5640,14 @@
"_name": "img_ta",
"_objFlags": 0,
"_parent": {
"__id__":
76
"__id__":
111
},
"_children": [
{
"__id__":
86
"__id__":
121
},
{
"__id__":
88
"__id__":
123
}
],
"_active": false,
...
...
@@ -4004,13 +5705,13 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__":
85
"__id__":
120
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
87
"__id__":
122
}
],
"_prefab": null,
...
...
@@ -4066,7 +5767,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
86
"__id__":
121
},
"_enabled": true,
"_materials": [
...
...
@@ -4096,13 +5797,13 @@
"_name": "bg_goodjob",
"_objFlags": 0,
"_parent": {
"__id__":
85
"__id__":
120
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
89
"__id__":
124
}
],
"_prefab": null,
...
...
@@ -4158,7 +5859,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
88
"__id__":
123
},
"_enabled": true,
"_materials": [
...
...
@@ -4190,14 +5891,14 @@
"_name": "img_co",
"_objFlags": 0,
"_parent": {
"__id__":
76
"__id__":
111
},
"_children": [
{
"__id__":
91
"__id__":
126
},
{
"__id__":
93
"__id__":
128
}
],
"_active": false,
...
...
@@ -4255,13 +5956,13 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__":
90
"__id__":
125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
92
"__id__":
127
}
],
"_prefab": null,
...
...
@@ -4317,7 +6018,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
91
"__id__":
126
},
"_enabled": true,
"_materials": [
...
...
@@ -4347,13 +6048,13 @@
"_name": "bg_goodjob",
"_objFlags": 0,
"_parent": {
"__id__":
90
"__id__":
125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
94
"__id__":
129
}
],
"_prefab": null,
...
...
@@ -4409,7 +6110,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
93
"__id__":
128
},
"_enabled": true,
"_materials": [
...
...
@@ -4439,7 +6140,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
76
"__id__":
111
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -4470,25 +6171,25 @@
},
"_children": [
{
"__id__":
97
"__id__":
132
},
{
"__id__":
99
"__id__":
134
},
{
"__id__": 1
01
"__id__": 1
36
},
{
"__id__": 1
03
"__id__": 1
38
},
{
"__id__": 1
05
"__id__": 1
40
},
{
"__id__": 1
07
"__id__": 1
42
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [],
"_prefab": null,
"_opacity": 255,
...
...
@@ -4543,13 +6244,13 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__":
96
"__id__":
131
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
98
"__id__":
133
}
],
"_prefab": null,
...
...
@@ -4605,7 +6306,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
97
"__id__":
132
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -4673,13 +6374,13 @@
"_name": "bg_instructions",
"_objFlags": 0,
"_parent": {
"__id__":
96
"__id__":
131
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
00
"__id__": 1
35
}
],
"_prefab": null,
...
...
@@ -4735,7 +6436,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
99
"__id__":
134
},
"_enabled": true,
"_materials": [
...
...
@@ -4767,13 +6468,13 @@
"_name": "text_1",
"_objFlags": 0,
"_parent": {
"__id__":
96
"__id__":
131
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 1
02
"__id__": 1
37
}
],
"_prefab": null,
...
...
@@ -4829,7 +6530,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
01
"__id__": 1
36
},
"_enabled": true,
"_materials": [
...
...
@@ -4861,13 +6562,13 @@
"_name": "text_2",
"_objFlags": 0,
"_parent": {
"__id__":
96
"__id__":
131
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 1
04
"__id__": 1
39
}
],
"_prefab": null,
...
...
@@ -4923,7 +6624,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
03
"__id__": 1
38
},
"_enabled": true,
"_materials": [
...
...
@@ -4955,13 +6656,13 @@
"_name": "text_3",
"_objFlags": 0,
"_parent": {
"__id__":
96
"__id__":
131
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 1
06
"__id__": 1
41
}
],
"_prefab": null,
...
...
@@ -5017,7 +6718,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
05
"__id__": 1
40
},
"_enabled": true,
"_materials": [
...
...
@@ -5049,13 +6750,13 @@
"_name": "text_0",
"_objFlags": 0,
"_parent": {
"__id__":
96
"__id__":
131
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 1
08
"__id__": 1
43
}
],
"_prefab": null,
...
...
@@ -5111,7 +6812,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
07
"__id__": 1
42
},
"_enabled": true,
"_materials": [
...
...
@@ -5147,19 +6848,19 @@
},
"_children": [
{
"__id__": 1
10
"__id__": 1
45
},
{
"__id__": 1
14
"__id__": 1
49
},
{
"__id__": 1
18
"__id__": 1
53
},
{
"__id__": 1
22
"__id__": 1
57
},
{
"__id__": 1
26
"__id__": 1
61
}
],
"_active": false,
...
...
@@ -5217,11 +6918,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
09
"__id__": 1
44
},
"_children": [
{
"__id__": 1
11
"__id__": 1
46
}
],
"_active": true,
...
...
@@ -5279,11 +6980,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 1
10
"__id__": 1
45
},
"_children": [
{
"__id__": 1
12
"__id__": 1
47
}
],
"_active": true,
...
...
@@ -5341,13 +7042,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 1
11
"__id__": 1
46
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
13
"__id__": 1
48
}
],
"_prefab": null,
...
...
@@ -5403,7 +7104,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
12
"__id__": 1
47
},
"_enabled": true,
"_materials": [
...
...
@@ -5433,11 +7134,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
09
"__id__": 1
44
},
"_children": [
{
"__id__": 1
15
"__id__": 1
50
}
],
"_active": true,
...
...
@@ -5495,11 +7196,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 1
14
"__id__": 1
49
},
"_children": [
{
"__id__": 1
16
"__id__": 1
51
}
],
"_active": true,
...
...
@@ -5557,13 +7258,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 1
15
"__id__": 1
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
17
"__id__": 1
52
}
],
"_prefab": null,
...
...
@@ -5619,7 +7320,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
16
"__id__": 1
51
},
"_enabled": true,
"_materials": [
...
...
@@ -5649,11 +7350,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
09
"__id__": 1
44
},
"_children": [
{
"__id__": 1
19
"__id__": 1
54
}
],
"_active": true,
...
...
@@ -5711,11 +7412,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 1
18
"__id__": 1
53
},
"_children": [
{
"__id__": 1
20
"__id__": 1
55
}
],
"_active": true,
...
...
@@ -5773,13 +7474,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 1
19
"__id__": 1
54
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
21
"__id__": 1
56
}
],
"_prefab": null,
...
...
@@ -5835,7 +7536,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
20
"__id__": 1
55
},
"_enabled": true,
"_materials": [
...
...
@@ -5865,11 +7566,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
09
"__id__": 1
44
},
"_children": [
{
"__id__": 1
23
"__id__": 1
58
}
],
"_active": true,
...
...
@@ -5927,11 +7628,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 1
22
"__id__": 1
57
},
"_children": [
{
"__id__": 1
24
"__id__": 1
59
}
],
"_active": true,
...
...
@@ -5989,13 +7690,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 1
23
"__id__": 1
58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
25
"__id__": 1
60
}
],
"_prefab": null,
...
...
@@ -6051,7 +7752,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
24
"__id__": 1
59
},
"_enabled": true,
"_materials": [
...
...
@@ -6081,11 +7782,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
09
"__id__": 1
44
},
"_children": [
{
"__id__": 1
27
"__id__": 1
62
}
],
"_active": true,
...
...
@@ -6143,11 +7844,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 1
26
"__id__": 1
61
},
"_children": [
{
"__id__": 1
28
"__id__": 1
63
}
],
"_active": true,
...
...
@@ -6205,13 +7906,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 1
27
"__id__": 1
62
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
29
"__id__": 1
64
}
],
"_prefab": null,
...
...
@@ -6267,7 +7968,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
28
"__id__": 1
63
},
"_enabled": true,
"_materials": [
...
...
@@ -6303,7 +8004,7 @@
"_active": false,
"_components": [
{
"__id__": 1
31
"__id__": 1
66
}
],
"_prefab": null,
...
...
@@ -6359,7 +8060,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
30
"__id__": 1
65
},
"_enabled": true,
"_materials": [
...
...
@@ -6395,13 +8096,13 @@
},
"_children": [
{
"__id__": 1
33
"__id__": 1
68
}
],
"_active": false,
"_components": [
{
"__id__": 1
35
"__id__": 1
70
}
],
"_prefab": null,
...
...
@@ -6457,13 +8158,13 @@
"_name": "bg_record",
"_objFlags": 0,
"_parent": {
"__id__": 1
32
"__id__": 1
67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
34
"__id__": 1
69
}
],
"_prefab": null,
...
...
@@ -6519,7 +8220,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
33
"__id__": 1
68
},
"_enabled": true,
"_materials": [
...
...
@@ -6551,7 +8252,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
32
"__id__": 1
67
},
"_enabled": true,
"_materials": [
...
...
@@ -6587,43 +8288,43 @@
},
"_children": [
{
"__id__": 1
37
"__id__": 1
72
},
{
"__id__": 1
41
"__id__": 1
76
},
{
"__id__": 1
43
"__id__": 1
78
},
{
"__id__": 1
45
"__id__": 1
80
},
{
"__id__": 1
47
"__id__": 1
82
},
{
"__id__": 1
49
"__id__": 1
84
},
{
"__id__": 1
51
"__id__": 1
86
},
{
"__id__": 1
53
"__id__": 1
88
},
{
"__id__": 1
55
"__id__": 1
90
},
{
"__id__": 1
57
"__id__": 1
92
},
{
"__id__": 1
59
"__id__": 1
94
}
],
"_active": false,
"_components": [
{
"__id__": 1
61
"__id__": 1
96
}
],
"_prefab": null,
...
...
@@ -6679,19 +8380,19 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
38
"__id__": 1
73
},
{
"__id__": 1
39
"__id__": 1
74
},
{
"__id__": 1
40
"__id__": 1
75
}
],
"_prefab": null,
...
...
@@ -6747,7 +8448,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
37
"__id__": 1
72
},
"_enabled": true,
"_materials": [
...
...
@@ -6779,7 +8480,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
37
"__id__": 1
72
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -6806,7 +8507,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
37
"__id__": 1
72
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -6874,13 +8575,13 @@
"_name": "bg_congratulation",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
42
"__id__": 1
77
}
],
"_prefab": null,
...
...
@@ -6936,7 +8637,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
41
"__id__": 1
76
},
"_enabled": true,
"_materials": [
...
...
@@ -6968,13 +8669,13 @@
"_name": "bg_settle",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
44
"__id__": 1
79
}
],
"_prefab": null,
...
...
@@ -7030,7 +8731,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
43
"__id__": 1
78
},
"_enabled": true,
"_materials": [
...
...
@@ -7062,13 +8763,13 @@
"_name": "bg_settle",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
46
"__id__": 1
81
}
],
"_prefab": null,
...
...
@@ -7124,7 +8825,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
45
"__id__": 1
80
},
"_enabled": true,
"_materials": [
...
...
@@ -7156,13 +8857,13 @@
"_name": "btn_restart",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
48
"__id__": 1
83
}
],
"_prefab": null,
...
...
@@ -7218,7 +8919,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
47
"__id__": 1
82
},
"_enabled": true,
"_materials": [
...
...
@@ -7250,13 +8951,13 @@
"_name": "btn_close",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
50
"__id__": 1
85
}
],
"_prefab": null,
...
...
@@ -7312,7 +9013,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
49
"__id__": 1
84
},
"_enabled": true,
"_materials": [
...
...
@@ -7344,13 +9045,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
52
"__id__": 1
87
}
],
"_prefab": null,
...
...
@@ -7406,7 +9107,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
51
"__id__": 1
86
},
"_enabled": true,
"_materials": [
...
...
@@ -7441,13 +9142,13 @@
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
54
"__id__": 1
89
}
],
"_prefab": null,
...
...
@@ -7503,7 +9204,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
53
"__id__": 1
88
},
"_enabled": true,
"_materials": [
...
...
@@ -7538,13 +9239,13 @@
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
56
"__id__": 1
91
}
],
"_prefab": null,
...
...
@@ -7600,7 +9301,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
55
"__id__": 1
90
},
"_enabled": true,
"_materials": [
...
...
@@ -7635,13 +9336,13 @@
"_name": "count",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
58
"__id__": 1
93
}
],
"_prefab": null,
...
...
@@ -7697,7 +9398,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
57
"__id__": 1
92
},
"_enabled": true,
"_materials": [
...
...
@@ -7732,13 +9433,13 @@
"_name": "time",
"_objFlags": 0,
"_parent": {
"__id__": 1
36
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
60
"__id__": 1
95
}
],
"_prefab": null,
...
...
@@ -7794,7 +9495,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
59
"__id__": 1
94
},
"_enabled": true,
"_materials": [
...
...
@@ -7829,7 +9530,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
36
"__id__": 1
71
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7904,31 +9605,25 @@
},
"_enabled": true,
"layout_game": {
"__id__": 6
1
"__id__": 6
4
},
"layout_tip": {
"__id__":
76
"__id__":
111
},
"btn_laba": {
"__id__": 71
},
"player_node": {
"__id__": 62
},
"star_node": {
"__id__": 64
"__id__": 106
},
"btn_record": {
"__id__": 1
30
"__id__": 1
65
},
"btn_recording": {
"__id__": 1
32
"__id__": 1
67
},
"label_time": {
"__id__": 5
3
"__id__": 5
6
},
"layout_final": {
"__id__": 1
36
"__id__": 1
71
},
"_id": "db3L+4L+FH/5MIRcKcfiq+"
}
...
...
assets/dg08_hx/scene/dg08_hx.ts
View file @
5b9a217b
import
{
asyncDelay
,
onHomeworkFinish
,
RandomInt
}
from
"
../script/util
"
;
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent
"
;
import
Game
,
{
FISH_OUT
,
GAME_STATE
,
Option
}
from
"
./tool/Game
"
;
import
Game
,
{
FISH_OUT
,
GAME_STATE
,
Option
,
Question
}
from
"
./tool/Game
"
;
import
pg
from
"
./tool/pg
"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
...
@@ -81,10 +81,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
@
property
(
cc
.
Node
)
btn_laba
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
player_node
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
star_node
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
btn_record
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
btn_recording
:
cc
.
Node
=
null
;
...
...
@@ -93,8 +89,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
@
property
(
cc
.
Node
)
layout_final
:
cc
.
Node
=
null
;
private
starData
:
Op
tion
;
private
tryData
:
Array
<
Op
tion
>
;
private
starData
:
Ques
tion
;
private
tryData
:
Array
<
Ques
tion
>
;
private
countDown
:
number
=
999999
;
private
timeCount
:
number
;
private
startCount
=
15
;
...
...
@@ -106,7 +102,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
tryData
=
[];
this
.
starData
=
null
;
// 所有全局变量 默认都是null
this
.
starData
=
Game
.
getIns
().
getC
ardInfo
();
this
.
starData
=
Game
.
getIns
().
getC
urrentPage
();
this
.
startSecond
=
false
;
this
.
timeSecond
=
0
;
this
.
assessCount
=
0
;
...
...
@@ -115,7 +111,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
audioId
:
any
;
async
initView
()
{
this
.
player_node
.
x
=
-
1500
;
cc
.
audioEngine
.
stopAllEffects
();
this
.
layout_start
=
pg
.
view
.
find
(
this
,
"
layout_start
"
);
...
...
@@ -126,40 +121,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
initBg
()
{
// 处理背景及自动的动画
}
initEvent
()
{
this
.
btn_laba
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
playLaba
,
this
);
this
.
btn_record
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onTouchRecord
,
this
);
this
.
btn_recording
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onTouchRecordEnd
,
this
);
cc
.
find
(
"
btn_close
"
,
this
.
layout_final
).
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onCloseFinal
,
this
);
cc
.
find
(
"
btn_restart
"
,
this
.
layout_final
).
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onRestart
,
this
);
pg
.
event
.
on
(
"
game_start
"
,
()
=>
{
this
.
gameStart
();
});
// pg.event.on("game_time_over", () => {
// // alert("game_time_over")
// //这里的事件会发送的很早。但是我们需要等待动画执行完了之后再开始后续的内容
// Game.getIns().addPage();
// if (!Game.getIns().isOver) return pg.event.emit("game_start");
// //发送给上端最后的数据
// // alert("game_finish")
// // int total
// // int right
// // int[] scores
// // let player = { right: Game.getIns().player.score, error: Game.getIns().player.error }
// })
}
private
onRestart
()
{
this
.
playLocalAudio
(
"
btn
"
);
this
.
initPendantPos
();
this
.
layout_final
.
active
=
false
;
this
.
label_time
.
getComponent
(
cc
.
Label
).
string
=
"
00:00
"
;
this
.
onLoadEnd
();
...
...
@@ -174,14 +145,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
tween
(
seabed
).
by
(
1.5
,
{
x
:
-
150
}).
start
();
cc
.
tween
(
could
).
by
(
1.5
,
{
x
:
-
150
}).
start
();
}
private
playerEnter
()
{
this
.
player_node
.
x
=
-
1500
;
cc
.
tween
(
this
.
player_node
).
to
(
1.5
,
{
x
:
-
550
}).
call
(()
=>
{
this
.
showStar
();
}).
start
();
}
private
intervalId
;
private
playLaba
()
{
let
btn_kaba2
=
this
.
btn_laba
.
getChildByName
(
"
btn_laba2
"
);
...
...
@@ -217,183 +180,95 @@ export default class SceneComponent extends MyCocosSceneComponent {
onHomeworkFinish
(
data
)
}
gameStart
(
isRight
=
true
)
{
gameStart
()
{
Game
.
getIns
().
state
=
GAME_STATE
.
RUNNING
;
this
.
startSecond
=
true
;
this
.
layout_start
.
active
=
false
;
if
(
isRight
)
{
this
.
pendantMove
();
this
.
playerEnter
();
}
else
{
this
.
showStar
();
}
this
.
playLaba
();
this
.
btn_record
.
active
=
true
;
this
.
updateTop
();
}
private
showStar
()
{
let
word
=
cc
.
find
(
"
word
"
,
this
.
star_node
);
word
.
getComponent
(
cc
.
Label
).
string
=
this
.
starData
.
txt
;
this
.
star_node
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
()
=>
{
this
.
playLaba
();
this
.
bubbleCreate
();
}
private
bubbleCreate
()
{
let
layout_play
=
this
.
layout_game
.
getChildByName
(
'
layout_play
'
)
layout_play
.
removeAllChildren
();
let
layout_pop
=
this
.
layout_game
.
getChildByName
(
'
layout_pop
'
)
let
btn_fish
=
this
.
layout_game
.
getChildByName
(
'
btn_fish
'
)
let
item
=
this
.
layout_game
.
getChildByName
(
'
item
'
)
let
list
=
this
.
starData
.
options
;
let
startPos
=
pg
.
view
.
coverPosition
(
btn_fish
,
layout_play
)
let
layouts
=
layout_pop
.
getChildByName
(
"
layout_
"
+
list
.
length
)
list
.
forEach
((
li
,
index
)
=>
{
let
targetPos
=
pg
.
view
.
coverPosition
(
layouts
.
children
[
index
],
layout_play
);
// 获取设置item位置
let
it
=
cc
.
instantiate
(
item
);
it
.
active
=
true
;
it
.
opacity
=
0
;
it
.
scale
=
0.2
;
layout_play
.
addChild
(
it
);
it
.
x
=
startPos
.
x
;
it
.
y
=
startPos
.
y
;
this
.
updateItem
(
it
,
li
);
cc
.
tween
(
it
)
.
delay
(
index
*
0.2
)
.
to
(
0.3
,
{
x
:
targetPos
.
x
,
y
:
targetPos
.
y
,
scale
:
1
,
opacity
:
255
})
.
start
();
})
}
//按钮触发,使用的方法
private
onTouchRecord
()
{
this
.
btn_record
.
active
=
false
;
this
.
btn_recording
.
active
=
true
;
cc
.
audioEngine
.
stopAllEffects
();
this
.
countDown
=
this
.
startCount
;
this
.
countDown
=
this
.
starData
.
time
||
this
.
startCount
;
//this.startCount;
let
bg_record
=
cc
.
find
(
"
bg_record
"
,
this
.
btn_recording
).
getComponent
(
cc
.
Sprite
);
bg_record
.
fillRange
=
0
cc
.
tween
(
bg_record
).
to
(
this
.
countDown
,
{
fillRange
:
-
1
}).
call
(()
=>
{
bg_record
.
fillRange
=
0
;
this
.
onTouchRecordEnd
();
}).
start
();
courseware
&&
courseware
.
startTest
(
this
.
starData
.
txt
);
//开始录音
}
private
onTouchRecordEnd
()
{
let
bg_record
=
cc
.
find
(
"
bg_record
"
,
this
.
btn_recording
).
getComponent
(
cc
.
Sprite
);
cc
.
Tween
.
stopAllByTarget
(
bg_record
);
this
.
btn_record
.
active
=
false
;
this
.
btn_recording
.
active
=
false
;
this
.
countDown
=
999999
;
let
testData
=
{
"
audioUrl
"
:
"
https://staging-teach.cdn.ireadabc.com/a8ea7bb153a46941e6f28b7d0dda49f4.mp3
"
,
"
eof
"
:
1
,
"
file
"
:
"
/storage/emulated/0/Android/data/com.example.oxford/cache/shengtong/gradeVoice.mp3
"
,
"
result
"
:
{
"
duration
"
:
"
2.630
"
,
"
fluency
"
:
84
,
"
integrity
"
:
100
,
"
kernel_version
"
:
"
3.7.1
"
,
"
overall
"
:
80
,
"
pronunciation
"
:
88
,
"
resource_version
"
:
"
2.3.11
"
,
"
rhythm
"
:
46
,
"
sentences
"
:
[
{
"
beginIndex
"
:
0
,
"
details
"
:
[
{
"
charType
"
:
0
,
"
end
"
:
0
,
"
overall
"
:
69
,
"
prominence
"
:
0
,
"
start
"
:
0
,
"
word
"
:
"
day
"
},
{
"
charType
"
:
0
,
"
end
"
:
0
,
"
overall
"
:
100
,
"
prominence
"
:
0
,
"
start
"
:
0
,
"
word
"
:
"
day
"
},
{
"
charType
"
:
0
,
"
end
"
:
0
,
"
overall
"
:
100
,
"
prominence
"
:
0
,
"
start
"
:
0
,
"
word
"
:
"
up
"
},
{
"
charType
"
:
0
,
"
end
"
:
0
,
"
overall
"
:
100
,
"
prominence
"
:
0
,
"
start
"
:
0
,
"
word
"
:
"
day
"
},
{
"
charType
"
:
0
,
"
end
"
:
0
,
"
overall
"
:
100
,
"
prominence
"
:
0
,
"
start
"
:
0
,
"
word
"
:
"
up
"
}
],
"
end
"
:
0
,
"
endIndex
"
:
0
,
"
overall
"
:
88
,
"
sentence
"
:
"
day day up day up
"
,
"
start
"
:
0
}
],
"
speed
"
:
170
},
"
tokenId
"
:
"
632be7a73327935c2b000005
"
}
if
(
!
courseware
)
return
this
.
recrodEnd
(
testData
)
// await pg.time.delay(5);
courseware
&&
courseware
.
stopTest
((
data
)
=>
{
data
=
JSON
.
parse
(
data
);
this
.
recrodEnd
(
data
);
});
//结束录音
}
private
tryAgain
:
boolean
=
false
;
private
touching
:
boolean
=
false
;
private
async
recrodEnd
(
data
)
{
this
.
assessCount
++
;
this
.
log
(
"
recrodEnd!!!!!
"
)
Game
.
getIns
().
player
.
addVoice
(
data
);
let
score
=
data
.
result
.
overall
;
this
.
log
(
"
score:
"
+
score
);
let
isSuccess
=
this
.
checkWords
(
data
);
this
.
log
(
"
data:
"
+
JSON
.
stringify
(
data
));
if
(
score
>=
60
&&
isSuccess
)
{
this
.
touching
=
false
;
this
.
player_node
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
right
"
,
0
);
this
.
playerAni
(
"
right
"
);
//提示成功
this
.
updateTips
(
TIPS_STATE
.
GOOD
);
Game
.
getIns
().
player
.
addRight
();
await
pg
.
time
.
delay
(
2
);
this
.
updateTips
(
null
);
this
.
tryAgain
=
false
;
this
.
playerLevel
();
return
;
}
else
{
this
.
starData
.
count
++
;
this
.
playerAni
(
"
wrong
"
);
this
.
updateTips
(
TIPS_STATE
.
TRY
);
//提示失败
if
(
this
.
starData
.
count
>=
3
)
{
if
(
this
.
tryAgain
)
{
this
.
tryAgain
=
false
;
await
pg
.
time
.
delay
(
2
);
this
.
updateTips
(
null
);
this
.
touching
=
false
;
this
.
nextstar
(
false
);
return
;
updateItem
(
item
,
data
:
Option
)
{
item
.
data
=
data
;
let
btn_poper
=
pg
.
view
.
find
(
item
,
"
btn_poper
"
)
let
btn_poper_break
=
pg
.
view
.
find
(
item
,
"
btn_poper_break
"
)
let
title
=
pg
.
view
.
find
(
item
,
"
title
"
)
let
img
=
pg
.
view
.
find
(
item
,
"
img
"
)
let
desc
=
pg
.
view
.
find
(
item
,
"
desc
"
)
switch
(
data
.
type
)
{
case
"
text
"
:
pg
.
view
.
setString
(
title
,
data
.
text
)
pg
.
view
.
visible
(
title
,
true
)
pg
.
view
.
visible
(
img
,
false
)
pg
.
view
.
visible
(
desc
,
false
)
break
;
case
"
img
"
:
pg
.
view
.
setNetImg
(
img
,
data
.
image
,
{
w
:
280
,
h
:
200
})
pg
.
view
.
visible
(
title
,
false
)
pg
.
view
.
visible
(
img
,
true
)
pg
.
view
.
visible
(
desc
,
false
)
break
;
case
"
img_text
"
:
pg
.
view
.
setNetImg
(
img
,
data
.
image
,
{
w
:
280
,
h
:
200
})
pg
.
view
.
setString
(
desc
,
data
.
text
)
pg
.
view
.
visible
(
title
,
false
)
pg
.
view
.
visible
(
img
,
true
)
pg
.
view
.
visible
(
desc
,
true
)
break
;
default
:
break
;
}
}
else
{
if
(
!
this
.
tryData
.
some
(
td
=>
td
.
id
==
this
.
starData
.
id
))
this
.
tryData
.
push
(
this
.
starData
);
this
.
tryAgain
=
true
;
pg
.
view
.
visible
(
btn_poper
,
true
);
pg
.
view
.
visible
(
btn_poper_break
,
false
);
pg
.
view
.
touchOn
(
item
,
this
.
onTouchItem
,
this
)
;
}
onTouchItem
(
e
)
{
let
item
=
e
.
target
;
let
data
=
item
.
data
;
this
.
assessCount
++
;
if
(
data
.
right
)
{
let
btn_poper
=
pg
.
view
.
find
(
item
,
"
btn_poper
"
)
let
btn_poper_break
=
pg
.
view
.
find
(
item
,
"
btn_poper_break
"
)
pg
.
view
.
visible
(
btn_poper
,
false
);
pg
.
view
.
visible
(
btn_poper_break
,
true
);
this
.
starData
.
addRight
(
data
);
if
(
this
.
starData
.
checkRight
())
{
setTimeout
(()
=>
{
this
.
nextstar
();
},
1000
);
}
await
pg
.
time
.
delay
(
2
);
this
.
updateTips
(
null
);
this
.
playerAni
();
if
(
this
.
tryAgain
)
{
this
.
updateLayoutSpeak
();
}
else
{
this
.
updateLayoutSpeak
(
true
);
this
.
touching
=
false
;
}
cc
.
tween
(
item
).
by
(
0.1
,
{
x
:
-
10
}).
by
(
0.1
,
{
x
:
10
}).
by
(
0.1
,
{
x
:
10
}).
by
(
0.1
,
{
x
:
-
10
}).
start
();
}
private
playerAni
(
aniName
=
"
normal
"
)
{
this
.
player_node
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
aniName
,
0
);
}
private
updateLayoutSpeak
(
hide
?:
boolean
)
{
this
.
btn_record
.
active
=
true
;
this
.
btn_recording
.
active
=
false
;
}
private
updateTips
(
state
?:
TIPS_STATE
)
{
...
...
@@ -431,41 +306,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
// }).start();
}
private
playerLevel
()
{
this
.
playLocalAudio
(
"
jiasu
"
);
let
word
=
cc
.
find
(
"
word
"
,
this
.
star_node
);
word
.
getComponent
(
cc
.
Label
).
string
=
""
;
let
star
=
cc
.
instantiate
(
this
.
star_node
);
this
.
star_node
.
active
=
false
;
star
.
parent
=
this
.
layout_game
;
let
dis
=
star
.
x
-
this
.
player_node
.
x
;
dis
+=
star
.
x
;
let
width
=
this
.
player_node
.
width
/
2
;
cc
.
tween
(
this
.
player_node
).
to
(
1.5
,
{
x
:
star
.
x
-
width
}).
call
(()
=>
{
cc
.
tween
(
star
).
to
(
2
,
{
x
:
dis
+
width
}).
call
(()
=>
{
star
.
parent
=
null
;
star
.
destroy
();
}).
start
();
}).
to
(
2
,
{
x
:
dis
}).
call
(()
=>
{
this
.
nextstar
(
true
)
}).
start
();
}
private
nextstar
(
isRight
=
true
)
{
this
.
playerAni
();
this
.
starData
=
Game
.
getIns
().
getCardInfo
();
private
nextstar
()
{
Game
.
getIns
().
addPage
();
this
.
starData
=
Game
.
getIns
().
getCurrentPage
();
if
(
this
.
starData
)
{
this
.
initPendantPos
();
this
.
star_node
.
active
=
true
;
this
.
gameStart
(
isRight
)
this
.
gameStart
()
}
else
{
this
.
startSecond
=
false
;
this
.
gameOver
();
this
.
showFin
d
();
this
.
showFin
al
();
}
}
private
initPendantPos
()
{
let
could
=
cc
.
find
(
"
bg/could
"
,
this
.
node
);
let
seabed
=
cc
.
find
(
"
bg/seabed
"
,
this
.
node
);
could
.
x
=
0
;
seabed
.
x
=
0
;
}
private
checkWords
(
data
)
{
const
sentences
=
data
.
result
.
sentences
;
...
...
@@ -529,12 +381,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
async
startTime
()
{
for
(
let
i
=
3
;
i
>=
0
;
i
--
)
{
let
target
=
cc
.
find
(
"
layout_start/text_
"
+
i
,
this
.
node
);
if
(
i
==
0
)
this
.
playLocalAudio
(
"
go
"
)
else
this
.
playLocalAudio
(
"
count
"
)
await
this
.
startTextAction
(
target
);
}
//
for (let i = 3; i >= 0; i--) {
//
let target = cc.find("layout_start/text_" + i, this.node);
//
if (i == 0) this.playLocalAudio("go")
//
else this.playLocalAudio("count")
//
await this.startTextAction(target);
//
}
this
.
gameStart
();
}
private
startTextAction
(
target
)
{
...
...
@@ -545,8 +397,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
tween
(
target
).
to
(
1
,
{
scale
:
0.5
,
opacity
:
0
}).
call
(()
=>
{
target
.
active
=
false
;
return
resolve
(
""
)
}).
start
();
})
}
private
showFind
()
{
this
.
playerAni
(
"
complete
"
);
private
showFinal
()
{
this
.
layout_final
.
scale
=
0.3
;
this
.
layout_final
.
active
=
true
;
let
count
=
cc
.
find
(
"
count
"
,
this
.
layout_final
);
...
...
assets/dg08_hx/scene/tool/Game.ts
View file @
5b9a217b
...
...
@@ -16,17 +16,31 @@ export class Fish {
}
export
class
Option
{
// public type;
public
type
:
string
;
public
image
:
string
;
public
audio
:
string
;
public
text
:
string
;
public
right
:
boolean
;
constructor
(
data
)
{
this
.
type
=
data
.
type
;
this
.
image
=
data
.
image
;
this
.
audio
=
data
.
audio
;
this
.
text
=
data
.
text
;
this
.
right
=
data
.
isRight
==
1
;
}
}
export
class
Question
{
public
txt
;
// public picUrl;
public
audioUrl
;
// public right: boolean;
public
data
;
public
id
:
number
;
public
count
:
number
;
public
time
:
number
;
public
touchRight
:
boolean
;
public
parent
;
public
options
:
Array
<
Option
>
;
public
rights
:
Array
<
Option
>
;
constructor
(
data
,
id
)
{
this
.
id
=
id
;
// this.type = data.type;
...
...
@@ -37,6 +51,15 @@ export class Option {
this
.
audioUrl
=
data
.
audio
;
// this.right = data.right;
this
.
touchRight
=
false
;
this
.
rights
=
[];
this
.
options
=
data
.
options
.
map
(
op
=>
new
Option
(
op
))
}
addRight
(
option
)
{
this
.
rights
.
push
(
option
)
}
checkRight
()
{
let
rights
=
this
.
options
.
filter
(
op
=>
op
.
right
);
return
this
.
rights
.
length
>=
rights
.
length
}
}
export
class
Item
{
...
...
@@ -124,7 +147,7 @@ export default class Game {
return
Game
.
ins
;
}
private
data
:
any
;
private
lists
:
Array
<
Op
tion
>
private
lists
:
Array
<
Ques
tion
>
public
player
:
Player
;
public
robot
:
Robot
;
public
state
:
GAME_STATE
;
...
...
@@ -156,61 +179,44 @@ export default class Game {
this
.
data
=
data
.
questions
;
}
public
start
:
boolean
;
public
page
:
number
;
public
idx
:
number
;
reset
()
{
this
.
player
.
reset
();
this
.
robot
.
reset
();
this
.
page
=
1
;
this
.
idx
=
0
;
this
.
start
=
true
;
this
.
lists
=
[];
for
(
let
i
=
0
;
i
<
this
.
data
.
length
;
i
++
)
{
let
data
=
this
.
data
[
i
];
this
.
lists
.
push
(
new
Op
tion
(
data
,
i
+
1
));
this
.
lists
.
push
(
new
Ques
tion
(
data
,
i
+
1
));
}
this
.
state
=
GAME_STATE
.
WAIT
;
this
.
total
=
this
.
lists
.
length
;
}
public
getCardInfo
()
{
let
option
:
Option
=
this
.
lists
.
splice
(
0
,
1
)[
0
];
// if (this.lists.length > 0) {
// let random = Math.floor(Math.random() * this.lists.length);
// option = this.lists.splice(random, 1)[0];
// } else {
// option = null;
// }
console
.
log
(
"
this.cardInfo=======
"
,
option
)
return
option
;
}
// checkSuccess(arr: Option[]) {
// let data = this.getCurrentPage();
// let options = data.optionList.concat();
// options.sort((A, B) => A.id - B.id)
// for (let i = 0; i < options.length; i++) {
// if (arr[i] && arr[i].id != options[i].id) {
// return false;
// }
// }
// return true;
// }
// getDataByPage(page): Item {
// return this.lists.filter(li => li.page == page)[0]
// }
// getCurrentPage(): Item {
// let page = this.page;
// return this.lists.filter(li => li.page == page)[0]
// public getCardInfo() {
// let option: Question = this.lists.splice(0, 1)[0];
// // if (this.lists.length > 0) {
// // let random = Math.floor(Math.random() * this.lists.length);
// // option = this.lists.splice(random, 1)[0];
// // } else {
// // option = null;
// // }
// console.log(" this.cardInfo=======", option)
// return option;
// }
getCurrentPage
():
Question
{
return
this
.
lists
[
this
.
idx
];
}
getTotalPageNum
()
{
return
this
.
lists
.
length
;
}
getCurrentPageNum
()
{
return
this
.
page
;
return
this
.
idx
;
}
addPage
()
{
this
.
page
+=
1
;
this
.
idx
+=
1
;
}
get
getTot
la
()
{
get
getTot
al
()
{
return
this
.
lists
.
length
;
// this.total = 0;
// this.lists.forEach((item) => {
...
...
@@ -219,6 +225,6 @@ export default class Game {
// return this.total;
}
get
isOver
()
{
return
this
.
page
>
this
.
lists
.
length
;
return
this
.
idx
>
this
.
lists
.
length
;
}
}
\ No newline at end of file
assets/dg08_hx/scene/tool/pg.ts
View file @
5b9a217b
...
...
@@ -187,6 +187,12 @@ let pg = {
if
(
!
child
)
return
pg
.
logger
.
w
(
"
findChildByPath error->
"
+
"
找不到此节点,请检查层级路径:
"
+
childPath
);
return
child
;
},
//--------------------坐标转换--------------------------------------
coverPosition
(
sourceNode
,
targetNode
)
{
let
startWorldPos
=
sourceNode
.
convertToWorldSpaceAR
(
cc
.
v2
(
0
,
0
));
let
startPos
=
targetNode
.
convertToNodeSpaceAR
(
startWorldPos
);
return
startPos
;
},
//--------------------触控事件--------------------------------
//添加监听
touchOn
(
item
,
callback
,
target
)
{
...
...
assets/dg08_hx/script/defaultData.ts
View file @
5b9a217b
export
const
defaultData
=
{
"
title
"
:
"
听音选择
"
,
"
questions
"
:
[
{
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/c14938125a52096dc0be9fbbf6638cb2_l.mp3
"
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
进入下一题.mp3
"
,
"
options
"
:
[
{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
apple
"
},
{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
banner
"
},
{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
pie
"
},
{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
test
"
}]
},
{
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/c14938125a52096dc0be9fbbf6638cb2_l.mp3
"
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
进入下一题.mp3
"
,
"
options
"
:
[{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/07c89b4a6a1a18b0c0a3029720fdfdbc.png
"
,
"
word
"
:
""
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/d20b34eac11f5687d3386389aea170a2.png
"
,
"
word
"
:
""
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/639ada88f3e52966103caca156f720d6.png
"
,
"
word
"
:
""
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/38408b9ce048508830086c5e5cd2f384.png
"
,
"
word
"
:
""
}]
}]
}
\ No newline at end of file
export
const
defaultData
=
{
"
title
"
:
"
听音选择
"
,
"
questions
"
:
[{
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/c14938125a52096dc0be9fbbf6638cb2_l.mp3
"
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
进入下一题.mp3
"
,
"
options
"
:
[{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
apple
"
,
"
isRight
"
:
"
1
"
},
{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
banner
"
,
"
isRight
"
:
"
0
"
},
{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
pie
"
,
"
isRight
"
:
"
0
"
},
{
"
type
"
:
"
text
"
,
"
audio
"
:
""
,
"
image
"
:
""
,
"
word
"
:
""
,
"
text
"
:
"
test
"
,
"
isRight
"
:
"
1
"
}]
},
{
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/c14938125a52096dc0be9fbbf6638cb2_l.mp3
"
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
进入下一题.mp3
"
,
"
options
"
:
[{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/07c89b4a6a1a18b0c0a3029720fdfdbc.png
"
,
"
word
"
:
""
,
"
isRight
"
:
"
0
"
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/d20b34eac11f5687d3386389aea170a2.png
"
,
"
word
"
:
""
,
"
isRight
"
:
"
0
"
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/639ada88f3e52966103caca156f720d6.png
"
,
"
word
"
:
""
,
"
isRight
"
:
"
1
"
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/38408b9ce048508830086c5e5cd2f384.png
"
,
"
word
"
:
""
,
"
isRight
"
:
"
1
"
}]
},
{
"
audio
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
""
,
"
options
"
:
[{
"
type
"
:
"
img_text
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/3f36264d6aaa65e578a6d7e261ea8a2e.png
"
,
"
isRight
"
:
"
1
"
,
"
text
"
:
"
fish
"
},
{
"
type
"
:
"
img_text
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/713e3312f1ed1876baf169026654d0c2.png
"
,
"
isRight
"
:
"
0
"
,
"
text
"
:
"
gray
"
},
{
"
type
"
:
"
img_text
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/23290ec65a6700c931105c52aaf4e24c.jpg
"
,
"
isRight
"
:
"
0
"
,
"
text
"
:
"
international
"
},
{
"
type
"
:
"
img_text
"
,
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/912b16d5a85e46fa5b0e2b75fb9d6bdf.png
"
,
"
isRight
"
:
"
0
"
,
"
text
"
:
"
break
"
}]
}]
}
\ No newline at end of file
form/src/app/form/form.component.html
View file @
5b9a217b
...
...
@@ -114,7 +114,7 @@
选项类型:
</div>
<div
style=
"margin-top: 5px;"
>
<nz-radio-group
[(
ngModel
)]="
option
.
type
"
>
<nz-radio-group
[(
ngModel
)]="
option
.
type
"
(
ngModelChange
)="
save
()"
>
<label
nz-radio
nzValue=
"img"
>
<span
[
style
]="{
color:option
.
type=
='img'
?
'#
169BD5
'
:
'#
000
'}"
>
图片
</span>
</label>
...
...
@@ -128,6 +128,23 @@
</div>
</div>
<div
style=
"margin-top: 20px;"
>
<div
class=
"word-type-option-title"
>
是否正确:
</div>
<div
style=
"margin-top: 5px;"
>
<nz-radio-group
[(
ngModel
)]="
option
.
isRight
"
(
ngModelChange
)="
save
()"
>
<label
nz-radio
nzValue=
"1"
>
<span
[
style
]="{
color:option
.
isRight=
='1'
?
'#
169BD5
'
:
'#
000
'}"
>
正确
</span>
</label>
<label
nz-radio
nzValue=
"0"
>
<span
[
style
]="{
color:option
.
isRight=
='0'
?
'#
169BD5
'
:
'#
000
'}"
>
错误
</span>
</label>
</nz-radio-group>
</div>
</div>
<div
style=
"margin-top: 25px;"
>
<div
class=
"option-img"
>
<div
*
ngIf=
"option.type=='img' || option.type =='img_text'"
style=
"width: 200px;"
>
...
...
form/src/app/form/form.component.ts
View file @
5b9a217b
...
...
@@ -69,6 +69,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
type
:
'
img
'
,
audio
:
''
,
image
:
''
,
isRight
:
"
0
"
,
});
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