Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ngt14_czm
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
ngt14_czm
Commits
e975e26a
Commit
e975e26a
authored
Oct 27, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拖拽完成
parent
58994e8b
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
742 additions
and
173 deletions
+742
-173
error.mp3
assets/cocos_generator/audios/error.mp3
+0
-0
error.mp3.meta
assets/cocos_generator/audios/error.mp3.meta
+7
-0
move.mp3
assets/cocos_generator/audios/move.mp3
+0
-0
move.mp3.meta
assets/cocos_generator/audios/move.mp3.meta
+7
-0
next_question.mp3
assets/cocos_generator/audios/next_question.mp3
+0
-0
next_question.mp3.meta
assets/cocos_generator/audios/next_question.mp3.meta
+7
-0
right.mp3
assets/cocos_generator/audios/right.mp3
+0
-0
right.mp3.meta
assets/cocos_generator/audios/right.mp3.meta
+7
-0
right_wrong.mp3
assets/cocos_generator/audios/right_wrong.mp3
+0
-0
right_wrong.mp3.meta
assets/cocos_generator/audios/right_wrong.mp3.meta
+7
-0
cocos_generator.fire
assets/cocos_generator/scene/cocos_generator.fire
+668
-148
cocos_generator.ts
assets/cocos_generator/scene/cocos_generator.ts
+39
-25
No files found.
assets/cocos_generator/audios/error.mp3
0 → 100644
View file @
e975e26a
File added
assets/cocos_generator/audios/error.mp3.meta
0 → 100644
View file @
e975e26a
{
"ver": "2.0.1",
"uuid": "aa5dce85-83fb-44b4-817f-245e86d4bde9",
"downloadMode": 0,
"duration": 0.556563,
"subMetas": {}
}
\ No newline at end of file
assets/cocos_generator/audios/move.mp3
0 → 100644
View file @
e975e26a
File added
assets/cocos_generator/audios/move.mp3.meta
0 → 100644
View file @
e975e26a
{
"ver": "2.0.1",
"uuid": "433c5b0a-ebaa-4398-90aa-5e0d8ce58189",
"downloadMode": 0,
"duration": 0.39185,
"subMetas": {}
}
\ No newline at end of file
assets/cocos_generator/audios/next_question.mp3
0 → 100644
View file @
e975e26a
File added
assets/cocos_generator/audios/next_question.mp3.meta
0 → 100644
View file @
e975e26a
{
"ver": "2.0.1",
"uuid": "1df07874-8c2a-4e48-871b-9550d01c9e5f",
"downloadMode": 0,
"duration": 2.403265,
"subMetas": {}
}
\ No newline at end of file
assets/cocos_generator/audios/right.mp3
0 → 100644
View file @
e975e26a
File added
assets/cocos_generator/audios/right.mp3.meta
0 → 100644
View file @
e975e26a
{
"ver": "2.0.1",
"uuid": "bfa2aa31-940a-47ed-b340-9a682440aab0",
"downloadMode": 0,
"duration": 1.959184,
"subMetas": {}
}
\ No newline at end of file
assets/cocos_generator/audios/right_wrong.mp3
0 → 100644
View file @
e975e26a
File added
assets/cocos_generator/audios/right_wrong.mp3.meta
0 → 100644
View file @
e975e26a
{
"ver": "2.0.1",
"uuid": "d1f740c5-6b88-4cec-8a02-151be9cefe61",
"downloadMode": 0,
"duration": 0.938688,
"subMetas": {}
}
\ No newline at end of file
assets/cocos_generator/scene/cocos_generator.fire
View file @
e975e26a
...
@@ -75,37 +75,37 @@
...
@@ -75,37 +75,37 @@
"__id__": 5
"__id__": 5
},
},
{
{
"__id__":
1
5
"__id__":
2
5
},
},
{
{
"__id__":
1
7
"__id__":
2
7
},
},
{
{
"__id__":
2
7
"__id__":
3
7
},
},
{
{
"__id__":
5
0
"__id__":
6
0
},
},
{
{
"__id__":
73
"__id__":
85
},
},
{
{
"__id__":
75
"__id__":
87
},
},
{
{
"__id__":
89
"__id__":
101
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
90
"__id__":
102
},
},
{
{
"__id__":
91
"__id__":
103
},
},
{
{
"__id__":
92
"__id__":
104
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -386,16 +386,419 @@
...
@@ -386,16 +386,419 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "BRLNSDB",
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
}
],
"_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": "cfMLGsq0BMhJARv+ySMAxS"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9bNHNPu5lC7rQYyr8ai/sY"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [
{
"__id__": 10
}
],
"_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": "53LUHHG2pEr79fyrvazXJs"
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 138,
"height": 141
},
"_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": "1blU2OArJIfoC9XfupGxJG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "03GEWUEZJGyKormWgIWCtM"
},
{
"__type__": "cc.Node",
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
},
{
"__id__": 21
},
{
"__id__": 23
}
],
"_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": "d9f+b0lmZGSJJae6zrADhp"
},
{
"__type__": "cc.Node",
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
}
],
"_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": "e87DSaFCVJfb2PAUkf4/o7"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_clip": {
"__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
},
{
"__type__": "cc.Node",
"_name": "error",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
6
"__id__":
12
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
8
"__id__":
16
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -444,53 +847,41 @@
...
@@ -444,53 +847,41 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
cfMLGsq0BMhJARv+ySMAxS
"
"_id": "
38TDTFZM9CTJI+00zlRzhc
"
},
},
{
{
"__type__": "cc.
Label
",
"__type__": "cc.
AudioSource
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
"__id__":
15
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_clip": {
"_srcBlendFactor": 770,
"__uuid__": "aa5dce85-83fb-44b4-817f-245e86d4bde9"
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
},
},
"_isSystemFontUsed": false,
"_volume": 1,
"_spacingX": 0,
"_mute": false,
"_batchAsBitmap": false,
"_loop": false,
"_styleFlags": 0,
"_firstlyEnabled": true,
"_underlineHeight": 0,
"playOnLoad": false,
"_N$horizontalAlign": 0,
"preload": false,
"_N$verticalAlign": 0,
"_id": "30OhVPpKJL2KBoexz6TUVs"
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9bNHNPu5lC7rQYyr8ai/sY"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
img
",
"_name": "
move
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
"__id__":
12
},
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
{
"__id__": 1
0
"__id__": 1
8
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -537,20 +928,39 @@
...
@@ -537,20 +928,39 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs"
"_id": "a2bw7c7XVAtrddV4MPb2t9"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_clip": {
"__uuid__": "433c5b0a-ebaa-4398-90aa-5e0d8ce58189"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "368MulBe9Ep4Qr6AGLbAdV"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
icon
",
"_name": "
right_wrong
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
9
"__id__":
12
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
11
"__id__":
20
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -564,8 +974,8 @@
...
@@ -564,8 +974,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
138
,
"width":
0
,
"height":
141
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -599,50 +1009,41 @@
...
@@ -599,50 +1009,41 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
1blU2OArJIfoC9XfupGx
JG"
"_id": "
c84ZerHKBHL5JVFNJUsr
JG"
},
},
{
{
"__type__": "cc.
Sprit
e",
"__type__": "cc.
AudioSourc
e",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_clip": {
"_srcBlendFactor": 770,
"__uuid__": "d1f740c5-6b88-4cec-8a02-151be9cefe61"
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
},
"_fillStart": 0,
"_volume": 1,
"_fillRange": 0,
"_mute": false,
"_isTrimmedMode": true,
"_loop": false,
"_atlas": null,
"_firstlyEnabled": true,
"_id": "03GEWUEZJGyKormWgIWCtM"
"playOnLoad": false,
"preload": false,
"_id": "4bI+H3pnNB/4RjwcD+dmQK"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
audio
",
"_name": "
right
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
"__id__":
12
},
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
{
"__id__":
13
"__id__":
22
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -689,11 +1090,30 @@
...
@@ -689,11 +1090,30 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "d9f+b0lmZGSJJae6zrADhp"
"_id": "bbQubVnJ5CU7vSu6yLJ/Jq"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_clip": {
"__uuid__": "bfa2aa31-940a-47ed-b340-9a682440aab0"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "5bYxfbkxpGV6eid0GWQK8c"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bt
n",
"_name": "
next_questio
n",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 12
"__id__": 12
...
@@ -702,7 +1122,7 @@
...
@@ -702,7 +1122,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
1
4
"__id__":
2
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -751,18 +1171,18 @@
...
@@ -751,18 +1171,18 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
e87DSaFCVJfb2PAUkf4/o7
"
"_id": "
46dbueW/NHdoDZQBA1OnlG
"
},
},
{
{
"__type__": "cc.AudioSource",
"__type__": "cc.AudioSource",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
1
3
"__id__":
2
3
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
"__uuid__": "
f0680ae0-c079-45ef-abd7-9e63d90b982b
"
"__uuid__": "
1df07874-8c2a-4e48-871b-9550d01c9e5f
"
},
},
"_volume": 1,
"_volume": 1,
"_mute": false,
"_mute": false,
...
@@ -770,7 +1190,7 @@
...
@@ -770,7 +1190,7 @@
"_firstlyEnabled": true,
"_firstlyEnabled": true,
"playOnLoad": false,
"playOnLoad": false,
"preload": false,
"preload": false,
"_id": "
dey05oKrBIspvsDa6pOIQz
"
"_id": "
ebLMdPG59GIKwJYdenrXrd
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -783,7 +1203,7 @@
...
@@ -783,7 +1203,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
1
6
"__id__":
2
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -839,7 +1259,7 @@
...
@@ -839,7 +1259,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
1
5
"__id__":
2
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -875,19 +1295,19 @@
...
@@ -875,19 +1295,19 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
1
8
"__id__":
2
8
},
},
{
{
"__id__":
2
1
"__id__":
3
1
},
},
{
{
"__id__":
2
4
"__id__":
3
4
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
2
6
"__id__":
3
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -943,16 +1363,16 @@
...
@@ -943,16 +1363,16 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
7
"__id__":
2
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
1
9
"__id__":
2
9
},
},
{
{
"__id__":
2
0
"__id__":
3
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1008,7 +1428,7 @@
...
@@ -1008,7 +1428,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
1
8
"__id__":
2
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1040,7 +1460,7 @@
...
@@ -1040,7 +1460,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
1
8
"__id__":
2
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1067,16 +1487,16 @@
...
@@ -1067,16 +1487,16 @@
"_name": "bg_puzzle",
"_name": "bg_puzzle",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
7
"__id__":
2
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
2
2
"__id__":
3
2
},
},
{
{
"__id__":
2
3
"__id__":
3
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1132,7 +1552,7 @@
...
@@ -1132,7 +1552,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
1
"__id__":
3
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1164,7 +1584,7 @@
...
@@ -1164,7 +1584,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
1
"__id__":
3
1
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1191,13 +1611,13 @@
...
@@ -1191,13 +1611,13 @@
"_name": "bg_question",
"_name": "bg_question",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
7
"__id__":
2
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
2
5
"__id__":
3
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1253,7 +1673,7 @@
...
@@ -1253,7 +1673,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
4
"__id__":
3
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1285,7 +1705,7 @@
...
@@ -1285,7 +1705,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
1
7
"__id__":
2
7
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1316,10 +1736,10 @@
...
@@ -1316,10 +1736,10 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
2
8
"__id__":
3
8
},
},
{
{
"__id__":
4
8
"__id__":
5
8
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1377,35 +1797,35 @@
...
@@ -1377,35 +1797,35 @@
"_name": "base",
"_name": "base",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
7
"__id__":
3
7
},
},
"_children": [
"_children": [
{
{
"__id__":
2
9
"__id__":
3
9
},
},
{
{
"__id__":
3
1
"__id__":
4
1
},
},
{
{
"__id__":
3
3
"__id__":
4
3
},
},
{
{
"__id__":
3
5
"__id__":
4
5
},
},
{
{
"__id__":
3
7
"__id__":
4
7
},
},
{
{
"__id__":
4
1
"__id__":
5
1
},
},
{
{
"__id__":
4
3
"__id__":
5
3
},
},
{
{
"__id__":
4
5
"__id__":
5
5
},
},
{
{
"__id__":
4
6
"__id__":
5
6
}
}
],
],
"_active": false,
"_active": false,
...
@@ -1463,13 +1883,13 @@
...
@@ -1463,13 +1883,13 @@
"_name": "img_big",
"_name": "img_big",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
3
0
"__id__":
4
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1525,7 +1945,7 @@
...
@@ -1525,7 +1945,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
9
"__id__":
3
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1557,13 +1977,13 @@
...
@@ -1557,13 +1977,13 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
3
2
"__id__":
4
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1619,7 +2039,7 @@
...
@@ -1619,7 +2039,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
3
1
"__id__":
4
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1651,13 +2071,13 @@
...
@@ -1651,13 +2071,13 @@
"_name": "label_big",
"_name": "label_big",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
3
4
"__id__":
4
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1713,7 +2133,7 @@
...
@@ -1713,7 +2133,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
3
3
"__id__":
4
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1748,13 +2168,13 @@
...
@@ -1748,13 +2168,13 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
3
6
"__id__":
4
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1810,7 +2230,7 @@
...
@@ -1810,7 +2230,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
3
5
"__id__":
4
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1845,11 +2265,11 @@
...
@@ -1845,11 +2265,11 @@
"_name": "line",
"_name": "line",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [
"_children": [
{
{
"__id__":
3
8
"__id__":
4
8
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1907,16 +2327,16 @@
...
@@ -1907,16 +2327,16 @@
"_name": "New Sprite(Splash)",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
3
7
"__id__":
4
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
3
9
"__id__":
4
9
},
},
{
{
"__id__":
4
0
"__id__":
5
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1972,7 +2392,7 @@
...
@@ -1972,7 +2392,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
3
8
"__id__":
4
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2004,7 +2424,7 @@
...
@@ -2004,7 +2424,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
3
8
"__id__":
4
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2031,13 +2451,13 @@
...
@@ -2031,13 +2451,13 @@
"_name": "layout_double",
"_name": "layout_double",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
4
2
"__id__":
5
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2093,7 +2513,7 @@
...
@@ -2093,7 +2513,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
4
1
"__id__":
5
1
},
},
"_enabled": true,
"_enabled": true,
"_layoutSize": {
"_layoutSize": {
...
@@ -2125,13 +2545,13 @@
...
@@ -2125,13 +2545,13 @@
"_name": "layout_single",
"_name": "layout_single",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
4
4
"__id__":
5
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2187,7 +2607,7 @@
...
@@ -2187,7 +2607,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
4
3
"__id__":
5
3
},
},
"_enabled": true,
"_enabled": true,
"_layoutSize": {
"_layoutSize": {
...
@@ -2219,7 +2639,7 @@
...
@@ -2219,7 +2639,7 @@
"_name": "layout_full",
"_name": "layout_full",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -2277,13 +2697,13 @@
...
@@ -2277,13 +2697,13 @@
"_name": "layout_center",
"_name": "layout_center",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
8
"__id__":
3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
4
7
"__id__":
5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2339,7 +2759,7 @@
...
@@ -2339,7 +2759,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
4
6
"__id__":
5
6
},
},
"_enabled": false,
"_enabled": false,
"_layoutSize": {
"_layoutSize": {
...
@@ -2371,13 +2791,13 @@
...
@@ -2371,13 +2791,13 @@
"_name": "layout",
"_name": "layout",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
7
"__id__":
3
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
4
9
"__id__":
5
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2433,7 +2853,7 @@
...
@@ -2433,7 +2853,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
4
8
"__id__":
5
8
},
},
"_enabled": true,
"_enabled": true,
"_layoutSize": {
"_layoutSize": {
...
@@ -2469,37 +2889,40 @@
...
@@ -2469,37 +2889,40 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
5
1
"__id__":
6
1
},
},
{
{
"__id__":
5
3
"__id__":
6
3
},
},
{
{
"__id__":
5
5
"__id__":
6
5
},
},
{
{
"__id__":
5
7
"__id__":
6
7
},
},
{
{
"__id__":
5
9
"__id__":
6
9
},
},
{
{
"__id__":
6
1
"__id__":
7
1
},
},
{
{
"__id__":
6
3
"__id__":
7
3
},
},
{
{
"__id__":
6
5
"__id__":
7
5
},
},
{
{
"__id__":
6
7
"__id__":
7
7
},
},
{
{
"__id__":
6
9
"__id__":
7
9
},
},
{
{
"__id__": 71
"__id__": 81
},
{
"__id__": 83
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2557,13 +2980,13 @@
...
@@ -2557,13 +2980,13 @@
"_name": "img_undone",
"_name": "img_undone",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
5
2
"__id__":
6
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2619,7 +3042,7 @@
...
@@ -2619,7 +3042,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
1
"__id__":
6
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2651,13 +3074,13 @@
...
@@ -2651,13 +3074,13 @@
"_name": "img_focus",
"_name": "img_focus",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
"_components": [
{
{
"__id__":
5
4
"__id__":
6
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2713,7 +3136,7 @@
...
@@ -2713,7 +3136,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
3
"__id__":
6
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2745,13 +3168,13 @@
...
@@ -2745,13 +3168,13 @@
"_name": "img_focus2",
"_name": "img_focus2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
5
6
"__id__":
6
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2807,7 +3230,7 @@
...
@@ -2807,7 +3230,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
5
"__id__":
6
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2839,13 +3262,13 @@
...
@@ -2839,13 +3262,13 @@
"_name": "img_keyboard_1",
"_name": "img_keyboard_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
5
8
"__id__":
6
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2901,7 +3324,7 @@
...
@@ -2901,7 +3324,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
7
"__id__":
6
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2933,13 +3356,13 @@
...
@@ -2933,13 +3356,13 @@
"_name": "img_keyboard_2",
"_name": "img_keyboard_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
6
0
"__id__":
7
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2995,7 +3418,7 @@
...
@@ -2995,7 +3418,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
9
"__id__":
6
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3027,13 +3450,13 @@
...
@@ -3027,13 +3450,13 @@
"_name": "img_keyboard_3",
"_name": "img_keyboard_3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
6
2
"__id__":
7
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3089,7 +3512,7 @@
...
@@ -3089,7 +3512,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
1
"__id__":
7
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3121,13 +3544,13 @@
...
@@ -3121,13 +3544,13 @@
"_name": "img_keyboard_4",
"_name": "img_keyboard_4",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
6
4
"__id__":
7
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3183,7 +3606,7 @@
...
@@ -3183,7 +3606,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
3
"__id__":
7
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3215,13 +3638,13 @@
...
@@ -3215,13 +3638,13 @@
"_name": "img_keyboard_5",
"_name": "img_keyboard_5",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
6
6
"__id__":
7
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3277,7 +3700,7 @@
...
@@ -3277,7 +3700,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
5
"__id__":
7
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3309,13 +3732,13 @@
...
@@ -3309,13 +3732,13 @@
"_name": "img_right",
"_name": "img_right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
6
8
"__id__":
7
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3371,7 +3794,7 @@
...
@@ -3371,7 +3794,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
7
"__id__":
7
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3403,13 +3826,13 @@
...
@@ -3403,13 +3826,13 @@
"_name": "img_right_wrong",
"_name": "img_right_wrong",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
7
0
"__id__":
8
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3465,7 +3888,7 @@
...
@@ -3465,7 +3888,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
9
"__id__":
7
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3497,13 +3920,13 @@
...
@@ -3497,13 +3920,13 @@
"_name": "img_wrong",
"_name": "img_wrong",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
6
0
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
7
2
"__id__":
8
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3559,7 +3982,7 @@
...
@@ -3559,7 +3982,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
1
"__id__":
8
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3586,6 +4009,103 @@
...
@@ -3586,6 +4009,103 @@
"_atlas": null,
"_atlas": null,
"_id": "84S/92Jc9F66tlezZm0sbS"
"_id": "84S/92Jc9F66tlezZm0sbS"
},
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 84
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 38.28,
"height": 75.6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-2.274,
2.884,
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": "bcZPx8xDlJV7Xu27DHZqoO"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "R",
"_N$string": "R",
"_fontSize": 60,
"_lineHeight": 60,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "6d6846ac-918f-46f0-aff7-53ca2e2734ef"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b3rNELFNJADJp9Dj0OnDR+"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "layout_blocks",
"_name": "layout_blocks",
...
@@ -3597,7 +4117,7 @@
...
@@ -3597,7 +4117,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
74
"__id__":
86
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3653,7 +4173,7 @@
...
@@ -3653,7 +4173,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
73
"__id__":
85
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -3684,28 +4204,28 @@
...
@@ -3684,28 +4204,28 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
76
"__id__":
88
},
},
{
{
"__id__":
78
"__id__":
90
},
},
{
{
"__id__":
80
"__id__":
92
},
},
{
{
"__id__":
82
"__id__":
94
},
},
{
{
"__id__":
84
"__id__":
96
},
},
{
{
"__id__":
86
"__id__":
98
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
88
"__id__":
100
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3761,13 +4281,13 @@
...
@@ -3761,13 +4281,13 @@
"_name": "img_keyboard_1",
"_name": "img_keyboard_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
75
"__id__":
87
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
77
"__id__":
89
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3823,7 +4343,7 @@
...
@@ -3823,7 +4343,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
76
"__id__":
88
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3855,13 +4375,13 @@
...
@@ -3855,13 +4375,13 @@
"_name": "img_keyboard_2",
"_name": "img_keyboard_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
75
"__id__":
87
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
79
"__id__":
91
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3917,7 +4437,7 @@
...
@@ -3917,7 +4437,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
78
"__id__":
90
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3949,13 +4469,13 @@
...
@@ -3949,13 +4469,13 @@
"_name": "img_keyboard_3",
"_name": "img_keyboard_3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
75
"__id__":
87
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
81
"__id__":
93
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4011,7 +4531,7 @@
...
@@ -4011,7 +4531,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
80
"__id__":
92
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4043,13 +4563,13 @@
...
@@ -4043,13 +4563,13 @@
"_name": "img_keyboard_4",
"_name": "img_keyboard_4",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
75
"__id__":
87
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
83
"__id__":
95
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4105,7 +4625,7 @@
...
@@ -4105,7 +4625,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
82
"__id__":
94
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4137,13 +4657,13 @@
...
@@ -4137,13 +4657,13 @@
"_name": "img_keyboard_5",
"_name": "img_keyboard_5",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
75
"__id__":
87
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
85
"__id__":
97
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4199,7 +4719,7 @@
...
@@ -4199,7 +4719,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
84
"__id__":
96
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4231,13 +4751,13 @@
...
@@ -4231,13 +4751,13 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
75
"__id__":
87
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
87
"__id__":
99
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4293,7 +4813,7 @@
...
@@ -4293,7 +4813,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
86
"__id__":
98
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4328,7 +4848,7 @@
...
@@ -4328,7 +4848,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
75
"__id__":
87
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4389,7 +4909,7 @@
...
@@ -4389,7 +4909,7 @@
"hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"_N$target": {
"__id__":
75
"__id__":
87
},
},
"_id": "a5CSFc15pHJrUqBqHzlHYf"
"_id": "a5CSFc15pHJrUqBqHzlHYf"
},
},
...
...
assets/cocos_generator/scene/cocos_generator.ts
View file @
e975e26a
...
@@ -194,6 +194,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -194,6 +194,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
})
})
}
}
// 更新当前面板颜色
updateCurrentNodeColor
(
node
,
data
)
{
let
label
=
node
.
getChildByName
(
'
label
'
)
pg
.
view
.
visible
(
label
,
true
)
pg
.
view
.
setString
(
label
,
data
.
word
)
for
(
let
i
=
1
;
i
<=
5
;
i
++
)
{
pg
.
view
.
visible
(
pg
.
view
.
find
(
node
,
'
img_keyboard_
'
+
i
),
data
.
color
==
i
);
}
let
block
=
node
.
data
;
block
.
val
=
data
.
word
;
}
getBlockNodeByPos
(
x
,
y
)
{
getBlockNodeByPos
(
x
,
y
)
{
return
this
.
layout_blocks
.
children
.
find
(
node
=>
node
.
data
.
x
==
x
&&
node
.
data
.
y
==
y
)
return
this
.
layout_blocks
.
children
.
find
(
node
=>
node
.
data
.
x
==
x
&&
node
.
data
.
y
==
y
)
}
}
...
@@ -284,16 +296,31 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -284,16 +296,31 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
touching
=
null
;
this
.
touching
=
null
;
target
.
x
=
target
.
data
.
pos
.
x
;
target
.
x
=
target
.
data
.
pos
.
x
;
target
.
y
=
target
.
data
.
pos
.
y
;
target
.
y
=
target
.
data
.
pos
.
y
;
// this.playLocalAudio('error').then(() => {
// this.touching = null;
// // this.updateItem(target, data);
// })
return
;
return
;
}
}
//是否正确
//是否正确
let
isRight
=
collNode
.
data
.
rightVal
==
data
.
word
;
this
.
playLocalAudio
(
'
move
'
).
then
(()
=>
{
})
if
(
isRight
)
{
let
item
=
target
;
let
item
=
target
;
cc
.
tween
(
target
).
to
(
0.15
,
{
scale
:
0.9
,
rotation
:
0
}).
call
(()
=>
{
// block需要显示内容
this
.
updateCurrentNodeColor
(
collNode
,
data
);
target
.
active
=
false
;
this
.
touching
=
null
;
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_START
,
this
.
onItemTouchStart
,
this
);
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_MOVE
,
this
.
onItemTouchMove
,
this
);
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onItemTouchEnd
,
this
);
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_CANCEL
,
this
.
onItemTouchCancel
,
this
);
// 判断此行是否完成
let
lineFull
=
true
;
if
(
lineFull
)
{
}
else
{
// 下一个格子刷新聚焦
this
.
updateHightLight
();
}
}).
start
();
// this.playLocalAudio('right').then(() => {
// this.playLocalAudio('right').then(() => {
// if (data.audioUrl) {
// if (data.audioUrl) {
// pg.audio.playAudioByUrlThen(data.audioUrl).then(() => {
// pg.audio.playAudioByUrlThen(data.audioUrl).then(() => {
...
@@ -303,22 +330,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -303,22 +330,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
// this.touching = null;
// this.touching = null;
// }
// }
// })
// })
this
.
touching
=
null
;
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_START
,
this
.
onItemTouchStart
,
this
);
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_MOVE
,
this
.
onItemTouchMove
,
this
);
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onItemTouchEnd
,
this
);
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_CANCEL
,
this
.
onItemTouchCancel
,
this
);
}
else
{
// this.playLocalAudio('error').then(() => {
// this.touching = null;
// this.touching = null;
// // this.updateItem(target, data);
// target.x = target.data.pos.x;
// })
// target.y = target.data.pos.y;
this
.
touching
=
null
;
target
.
x
=
target
.
data
.
pos
.
x
;
target
.
y
=
target
.
data
.
pos
.
y
;
}
// 检测一行是否完成, 完成加星星
// 检测一行是否完成, 完成加星星
// pg.event.emit('mouse_05_add')
// pg.event.emit('mouse_05_add')
...
...
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