Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hw_lettersort
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
hw_lettersort
Commits
1caa7e64
Commit
1caa7e64
authored
Aug 01, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
0194bd97
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
297 additions
and
159 deletions
+297
-159
hw_lettersort.fire
assets/hw_lettersort/scene/hw_lettersort.fire
+238
-145
hw_lettersort.js
assets/hw_lettersort/scene/hw_lettersort.js
+23
-14
score_item.png
assets/hw_lettersort/texture/score_item.png
+0
-0
score_item.png.meta
assets/hw_lettersort/texture/score_item.png.meta
+36
-0
No files found.
assets/hw_lettersort/scene/hw_lettersort.fire
View file @
1caa7e64
...
...
@@ -17,10 +17,10 @@
"__id__": 2
},
{
"__id__": 6
2
"__id__": 6
4
},
{
"__id__": 8
3
"__id__": 8
5
}
],
"_active": false,
...
...
@@ -87,13 +87,13 @@
"_active": true,
"_components": [
{
"__id__":
59
"__id__":
61
},
{
"__id__": 6
0
"__id__": 6
2
},
{
"__id__": 6
1
"__id__": 6
3
}
],
"_prefab": null,
...
...
@@ -408,16 +408,16 @@
"__id__": 10
},
{
"__id__": 2
1
"__id__": 2
3
},
{
"__id__": 2
7
"__id__": 2
9
},
{
"__id__": 5
2
"__id__": 5
4
},
{
"__id__":
58
"__id__":
60
}
],
"_active": false,
...
...
@@ -492,6 +492,9 @@
},
{
"__id__": 19
},
{
"__id__": 21
}
],
"_active": true,
...
...
@@ -546,7 +549,7 @@
},
{
"__type__": "cc.Node",
"_name": "
letter_bg_y
",
"_name": "
score_item
",
"_objFlags": 0,
"_parent": {
"__id__": 10
...
...
@@ -567,6 +570,96 @@
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 231,
"height": 83
},
"_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": "f4YR+bCzBOU7xdCbfyuQP6"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2a6c5fe8-6fb7-4060-9730-fa6aa21a5b36"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "29yU7/PgJDvIlu6aD2zc/d"
},
{
"__type__": "cc.Node",
"_name": "letter_bg_y",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_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": 184,
...
...
@@ -611,7 +704,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
1
"__id__": 1
3
},
"_enabled": true,
"_materials": [],
...
...
@@ -645,7 +738,7 @@
"_active": true,
"_components": [
{
"__id__": 1
4
"__id__": 1
6
}
],
"_prefab": null,
...
...
@@ -701,7 +794,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
3
"__id__": 1
5
},
"_enabled": true,
"_materials": [],
...
...
@@ -735,7 +828,7 @@
"_active": true,
"_components": [
{
"__id__": 1
6
"__id__": 1
8
}
],
"_prefab": null,
...
...
@@ -791,7 +884,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
5
"__id__": 1
7
},
"_enabled": true,
"_materials": [],
...
...
@@ -825,7 +918,7 @@
"_active": true,
"_components": [
{
"__id__":
18
"__id__":
20
}
],
"_prefab": null,
...
...
@@ -881,7 +974,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
7
"__id__": 1
9
},
"_enabled": true,
"_materials": [],
...
...
@@ -915,7 +1008,7 @@
"_active": true,
"_components": [
{
"__id__": 2
0
"__id__": 2
2
}
],
"_prefab": null,
...
...
@@ -971,7 +1064,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
19
"__id__":
21
},
"_enabled": true,
"_materials": [],
...
...
@@ -1003,10 +1096,10 @@
},
"_children": [
{
"__id__": 2
2
"__id__": 2
4
},
{
"__id__": 2
4
"__id__": 2
6
}
],
"_active": true,
...
...
@@ -1064,13 +1157,13 @@
"_name": "MMTB",
"_objFlags": 0,
"_parent": {
"__id__": 2
1
"__id__": 2
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
3
"__id__": 2
5
}
],
"_prefab": null,
...
...
@@ -1126,7 +1219,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
2
"__id__": 2
4
},
"_enabled": true,
"_materials": [],
...
...
@@ -1157,16 +1250,16 @@
"_name": "MMTB_label",
"_objFlags": 0,
"_parent": {
"__id__": 2
1
"__id__": 2
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
5
"__id__": 2
7
},
{
"__id__": 2
6
"__id__": 2
8
}
],
"_prefab": null,
...
...
@@ -1222,7 +1315,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
4
"__id__": 2
6
},
"_enabled": true,
"_materials": [],
...
...
@@ -1253,7 +1346,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
4
"__id__": 2
6
},
"_enabled": true,
"_color": {
...
...
@@ -1274,9 +1367,6 @@
"__id__": 9
},
"_children": [
{
"__id__": 28
},
{
"__id__": 30
},
...
...
@@ -1309,6 +1399,9 @@
},
{
"__id__": 50
},
{
"__id__": 52
}
],
"_active": true,
...
...
@@ -1366,13 +1459,13 @@
"_name": "click",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
29
"__id__":
31
}
],
"_prefab": null,
...
...
@@ -1428,7 +1521,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
28
"__id__":
30
},
"_enabled": true,
"_clip": {
...
...
@@ -1447,13 +1540,13 @@
"_name": "next",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
1
"__id__": 3
3
}
],
"_prefab": null,
...
...
@@ -1509,7 +1602,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
0
"__id__": 3
2
},
"_enabled": true,
"_clip": {
...
...
@@ -1528,13 +1621,13 @@
"_name": "move_3",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
3
"__id__": 3
5
}
],
"_prefab": null,
...
...
@@ -1590,7 +1683,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
2
"__id__": 3
4
},
"_enabled": true,
"_clip": {
...
...
@@ -1609,13 +1702,13 @@
"_name": "move_1",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
5
"__id__": 3
7
}
],
"_prefab": null,
...
...
@@ -1671,7 +1764,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
4
"__id__": 3
6
},
"_enabled": true,
"_clip": {
...
...
@@ -1690,13 +1783,13 @@
"_name": "move_2",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
7
"__id__": 3
9
}
],
"_prefab": null,
...
...
@@ -1752,7 +1845,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
6
"__id__": 3
8
},
"_enabled": true,
"_clip": {
...
...
@@ -1771,13 +1864,13 @@
"_name": "move_2_2",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
39
"__id__":
41
}
],
"_prefab": null,
...
...
@@ -1833,7 +1926,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
38
"__id__":
40
},
"_enabled": true,
"_clip": {
...
...
@@ -1852,13 +1945,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
1
"__id__": 4
3
}
],
"_prefab": null,
...
...
@@ -1914,7 +2007,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
2
},
"_enabled": true,
"_clip": {
...
...
@@ -1933,13 +2026,13 @@
"_name": "fail_1",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
3
"__id__": 4
5
}
],
"_prefab": null,
...
...
@@ -1995,7 +2088,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
2
"__id__": 4
4
},
"_enabled": true,
"_clip": {
...
...
@@ -2014,13 +2107,13 @@
"_name": "fail_2",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
5
"__id__": 4
7
}
],
"_prefab": null,
...
...
@@ -2076,7 +2169,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
4
"__id__": 4
6
},
"_enabled": true,
"_clip": {
...
...
@@ -2095,13 +2188,13 @@
"_name": "fail_4",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
7
"__id__": 4
9
}
],
"_prefab": null,
...
...
@@ -2157,7 +2250,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
6
"__id__": 4
8
},
"_enabled": true,
"_clip": {
...
...
@@ -2176,13 +2269,13 @@
"_name": "fail_3",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
49
"__id__":
51
}
],
"_prefab": null,
...
...
@@ -2238,7 +2331,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
50
},
"_enabled": true,
"_clip": {
...
...
@@ -2257,13 +2350,13 @@
"_name": "fail_5",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
1
"__id__": 5
3
}
],
"_prefab": null,
...
...
@@ -2319,7 +2412,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
0
"__id__": 5
2
},
"_enabled": true,
"_clip": {
...
...
@@ -2342,10 +2435,10 @@
},
"_children": [
{
"__id__": 5
3
"__id__": 5
5
},
{
"__id__": 5
5
"__id__": 5
7
}
],
"_active": true,
...
...
@@ -2403,13 +2496,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 5
2
"__id__": 5
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
4
"__id__": 5
6
}
],
"_prefab": null,
...
...
@@ -2465,7 +2558,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
5
},
"_enabled": true,
"_materials": [],
...
...
@@ -2501,16 +2594,16 @@
"_name": "soundAnim",
"_objFlags": 0,
"_parent": {
"__id__": 5
2
"__id__": 5
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
6
"__id__": 5
8
},
{
"__id__": 5
7
"__id__": 5
9
}
],
"_prefab": null,
...
...
@@ -2566,7 +2659,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
5
"__id__": 5
7
},
"_enabled": true,
"_materials": [
...
...
@@ -2598,7 +2691,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
5
"__id__": 5
7
},
"_enabled": true,
"_defaultClip": {
...
...
@@ -2735,19 +2828,19 @@
},
"_children": [
{
"__id__": 6
3
"__id__": 6
5
},
{
"__id__": 6
7
"__id__": 6
9
},
{
"__id__": 7
1
"__id__": 7
3
},
{
"__id__": 7
5
"__id__": 7
7
},
{
"__id__":
79
"__id__":
81
}
],
"_active": false,
...
...
@@ -2805,11 +2898,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
"_children": [
{
"__id__": 6
4
"__id__": 6
6
}
],
"_active": true,
...
...
@@ -2867,11 +2960,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 6
3
"__id__": 6
5
},
"_children": [
{
"__id__": 6
5
"__id__": 6
7
}
],
"_active": true,
...
...
@@ -2929,13 +3022,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 6
4
"__id__": 6
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
6
"__id__": 6
8
}
],
"_prefab": null,
...
...
@@ -2991,7 +3084,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
5
"__id__": 6
7
},
"_enabled": true,
"_materials": [
...
...
@@ -3021,11 +3114,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
"_children": [
{
"__id__":
68
"__id__":
70
}
],
"_active": true,
...
...
@@ -3083,11 +3176,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 6
7
"__id__": 6
9
},
"_children": [
{
"__id__":
69
"__id__":
71
}
],
"_active": true,
...
...
@@ -3145,13 +3238,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__":
68
"__id__":
70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
0
"__id__": 7
2
}
],
"_prefab": null,
...
...
@@ -3207,7 +3300,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
69
"__id__":
71
},
"_enabled": true,
"_materials": [
...
...
@@ -3237,11 +3330,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
"_children": [
{
"__id__": 7
2
"__id__": 7
4
}
],
"_active": true,
...
...
@@ -3299,11 +3392,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 7
1
"__id__": 7
3
},
"_children": [
{
"__id__": 7
3
"__id__": 7
5
}
],
"_active": true,
...
...
@@ -3361,13 +3454,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
4
"__id__": 7
6
}
],
"_prefab": null,
...
...
@@ -3423,7 +3516,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
3
"__id__": 7
5
},
"_enabled": true,
"_materials": [
...
...
@@ -3453,11 +3546,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
"_children": [
{
"__id__": 7
6
"__id__": 7
8
}
],
"_active": true,
...
...
@@ -3515,11 +3608,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 7
5
"__id__": 7
7
},
"_children": [
{
"__id__": 7
7
"__id__": 7
9
}
],
"_active": true,
...
...
@@ -3577,13 +3670,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
78
"__id__":
80
}
],
"_prefab": null,
...
...
@@ -3639,7 +3732,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
9
},
"_enabled": true,
"_materials": [
...
...
@@ -3669,11 +3762,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
"_children": [
{
"__id__": 8
0
"__id__": 8
2
}
],
"_active": true,
...
...
@@ -3731,11 +3824,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__":
79
"__id__":
81
},
"_children": [
{
"__id__": 8
1
"__id__": 8
3
}
],
"_active": true,
...
...
@@ -3793,13 +3886,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 8
0
"__id__": 8
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
2
"__id__": 8
4
}
],
"_prefab": null,
...
...
@@ -3855,7 +3948,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
1
"__id__": 8
3
},
"_enabled": true,
"_materials": [
...
...
@@ -3888,9 +3981,6 @@
"__id__": 1
},
"_children": [
{
"__id__": 84
},
{
"__id__": 86
},
...
...
@@ -3911,6 +4001,9 @@
},
{
"__id__": 98
},
{
"__id__": 100
}
],
"_active": false,
...
...
@@ -3968,13 +4061,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
5
"__id__": 8
7
}
],
"_prefab": null,
...
...
@@ -4030,7 +4123,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
4
"__id__": 8
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4060,13 +4153,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
7
"__id__": 8
9
}
],
"_prefab": null,
...
...
@@ -4122,7 +4215,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
6
"__id__": 8
8
},
"_enabled": true,
"_materials": [
...
...
@@ -4152,13 +4245,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
89
"__id__":
91
}
],
"_prefab": null,
...
...
@@ -4214,7 +4307,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
88
"__id__":
90
},
"_enabled": true,
"_materials": [
...
...
@@ -4244,13 +4337,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
1
"__id__": 9
3
}
],
"_prefab": null,
...
...
@@ -4306,7 +4399,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
0
"__id__": 9
2
},
"_enabled": true,
"_materials": [
...
...
@@ -4336,13 +4429,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
3
"__id__": 9
5
}
],
"_prefab": null,
...
...
@@ -4398,7 +4491,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
2
"__id__": 9
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4428,13 +4521,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
5
"__id__": 9
7
}
],
"_prefab": null,
...
...
@@ -4490,7 +4583,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
4
"__id__": 9
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4520,13 +4613,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
7
"__id__": 9
9
}
],
"_prefab": null,
...
...
@@ -4582,7 +4675,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
6
"__id__": 9
8
},
"_enabled": true,
"_materials": [
...
...
@@ -4612,13 +4705,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
99
"__id__":
101
}
],
"_prefab": null,
...
...
@@ -4674,7 +4767,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
98
"__id__":
100
},
"_enabled": true,
"_materials": [
...
...
assets/hw_lettersort/scene/hw_lettersort.js
View file @
1caa7e64
...
...
@@ -947,7 +947,7 @@ cc.Class({
this
.
data
.
rows
=
randomSortByArr
(
rows
);
this
.
score
=
0
;
this
.
curDataIndex
=
0
;
...
...
@@ -1164,27 +1164,33 @@ cc.Class({
this
.
initBg
();
this
.
initCurData
();
this
.
initCurWord
();
this
.
initScorePanel
();
this
.
startTiming
();
// // this.data.isDebug = false;
// this.initQuesArr();
// this.initCurQues();
// this.initBg();
// this.initBtn();
// this.initQuesCountLabel();
// this.initCurWordCard();
},
// this.initDebugLayer();
initScorePanel
()
{
const
scorePanel
=
getSprNode
(
"
score_item
"
);
scorePanel
.
x
=
this
.
canvas
.
width
/
2
-
scorePanel
.
width
/
2
-
15
;
scorePanel
.
y
=
this
.
canvas
.
height
/
2
-
scorePanel
.
height
/
2
-
15
;
this
.
canvas
.
addChild
(
scorePanel
);
// scorePanel.active = false;
// c05610
const
scoreLabelNode
=
this
.
getRichText
(
"
0
"
,
35
,
"
#ffffff
"
,
2
,
"
#e6a519
"
);
scoreLabelNode
.
x
=
20
;
scoreLabelNode
.
y
=
5
;
scorePanel
.
addChild
(
scoreLabelNode
);
this
.
scoreLabel
=
scoreLabelNode
.
getComponent
(
cc
.
RichText
);
},
// this.showInsertCard();
addScore
()
{
this
.
score
++
;
this
.
refreshRichText
(
this
.
scoreLabel
.
node
,
this
.
score
);
},
...
...
@@ -9785,6 +9791,9 @@ cc.Class({
},
enterNextGroup
()
{
this
.
addScore
();
this
.
curDataIndex
++
;
this
.
initCurData
();
if
(
!
this
.
curData
)
{
...
...
assets/hw_lettersort/texture/score_item.png
0 → 100644
View file @
1caa7e64
11 KB
assets/hw_lettersort/texture/score_item.png.meta
0 → 100644
View file @
1caa7e64
{
"ver": "2.3.5",
"uuid": "89b2a23b-2242-4770-a839-4c47d724a02d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 231,
"height": 83,
"platformSettings": {},
"subMetas": {
"score_item": {
"ver": "1.0.4",
"uuid": "2a6c5fe8-6fb7-4060-9730-fa6aa21a5b36",
"rawTextureUuid": "89b2a23b-2242-4770-a839-4c47d724a02d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 231,
"height": 83,
"rawWidth": 231,
"rawHeight": 83,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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