Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
et15_flipcard
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
et15_flipcard
Commits
8a82ba9d
Commit
8a82ba9d
authored
Feb 26, 2021
by
Guo Yuhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui 走查问题清理
Signed-off-by:
郭宇航
<
guoyuhang@iplayabc.com
>
parent
3cfb5c0d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
135 additions
and
80 deletions
+135
-80
flipCard.fire
play/assets/tmpGame/scene/flipCard.fire
+93
-76
flipCard.js
play/assets/tmpGame/script/flipCard.js
+3
-3
ahronbd-1.ttf
play/assets/tmpGame/textures/ahronbd-1.ttf
+0
-0
ahronbd-1.ttf.meta
play/assets/tmpGame/textures/ahronbd-1.ttf.meta
+5
-0
project.json
play/settings/project.json
+34
-1
No files found.
play/assets/tmpGame/scene/flipCard.fire
View file @
8a82ba9d
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
"__id__": 2
"__id__": 2
},
},
{
{
"__id__": 4
7
"__id__": 4
8
}
}
],
],
"_active": true,
"_active": true,
...
@@ -78,22 +78,22 @@
...
@@ -78,22 +78,22 @@
"__id__": 5
"__id__": 5
},
},
{
{
"__id__": 2
7
"__id__": 2
8
},
},
{
{
"__id__":
39
"__id__":
40
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
"__id__": 44
},
{
{
"__id__": 45
"__id__": 45
},
},
{
{
"__id__": 46
"__id__": 46
},
{
"__id__": 47
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
"array": [
"array": [
0,
0,
0,
0,
537.7898563845391
,
494.77113849959716
,
0,
0,
0,
0,
0,
0,
...
@@ -266,10 +266,10 @@
...
@@ -266,10 +266,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
5
"__id__": 2
6
},
},
{
{
"__id__": 2
6
"__id__": 2
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -283,7 +283,7 @@
...
@@ -283,7 +283,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
60
0,
"width": 1
28
0,
"height": 720
"height": 720
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -302,7 +302,7 @@
...
@@ -302,7 +302,7 @@
0,
0,
0,
0,
1,
1,
0.8
,
1
,
1,
1,
1
1
]
]
...
@@ -348,7 +348,7 @@
...
@@ -348,7 +348,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
60
0,
"width": 1
28
0,
"height": 720
"height": 720
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -475,7 +475,7 @@
...
@@ -475,7 +475,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
60
0,
"width": 1
28
0,
"height": 720
"height": 720
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -616,7 +616,7 @@
...
@@ -616,7 +616,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
60
0,
"width": 1
28
0,
"height": 102
"height": 102
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -738,13 +738,13 @@
...
@@ -738,13 +738,13 @@
"__id__": 18
"__id__": 18
},
},
{
{
"__id__": 2
1
"__id__": 2
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
4
"__id__": 2
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -758,8 +758,8 @@
...
@@ -758,8 +758,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 0,
"width":
50
0,
"height":
0
"height":
107
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -770,7 +770,7 @@
...
@@ -770,7 +770,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
50
0,
-
34
0,
290,
290,
0,
0,
0,
0,
...
@@ -810,6 +810,9 @@
...
@@ -810,6 +810,9 @@
},
},
{
{
"__id__": 20
"__id__": 20
},
{
"__id__": 21
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -835,8 +838,8 @@
...
@@ -835,8 +838,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
2.65
,
0
,
2.12
,
1.613
,
0,
0,
0,
0,
0,
0,
...
@@ -879,7 +882,7 @@
...
@@ -879,7 +882,7 @@
"__uuid__": "7e6c30c3-f574-481f-82ae-b37ca91599eb"
"__uuid__": "7e6c30c3-f574-481f-82ae-b37ca91599eb"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -908,6 +911,20 @@
...
@@ -908,6 +911,20 @@
"preload": false,
"preload": false,
"_id": "ccxY31tWtOOrM4av2NDLdn"
"_id": "ccxY31tWtOOrM4av2NDLdn"
},
},
{
"__type__": "b2354GTZopG4oaGZ40/baPN",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"image": null,
"displayMode": 3,
"offsetX": 0,
"offsetY": 0,
"_id": "994ix3oB9JJa0JjZBHYC26"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "label",
"_name": "label",
...
@@ -919,10 +936,10 @@
...
@@ -919,10 +936,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
2
"__id__": 2
3
},
},
{
{
"__id__": 2
3
"__id__": 2
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -948,8 +965,8 @@
...
@@ -948,8 +965,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
10.598
,
20.44
,
1
4.838
,
1
7.462
,
0,
0,
0,
0,
0,
0,
...
@@ -978,7 +995,7 @@
...
@@ -978,7 +995,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
1
"__id__": 2
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -989,13 +1006,13 @@
...
@@ -989,13 +1006,13 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_useOriginalSize": false,
"_string": "",
"_string": "
\n
",
"_N$string": "",
"_N$string": "
\n
",
"_fontSize": 40,
"_fontSize": 40,
"_lineHeight": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
"__uuid__": "
aa5b426e-3b93-4e31-b27f-bbe5ce50bcb9
"
"__uuid__": "
90ea68e6-f414-45e8-92af-5f4353f9449a
"
},
},
"_isSystemFontUsed": false,
"_isSystemFontUsed": false,
"_spacingX": 0,
"_spacingX": 0,
...
@@ -1014,7 +1031,7 @@
...
@@ -1014,7 +1031,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
1
"__id__": 2
2
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -1038,9 +1055,9 @@
...
@@ -1038,9 +1055,9 @@
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 9,
"_alignFlags": 9,
"_left":
30
0,
"_left":
5
0,
"_right": 0,
"_right": 0,
"_top":
70
,
"_top":
16.5
,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
...
@@ -1114,19 +1131,19 @@
...
@@ -1114,19 +1131,19 @@
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "Card",
"_name": "Card",
"_objFlags":
512
,
"_objFlags":
0
,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
},
},
"_children": [
"_children": [
{
{
"__id__": 2
8
"__id__": 2
9
},
},
{
{
"__id__": 3
0
"__id__": 3
1
},
},
{
{
"__id__": 3
3
"__id__": 3
4
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1184,13 +1201,13 @@
...
@@ -1184,13 +1201,13 @@
"_name": "bgfront",
"_name": "bgfront",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
29
"__id__":
30
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1246,7 +1263,7 @@
...
@@ -1246,7 +1263,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
8
"__id__": 2
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1278,16 +1295,16 @@
...
@@ -1278,16 +1295,16 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
1
"__id__": 3
2
},
},
{
{
"__id__": 3
2
"__id__": 3
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1343,7 +1360,7 @@
...
@@ -1343,7 +1360,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
0
"__id__": 3
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1373,7 +1390,7 @@
...
@@ -1373,7 +1390,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
0
"__id__": 3
1
},
},
"_enabled": true,
"_enabled": true,
"_clip": null,
"_clip": null,
...
@@ -1389,20 +1406,20 @@
...
@@ -1389,20 +1406,20 @@
"_name": "bgback",
"_name": "bgback",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
8
},
},
"_children": [
"_children": [
{
{
"__id__": 3
4
"__id__": 3
5
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
7
"__id__": 3
8
},
},
{
{
"__id__": 3
8
"__id__": 3
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1458,16 +1475,16 @@
...
@@ -1458,16 +1475,16 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
3
"__id__": 3
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
5
"__id__": 3
6
},
},
{
{
"__id__": 3
6
"__id__": 3
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1493,8 +1510,8 @@
...
@@ -1493,8 +1510,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-1
,
1
35
,
1
50
,
0,
0,
0,
0,
0,
0,
...
@@ -1523,7 +1540,7 @@
...
@@ -1523,7 +1540,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
4
"__id__": 3
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1557,16 +1574,16 @@
...
@@ -1557,16 +1574,16 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
4
"__id__": 3
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 45,
"_alignFlags": 45,
"_left":
30
,
"_left":
29
,
"_right": 3
0
,
"_right": 3
1
,
"_top":
10
,
"_top":
-5
,
"_bottom":
10
,
"_bottom":
25
,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
@@ -1584,7 +1601,7 @@
...
@@ -1584,7 +1601,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1616,7 +1633,7 @@
...
@@ -1616,7 +1633,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
4
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -1632,19 +1649,19 @@
...
@@ -1632,19 +1649,19 @@
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "AutoContainer",
"_name": "AutoContainer",
"_objFlags":
512
,
"_objFlags":
0
,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
},
},
"_children": [
"_children": [
{
{
"__id__": 4
0
"__id__": 4
1
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
3
"__id__": 4
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1700,16 +1717,16 @@
...
@@ -1700,16 +1717,16 @@
"_name": "layout",
"_name": "layout",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
40
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
1
"__id__": 4
2
},
},
{
{
"__id__": 4
2
"__id__": 4
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1736,7 +1753,7 @@
...
@@ -1736,7 +1753,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
-1
00.00000000000001
,
-1
20
,
0,
0,
0,
0,
0,
0,
...
@@ -1765,7 +1782,7 @@
...
@@ -1765,7 +1782,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
1
},
},
"_enabled": true,
"_enabled": true,
"_layoutSize": {
"_layoutSize": {
...
@@ -1797,7 +1814,7 @@
...
@@ -1797,7 +1814,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
1
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1805,8 +1822,8 @@
...
@@ -1805,8 +1822,8 @@
"_alignFlags": 45,
"_alignFlags": 45,
"_left": 0,
"_left": 0,
"_right": 0,
"_right": 0,
"_top": 2
0
0.00000000000006,
"_top": 2
2
0.00000000000006,
"_bottom":
4.263256414560601e-14
,
"_bottom":
-19.999999999999943
,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
@@ -1824,7 +1841,7 @@
...
@@ -1824,7 +1841,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
39
"__id__":
40
},
},
"_enabled": true,
"_enabled": true,
"designWidth": 1280,
"designWidth": 1280,
...
@@ -1899,7 +1916,7 @@
...
@@ -1899,7 +1916,7 @@
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
8
"__id__": 4
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1955,7 +1972,7 @@
...
@@ -1955,7 +1972,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
7
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
...
play/assets/tmpGame/script/flipCard.js
View file @
8a82ba9d
...
@@ -105,7 +105,7 @@ cc.Class({
...
@@ -105,7 +105,7 @@ cc.Class({
getDefaultData
()
{
getDefaultData
()
{
const
dataJson
=
'
{"contentObj":{"picArr":[{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}}],"audio_url":"
http://staging-teach.cdn.ireadabc.com/a4d27ad173a95823d4b8ec82363c5aa0.mp3
","title":""},"audio_url":""}
'
;
const
dataJson
=
'
{"contentObj":{"picArr":[{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}}],"audio_url":"","title":""},"audio_url":""}
'
;
// const dataJson = '{"contentObj":{"picArr":[{"left":{"title":"11111","pic_url":"http://staging-teach.cdn.ireadabc.com/156b8293a073ef828f6e01fc620c3562.png","audio_url":"http://staging-teach.cdn.ireadabc.com/83513f8d6083ebe072e3f9e47a21558a.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"222222","pic_url":"http://staging-teach.cdn.ireadabc.com/e029bf3210a23a169f1cc14a851cc9e4.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/5285e1e88a26a08783757e9c43a8653f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"3333","pic_url":"http://staging-teach.cdn.ireadabc.com/89f8093ced2b9ddeccec352e9b7f2775.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/440cf9d57752b30691d90ed565e8c924.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"444444","pic_url":"http://staging-teach.cdn.ireadabc.com/5a2c61d8faf5935e70fd9b15953b12f6.png","audio_url":"http://staging-teach.cdn.ireadabc.com/a5fa20e0c6024421b0d9a7007c303503.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"5555","pic_url":"http://staging-teach.cdn.ireadabc.com/ce2e48ecefbf8b7011385a95133fe987.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a41f0f2bf190396e2641ec8dada8edfe.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"66","pic_url":"http://staging-teach.cdn.ireadabc.com/13845267419e50bd7f0c0f74ba424be2.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/32258b839eca32b6ccf94f3dd6c86e0c.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"77777","pic_url":"http://staging-teach.cdn.ireadabc.com/7ec7599c86f974c9f88409893010811d.png","audio_url":"http://staging-teach.cdn.ireadabc.com/49ac987d13695eb411da4bef0adb318f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"8888888","pic_url":"http://staging-teach.cdn.ireadabc.com/24ee95ea61a2a653ce25c65557b18356.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/85cff126986f5cc11b05e95181da5869.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"99999999999999999","pic_url":"http://staging-teach.cdn.ireadabc.com/3aa5a936d8e0e6f1dd2f6eb6d3d26645.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a4d27ad173a95823d4b8ec82363c5aa0.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"10101010101010","pic_url":"http://staging-teach.cdn.ireadabc.com/5ec43bf9507ff08d556487dee9234653.png","audio_url":"http://staging-teach.cdn.ireadabc.com/66878465ec50d162bd60fcdaa641933b.mp3"},"right":{"title":"","pic_url":"","audio_url":""}}]}}'
// const dataJson = '{"contentObj":{"picArr":[{"left":{"title":"11111","pic_url":"http://staging-teach.cdn.ireadabc.com/156b8293a073ef828f6e01fc620c3562.png","audio_url":"http://staging-teach.cdn.ireadabc.com/83513f8d6083ebe072e3f9e47a21558a.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"222222","pic_url":"http://staging-teach.cdn.ireadabc.com/e029bf3210a23a169f1cc14a851cc9e4.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/5285e1e88a26a08783757e9c43a8653f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"3333","pic_url":"http://staging-teach.cdn.ireadabc.com/89f8093ced2b9ddeccec352e9b7f2775.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/440cf9d57752b30691d90ed565e8c924.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"444444","pic_url":"http://staging-teach.cdn.ireadabc.com/5a2c61d8faf5935e70fd9b15953b12f6.png","audio_url":"http://staging-teach.cdn.ireadabc.com/a5fa20e0c6024421b0d9a7007c303503.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"5555","pic_url":"http://staging-teach.cdn.ireadabc.com/ce2e48ecefbf8b7011385a95133fe987.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a41f0f2bf190396e2641ec8dada8edfe.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"66","pic_url":"http://staging-teach.cdn.ireadabc.com/13845267419e50bd7f0c0f74ba424be2.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/32258b839eca32b6ccf94f3dd6c86e0c.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"77777","pic_url":"http://staging-teach.cdn.ireadabc.com/7ec7599c86f974c9f88409893010811d.png","audio_url":"http://staging-teach.cdn.ireadabc.com/49ac987d13695eb411da4bef0adb318f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"8888888","pic_url":"http://staging-teach.cdn.ireadabc.com/24ee95ea61a2a653ce25c65557b18356.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/85cff126986f5cc11b05e95181da5869.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"99999999999999999","pic_url":"http://staging-teach.cdn.ireadabc.com/3aa5a936d8e0e6f1dd2f6eb6d3d26645.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a4d27ad173a95823d4b8ec82363c5aa0.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"10101010101010","pic_url":"http://staging-teach.cdn.ireadabc.com/5ec43bf9507ff08d556487dee9234653.png","audio_url":"http://staging-teach.cdn.ireadabc.com/66878465ec50d162bd60fcdaa641933b.mp3"},"right":{"title":"","pic_url":"","audio_url":""}}]}}'
const
data1
=
JSON
.
parse
(
dataJson
);
const
data1
=
JSON
.
parse
(
dataJson
);
return
data1
;
return
data1
;
...
@@ -258,8 +258,8 @@ cc.Class({
...
@@ -258,8 +258,8 @@ cc.Class({
layout
.
spacingX
=
120
;
layout
.
spacingX
=
120
;
// layout.paddingLeft = 60;
// layout.paddingLeft = 60;
}
else
{
}
else
{
cardNode
.
scaleY
=
0.
8
;
cardNode
.
scaleY
=
0.
9
;
cardNode
.
scaleX
=
0.
8
;
cardNode
.
scaleX
=
0.
9
;
layout
.
spacingX
=
180
;
layout
.
spacingX
=
180
;
// layout.paddingLeft = 100;
// layout.paddingLeft = 100;
}
}
...
...
play/assets/tmpGame/textures/ahronbd-1.ttf
0 → 100644
View file @
8a82ba9d
File added
play/assets/tmpGame/textures/ahronbd-1.ttf.meta
0 → 100644
View file @
8a82ba9d
{
"ver": "1.1.0",
"uuid": "90ea68e6-f414-45e8-92af-5f4353f9449a",
"subMetas": {}
}
\ No newline at end of file
play/settings/project.json
View file @
8a82ba9d
{
{
"last-module-event-record-time"
:
1600677246969
"last-module-event-record-time"
:
1600677246969
,
"group-list"
:
[
"default"
],
"collision-matrix"
:
[
[
true
]
],
"excluded-modules"
:
[
"3D Physics/Builtin"
],
"preview-port"
:
7456
,
"design-resolution-width"
:
1280
,
"design-resolution-height"
:
720
,
"fit-width"
:
false
,
"fit-height"
:
true
,
"use-project-simulator-setting"
:
false
,
"simulator-orientation"
:
false
,
"use-customize-simulator"
:
true
,
"simulator-resolution"
:
{
"height"
:
640
,
"width"
:
960
},
"facebook"
:
{
"appID"
:
""
,
"audience"
:
{
"enable"
:
false
},
"enable"
:
false
,
"live"
:
{
"enable"
:
false
}
}
}
}
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