Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn11_zmxz
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
sn11_zmxz
Commits
c2dae8a7
Commit
c2dae8a7
authored
Oct 25, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整旷工位置
修复最左边选项选择动画,旷工飞出屏幕的问题
parent
12aa1631
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
196 additions
and
109 deletions
+196
-109
sn11_zmxz.fire
assets/sn11_zmxz/scene/sn11_zmxz.fire
+185
-86
sn11_zmxz.js
assets/sn11_zmxz/scene/sn11_zmxz.js
+11
-5
defaultData_sn11_zmxz.js
assets/sn11_zmxz/script/defaultData_sn11_zmxz.js
+0
-18
No files found.
assets/sn11_zmxz/scene/sn11_zmxz.fire
View file @
c2dae8a7
...
@@ -93,25 +93,25 @@
...
@@ -93,25 +93,25 @@
"__id__": 38
"__id__": 38
},
},
{
{
"__id__": 9
0
"__id__": 9
3
},
},
{
{
"__id__": 9
2
"__id__": 9
5
},
},
{
{
"__id__": 9
5
"__id__": 9
8
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
97
"__id__":
100
},
},
{
{
"__id__":
98
"__id__":
101
},
},
{
{
"__id__":
99
"__id__":
102
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1835,10 +1835,10 @@
...
@@ -1835,10 +1835,10 @@
"__id__": 39
"__id__": 39
},
},
{
{
"__id__": 5
6
"__id__": 5
7
},
},
{
{
"__id__": 7
3
"__id__": 7
5
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1866,7 +1866,7 @@
...
@@ -1866,7 +1866,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
-10
0,
720,
720,
0,
0,
0,
0,
...
@@ -1907,7 +1907,11 @@
...
@@ -1907,7 +1907,11 @@
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 56
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1931,7 +1935,7 @@
...
@@ -1931,7 +1935,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
429.097
,
-
250
,
93.053,
93.053,
0,
0,
0,
0,
...
@@ -2671,7 +2675,7 @@
...
@@ -2671,7 +2675,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-186.632
,
163.118
,
-56.555,
-56.555,
0,
0,
0,
0,
...
@@ -2764,6 +2768,35 @@
...
@@ -2764,6 +2768,35 @@
"_N$target": null,
"_N$target": null,
"_id": "3dz6rOwO9LnZSzfhHyIBQC"
"_id": "3dz6rOwO9LnZSzfhHyIBQC"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"alignMode": 1,
"_target": {
"__id__": 2
},
"_alignFlags": 16,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": -350,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "eaRrdEFgZLQLPLP4RThli1"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "NodeOption_1",
"_name": "NodeOption_1",
...
@@ -2773,14 +2806,18 @@
...
@@ -2773,14 +2806,18 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 5
7
"__id__": 5
8
},
},
{
{
"__id__":
59
"__id__":
60
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 74
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2804,7 +2841,7 @@
...
@@ -2804,7 +2841,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-15.318
,
100
,
179.965,
179.965,
0,
0,
0,
0,
...
@@ -2834,13 +2871,13 @@
...
@@ -2834,13 +2871,13 @@
"_name": "ImgShadow",
"_name": "ImgShadow",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
6
"__id__": 5
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
8
"__id__": 5
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2896,7 +2933,7 @@
...
@@ -2896,7 +2933,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
7
"__id__": 5
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2928,32 +2965,32 @@
...
@@ -2928,32 +2965,32 @@
"_name": "BtnOption",
"_name": "BtnOption",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
6
"__id__": 5
7
},
},
"_children": [
"_children": [
{
{
"__id__": 6
0
"__id__": 6
1
},
},
{
{
"__id__": 6
2
"__id__": 6
3
},
},
{
{
"__id__": 6
4
"__id__": 6
5
},
},
{
{
"__id__": 6
6
"__id__": 6
7
},
},
{
{
"__id__":
69
"__id__":
70
},
},
{
{
"__id__": 7
1
"__id__": 7
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
2
"__id__": 7
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3009,13 +3046,13 @@
...
@@ -3009,13 +3046,13 @@
"_name": "ImgBg_2",
"_name": "ImgBg_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
60
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 6
1
"__id__": 6
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3071,7 +3108,7 @@
...
@@ -3071,7 +3108,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
0
"__id__": 6
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3103,13 +3140,13 @@
...
@@ -3103,13 +3140,13 @@
"_name": "ImgBg_1",
"_name": "ImgBg_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
60
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 6
3
"__id__": 6
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3165,7 +3202,7 @@
...
@@ -3165,7 +3202,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
2
"__id__": 6
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3197,13 +3234,13 @@
...
@@ -3197,13 +3234,13 @@
"_name": "ImgBg_0",
"_name": "ImgBg_0",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
60
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
5
"__id__": 6
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3259,7 +3296,7 @@
...
@@ -3259,7 +3296,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
4
"__id__": 6
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3291,16 +3328,16 @@
...
@@ -3291,16 +3328,16 @@
"_name": "LabelOption",
"_name": "LabelOption",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
60
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
7
"__id__": 6
8
},
},
{
{
"__id__": 6
8
"__id__": 6
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3356,7 +3393,7 @@
...
@@ -3356,7 +3393,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
6
"__id__": 6
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3391,7 +3428,7 @@
...
@@ -3391,7 +3428,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
6
"__id__": 6
7
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -3414,13 +3451,13 @@
...
@@ -3414,13 +3451,13 @@
"_name": "DragonBoneNodeSmoke",
"_name": "DragonBoneNodeSmoke",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
60
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 7
0
"__id__": 7
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3476,7 +3513,7 @@
...
@@ -3476,7 +3513,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
70
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3516,7 +3553,7 @@
...
@@ -3516,7 +3553,7 @@
"_name": "NodeCharactorTarget",
"_name": "NodeCharactorTarget",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
60
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -3574,7 +3611,7 @@
...
@@ -3574,7 +3611,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
59
"__id__":
60
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -3637,6 +3674,35 @@
...
@@ -3637,6 +3674,35 @@
"_N$target": null,
"_N$target": null,
"_id": "e1s/6yYMVDkoy7knI3Kv5z"
"_id": "e1s/6yYMVDkoy7knI3Kv5z"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"alignMode": 1,
"_target": {
"__id__": 2
},
"_alignFlags": 16,
"_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": "b7KzJKOPNGILn7xJ5YEDno"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "NodeOption_2",
"_name": "NodeOption_2",
...
@@ -3646,14 +3712,18 @@
...
@@ -3646,14 +3712,18 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 7
4
"__id__": 7
6
},
},
{
{
"__id__": 7
6
"__id__": 7
8
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 92
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3677,7 +3747,7 @@
...
@@ -3677,7 +3747,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
372.01
,
450
,
87.386,
87.386,
0,
0,
0,
0,
...
@@ -3707,13 +3777,13 @@
...
@@ -3707,13 +3777,13 @@
"_name": "ImgShadow",
"_name": "ImgShadow",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
3
"__id__": 7
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
5
"__id__": 7
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3769,7 +3839,7 @@
...
@@ -3769,7 +3839,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
4
"__id__": 7
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3801,12 +3871,9 @@
...
@@ -3801,12 +3871,9 @@
"_name": "BtnOption",
"_name": "BtnOption",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
3
"__id__": 7
5
},
},
"_children": [
"_children": [
{
"__id__": 77
},
{
{
"__id__": 79
"__id__": 79
},
},
...
@@ -3817,16 +3884,19 @@
...
@@ -3817,16 +3884,19 @@
"__id__": 83
"__id__": 83
},
},
{
{
"__id__": 8
6
"__id__": 8
5
},
},
{
{
"__id__": 88
"__id__": 88
},
{
"__id__": 90
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
89
"__id__":
91
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3882,13 +3952,13 @@
...
@@ -3882,13 +3952,13 @@
"_name": "ImgBg_2",
"_name": "ImgBg_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
78
"__id__":
80
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3944,7 +4014,7 @@
...
@@ -3944,7 +4014,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
7
"__id__": 7
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3976,13 +4046,13 @@
...
@@ -3976,13 +4046,13 @@
"_name": "ImgBg_1",
"_name": "ImgBg_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
0
"__id__": 8
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4038,7 +4108,7 @@
...
@@ -4038,7 +4108,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
79
"__id__":
81
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4070,13 +4140,13 @@
...
@@ -4070,13 +4140,13 @@
"_name": "ImgBg_0",
"_name": "ImgBg_0",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
2
"__id__": 8
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4132,7 +4202,7 @@
...
@@ -4132,7 +4202,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
1
"__id__": 8
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4164,16 +4234,16 @@
...
@@ -4164,16 +4234,16 @@
"_name": "LabelOption",
"_name": "LabelOption",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
4
"__id__": 8
6
},
},
{
{
"__id__": 8
5
"__id__": 8
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4229,7 +4299,7 @@
...
@@ -4229,7 +4299,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4264,7 +4334,7 @@
...
@@ -4264,7 +4334,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
5
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -4287,13 +4357,13 @@
...
@@ -4287,13 +4357,13 @@
"_name": "DragonBoneNodeSmoke",
"_name": "DragonBoneNodeSmoke",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
7
"__id__": 8
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4349,7 +4419,7 @@
...
@@ -4349,7 +4419,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
6
"__id__": 8
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4389,7 +4459,7 @@
...
@@ -4389,7 +4459,7 @@
"_name": "NodeCharactorTarget",
"_name": "NodeCharactorTarget",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -4447,7 +4517,7 @@
...
@@ -4447,7 +4517,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
6
"__id__": 7
8
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4510,6 +4580,35 @@
...
@@ -4510,6 +4580,35 @@
"_N$target": null,
"_N$target": null,
"_id": "c5uwXEZL9HbKUSfjBvFqu0"
"_id": "c5uwXEZL9HbKUSfjBvFqu0"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"alignMode": 1,
"_target": {
"__id__": 2
},
"_alignFlags": 16,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 350,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "3ed0xpe6hDTrJr4ghaFEiQ"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "ImgStar",
"_name": "ImgStar",
...
@@ -4521,7 +4620,7 @@
...
@@ -4521,7 +4620,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
1
"__id__": 9
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4577,7 +4676,7 @@
...
@@ -4577,7 +4676,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
0
"__id__": 9
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4615,10 +4714,10 @@
...
@@ -4615,10 +4714,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
3
"__id__": 9
6
},
},
{
{
"__id__": 9
4
"__id__": 9
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4674,7 +4773,7 @@
...
@@ -4674,7 +4773,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4706,7 +4805,7 @@
...
@@ -4706,7 +4805,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
5
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4780,7 +4879,7 @@
...
@@ -4780,7 +4879,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
6
"__id__": 9
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4836,7 +4935,7 @@
...
@@ -4836,7 +4935,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
5
"__id__": 9
8
},
},
"_enabled": true,
"_enabled": true,
"bgm": {
"bgm": {
...
...
assets/sn11_zmxz/scene/sn11_zmxz.js
View file @
c2dae8a7
...
@@ -144,15 +144,15 @@ cc.Class({
...
@@ -144,15 +144,15 @@ cc.Class({
await
this
.
charactorMoveToTarget
(
idx
);
await
this
.
charactorMoveToTarget
(
idx
);
this
.
hideOtherOptions
(
idx
);
this
.
hideOtherOptions
(
idx
);
await
this
.
showCharactorAttack
();
await
this
.
showCharactorAttack
(
idx
);
imgBg0
.
active
=
false
;
imgBg0
.
active
=
false
;
imgBg1
.
active
=
true
;
imgBg1
.
active
=
true
;
await
this
.
showCharactorAttack
();
await
this
.
showCharactorAttack
(
idx
);
imgBg1
.
active
=
false
;
imgBg1
.
active
=
false
;
imgBg2
.
active
=
true
;
imgBg2
.
active
=
true
;
await
this
.
showCharactorAttack
();
await
this
.
showCharactorAttack
(
idx
);
nodeOption
.
active
=
false
;
nodeOption
.
active
=
false
;
this
.
showStar
(
idx
);
this
.
showStar
(
idx
);
...
@@ -267,7 +267,7 @@ cc.Class({
...
@@ -267,7 +267,7 @@ cc.Class({
this
.
showLight
();
this
.
showLight
();
await
this
.
charactorMoveToTarget
(
idx
);
await
this
.
charactorMoveToTarget
(
idx
);
await
this
.
showCharactorAttack
();
await
this
.
showCharactorAttack
(
idx
);
this
.
showSmoke
(
idx
);
this
.
showSmoke
(
idx
);
this
.
playEffect
(
'
boom
'
);
this
.
playEffect
(
'
boom
'
);
...
@@ -286,12 +286,16 @@ cc.Class({
...
@@ -286,12 +286,16 @@ cc.Class({
async
charactorMoveToTarget
(
idx
)
{
async
charactorMoveToTarget
(
idx
)
{
const
nodeCharactor
=
cc
.
find
(
'
Canvas/ImgCar/NodeCharactor
'
);
const
nodeCharactor
=
cc
.
find
(
'
Canvas/ImgCar/NodeCharactor
'
);
nodeCharactor
.
scaleX
=
idx
==
0
?
-
1
:
1
;
const
nodeCharactorTarget
=
cc
.
find
(
`Canvas/NodeOptions/NodeOption_
${
idx
}
/BtnOption/NodeCharactorTarget`
);
const
nodeCharactorTarget
=
cc
.
find
(
`Canvas/NodeOptions/NodeOption_
${
idx
}
/BtnOption/NodeCharactorTarget`
);
const
targetPos
=
exchangeNodePos
(
nodeCharactor
.
parent
,
nodeCharactorTarget
);
const
targetPos
=
exchangeNodePos
(
nodeCharactor
.
parent
,
nodeCharactorTarget
);
await
asyncTweenTo
(
nodeCharactor
,
0.5
,
{
x
:
targetPos
.
x
,
y
:
targetPos
.
y
},
{
easing
:
'
cubicInOut
'
});
await
asyncTweenTo
(
nodeCharactor
,
0.5
,
{
x
:
targetPos
.
x
,
y
:
targetPos
.
y
},
{
easing
:
'
cubicInOut
'
});
},
},
async
showCharactorAttack
()
{
async
showCharactorAttack
(
idx
)
{
const
nodeCharactor
=
cc
.
find
(
'
Canvas/ImgCar/NodeCharactor
'
);
nodeCharactor
.
scaleX
=
idx
==
0
?
-
1
:
1
;
const
imgCharactor
=
cc
.
find
(
'
Canvas/ImgCar/NodeCharactor/ImgCharactor
'
);
const
imgCharactor
=
cc
.
find
(
'
Canvas/ImgCar/NodeCharactor/ImgCharactor
'
);
const
dragonBoneNodeCharactor
=
cc
.
find
(
'
Canvas/ImgCar/NodeCharactor/DragonBoneNodeCharactor
'
);
const
dragonBoneNodeCharactor
=
cc
.
find
(
'
Canvas/ImgCar/NodeCharactor/DragonBoneNodeCharactor
'
);
...
@@ -304,6 +308,8 @@ cc.Class({
...
@@ -304,6 +308,8 @@ cc.Class({
imgCharactor
.
active
=
true
;
imgCharactor
.
active
=
true
;
dragonBoneNodeCharactor
.
active
=
false
;
dragonBoneNodeCharactor
.
active
=
false
;
nodeCharactor
.
scaleX
=
1
;
},
},
async
showSmoke
(
idx
)
{
async
showSmoke
(
idx
)
{
...
...
assets/sn11_zmxz/script/defaultData_sn11_zmxz.js
View file @
c2dae8a7
...
@@ -12,23 +12,5 @@ module.exports = {
...
@@ -12,23 +12,5 @@ module.exports = {
wrongWordList
:
[
'
ao
'
,
'
arl
'
],
wrongWordList
:
[
'
ao
'
,
'
arl
'
],
wrongAudioList
:
[
'
ao.mp3
'
,
'
arl.mp3
'
],
wrongAudioList
:
[
'
ao.mp3
'
,
'
arl.mp3
'
],
}]
}]
},
{
audio
:
'
banana
'
,
questionList
:
[{
rightAudio
:
'
baa
'
,
rightWord
:
'
ba
'
,
wrongWordList
:
[
'
pa
'
,
'
da
'
],
wrongAudioList
:
[
'
pa.mp3
'
,
'
da.mp3
'
],
},
{
rightAudio
:
'
na
'
,
rightWord
:
'
na
'
,
wrongWordList
:
[
'
ma
'
,
'
ha
'
],
wrongAudioList
:
[
'
ma.mp3
'
,
'
ha.mp3
'
],
},
{
rightAudio
:
'
na
'
,
rightWord
:
'
na
'
,
wrongWordList
:
[
'
ma
'
,
'
ha
'
],
wrongAudioList
:
[
'
ma.mp3
'
,
'
ha.mp3
'
],
}]
}],
}],
}
}
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