Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
l4_boardgame_space
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
l4_boardgame_space
Commits
10126795
Commit
10126795
authored
Oct 29, 2022
by
liubing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改反馈。
parent
964b28c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
315 additions
and
315 deletions
+315
-315
l4_boardgame_space.fire
assets/l4_boardgame_space/scene/l4_boardgame_space.fire
+310
-310
l4_boardgame_space.ts
assets/l4_boardgame_space/scene/l4_boardgame_space.ts
+4
-4
AI.ts
assets/l4_boardgame_space/script/AI.ts
+1
-1
No files found.
assets/l4_boardgame_space/scene/l4_boardgame_space.fire
View file @
10126795
...
...
@@ -10658,10 +10658,10 @@
"__id__": 240
},
{
"__id__": 24
9
"__id__": 24
3
},
{
"__id__": 2
52
"__id__": 2
46
}
],
"_active": false,
...
...
@@ -10847,7 +10847,7 @@
},
{
"__type__": "cc.Node",
"_name": "
labelBg
",
"_name": "
win
",
"_objFlags": 0,
"_parent": {
"__id__": 236
...
...
@@ -10855,20 +10855,10 @@
"_children": [
{
"__id__": 241
},
{
"__id__": 244
}
],
"_active": false,
"_components": [
{
"__id__": 247
},
{
"__id__": 248
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -10880,8 +10870,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
256
0,
"height":
485
"width": 0,
"height":
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -10893,14 +10883,14 @@
"ctor": "Float64Array",
"array": [
0,
-350,
0,
0,
0,
0,
0,
1,
1,
1,
2,
2,
1
]
},
...
...
@@ -10915,11 +10905,11 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
94OW6myZZCT6VNaP4RYn5r
"
"_id": "
a1YoZcURxD/blU1HhEhK2y
"
},
{
"__type__": "cc.Node",
"_name": "
labelLoss
",
"_name": "
win_ani
",
"_objFlags": 0,
"_parent": {
"__id__": 240
...
...
@@ -10929,13 +10919,10 @@
"_components": [
{
"__id__": 242
},
{
"__id__": 243
}
],
"_prefab": null,
"_opacity":
255
,
"_opacity":
0
,
"_color": {
"__type__": "cc.Color",
"r": 255,
...
...
@@ -10945,8 +10932,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
1064
,
"height":
451
"width":
235
,
"height":
700
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -10980,10 +10967,10 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
ddk/9W0hlK/K1u2b15srM6
"
"_id": "
e6qbmACNpN95JLglyQzSN9
"
},
{
"__type__": "
cc.Sprite
",
"__type__": "
dragonBones.ArmatureDisplay
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -10995,71 +10982,111 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d188142c-57dc-4634-8de7-8e487f6ec2bc"
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "01d8ad52-f295-4bbc-acb8-1d3b889a551b#3bca5589-5fd6-401b-8bb1-ad57a469df90",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "01d8ad52-f295-4bbc-acb8-1d3b889a551b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"_N$dragonAtlasAsset": {
"__uuid__": "3bca5589-5fd6-401b-8bb1-ad57a469df90"
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4fjLFK5dMtZVi2TZCTuW9"
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "13BYHf58BPxKHLH0vBtgBW"
},
{
"__type__": "cc.
Widget
",
"_name": "",
"__type__": "cc.
Node
",
"_name": "
lose
",
"_objFlags": 0,
"
node
": {
"__id__": 2
41
"
_parent
": {
"__id__": 2
36
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_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": "45Btqc8j1IPp+Xl21JVWSS"
"_children": [
{
"__id__": 244
}
],
"_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": [
0,
-350,
0,
0,
0,
0,
1,
2,
2,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "65m2ZbzDdOyJQl+9UVDKSh"
},
{
"__type__": "cc.Node",
"_name": "l
abelWin
",
"_name": "l
ose_ani
",
"_objFlags": 0,
"_parent": {
"__id__": 24
0
"__id__": 24
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 245
},
{
"__id__": 246
}
],
"_prefab": null,
"_opacity":
255
,
"_opacity":
0
,
"_color": {
"__type__": "cc.Color",
"r": 255,
...
...
@@ -11069,8 +11096,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
1070
,
"height":
451
"width":
235
,
"height":
700
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -11104,10 +11131,10 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
bbWiIcVCxKWIUSkGKbdp+w
"
"_id": "
fekntOqE9GJYEtoO6TZU0i
"
},
{
"__type__": "
cc.Sprite
",
"__type__": "
dragonBones.ArmatureDisplay
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -11119,125 +11146,57 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a6b2490f-93b2-4033-9bab-2d21030a8733"
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "fd16e58e-12fc-4838-ae9c-cf54477a2629#27903999-950a-4fc1-8964-3d6e0f05b5b6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "fd16e58e-12fc-4838-ae9c-cf54477a2629"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"_N$dragonAtlasAsset": {
"__uuid__": "27903999-950a-4fc1-8964-3d6e0f05b5b6"
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1eJJonhAlHzYfxknyB/6x0"
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "2dvJCTmD9Evbmm5EZk0Fuu"
},
{
"__type__": "cc.
Widget
",
"_name": "",
"__type__": "cc.
Node
",
"_name": "
labelBg
",
"_objFlags": 0,
"
node
": {
"__id__": 2
44
"
_parent
": {
"__id__": 2
36
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_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": "ea4TW2LxlFgZpSjzr5hHgU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 240
},
"_enabled": true,
"_materials": [
"_children": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 247
},
{
"__id__": 250
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "bfd75cec-a666-460c-b3a2-28b3e782be4c"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dftIaHP3ZHrYkyGFbOl+Ov"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 240
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 42,
"_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": 2176,
"_originalHeight": 0,
"_id": "e8w4Lw+2VNObnuwPQ1d2O8"
},
{
"__type__": "cc.Node",
"_name": "win",
"_objFlags": 0,
"_parent": {
"__id__": 236
},
"_children": [
"_active": false,
"_components": [
{
"__id__": 250
"__id__": 253
},
{
"__id__": 254
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -11249,8 +11208,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height":
0
"width":
256
0,
"height":
485
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -11262,7 +11221,7 @@
"ctor": "Float64Array",
"array": [
0,
-35
0,
0,
0,
0,
0,
...
...
@@ -11284,24 +11243,27 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
a1YoZcURxD/blU1HhEhK2y
"
"_id": "
94OW6myZZCT6VNaP4RYn5r
"
},
{
"__type__": "cc.Node",
"_name": "
win_ani
",
"_name": "
labelLoss
",
"_objFlags": 0,
"_parent": {
"__id__": 24
9
"__id__": 24
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 251
"__id__": 248
},
{
"__id__": 249
}
],
"_prefab": null,
"_opacity":
0
,
"_opacity":
255
,
"_color": {
"__type__": "cc.Color",
"r": 255,
...
...
@@ -11311,8 +11273,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
235
,
"height":
700
"width":
1064
,
"height":
451
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -11346,14 +11308,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
e6qbmACNpN95JLglyQzSN9
"
"_id": "
ddk/9W0hlK/K1u2b15srM6
"
},
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.Sprite
",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
50
"__id__": 2
47
},
"_enabled": true,
"_materials": [
...
...
@@ -11361,47 +11323,69 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "01d8ad52-f295-4bbc-acb8-1d3b889a551b#3bca5589-5fd6-401b-8bb1-ad57a469df90",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "01d8ad52-f295-4bbc-acb8-1d3b889a551b"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d188142c-57dc-4634-8de7-8e487f6ec2bc"
},
"_N$dragonAtlasAsset": {
"__uuid__": "3bca5589-5fd6-401b-8bb1-ad57a469df90"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "13BYHf58BPxKHLH0vBtgBW"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4fjLFK5dMtZVi2TZCTuW9"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 247
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_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": "45Btqc8j1IPp+Xl21JVWSS"
},
{
"__type__": "cc.Node",
"_name": "l
ose
",
"_name": "l
abelWin
",
"_objFlags": 0,
"_parent": {
"__id__": 2
3
6
"__id__": 2
4
6
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 253
"__id__": 251
},
{
"__id__": 252
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -11413,8 +11397,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height":
0
"width":
107
0,
"height":
451
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -11426,7 +11410,7 @@
"ctor": "Float64Array",
"array": [
0,
-35
0,
0,
0,
0,
0,
...
...
@@ -11448,76 +11432,73 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
65m2ZbzDdOyJQl+9UVDKSh
"
"_id": "
bbWiIcVCxKWIUSkGKbdp+w
"
},
{
"__type__": "cc.
Nod
e",
"_name": "
lose_ani
",
"__type__": "cc.
Sprit
e",
"_name": "",
"_objFlags": 0,
"
_parent
": {
"__id__": 25
2
"
node
": {
"__id__": 25
0
},
"_children": [],
"_active": true,
"_components": [
"_enabled": true,
"_materials": [
{
"__
id__": 254
"__
uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_prefab": null,
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 235,
"height": 700
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a6b2490f-93b2-4033-9bab-2d21030a8733"
},
"_anchorPoint": {
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__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
"y": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "fekntOqE9GJYEtoO6TZU0i"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1eJJonhAlHzYfxknyB/6x0"
},
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.Widget
",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 253
"__id__": 250
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_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": "ea4TW2LxlFgZpSjzr5hHgU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 246
},
"_enabled": true,
"_materials": [
...
...
@@ -11525,32 +11506,51 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "fd16e58e-12fc-4838-ae9c-cf54477a2629#27903999-950a-4fc1-8964-3d6e0f05b5b6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "fd16e58e-12fc-4838-ae9c-cf54477a2629"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "bfd75cec-a666-460c-b3a2-28b3e782be4c"
},
"_N$dragonAtlasAsset": {
"__uuid__": "27903999-950a-4fc1-8964-3d6e0f05b5b6"
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "2dvJCTmD9Evbmm5EZk0Fuu"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dftIaHP3ZHrYkyGFbOl+Ov"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 246
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 42,
"_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": 2176,
"_originalHeight": 0,
"_id": "e8w4Lw+2VNObnuwPQ1d2O8"
},
{
"__type__": "cc.Widget",
...
...
assets/l4_boardgame_space/scene/l4_boardgame_space.ts
View file @
10126795
...
...
@@ -1363,7 +1363,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const
effectNode
=
cc
.
find
(
"
Canvas/endBg/win/win_ani
"
);
if
(
effectNode
)
{
cc
.
tween
(
effectNode
)
.
to
(
0
.5
,
{
opacity
:
255
})
.
to
(
1
.5
,
{
opacity
:
255
})
.
call
(
async
()
=>
{
await
asyncPlayDragonBoneAnimation
(
effectNode
,
"
normal
"
,
1
);
const
labelBg
=
cc
.
find
(
"
Canvas/endBg/labelBg
"
);
...
...
@@ -1372,7 +1372,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
loss
.
active
=
false
;
this
.
playLocalAudio
(
"
胜利
"
);
})
.
to
(
0.5
,
{
opacity
:
0
})
//
.to(0.5, {opacity:0})
.
start
()
}
})
...
...
@@ -1388,7 +1388,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const
effectNode
=
cc
.
find
(
"
Canvas/endBg/lose/lose_ani
"
);
if
(
effectNode
)
{
cc
.
tween
(
effectNode
)
.
to
(
0
.5
,
{
opacity
:
255
})
.
to
(
1
.5
,
{
opacity
:
255
})
.
call
(
async
()
=>
{
await
asyncPlayDragonBoneAnimation
(
effectNode
,
"
normal
"
,
1
);
const
labelBg
=
cc
.
find
(
"
Canvas/endBg/labelBg
"
);
...
...
@@ -1397,7 +1397,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
win
.
active
=
false
;
this
.
playLocalAudio
(
"
失败
"
);
})
.
to
(
0.5
,
{
opacity
:
0
})
//
.to(0.5, {opacity:0})
.
start
()
}
})
...
...
assets/l4_boardgame_space/script/AI.ts
View file @
10126795
...
...
@@ -50,7 +50,7 @@ export class AI {
await
asyncDelay
(
Math
.
random
()
*
1
+
10
);
const
idx
=
this
.
getNextRightIdx
();
if
(
Math
.
random
()
<
0.
9
)
{
if
(
Math
.
random
()
<
0.
75
)
{
this
.
networkHelper
.
sendFrame
({
type
:
"
right
"
,
idx
:
idx
,
...
...
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