Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OPW_BoardGame_L5R4
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
OPW_BoardGame_L5R4
Commits
7735f9a1
Commit
7735f9a1
authored
Nov 24, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加头像击用户名
parent
38eb50bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
878 additions
and
321 deletions
+878
-321
OPW_BoardGame_L5R4.fire
assets/OPW_BoardGame_L5R4/scene/OPW_BoardGame_L5R4.fire
+851
-293
OPW_BoardGame_L5R4.ts
assets/OPW_BoardGame_L5R4/scene/OPW_BoardGame_L5R4.ts
+27
-28
No files found.
assets/OPW_BoardGame_L5R4/scene/OPW_BoardGame_L5R4.fire
View file @
7735f9a1
...
@@ -87,31 +87,31 @@
...
@@ -87,31 +87,31 @@
"__id__": 166
"__id__": 166
},
},
{
{
"__id__":
199
"__id__":
211
},
},
{
{
"__id__": 2
04
"__id__": 2
16
},
},
{
{
"__id__": 2
05
"__id__": 2
17
},
},
{
{
"__id__": 2
06
"__id__": 2
18
},
},
{
{
"__id__": 2
07
"__id__": 2
19
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
15
"__id__": 2
27
},
},
{
{
"__id__": 2
16
"__id__": 2
28
},
},
{
{
"__id__": 2
17
"__id__": 2
29
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -8293,16 +8293,16 @@
...
@@ -8293,16 +8293,16 @@
"__id__": 167
"__id__": 167
},
},
{
{
"__id__": 18
2
"__id__": 18
8
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
197
"__id__":
209
},
},
{
{
"__id__":
198
"__id__":
210
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -8371,7 +8371,7 @@
...
@@ -8371,7 +8371,7 @@
"__id__": 175
"__id__": 175
},
},
{
{
"__id__": 1
78
"__id__": 1
84
}
}
],
],
"_active": true,
"_active": true,
...
@@ -8791,6 +8791,12 @@
...
@@ -8791,6 +8791,12 @@
"_children": [
"_children": [
{
{
"__id__": 176
"__id__": 176
},
{
"__id__": 178
},
{
"__id__": 180
}
}
],
],
"_active": true,
"_active": true,
...
@@ -8818,8 +8824,8 @@
...
@@ -8818,8 +8824,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-67.988
,
0
,
29.138
,
0,
0,
0,
0,
0,
0,
...
@@ -8880,8 +8886,8 @@
...
@@ -8880,8 +8886,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-80.956
,
0
,
28.694
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -8939,20 +8945,16 @@
...
@@ -8939,20 +8945,16 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
nam
e",
"_name": "
imag
e",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
67
"__id__": 1
75
},
},
"_children": [
"_children": [],
{
"__id__": 179
}
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
81
"__id__": 1
79
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -8966,8 +8968,8 @@
...
@@ -8966,8 +8968,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
325
,
"width":
40
,
"height":
93
"height":
36
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -8978,72 +8980,10 @@
...
@@ -8978,72 +8980,10 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-21.426,
-42.273,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0.85,
0.85,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "baeDHp+qtPoqnGKv0u5qOq"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 178
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 180
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 80,
"g": 50,
"b": 12,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 216,
"height": 45.36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
36.755,
-18.377,
0,
0,
0,
0,
0,
0,
1,
1,
...
@@ -9063,40 +9003,7 @@
...
@@ -9063,40 +9003,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "d9oqDgPSdMNontuaindsOQ"
"_id": "38a+JQe39L67MOjkPU/n9I"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 179
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "名字是几个字",
"_N$string": "名字是几个字",
"_fontSize": 36,
"_lineHeight": 36,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "36+QEvXfFMMqJLWFk6nNE2"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -9113,9 +9020,7 @@
...
@@ -9113,9 +9020,7 @@
],
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": null,
"__uuid__": "97f72b80-0ea8-48de-8ad1-cd6e772f0b09"
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
"_fillType": 0,
"_fillType": 0,
...
@@ -9128,31 +9033,26 @@
...
@@ -9128,31 +9033,26 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
8do2hh+SxCaLbO9zXHg05A
"
"_id": "
09K/6ffalPA4Q9Sv5ihnBb
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
blue
",
"_name": "
mask
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
66
"__id__": 1
75
},
},
"_children": [
"_children": [
{
{
"__id__": 183
"__id__": 181
},
}
{
],
"__id__": 186
"_active": false,
},
"_components": [
{
"__id__": 190
},
{
{
"__id__": 1
9
3
"__id__": 1
8
3
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9164,8 +9064,8 @@
...
@@ -9164,8 +9064,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
151
,
"height":
0
"height":
151
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9176,8 +9076,8 @@
...
@@ -9176,8 +9076,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-401.041
,
0
,
-58.714
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -9199,35 +9099,35 @@
...
@@ -9199,35 +9099,35 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
d06GXCpnBBuroBhjvxndzA
"
"_id": "
fcb41pEjxHI582bc4pvAug
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
people
",
"_name": "
color
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 18
2
"__id__": 18
0
},
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
{
"__id__": 18
4
"__id__": 18
2
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity":
255
,
"_opacity":
153
,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
255
,
"r":
0
,
"g":
255
,
"g":
0
,
"b":
255
,
"b":
0
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
296
,
"width":
140
,
"height":
443
"height":
140
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9238,8 +9138,8 @@
...
@@ -9238,8 +9138,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
205
,
0
,
23
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -9261,20 +9161,76 @@
...
@@ -9261,20 +9161,76 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "admrDYyctEJ50xGL7Co2Kk"
"_id": "camAFAmlBNAKV8JoT0wCe+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7eza3OWBFEJ7UucM7Z6lGH"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 180
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "82gm//Mi9M0YAlWV7litFK"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
db
",
"_name": "
name
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
83
"__id__": 1
67
},
},
"_children": [],
"_children": [
{
"__id__": 185
}
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 18
5
"__id__": 18
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -9288,8 +9244,8 @@
...
@@ -9288,8 +9244,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
296
,
"width":
325
,
"height":
44
3
"height":
9
3
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9300,15 +9256,638 @@
...
@@ -9300,15 +9256,638 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
-21.426,
-42.273,
0,
0,
0,
0,
1,
0.85,
0.85,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "baeDHp+qtPoqnGKv0u5qOq"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 184
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 186
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 80,
"g": 50,
"b": 12,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 216,
"height": 45.36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
36.755,
-18.377,
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": "d9oqDgPSdMNontuaindsOQ"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 185
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "名字是几个字",
"_N$string": "名字是几个字",
"_fontSize": 36,
"_lineHeight": 36,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "36+QEvXfFMMqJLWFk6nNE2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "97f72b80-0ea8-48de-8ad1-cd6e772f0b09"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8do2hh+SxCaLbO9zXHg05A"
},
{
"__type__": "cc.Node",
"_name": "blue",
"_objFlags": 0,
"_parent": {
"__id__": 166
},
"_children": [
{
"__id__": 189
},
{
"__id__": 192
},
{
"__id__": 196
},
{
"__id__": 205
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-401.041,
-58.714,
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": "d06GXCpnBBuroBhjvxndzA"
},
{
"__type__": "cc.Node",
"_name": "people",
"_objFlags": 0,
"_parent": {
"__id__": 188
},
"_children": [
{
"__id__": 190
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 296,
"height": 443
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
205,
23,
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": "admrDYyctEJ50xGL7Co2Kk"
},
{
"__type__": "cc.Node",
"_name": "db",
"_objFlags": 0,
"_parent": {
"__id__": 189
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 191
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 296,
"height": 443
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
4.8009,
4.8009,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0.5,
0.5,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ca0tUPepNGt5cbW3OEIesJ"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 190
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "c1ae0cf9-e8ee-41c8-be08-351647e64596#a7507b40-d4c0-43f5-9422-d8de803c4a31",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "c1ae0cf9-e8ee-41c8-be08-351647e64596"
},
"_N$dragonAtlasAsset": {
"__uuid__": "a7507b40-d4c0-43f5-9422-d8de803c4a31"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 2,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b8Ncom7MBCUIObRalERDn0"
},
{
"__type__": "cc.Node",
"_name": "bag",
"_objFlags": 0,
"_parent": {
"__id__": 188
},
"_children": [
{
"__id__": 193
}
],
"_active": true,
"_components": [
{
"__id__": 195
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 114,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
78.442,
-2.486,
0,
0,
0,
0,
1,
0.85,
0.85,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9dJzFN/dJL7KeLM1Qj8IEF"
},
{
"__type__": "cc.Node",
"_name": "score",
"_objFlags": 0,
"_parent": {
"__id__": 192
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 194
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 17.8,
"height": 40.32
},
"_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": "539VU3LR5DtafpYqJTYAOr"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0",
"_N$string": "0",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "89VnE9NKFEPJ8xav8cmm0F"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 192
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "11fee61f-57c4-438c-bfbb-9902453c4cfd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2bro5oJ7VGZasyDicZn7Pd"
},
{
"__type__": "cc.Node",
"_name": "header",
"_objFlags": 0,
"_parent": {
"__id__": 188
},
"_children": [
{
"__id__": 197
},
{
"__id__": 199
},
{
"__id__": 201
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-41.279,
35.959,
0,
0,
0,
0,
1,
0.85,
0.85,
1
1
]
]
},
},
...
@@ -9323,64 +9902,20 @@
...
@@ -9323,64 +9902,20 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "ca0tUPepNGt5cbW3OEIesJ"
"_id": "485XF43q9N/KFPPqQmUyrj"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "c1ae0cf9-e8ee-41c8-be08-351647e64596#a7507b40-d4c0-43f5-9422-d8de803c4a31",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "c1ae0cf9-e8ee-41c8-be08-351647e64596"
},
"_N$dragonAtlasAsset": {
"__uuid__": "a7507b40-d4c0-43f5-9422-d8de803c4a31"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 2,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b8Ncom7MBCUIObRalERDn0"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "b
a
g",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
82
"__id__": 1
96
},
},
"_children": [
"_children": [],
{
"__id__": 187
}
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
89
"__id__": 1
98
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -9394,8 +9929,8 @@
...
@@ -9394,8 +9929,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
14
,
"width": 1
51
,
"height":
72
"height":
151
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9406,15 +9941,15 @@
...
@@ -9406,15 +9941,15 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
78.442
,
0
,
-2.486
,
0
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0.85
,
1
,
0.85
,
1
,
1
1
]
]
},
},
...
@@ -9429,20 +9964,52 @@
...
@@ -9429,20 +9964,52 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "9dJzFN/dJL7KeLM1Qj8IEF"
"_id": "9e5h6VVItAF4diw4uIR6E8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 197
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2af66018-f7ea-4696-a225-b9b81e5e37fd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5cP2DB5vhKxYzFKLuvrfSr"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
scor
e",
"_name": "
imag
e",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
8
6
"__id__": 1
9
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
188
"__id__":
200
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -9456,8 +10023,8 @@
...
@@ -9456,8 +10023,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
17.8
,
"width":
40
,
"height":
40.32
"height":
36
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9491,47 +10058,14 @@
...
@@ -9491,47 +10058,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "539VU3LR5DtafpYqJTYAOr"
"_id": "cdEznGF5JDX6ObguZSwaeU"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0",
"_N$string": "0",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "89VnE9NKFEPJ8xav8cmm0F"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
86
"__id__": 1
99
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9542,7 +10076,7 @@
...
@@ -9542,7 +10076,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
11fee61f-57c4-438c-bfbb-9902453c4cfd
"
"__uuid__": "
8cdb44ac-a3f6-449f-b354-7cd48cf84061
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -9556,22 +10090,26 @@
...
@@ -9556,22 +10090,26 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
2bro5oJ7VGZasyDicZn7Pd
"
"_id": "
654lWWvjBEF46dOvq58cYh
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
header
",
"_name": "
mask
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
82
"__id__": 1
96
},
},
"_children": [
"_children": [
{
{
"__id__": 191
"__id__": 202
}
],
"_active": false,
"_components": [
{
"__id__": 204
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -9583,8 +10121,8 @@
...
@@ -9583,8 +10121,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
151
,
"height":
0
"height":
151
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9596,14 +10134,14 @@
...
@@ -9596,14 +10134,14 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
-32.029
,
0
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
0.85
,
1
,
0.85
,
1
,
1
1
]
]
},
},
...
@@ -9618,35 +10156,35 @@
...
@@ -9618,35 +10156,35 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
485XF43q9N/KFPPqQmUyrj
"
"_id": "
5585Q3o8ZD7K37FllkrVXl
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg
",
"_name": "
color
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
190
"__id__":
201
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
192
"__id__":
203
}
}
],
],
"_prefab": null,
"_prefab": null,
"_opacity":
255
,
"_opacity":
153
,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
255
,
"r":
0
,
"g":
255
,
"g":
0
,
"b":
255
,
"b":
0
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
51
,
"width": 1
40
,
"height": 1
51
"height": 1
40
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9657,8 +10195,8 @@
...
@@ -9657,8 +10195,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-49.393
,
0
,
79.788
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -9680,14 +10218,14 @@
...
@@ -9680,14 +10218,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
9e5h6VVItAF4diw4uIR6E8
"
"_id": "
89dJdji1RMcLEiW7qHQzm4
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
191
"__id__":
202
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9698,10 +10236,10 @@
...
@@ -9698,10 +10236,10 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
2af66018-f7ea-4696-a225-b9b81e5e37fd
"
"__uuid__": "
a23235d1-15db-4b95-8439-a2e005bfff91
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -9712,24 +10250,44 @@
...
@@ -9712,24 +10250,44 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "5cP2DB5vhKxYzFKLuvrfSr"
"_id": "e6E+HDftFCKI1AxNebHOcM"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 201
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "738dlS0B5FAIb7Z8tmkmmF"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "name",
"_name": "name",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 18
2
"__id__": 18
8
},
},
"_children": [
"_children": [
{
{
"__id__":
194
"__id__":
206
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
196
"__id__":
208
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -9785,13 +10343,13 @@
...
@@ -9785,13 +10343,13 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
193
"__id__":
205
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
195
"__id__":
207
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -9847,7 +10405,7 @@
...
@@ -9847,7 +10405,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
194
"__id__":
206
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9880,7 +10438,7 @@
...
@@ -9880,7 +10438,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
193
"__id__":
205
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -9975,16 +10533,16 @@
...
@@ -9975,16 +10533,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 2
00
"__id__": 2
12
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
02
"__id__": 2
14
},
},
{
{
"__id__": 2
03
"__id__": 2
15
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -10040,13 +10598,13 @@
...
@@ -10040,13 +10598,13 @@
"_name": "coolcat",
"_name": "coolcat",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
199
"__id__":
211
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
01
"__id__": 2
13
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -10102,7 +10660,7 @@
...
@@ -10102,7 +10660,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
00
"__id__": 2
12
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -10142,7 +10700,7 @@
...
@@ -10142,7 +10700,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
199
"__id__":
211
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -10174,7 +10732,7 @@
...
@@ -10174,7 +10732,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
199
"__id__":
211
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -10379,13 +10937,13 @@
...
@@ -10379,13 +10937,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 2
08
"__id__": 2
20
},
},
{
{
"__id__": 2
11
"__id__": 2
23
},
},
{
{
"__id__": 2
12
"__id__": 2
24
}
}
],
],
"_active": false,
"_active": false,
...
@@ -10443,11 +11001,11 @@
...
@@ -10443,11 +11001,11 @@
"_name": "font",
"_name": "font",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
07
"__id__": 2
19
},
},
"_children": [
"_children": [
{
{
"__id__": 2
09
"__id__": 2
21
}
}
],
],
"_active": true,
"_active": true,
...
@@ -10505,13 +11063,13 @@
...
@@ -10505,13 +11063,13 @@
"_name": "BRLNSDB",
"_name": "BRLNSDB",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
08
"__id__": 2
20
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
10
"__id__": 2
22
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -10567,7 +11125,7 @@
...
@@ -10567,7 +11125,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
09
"__id__": 2
21
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -10598,7 +11156,7 @@
...
@@ -10598,7 +11156,7 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
07
"__id__": 2
19
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -10656,11 +11214,11 @@
...
@@ -10656,11 +11214,11 @@
"_name": "audio",
"_name": "audio",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
07
"__id__": 2
19
},
},
"_children": [
"_children": [
{
{
"__id__": 2
13
"__id__": 2
25
}
}
],
],
"_active": true,
"_active": true,
...
@@ -10718,13 +11276,13 @@
...
@@ -10718,13 +11276,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__": 2
12
"__id__": 2
24
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
14
"__id__": 2
26
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -10780,7 +11338,7 @@
...
@@ -10780,7 +11338,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
13
"__id__": 2
25
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
...
assets/OPW_BoardGame_L5R4/scene/OPW_BoardGame_L5R4.ts
View file @
7735f9a1
...
@@ -20,7 +20,6 @@ const MSG_TEST = "msg_test";
...
@@ -20,7 +20,6 @@ const MSG_TEST = "msg_test";
const
MSG_SWITCHSIDE
=
"
msg_switch_side
"
;
const
MSG_SWITCHSIDE
=
"
msg_switch_side
"
;
const
MSG_ROLLING
=
"
msg_rolling
"
;
const
MSG_ROLLING
=
"
msg_rolling
"
;
const
MSG_GO
=
"
msg_go
"
;
const
MSG_GO
=
"
msg_go
"
;
const
MSG_BACK
=
"
msg_back
"
;
const
MSG_TIMEOUT
=
"
msg_timeout
"
;
const
MSG_TIMEOUT
=
"
msg_timeout
"
;
const
MSG_FINISH
=
"
msg_finish
"
;
const
MSG_FINISH
=
"
msg_finish
"
;
const
MSG_PLAYER_TO_TREE
=
"
msg_player_to_tree
"
;
const
MSG_PLAYER_TO_TREE
=
"
msg_player_to_tree
"
;
...
@@ -73,7 +72,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -73,7 +72,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
do
{
do
{
this
.
playerId
=
await
this
.
networkHelper
.
init
(
"
l2_boardgame2_tree
"
,
2
);
this
.
playerId
=
await
this
.
networkHelper
.
init
(
"
l2_boardgame2_tree
"
,
2
);
if
(
this
.
playerId
===
null
)
{
if
(
this
.
playerId
===
null
)
{
console
.
log
(
"
onDestroy
"
);
this
.
networkHelper
.
onDestroy
();
this
.
networkHelper
.
onDestroy
();
}
}
console
.
log
(
"
this.playerId =
"
+
this
.
playerId
);
console
.
log
(
"
this.playerId =
"
+
this
.
playerId
);
...
@@ -187,6 +185,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -187,6 +185,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
loadingLayer
.
onLoadFinished
(()
=>
{
this
.
loadingLayer
.
onLoadFinished
(()
=>
{
this
.
initSide
();
this
.
initSide
();
this
.
initTimer
();
this
.
initTimer
();
this
.
initPlayerInfo
();
});
});
}
}
...
@@ -654,7 +653,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -654,7 +653,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 转盘
// 转盘
this
.
registerEvent
(
MSG_ROLLING
,
(
param
,
next
)
=>
{
this
.
registerEvent
(
MSG_ROLLING
,
(
param
,
next
)
=>
{
console
.
log
(
"
转盘结果:
"
,
param
.
nextGem
)
//
console.log("转盘结果:", param.nextGem)
this
.
turntable
.
stopBlink
();
this
.
turntable
.
stopBlink
();
this
.
turntable
.
rollNum
(
param
.
nextGem
.
score
).
then
(()
=>
{
this
.
turntable
.
rollNum
(
param
.
nextGem
.
score
).
then
(()
=>
{
// 异步操作执行完成后调用
// 异步操作执行完成后调用
...
@@ -667,11 +666,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -667,11 +666,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 走棋
// 走棋
this
.
registerEvent
(
MSG_GO
,
(
param
,
next
)
=>
{
this
.
registerEvent
(
MSG_GO
,
(
param
,
next
)
=>
{
console
.
log
(
"
走棋开始
"
);
// setTimeout(() => {
// console.log("走棋结束");
// next()
// }, 2000);
if
(
this
.
currentGameSide
==
RED
)
{
if
(
this
.
currentGameSide
==
RED
)
{
this
.
playerToGem
(
this
.
redPlayerNode
,
this
.
gemstonesAll
[
param
.
index
]).
then
(()
=>
{
this
.
playerToGem
(
this
.
redPlayerNode
,
this
.
gemstonesAll
[
param
.
index
]).
then
(()
=>
{
next
(
param
);
next
(
param
);
...
@@ -700,26 +694,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -700,26 +694,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
})
})
})
})
// 后退
this
.
registerEvent
(
MSG_BACK
,
(
param
,
next
)
=>
{
console
.
log
(
"
走棋开始
"
);
setTimeout
(()
=>
{
console
.
log
(
"
走棋结束
"
);
next
()
},
2000
);
},
()
=>
{
// 游戏流程3: 测评 - 对手不会出现测评界面
this
.
runFunctionMySide
(()
=>
{
console
.
log
(
"
语音评测开始
"
);
setTimeout
(()
=>
{
console
.
log
(
"
语音评测结束
"
)
},
2000
);
})
})
// 时间到
// 时间到
this
.
registerEvent
(
MSG_TIMEOUT
,
(
param
,
next
)
=>
{
this
.
registerEvent
(
MSG_TIMEOUT
,
(
param
,
next
)
=>
{
console
.
log
(
"
时间到
"
)
//
console.log("时间到")
this
.
turntable
.
disable
();
this
.
turntable
.
disable
();
this
.
turntable
.
stopBlink
();
this
.
turntable
.
stopBlink
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -793,7 +770,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -793,7 +770,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
const
arrIndex1
=
gem
.
__arrIndex1
;
const
arrIndex1
=
gem
.
__arrIndex1
;
const
arrIndex2
=
gem
.
__arrIndex2
;
const
arrIndex2
=
gem
.
__arrIndex2
;
gem
.
__isDone
=
true
;
gem
.
__isDone
=
true
;
console
.
log
(
this
.
gemstones
[
arrIndex1
][
arrIndex2
]);
}
}
// 走棋
// 走棋
...
@@ -801,6 +777,29 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -801,6 +777,29 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
// 初始化用户信息 头像 名字
initPlayerInfo
()
{
const
red
=
cc
.
find
(
"
Canvas/playerLand/red/header/image
"
);
const
blue
=
cc
.
find
(
"
Canvas/playerLand/blue/header/image
"
);
const
redName
=
cc
.
find
(
"
Canvas/playerLand/red/name/label
"
).
getComponent
(
cc
.
Label
);
const
blueName
=
cc
.
find
(
"
Canvas/playerLand/blue/name/label
"
).
getComponent
(
cc
.
Label
);
this
.
allPlayerList
.
forEach
((
player
)
=>
{
this
.
getSpriteFrimeByUrl
(
player
.
headUrl
,
(
sf
)
=>
{
if
(
player
.
color
==
"
Red
"
)
{
red
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
sf
;
red
.
width
=
140
;
red
.
height
=
140
;
redName
.
string
=
player
.
name
;
}
else
{
blue
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
sf
;
blue
.
width
=
140
;
blue
.
height
=
140
;
blueName
.
string
=
player
.
name
;
}
});
});
}
// 处理换边
// 处理换边
handleSwitchSide
()
{
handleSwitchSide
()
{
if
(
this
.
side
==
this
.
currentGameSide
)
{
if
(
this
.
side
==
this
.
currentGameSide
)
{
...
...
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