Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
Lwd
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
Lwd
Commits
cd82e1ec
Commit
cd82e1ec
authored
Mar 25, 2021
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aaaa
parent
a2880720
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
458 additions
and
340 deletions
+458
-340
Animation.meta
play/assets/tmpGame/Animation.meta
+0
-12
Game.fire
play/assets/tmpGame/scene/Game.fire
+443
-288
game.js
play/assets/tmpGame/script/game/game.js
+13
-1
data_mgr.js
play/assets/tmpGame/script/manager/data_mgr.js
+2
-2
微信图片_20210204203203.jpg
play/assets/tmpGame/textures/微信图片_20210204203203.jpg
+0
-0
微信图片_20210204203203.jpg.meta
play/assets/tmpGame/textures/微信图片_20210204203203.jpg.meta
+0
-37
No files found.
play/assets/tmpGame/Animation.meta
deleted
100644 → 0
View file @
a2880720
{
"ver": "1.1.2",
"uuid": "7d25a5d7-a799-4071-8de4-8b430d572289",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
play/assets/tmpGame/scene/Game.fire
View file @
cd82e1ec
...
...
@@ -75,37 +75,37 @@
"__id__": 5
},
{
"__id__": 2
2
"__id__": 2
5
},
{
"__id__": 6
5
"__id__": 6
8
},
{
"__id__":
67
"__id__":
70
},
{
"__id__": 7
0
"__id__": 7
3
},
{
"__id__": 12
3
"__id__": 12
6
},
{
"__id__": 14
0
"__id__": 14
4
}
],
"_active": true,
"_components": [
{
"__id__": 14
2
"__id__": 14
6
},
{
"__id__": 14
3
"__id__": 14
7
},
{
"__id__": 14
4
"__id__": 14
8
},
{
"__id__": 14
5
"__id__": 14
9
}
],
"_prefab": null,
...
...
@@ -195,7 +195,7 @@
"array": [
0,
0,
506.6248612138966
,
294.44863728670913
,
0,
0,
0,
...
...
@@ -272,16 +272,16 @@
"__id__": 11
},
{
"__id__": 1
4
"__id__": 1
7
},
{
"__id__": 1
6
"__id__": 1
9
},
{
"__id__":
18
"__id__":
21
},
{
"__id__": 2
0
"__id__": 2
3
}
],
"_active": true,
...
...
@@ -559,14 +559,18 @@
"_parent": {
"__id__": 5
},
"_children": [],
"_children": [
{
"__id__": 12
}
],
"_active": true,
"_components": [
{
"__id__": 1
2
"__id__": 1
5
},
{
"__id__": 1
3
"__id__": 1
6
}
],
"_prefab": null,
...
...
@@ -617,6 +621,124 @@
"groupIndex": 0,
"_id": "939Xaa3dFGgZ7qfXdmn/HS"
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 14
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 221.88,
"height": 56.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
4.558,
29.788,
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": "eb822DUedM/IOG23HWVwxf"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "frd iwhfii9w",
"_N$string": "frd iwhfii9w",
"_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": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "5eJcrKDpFEbp0BZRcQtlr5"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 141,
"g": 43,
"b": 43,
"a": 255
},
"_width": 3,
"_id": "e96hdLaUxCdIDsaPYeiCVn"
},
{
"__type__": "cc.Sprite",
"_name": "",
...
...
@@ -687,7 +809,7 @@
"_active": true,
"_components": [
{
"__id__": 1
5
"__id__": 1
8
}
],
"_prefab": null,
...
...
@@ -743,7 +865,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
4
"__id__": 1
7
},
"_enabled": true,
"_materials": [
...
...
@@ -781,7 +903,7 @@
"_active": true,
"_components": [
{
"__id__":
17
"__id__":
20
}
],
"_prefab": null,
...
...
@@ -837,7 +959,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
6
"__id__": 1
9
},
"_enabled": true,
"_materials": [
...
...
@@ -875,7 +997,7 @@
"_active": true,
"_components": [
{
"__id__":
19
"__id__":
22
}
],
"_prefab": null,
...
...
@@ -931,7 +1053,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
18
"__id__":
21
},
"_enabled": true,
"_materials": [
...
...
@@ -969,7 +1091,7 @@
"_active": true,
"_components": [
{
"__id__": 2
1
"__id__": 2
4
}
],
"_prefab": null,
...
...
@@ -1025,7 +1147,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
0
"__id__": 2
3
},
"_enabled": true,
"_materials": [
...
...
@@ -1061,16 +1183,16 @@
},
"_children": [
{
"__id__": 2
3
"__id__": 2
6
},
{
"__id__": 2
5
"__id__": 2
8
},
{
"__id__":
27
"__id__":
30
},
{
"__id__": 4
5
"__id__": 4
8
}
],
"_active": true,
...
...
@@ -1128,13 +1250,13 @@
"_name": "Layout",
"_objFlags": 0,
"_parent": {
"__id__": 2
2
"__id__": 2
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
4
"__id__": 2
7
}
],
"_prefab": null,
...
...
@@ -1190,7 +1312,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
3
"__id__": 2
6
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -1222,13 +1344,13 @@
"_name": "Layout",
"_objFlags": 0,
"_parent": {
"__id__": 2
2
"__id__": 2
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
6
"__id__": 2
9
}
],
"_prefab": null,
...
...
@@ -1284,7 +1406,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
5
"__id__": 2
8
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -1316,32 +1438,32 @@
"_name": "item_1",
"_objFlags": 0,
"_parent": {
"__id__": 2
2
"__id__": 2
5
},
"_children": [
{
"__id__":
28
"__id__":
31
},
{
"__id__": 3
0
"__id__": 3
3
},
{
"__id__": 3
4
"__id__": 3
7
},
{
"__id__": 3
6
"__id__": 3
9
},
{
"__id__": 4
0
"__id__": 4
3
}
],
"_active": false,
"_components": [
{
"__id__": 4
2
"__id__": 4
5
},
{
"__id__": 4
3
"__id__": 4
6
}
],
"_prefab": null,
...
...
@@ -1397,13 +1519,13 @@
"_name": "circle_1",
"_objFlags": 0,
"_parent": {
"__id__":
27
"__id__":
30
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
29
"__id__":
32
}
],
"_prefab": null,
...
...
@@ -1459,7 +1581,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
28
"__id__":
31
},
"_enabled": true,
"_materials": [
...
...
@@ -1491,17 +1613,17 @@
"_name": "circle_1_light",
"_objFlags": 0,
"_parent": {
"__id__":
27
"__id__":
30
},
"_children": [
{
"__id__": 3
1
"__id__": 3
4
}
],
"_active": false,
"_components": [
{
"__id__": 3
3
"__id__": 3
6
}
],
"_prefab": null,
...
...
@@ -1557,13 +1679,13 @@
"_name": "spt_chick",
"_objFlags": 0,
"_parent": {
"__id__": 3
0
"__id__": 3
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
2
"__id__": 3
5
}
],
"_prefab": null,
...
...
@@ -1619,7 +1741,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
1
"__id__": 3
4
},
"_enabled": true,
"_materials": [
...
...
@@ -1651,7 +1773,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
0
"__id__": 3
3
},
"_enabled": true,
"_materials": [
...
...
@@ -1683,13 +1805,13 @@
"_name": "spt_Star",
"_objFlags": 0,
"_parent": {
"__id__":
27
"__id__":
30
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
5
"__id__": 3
8
}
],
"_prefab": null,
...
...
@@ -1745,7 +1867,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
4
"__id__": 3
7
},
"_enabled": true,
"_materials": [
...
...
@@ -1777,17 +1899,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__":
27
"__id__":
30
},
"_children": [
{
"__id__":
37
"__id__":
40
}
],
"_active": false,
"_components": [
{
"__id__":
39
"__id__":
42
}
],
"_prefab": null,
...
...
@@ -1843,13 +1965,13 @@
"_name": "spt",
"_objFlags": 0,
"_parent": {
"__id__": 3
6
"__id__": 3
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
38
"__id__":
41
}
],
"_prefab": null,
...
...
@@ -1905,7 +2027,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
37
"__id__":
40
},
"_enabled": true,
"_materials": [
...
...
@@ -1937,7 +2059,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
6
"__id__": 3
9
},
"_enabled": true,
"_materials": [
...
...
@@ -1957,13 +2079,13 @@
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__":
27
"__id__":
30
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 4
1
"__id__": 4
4
}
],
"_prefab": null,
...
...
@@ -2019,7 +2141,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
3
},
"_enabled": true,
"_materials": [
...
...
@@ -2051,28 +2173,28 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
27
"__id__":
30
},
"_enabled": true,
"Picture": {
"__id__": 3
4
"__id__": 3
7
},
"nodeState": [
{
"__id__":
28
"__id__":
31
},
{
"__id__": 3
0
"__id__": 3
3
},
{
"__id__": 3
6
"__id__": 3
9
}
],
"spt_error": {
"__id__": 4
0
"__id__": 4
3
},
"spt_chick": {
"__id__": 3
1
"__id__": 3
4
},
"_id": "3bDAY1GxVPhaPpkEexe2pC"
},
...
...
@@ -2081,7 +2203,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
27
"__id__":
30
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -2090,7 +2212,7 @@
"zoomScale": 0.95,
"clickEvents": [
{
"__id__": 4
4
"__id__": 4
7
}
],
"_N$interactable": true,
...
...
@@ -2151,7 +2273,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__":
27
"__id__":
30
},
"component": "",
"_componentId": "e729bOHnRpHpJ09B2/R3cNg",
...
...
@@ -2163,35 +2285,35 @@
"_name": "item_2",
"_objFlags": 0,
"_parent": {
"__id__": 2
2
"__id__": 2
5
},
"_children": [
{
"__id__": 4
6
"__id__": 4
9
},
{
"__id__":
48
"__id__":
51
},
{
"__id__": 5
0
"__id__": 5
3
},
{
"__id__": 5
4
"__id__": 5
7
},
{
"__id__": 5
6
"__id__": 5
9
},
{
"__id__": 6
0
"__id__": 6
3
}
],
"_active": false,
"_components": [
{
"__id__": 6
2
"__id__": 6
5
},
{
"__id__": 6
3
"__id__": 6
6
}
],
"_prefab": null,
...
...
@@ -2247,13 +2369,13 @@
"_name": "gun",
"_objFlags": 0,
"_parent": {
"__id__": 4
5
"__id__": 4
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
47
"__id__":
50
}
],
"_prefab": null,
...
...
@@ -2309,7 +2431,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
6
"__id__": 4
9
},
"_enabled": true,
"_materials": [
...
...
@@ -2341,13 +2463,13 @@
"_name": "circle_2",
"_objFlags": 0,
"_parent": {
"__id__": 4
5
"__id__": 4
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
49
"__id__":
52
}
],
"_prefab": null,
...
...
@@ -2403,7 +2525,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
51
},
"_enabled": true,
"_materials": [
...
...
@@ -2435,17 +2557,17 @@
"_name": "circle_2_light",
"_objFlags": 0,
"_parent": {
"__id__": 4
5
"__id__": 4
8
},
"_children": [
{
"__id__": 5
1
"__id__": 5
4
}
],
"_active": false,
"_components": [
{
"__id__": 5
3
"__id__": 5
6
}
],
"_prefab": null,
...
...
@@ -2501,13 +2623,13 @@
"_name": "spt_chick",
"_objFlags": 0,
"_parent": {
"__id__": 5
0
"__id__": 5
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
2
"__id__": 5
5
}
],
"_prefab": null,
...
...
@@ -2563,7 +2685,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
1
"__id__": 5
4
},
"_enabled": true,
"_materials": [
...
...
@@ -2595,7 +2717,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
0
"__id__": 5
3
},
"_enabled": true,
"_materials": [
...
...
@@ -2627,13 +2749,13 @@
"_name": "spt_Star",
"_objFlags": 0,
"_parent": {
"__id__": 4
5
"__id__": 4
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
5
"__id__": 5
8
}
],
"_prefab": null,
...
...
@@ -2689,7 +2811,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
4
"__id__": 5
7
},
"_enabled": true,
"_materials": [
...
...
@@ -2721,17 +2843,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 4
5
"__id__": 4
8
},
"_children": [
{
"__id__":
57
"__id__":
60
}
],
"_active": false,
"_components": [
{
"__id__":
59
"__id__":
62
}
],
"_prefab": null,
...
...
@@ -2787,13 +2909,13 @@
"_name": "spt",
"_objFlags": 0,
"_parent": {
"__id__": 5
6
"__id__": 5
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
58
"__id__":
61
}
],
"_prefab": null,
...
...
@@ -2849,7 +2971,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
57
"__id__":
60
},
"_enabled": true,
"_materials": [
...
...
@@ -2881,7 +3003,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
6
"__id__": 5
9
},
"_enabled": true,
"_materials": [
...
...
@@ -2901,13 +3023,13 @@
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 4
5
"__id__": 4
8
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 6
1
"__id__": 6
4
}
],
"_prefab": null,
...
...
@@ -2963,7 +3085,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
0
"__id__": 6
3
},
"_enabled": true,
"_materials": [
...
...
@@ -2995,28 +3117,28 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
5
"__id__": 4
8
},
"_enabled": true,
"Picture": {
"__id__": 5
4
"__id__": 5
7
},
"nodeState": [
{
"__id__":
48
"__id__":
51
},
{
"__id__": 5
0
"__id__": 5
3
},
{
"__id__": 5
6
"__id__": 5
9
}
],
"spt_error": {
"__id__": 6
0
"__id__": 6
3
},
"spt_chick": {
"__id__": 5
1
"__id__": 5
4
},
"_id": "8aq54xAINKpbcvXnQAf7Hy"
},
...
...
@@ -3025,7 +3147,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
5
"__id__": 4
8
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3034,7 +3156,7 @@
"zoomScale": 0.95,
"clickEvents": [
{
"__id__": 6
4
"__id__": 6
7
}
],
"_N$interactable": true,
...
...
@@ -3095,7 +3217,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 4
5
"__id__": 4
8
},
"component": "",
"_componentId": "e729bOHnRpHpJ09B2/R3cNg",
...
...
@@ -3113,7 +3235,7 @@
"_active": true,
"_components": [
{
"__id__": 6
6
"__id__": 6
9
}
],
"_prefab": null,
...
...
@@ -3169,7 +3291,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
5
"__id__": 6
8
},
"_enabled": true,
"_materials": [
...
...
@@ -3208,10 +3330,10 @@
"_active": true,
"_components": [
{
"__id__":
68
"__id__":
71
},
{
"__id__":
69
"__id__":
72
}
],
"_prefab": null,
...
...
@@ -3267,7 +3389,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
67
"__id__":
70
},
"_enabled": true,
"_materials": [
...
...
@@ -3299,7 +3421,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
67
"__id__":
70
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -3330,25 +3452,25 @@
},
"_children": [
{
"__id__": 7
1
"__id__": 7
4
},
{
"__id__": 7
4
"__id__": 7
7
},
{
"__id__": 8
2
"__id__": 8
5
},
{
"__id__": 8
6
"__id__": 8
9
},
{
"__id__": 9
0
"__id__": 9
3
}
],
"_active": false,
"_components": [
{
"__id__": 12
2
"__id__": 12
5
}
],
"_prefab": null,
...
...
@@ -3404,16 +3526,16 @@
"_name": "Mask",
"_objFlags": 0,
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
2
"__id__": 7
5
},
{
"__id__": 7
3
"__id__": 7
6
}
],
"_prefab": null,
...
...
@@ -3469,7 +3591,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
4
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3537,7 +3659,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
1
"__id__": 7
4
},
"_enabled": true,
"_materials": [
...
...
@@ -3557,20 +3679,20 @@
"_name": "frame_3",
"_objFlags": 0,
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
"_children": [
{
"__id__": 7
5
"__id__": 7
8
},
{
"__id__":
77
"__id__":
80
}
],
"_active": true,
"_components": [
{
"__id__": 8
1
"__id__": 8
4
}
],
"_prefab": null,
...
...
@@ -3626,13 +3748,13 @@
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 7
4
"__id__": 7
7
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 7
6
"__id__": 7
9
}
],
"_prefab": null,
...
...
@@ -3688,7 +3810,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
5
"__id__": 7
8
},
"_enabled": true,
"_materials": [
...
...
@@ -3700,7 +3822,7 @@
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
2
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -3718,17 +3840,17 @@
"_name": "frame_2",
"_objFlags": 0,
"_parent": {
"__id__": 7
4
"__id__": 7
7
},
"_children": [
{
"__id__":
78
"__id__":
81
}
],
"_active": false,
"_components": [
{
"__id__": 8
0
"__id__": 8
3
}
],
"_prefab": null,
...
...
@@ -3784,13 +3906,13 @@
"_name": "lb_welldone",
"_objFlags": 0,
"_parent": {
"__id__":
77
"__id__":
80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
79
"__id__":
82
}
],
"_prefab": null,
...
...
@@ -3846,7 +3968,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
78
"__id__":
81
},
"_enabled": true,
"_materials": [
...
...
@@ -3878,7 +4000,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
77
"__id__":
80
},
"_enabled": true,
"_materials": [
...
...
@@ -3910,7 +4032,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
4
"__id__": 7
7
},
"_enabled": true,
"_materials": [
...
...
@@ -3942,17 +4064,17 @@
"_name": "farme_name",
"_objFlags": 0,
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
"_children": [
{
"__id__": 8
3
"__id__": 8
6
}
],
"_active": true,
"_components": [
{
"__id__": 8
5
"__id__": 8
8
}
],
"_prefab": null,
...
...
@@ -4008,13 +4130,13 @@
"_name": "lb_tip",
"_objFlags": 0,
"_parent": {
"__id__": 8
2
"__id__": 8
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
4
"__id__": 8
7
}
],
"_prefab": null,
...
...
@@ -4070,7 +4192,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4080,7 +4202,6 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "She is clapping",
"_N$string": "She is clapping",
"_fontSize": 50,
...
...
@@ -4104,7 +4225,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
2
"__id__": 8
5
},
"_enabled": true,
"_materials": [
...
...
@@ -4136,16 +4257,16 @@
"_name": "btn_close",
"_objFlags": 0,
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
87
"__id__":
90
},
{
"__id__":
88
"__id__":
91
}
],
"_prefab": null,
...
...
@@ -4201,7 +4322,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
6
"__id__": 8
9
},
"_enabled": true,
"_materials": [
...
...
@@ -4233,7 +4354,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
6
"__id__": 8
9
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -4242,7 +4363,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__":
89
"__id__":
92
}
],
"_N$interactable": true,
...
...
@@ -4303,7 +4424,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 7
0
"__id__": 7
3
},
"component": "",
"_componentId": "b01b30rB85Exb1aIQxobbR8",
...
...
@@ -4315,59 +4436,59 @@
"_name": "node_eff",
"_objFlags": 0,
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
"_children": [
{
"__id__": 9
1
"__id__": 9
4
},
{
"__id__": 9
3
"__id__": 9
6
},
{
"__id__": 9
5
"__id__": 9
8
},
{
"__id__":
97
"__id__":
100
},
{
"__id__":
99
"__id__":
102
},
{
"__id__": 10
1
"__id__": 10
4
},
{
"__id__": 10
3
"__id__": 10
6
},
{
"__id__": 10
5
"__id__": 10
8
},
{
"__id__": 1
07
"__id__": 1
10
},
{
"__id__": 1
09
"__id__": 1
12
},
{
"__id__": 11
1
"__id__": 11
4
},
{
"__id__": 11
3
"__id__": 11
6
},
{
"__id__": 11
5
"__id__": 11
8
},
{
"__id__": 1
17
"__id__": 1
20
},
{
"__id__": 1
19
"__id__": 1
22
}
],
"_active": false,
"_components": [
{
"__id__": 12
1
"__id__": 12
4
}
],
"_prefab": null,
...
...
@@ -4423,13 +4544,13 @@
"_name": "1",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
2
"__id__": 9
5
}
],
"_prefab": null,
...
...
@@ -4485,7 +4606,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
1
"__id__": 9
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4517,13 +4638,13 @@
"_name": "2",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
4
"__id__": 9
7
}
],
"_prefab": null,
...
...
@@ -4579,7 +4700,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
3
"__id__": 9
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4611,13 +4732,13 @@
"_name": "3",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
6
"__id__": 9
9
}
],
"_prefab": null,
...
...
@@ -4673,7 +4794,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
8
},
"_enabled": true,
"_materials": [
...
...
@@ -4705,13 +4826,13 @@
"_name": "4",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
98
"__id__":
101
}
],
"_prefab": null,
...
...
@@ -4767,7 +4888,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
97
"__id__":
100
},
"_enabled": true,
"_materials": [
...
...
@@ -4799,13 +4920,13 @@
"_name": "5",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
0
"__id__": 10
3
}
],
"_prefab": null,
...
...
@@ -4861,7 +4982,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
99
"__id__":
102
},
"_enabled": true,
"_materials": [
...
...
@@ -4893,13 +5014,13 @@
"_name": "6",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
2
"__id__": 10
5
}
],
"_prefab": null,
...
...
@@ -4955,7 +5076,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
4
},
"_enabled": true,
"_materials": [
...
...
@@ -4987,13 +5108,13 @@
"_name": "7",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
4
"__id__": 10
7
}
],
"_prefab": null,
...
...
@@ -5049,7 +5170,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
3
"__id__": 10
6
},
"_enabled": true,
"_materials": [
...
...
@@ -5081,13 +5202,13 @@
"_name": "8",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
6
"__id__": 10
9
}
],
"_prefab": null,
...
...
@@ -5143,7 +5264,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
5
"__id__": 10
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5175,13 +5296,13 @@
"_name": "9",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
08
"__id__": 1
11
}
],
"_prefab": null,
...
...
@@ -5237,7 +5358,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
07
"__id__": 1
10
},
"_enabled": true,
"_materials": [
...
...
@@ -5269,13 +5390,13 @@
"_name": "10",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
0
"__id__": 11
3
}
],
"_prefab": null,
...
...
@@ -5331,7 +5452,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
09
"__id__": 1
12
},
"_enabled": true,
"_materials": [
...
...
@@ -5363,13 +5484,13 @@
"_name": "11",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
2
"__id__": 11
5
}
],
"_prefab": null,
...
...
@@ -5425,7 +5546,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
1
"__id__": 11
4
},
"_enabled": true,
"_materials": [
...
...
@@ -5457,13 +5578,13 @@
"_name": "12",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
4
"__id__": 11
7
}
],
"_prefab": null,
...
...
@@ -5519,7 +5640,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
3
"__id__": 11
6
},
"_enabled": true,
"_materials": [
...
...
@@ -5551,13 +5672,13 @@
"_name": "13",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
6
"__id__": 11
9
}
],
"_prefab": null,
...
...
@@ -5613,7 +5734,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
5
"__id__": 11
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5645,13 +5766,13 @@
"_name": "14",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
18
"__id__": 1
21
}
],
"_prefab": null,
...
...
@@ -5707,7 +5828,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
17
"__id__": 1
20
},
"_enabled": true,
"_materials": [
...
...
@@ -5739,13 +5860,13 @@
"_name": "15",
"_objFlags": 0,
"_parent": {
"__id__": 9
0
"__id__": 9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
0
"__id__": 12
3
}
],
"_prefab": null,
...
...
@@ -5801,7 +5922,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
19
"__id__": 1
22
},
"_enabled": true,
"_materials": [
...
...
@@ -5833,7 +5954,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
0
"__id__": 9
3
},
"_enabled": true,
"_defaultClip": {
...
...
@@ -5852,23 +5973,23 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
0
"__id__": 7
3
},
"_enabled": true,
"Picture": {
"__id__": 7
5
"__id__": 7
8
},
"wellDone": {
"__id__":
77
"__id__":
80
},
"frame_tips": {
"__id__": 8
2
"__id__": 8
5
},
"lb_tips": {
"__id__": 8
4
"__id__": 8
7
},
"eff_sahua": {
"__id__": 12
1
"__id__": 12
4
},
"_id": "aanl6eAfxD/IRkmdVyvj7C"
},
...
...
@@ -5881,20 +6002,24 @@
},
"_children": [
{
"__id__": 12
4
"__id__": 12
7
},
{
"__id__": 1
28
"__id__": 1
31
},
{
"__id__": 13
2
"__id__": 13
5
},
{
"__id__": 13
6
"__id__": 13
9
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 143
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -5906,7 +6031,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"width":
128
0,
"height": 0
},
"_anchorPoint": {
...
...
@@ -5919,7 +6044,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
-36
0,
0,
0,
0,
...
...
@@ -5948,16 +6073,16 @@
"_name": "btn_left",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
5
"__id__": 12
8
},
{
"__id__": 12
6
"__id__": 12
9
}
],
"_prefab": null,
...
...
@@ -5984,7 +6109,7 @@
"ctor": "Float64Array",
"array": [
439.432,
-329.697
,
30
,
0,
0,
0,
...
...
@@ -6013,7 +6138,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
4
"__id__": 12
7
},
"_enabled": true,
"_materials": [
...
...
@@ -6045,7 +6170,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
4
"__id__": 12
7
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -6054,7 +6179,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 1
27
"__id__": 1
30
}
],
"_N$interactable": true,
...
...
@@ -6127,16 +6252,16 @@
"_name": "btn_start",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
29
"__id__": 1
32
},
{
"__id__": 13
0
"__id__": 13
3
}
],
"_prefab": null,
...
...
@@ -6163,7 +6288,7 @@
"ctor": "Float64Array",
"array": [
488.5,
-323.84
,
36
,
0,
0,
0,
...
...
@@ -6192,7 +6317,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
28
"__id__": 1
31
},
"_enabled": true,
"_materials": [
...
...
@@ -6224,7 +6349,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
28
"__id__": 1
31
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -6233,7 +6358,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 13
1
"__id__": 13
4
}
],
"_N$interactable": true,
...
...
@@ -6306,16 +6431,16 @@
"_name": "btn_right",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
3
"__id__": 13
6
},
{
"__id__": 13
4
"__id__": 13
7
}
],
"_prefab": null,
...
...
@@ -6342,7 +6467,7 @@
"ctor": "Float64Array",
"array": [
539.096,
-329.325
,
30
,
0,
0,
0,
...
...
@@ -6371,7 +6496,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
2
"__id__": 13
5
},
"_enabled": true,
"_materials": [
...
...
@@ -6403,7 +6528,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
2
"__id__": 13
5
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -6412,7 +6537,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 13
5
"__id__": 13
8
}
],
"_N$interactable": true,
...
...
@@ -6485,16 +6610,16 @@
"_name": "btn_sound",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
37
"__id__": 1
40
},
{
"__id__": 1
38
"__id__": 1
41
}
],
"_prefab": null,
...
...
@@ -6520,8 +6645,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-587
.592
,
-313.878
,
-587,
45
,
0,
0,
0,
...
...
@@ -6550,7 +6675,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
6
"__id__": 13
9
},
"_enabled": true,
"_materials": [
...
...
@@ -6582,7 +6707,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
6
"__id__": 13
9
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -6591,7 +6716,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 1
39
"__id__": 1
42
}
],
"_N$interactable": true,
...
...
@@ -6659,6 +6784,33 @@
"handler": "PlayAudio",
"customEventData": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 44,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "81naTeVOZBW7yF04+zg75X"
},
{
"__type__": "cc.Node",
"_name": "speaker",
...
...
@@ -6670,7 +6822,7 @@
"_active": true,
"_components": [
{
"__id__": 14
1
"__id__": 14
5
}
],
"_prefab": null,
...
...
@@ -6726,7 +6878,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
0
"__id__": 14
4
},
"_enabled": true,
"eff_btn": {
...
...
@@ -6762,8 +6914,8 @@
"width": 1280,
"height": 720
},
"_fitWidth":
fals
e,
"_fitHeight":
fals
e,
"_fitWidth":
tru
e,
"_fitHeight":
tru
e,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
...
...
@@ -6802,22 +6954,25 @@
},
"_enabled": true,
"contentArr_1": {
"__id__": 2
3
"__id__": 2
6
},
"Item_1": {
"__id__":
27
"__id__":
30
},
"contentArr_2": {
"__id__": 2
5
"__id__": 2
8
},
"Item_2": {
"__id__": 4
5
"__id__": 4
8
},
"draw": {
"__id__": 6
6
"__id__": 6
9
},
"resultNode": {
"__id__": 70
"__id__": 73
},
"title": {
"__id__": 13
},
"_id": "4eioQSfZdPna82l0qiAEEA"
},
...
...
@@ -6832,9 +6987,9 @@
"UIMax": [],
"topUI": [],
"canvasView": {
"__id__": 14
2
"__id__": 14
6
},
"isCanvas":
fals
e,
"isCanvas":
tru
e,
"_id": "5eOVDDzARGnoMLcNXyk5ml"
}
]
\ No newline at end of file
play/assets/tmpGame/script/game/game.js
View file @
cd82e1ec
...
...
@@ -34,6 +34,11 @@ var game = cc.Class({
default
:
null
,
type
:
cc
.
Node
,
displayName
:
"
结算弹窗
"
},
title
:
{
default
:
null
,
type
:
cc
.
Label
,
displayName
:
"
标题
"
}
},
...
...
@@ -58,10 +63,15 @@ var game = cc.Class({
//更新界面信息
UpdataUi
:
function
()
{
//显示标题
this
.
title
.
string
=
g
.
data_mgr
.
data
.
contentObj
.
title
;
//获得上列表的数据
var
topList
=
g
.
data_mgr
.
getImgInfo
(
1
);
var
botList
=
g
.
data_mgr
.
getImgInfo
(
2
);
//打乱列表顺序
this
.
contentArr_1
.
opacity
=
0
;
this
.
contentArr_2
.
opacity
=
0
;
topList
.
sort
(
function
()
{
return
Math
.
random
()
>
0.5
?
-
1
:
1
;
})
botList
.
sort
(
function
()
{
return
Math
.
random
()
>
0.5
?
-
1
:
1
;
})
this
.
addItem
(
topList
,
this
.
contentArr_1
,
this
.
Item_1
,
0
);
...
...
@@ -151,6 +161,8 @@ var game = cc.Class({
addItem
:
function
(
listInfo
,
content
,
item
,
i
)
{
if
(
listInfo
.
length
<=
i
)
{
content
.
getComponent
(
cc
.
Layout
).
updateLayout
();
this
.
contentArr_1
.
runAction
(
cc
.
fadeIn
(
0.2
))
this
.
contentArr_2
.
runAction
(
cc
.
fadeIn
(
0.2
))
return
;
}
var
len
=
content
.
childrenCount
;
...
...
@@ -164,7 +176,7 @@ var game = cc.Class({
this
.
scheduleOnce
(
function
()
{
i
+=
1
;
this
.
addItem
(
listInfo
,
content
,
item
,
i
)
}.
bind
(
this
),
0
.01
);
}.
bind
(
this
),
0
);
},
//点亮 conten:上列表,下列表 state:0 点亮,2变暗
...
...
play/assets/tmpGame/script/manager/data_mgr.js
View file @
cd82e1ec
...
...
@@ -22,7 +22,7 @@ g.data_mgr = {
//获得默认数据
getDefaultData
()
{
const
dataJson
=
'
{ "contentObj": { "pageArr": [{ "pageInfo": [{ "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/495324991838775e49e3ca6593d432c9.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/17cc0e2a383e4632147dc495a1397915.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/20f16608cf7fc6499eb1f942e625658d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/205722475ccaca6233b2f28e635405ca.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/0b6ef24f15c6d8ad7bf27cc913445ebf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/b2c170f84b85dddf554b5c837d1d6e30.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/1e3e361ef1953dec43f250278be63e1d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/a589225b18d35b045bc52e283ec7cceb.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/86fb8f1694cf0d5d2d81c26fecfae709.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/a41083db803c2f15cd67402f4b751b87.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/11bcdcf1720dd260b90a0f4b523633f8.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }] }, { "pageInfo": [{ "a_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/a787397544260023572b154914ff961b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/cc93f9eacb135dbeba69857d37d2a0fd.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3806065de519a70e2758f2b5ed46f7c1.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/3ed9f5f1278b67380e792d94e7a7564b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/c9147ba4f6865137f78a9a6331c81151.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/502c5d3a110c40a6bfcf1a2cd1dab9ea.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9159668d6274ead9dc1ab0cd8cd2e442.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3d2d9f1ed700be793508ab79d6de76a2.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }] }] } }
'
const
dataJson
=
'
{ "contentObj": { "
title":"frd iwhfii9w","
pageArr": [{ "pageInfo": [{ "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/495324991838775e49e3ca6593d432c9.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/17cc0e2a383e4632147dc495a1397915.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/20f16608cf7fc6499eb1f942e625658d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/205722475ccaca6233b2f28e635405ca.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/0b6ef24f15c6d8ad7bf27cc913445ebf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/b2c170f84b85dddf554b5c837d1d6e30.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7502f454d1edc0d1d52efbe8a9b2020a.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/1e3e361ef1953dec43f250278be63e1d.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/a589225b18d35b045bc52e283ec7cceb.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/86fb8f1694cf0d5d2d81c26fecfae709.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/a41083db803c2f15cd67402f4b751b87.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/11bcdcf1720dd260b90a0f4b523633f8.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }] }, { "pageInfo": [{ "a_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "", "b_audio_url": "", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/19d51663c49a4faed1fd569de26611a3.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/a787397544260023572b154914ff961b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/e813b164253de04bbcdd9f1a38cc228d.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/2c5f7fedc1cdcb91dda5bb621a2d0235.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/cc93f9eacb135dbeba69857d37d2a0fd.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3806065de519a70e2758f2b5ed46f7c1.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9d7bdb483c7690728f0658022753c8ed.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/7629f54dc9ae5e3c556b4d898509f888.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/3ed9f5f1278b67380e792d94e7a7564b.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/c9147ba4f6865137f78a9a6331c81151.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/502c5d3a110c40a6bfcf1a2cd1dab9ea.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/69cbbc96cd60283120521ad606f8c886.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/87fb5b526def6f946c5991490ce31475.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }, { "a_pic_url": "http://staging-teach.cdn.ireadabc.com/9159668d6274ead9dc1ab0cd8cd2e442.png", "b_pic_url": "http://staging-teach.cdn.ireadabc.com/adccd435985b8ce20737e4b6a235d88f.png", "a_audio_url": "http://staging-teach.cdn.ireadabc.com/4fb9a05072f2b3c0493a2fcbb55307bf.mp3", "b_audio_url": "http://staging-teach.cdn.ireadabc.com/3d2d9f1ed700be793508ab79d6de76a2.mp3", "groupLabel": "", "groupPic": "", "common_pic_url": "http://staging-teach.cdn.ireadabc.com/28ef69eeb008a030ce1fbb237a5d0637.png" }] }] } }
'
const
data
=
JSON
.
parse
(
dataJson
);
return
data
;
},
...
...
@@ -79,7 +79,7 @@ g.data_mgr = {
for
(
var
i
in
pageInfo
)
{
this
.
_imageResList
.
push
({
url
:
pageInfo
[
i
].
a_pic_url
,
typeId
:
i
,
positionId
:
1
,
btnState
:
0
});
this
.
_imageResList
.
push
({
url
:
pageInfo
[
i
].
b_pic_url
,
typeId
:
i
,
positionId
:
2
,
btnState
:
0
});
this
.
_imageResList
.
push
({
url
:
pageInfo
[
i
].
common_pic_url
,
typeId
:
i
,
positionId
:
0
});
this
.
_imageResList
.
push
({
url
:
pageInfo
[
i
].
groupPic
,
typeId
:
i
,
positionId
:
0
});
}
},
...
...
play/assets/tmpGame/textures/微信图片_20210204203203.jpg
deleted
100644 → 0
View file @
a2880720
588 KB
play/assets/tmpGame/textures/微信图片_20210204203203.jpg.meta
deleted
100644 → 0
View file @
a2880720
{
"ver": "2.3.5",
"uuid": "fad1b059-3b4a-42dd-8d5d-e1baba413a8b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1342,
"height": 2376,
"platformSettings": {},
"subMetas": {
"微信图片_20210204203203": {
"ver": "1.0.4",
"uuid": "2fc7eb28-a60f-42fa-8911-789b3f20f368",
"rawTextureUuid": "fad1b059-3b4a-42dd-8d5d-e1baba413a8b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1342,
"height": 2376,
"rawWidth": 1342,
"rawHeight": 2376,
"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