Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ET26
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
ET26
Commits
c88a8908
Commit
c88a8908
authored
Oct 26, 2021
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
cc807d03
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
243 additions
and
159 deletions
+243
-159
ET26.fire
play/assets/ET26/scene/ET26.fire
+190
-126
ET26.js
play/assets/ET26/scene/ET26.js
+4
-0
item.js
play/assets/ET26/script/game/item.js
+24
-6
data_mgr.js
play/assets/ET26/script/manager/data_mgr.js
+22
-24
item_bg2.png.meta
play/assets/ET26/textures/item_bg2.png.meta
+2
-2
project.json
play/settings/project.json
+1
-1
No files found.
play/assets/ET26/scene/ET26.fire
View file @
c88a8908
...
...
@@ -17,10 +17,10 @@
"__id__": 2
},
{
"__id__": 47
1
"__id__": 47
2
},
{
"__id__": 49
7
"__id__": 49
8
}
],
"_active": false,
...
...
@@ -81,14 +81,11 @@
"__id__": 5
},
{
"__id__": 46
4
"__id__": 46
5
}
],
"_active": true,
"_components": [
{
"__id__": 466
},
{
"__id__": 467
},
...
...
@@ -100,6 +97,9 @@
},
{
"__id__": 470
},
{
"__id__": 471
}
],
"_prefab": null,
...
...
@@ -263,7 +263,7 @@
"__id__": 8
},
{
"__id__": 46
0
"__id__": 46
1
}
],
"_active": true,
...
...
@@ -453,6 +453,9 @@
},
{
"__id__": 459
},
{
"__id__": 460
}
],
"_active": true,
...
...
@@ -8371,7 +8374,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height":
48.800000000000004
"height":
24.400000000000002
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -8534,7 +8537,7 @@
"_layoutSize": {
"__type__": "cc.Size",
"width": 180,
"height":
48.800000000000004
"height":
24.400000000000002
},
"_resize": 1,
"_N$layoutType": 3,
...
...
@@ -8544,15 +8547,15 @@
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft":
0
,
"_N$paddingLeft":
3
,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX":
3
,
"_N$spacingX":
8
,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale":
tru
e,
"_N$affectedByScale":
fals
e,
"_id": "68lFomuRJB/q2GLPPOh+Ca"
},
{
...
...
@@ -9433,15 +9436,15 @@
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft":
0
,
"_N$paddingLeft":
3
,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX":
3
,
"_N$spacingX":
8
,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale":
tru
e,
"_N$affectedByScale":
fals
e,
"_id": "0bg3YmTudPp7FUCB7Yqw4S"
},
{
...
...
@@ -10149,7 +10152,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height":
48.800000000000004
"height":
60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -10312,7 +10315,7 @@
"_layoutSize": {
"__type__": "cc.Size",
"width": 180,
"height":
48.800000000000004
"height":
60
},
"_resize": 1,
"_N$layoutType": 3,
...
...
@@ -10322,15 +10325,15 @@
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft":
0
,
"_N$paddingLeft":
3
,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX":
3
,
"_N$spacingX":
8
,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale":
tru
e,
"_N$affectedByScale":
fals
e,
"_id": "6fTnUHRoFLSpSDUKSofhc2"
},
{
...
...
@@ -11038,7 +11041,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height":
48.800000000000004
"height":
60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -11201,7 +11204,7 @@
"_layoutSize": {
"__type__": "cc.Size",
"width": 180,
"height":
48.800000000000004
"height":
60
},
"_resize": 1,
"_N$layoutType": 3,
...
...
@@ -11211,15 +11214,15 @@
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft":
0
,
"_N$paddingLeft":
3
,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX":
3
,
"_N$spacingX":
8
,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale":
tru
e,
"_N$affectedByScale":
fals
e,
"_id": "a56YJtVrxBRY63YG9FLOK9"
},
{
...
...
@@ -12100,15 +12103,15 @@
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft":
0
,
"_N$paddingLeft":
3
,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX":
3
,
"_N$spacingX":
8
,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale":
tru
e,
"_N$affectedByScale":
fals
e,
"_id": "e5boprAeVL15vPycB/hmon"
},
{
...
...
@@ -12962,7 +12965,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height":
61
"height":
48.800000000000004
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -13030,7 +13033,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
12
,
"width": 1
28
,
"height": 321
},
"_anchorPoint": {
...
...
@@ -13098,8 +13101,8 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left":
13
,
"_right":
13
,
"_left":
5
,
"_right":
5
,
"_top": 5,
"_bottom": 8,
"_verticalCenter": 0,
...
...
@@ -13125,7 +13128,7 @@
"_layoutSize": {
"__type__": "cc.Size",
"width": 110,
"height":
61
"height":
48.800000000000004
},
"_resize": 1,
"_N$layoutType": 3,
...
...
@@ -13977,7 +13980,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
12
,
"width": 1
28
,
"height": 321
},
"_anchorPoint": {
...
...
@@ -14045,8 +14048,8 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left":
13
,
"_right":
13
,
"_left":
5
,
"_right":
5
,
"_top": 5,
"_bottom": 8,
"_verticalCenter": 0,
...
...
@@ -14866,7 +14869,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
12
,
"width": 1
28
,
"height": 321
},
"_anchorPoint": {
...
...
@@ -14934,8 +14937,8 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left":
13
,
"_right":
13
,
"_left":
5
,
"_right":
5
,
"_top": 5,
"_bottom": 8,
"_verticalCenter": 0,
...
...
@@ -15755,7 +15758,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
12
,
"width": 1
28
,
"height": 321
},
"_anchorPoint": {
...
...
@@ -15823,8 +15826,8 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left":
13
,
"_right":
13
,
"_left":
5
,
"_right":
5
,
"_top": 5,
"_bottom": 8,
"_verticalCenter": 0,
...
...
@@ -16644,7 +16647,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
12
,
"width": 1
28
,
"height": 321
},
"_anchorPoint": {
...
...
@@ -16712,8 +16715,8 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left":
13
,
"_right":
13
,
"_left":
5
,
"_right":
5
,
"_top": 5,
"_bottom": 8,
"_verticalCenter": 0,
...
...
@@ -17533,7 +17536,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
12
,
"width": 1
28
,
"height": 321
},
"_anchorPoint": {
...
...
@@ -17601,8 +17604,8 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left":
13
,
"_right":
13
,
"_left":
5
,
"_right":
5
,
"_top": 5,
"_bottom": 8,
"_verticalCenter": 0,
...
...
@@ -19889,6 +19892,64 @@
"groupIndex": 0,
"_id": "94hVUpqTpDC5XJMsxrCvSP"
},
{
"__type__": "cc.Node",
"_name": "itemFrame1",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 45
},
"_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": "96nHVn2DRIqKcU3g7glNI/"
},
{
"__type__": "cc.Node",
"_name": "mask",
...
...
@@ -19900,10 +19961,10 @@
"_active": false,
"_components": [
{
"__id__": 46
1
"__id__": 46
2
},
{
"__id__": 46
2
"__id__": 46
3
}
],
"_prefab": null,
...
...
@@ -19959,7 +20020,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
0
"__id__": 46
1
},
"_enabled": true,
"_id": "80PylZIy9EbJR4/AZl0xgK"
...
...
@@ -19969,7 +20030,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
0
"__id__": 46
1
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -19978,7 +20039,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 46
3
"__id__": 46
4
}
],
"_N$interactable": true,
...
...
@@ -20057,7 +20118,7 @@
"_active": true,
"_components": [
{
"__id__": 46
5
"__id__": 46
6
}
],
"_prefab": null,
...
...
@@ -20113,7 +20174,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
4
"__id__": 46
5
},
"_enabled": true,
"eff_btn": {
...
...
@@ -20203,6 +20264,9 @@
},
{
"__id__": 459
},
{
"__id__": 460
}
],
"contentArr_2": [
...
...
@@ -20259,7 +20323,7 @@
}
],
"canvasView": {
"__id__": 46
6
"__id__": 46
7
},
"isCanvas": true,
"_id": "5eOVDDzARGnoMLcNXyk5ml"
...
...
@@ -20283,19 +20347,19 @@
},
"_children": [
{
"__id__": 47
2
"__id__": 47
3
},
{
"__id__": 47
7
"__id__": 47
8
},
{
"__id__": 48
2
"__id__": 48
3
},
{
"__id__": 48
7
"__id__": 48
8
},
{
"__id__": 49
2
"__id__": 49
3
}
],
"_active": true,
...
...
@@ -20353,11 +20417,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 47
1
"__id__": 47
2
},
"_children": [
{
"__id__": 47
3
"__id__": 47
4
}
],
"_active": true,
...
...
@@ -20415,17 +20479,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 47
2
"__id__": 47
3
},
"_children": [
{
"__id__": 47
4
"__id__": 47
5
}
],
"_active": true,
"_components": [
{
"__id__": 47
6
"__id__": 47
7
}
],
"_prefab": null,
...
...
@@ -20481,13 +20545,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 47
3
"__id__": 47
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
5
"__id__": 47
6
}
],
"_prefab": null,
...
...
@@ -20543,7 +20607,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
4
"__id__": 47
5
},
"_enabled": true,
"_materials": [
...
...
@@ -20575,7 +20639,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
3
"__id__": 47
4
},
"_enabled": true,
"_materials": [
...
...
@@ -20597,11 +20661,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 47
1
"__id__": 47
2
},
"_children": [
{
"__id__": 47
8
"__id__": 47
9
}
],
"_active": true,
...
...
@@ -20659,17 +20723,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 47
7
"__id__": 47
8
},
"_children": [
{
"__id__": 4
79
"__id__": 4
80
}
],
"_active": true,
"_components": [
{
"__id__": 48
1
"__id__": 48
2
}
],
"_prefab": null,
...
...
@@ -20725,13 +20789,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 47
8
"__id__": 47
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 48
0
"__id__": 48
1
}
],
"_prefab": null,
...
...
@@ -20787,7 +20851,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
79
"__id__": 4
80
},
"_enabled": true,
"_materials": [
...
...
@@ -20819,7 +20883,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
8
"__id__": 47
9
},
"_enabled": true,
"_materials": [
...
...
@@ -20841,11 +20905,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 47
1
"__id__": 47
2
},
"_children": [
{
"__id__": 48
3
"__id__": 48
4
}
],
"_active": true,
...
...
@@ -20903,17 +20967,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 48
2
"__id__": 48
3
},
"_children": [
{
"__id__": 48
4
"__id__": 48
5
}
],
"_active": true,
"_components": [
{
"__id__": 48
6
"__id__": 48
7
}
],
"_prefab": null,
...
...
@@ -20969,13 +21033,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 48
3
"__id__": 48
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 48
5
"__id__": 48
6
}
],
"_prefab": null,
...
...
@@ -21031,7 +21095,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
4
"__id__": 48
5
},
"_enabled": true,
"_materials": [
...
...
@@ -21063,7 +21127,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
3
"__id__": 48
4
},
"_enabled": true,
"_materials": [
...
...
@@ -21085,11 +21149,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 47
1
"__id__": 47
2
},
"_children": [
{
"__id__": 48
8
"__id__": 48
9
}
],
"_active": true,
...
...
@@ -21147,17 +21211,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 48
7
"__id__": 48
8
},
"_children": [
{
"__id__": 4
89
"__id__": 4
90
}
],
"_active": true,
"_components": [
{
"__id__": 49
1
"__id__": 49
2
}
],
"_prefab": null,
...
...
@@ -21213,13 +21277,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 48
8
"__id__": 48
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
0
"__id__": 49
1
}
],
"_prefab": null,
...
...
@@ -21275,7 +21339,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
89
"__id__": 4
90
},
"_enabled": true,
"_materials": [
...
...
@@ -21307,7 +21371,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
8
"__id__": 48
9
},
"_enabled": true,
"_materials": [
...
...
@@ -21329,11 +21393,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 47
1
"__id__": 47
2
},
"_children": [
{
"__id__": 49
3
"__id__": 49
4
}
],
"_active": true,
...
...
@@ -21391,17 +21455,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 49
2
"__id__": 49
3
},
"_children": [
{
"__id__": 49
4
"__id__": 49
5
}
],
"_active": true,
"_components": [
{
"__id__": 49
6
"__id__": 49
7
}
],
"_prefab": null,
...
...
@@ -21457,13 +21521,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 49
3
"__id__": 49
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
5
"__id__": 49
6
}
],
"_prefab": null,
...
...
@@ -21519,7 +21583,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
4
"__id__": 49
5
},
"_enabled": true,
"_materials": [
...
...
@@ -21551,7 +21615,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
3
"__id__": 49
4
},
"_enabled": true,
"_materials": [
...
...
@@ -21577,19 +21641,19 @@
},
"_children": [
{
"__id__": 49
8
"__id__": 49
9
},
{
"__id__": 50
0
"__id__": 50
1
},
{
"__id__": 50
2
"__id__": 50
3
},
{
"__id__": 50
4
"__id__": 50
5
},
{
"__id__": 50
6
"__id__": 50
7
}
],
"_active": true,
...
...
@@ -21647,13 +21711,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 49
7
"__id__": 49
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
499
"__id__":
500
}
],
"_prefab": null,
...
...
@@ -21709,7 +21773,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
8
"__id__": 49
9
},
"_enabled": true,
"_materials": [
...
...
@@ -21741,13 +21805,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 49
7
"__id__": 49
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
1
"__id__": 50
2
}
],
"_prefab": null,
...
...
@@ -21803,7 +21867,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
0
"__id__": 50
1
},
"_enabled": true,
"_materials": [
...
...
@@ -21835,13 +21899,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 49
7
"__id__": 49
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
3
"__id__": 50
4
}
],
"_prefab": null,
...
...
@@ -21897,7 +21961,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
2
"__id__": 50
3
},
"_enabled": true,
"_materials": [
...
...
@@ -21929,13 +21993,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 49
7
"__id__": 49
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
5
"__id__": 50
6
}
],
"_prefab": null,
...
...
@@ -21991,7 +22055,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
4
"__id__": 50
5
},
"_enabled": true,
"_materials": [
...
...
@@ -22023,13 +22087,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 49
7
"__id__": 49
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
7
"__id__": 50
8
}
],
"_prefab": null,
...
...
@@ -22085,7 +22149,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
6
"__id__": 50
7
},
"_enabled": true,
"_materials": [
...
...
play/assets/ET26/scene/ET26.js
View file @
c88a8908
...
...
@@ -155,6 +155,10 @@ var game = cc.Class({
this
.
OptionType
=
g
.
data_mgr
.
getSheepfoldArr
().
length
-
3
;
},
getOptionType
:
function
()
{
return
this
.
OptionType
;
},
//更新界面信息
UpdataUi
:
function
()
{
//设置目标节点类型
...
...
play/assets/ET26/script/game/item.js
View file @
c88a8908
...
...
@@ -96,17 +96,35 @@ cc.Class({
}
g
.
speaker
.
inst
.
play_good
();
if
(
g
.
game
.
inst
.
getOptionType
()
==
2
)
{
// newItem_temp.scale = 0.8;
// this.node.scale = this.node.scale * 0.8;
var
newItem_temp
=
cc
.
instantiate
(
g
.
game
.
inst
.
Item_0
[
3
]);
}
else
{
var
newItem_temp
=
cc
.
instantiate
(
g
.
game
.
inst
.
Item_0
[
2
]);
}
// var newItem_temp = cc.instantiate(g.game.inst.Item_0[2]);
content
.
getChildByName
(
"
db
"
).
active
=
true
;
content
.
getChildByName
(
"
db
"
).
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
newAnimation
"
,
1
);
if
(
this
.
node
.
width
>=
150
)
{
if
(
g
.
game
.
inst
.
getOptionType
()
==
2
)
{
this
.
node
.
scale
=
0.45
;
this
.
node
.
x
=
0
;
}
else
{
this
.
node
.
scale
=
0.6
;
this
.
node
.
x
=
0
;
}
if
(
g
.
game
.
inst
.
OptionType
==
2
)
{
this
.
node
.
scale
=
this
.
node
.
scale
*
0.8
;
}
else
{
if
(
g
.
game
.
inst
.
getOptionType
()
==
2
)
{
this
.
node
.
scale
=
0.7
;
this
.
node
.
x
=
0
;
}
else
{
this
.
node
.
scale
=
0.9
;
this
.
node
.
x
=
0
;
}
}
this
.
node
.
parent
=
newItem_temp
;
newItem_temp
.
parent
=
content
.
getChildByName
(
"
scrollView
"
).
getChildByName
(
"
view
"
).
getChildByName
(
"
content
"
);
...
...
play/assets/ET26/script/manager/data_mgr.js
View file @
c88a8908
...
...
@@ -14,7 +14,7 @@ g.data_mgr = {
{
"
id
"
:
"
1623738000162o9u566
"
,
"
word
"
:
"
标题2
"
},
{
"
id
"
:
"
3
"
,
"
word
"
:
"
标题3
"
},
{
"
id
"
:
"
4
"
,
"
word
"
:
"
标题4
"
},
//
{ "id": "4", "word": "标题4" },
{
"
id
"
:
"
4
"
,
"
word
"
:
"
标题4
"
},
// { "id": "4", "word": "标题4" }
],
"
sheepArr
"
:
[
...
...
@@ -26,29 +26,27 @@ g.data_mgr = {
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
// { "word": "4", "sheepfoldId": "4", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "4", "sheepfoldId": "4", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "4", "sheepfoldId": "4", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "4", "sheepfoldId": "4", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "4", "sheepfoldId": "4", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
// { "word": "3", "sheepfoldId": "3", "picUrl": "http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png" },
{
"
sheepfoldId
"
:
"
1623738000162o9u566
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
,
"
word
"
:
"
fgsdfg
"
},
{
"
sheepfoldId
"
:
"
162373800016117r8ti
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/77d34b5a7f2895e9319d4485a84a1b2b.png
"
,
"
word
"
:
"
gdfa
"
}],
...
...
play/assets/ET26/textures/item_bg2.png.meta
View file @
c88a8908
...
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 1
54
,
"height":
86
,
"width": 1
20
,
"height":
63
,
"platformSettings": {},
"subMetas": {
"item_bg2": {
...
...
play/settings/project.json
View file @
c88a8908
{
"last-module-event-record-time"
:
16
2313220439
2
,
"last-module-event-record-time"
:
16
3525139711
2
,
"migrate-history"
:
[
"cloud-function"
],
...
...
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