Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_L5R2_Boardgame
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
OP_L5R2_Boardgame
Commits
87ca8f60
Commit
87ca8f60
authored
Nov 01, 2022
by
杨一航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a04d4a41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
OP_L5R2_Boardgame.fire
assets/OP_L5R2_Boardgame/scene/OP_L5R2_Boardgame.fire
+2
-2
OP_L5R2_Boardgame.ts
assets/OP_L5R2_Boardgame/scene/OP_L5R2_Boardgame.ts
+4
-3
No files found.
assets/OP_L5R2_Boardgame/scene/OP_L5R2_Boardgame.fire
View file @
87ca8f60
...
@@ -7644,7 +7644,7 @@
...
@@ -7644,7 +7644,7 @@
}
}
],
],
"_armatureName": "Armature",
"_armatureName": "Armature",
"_animationName": "
begin
",
"_animationName": "
normal
",
"_preCacheMode": 0,
"_preCacheMode": 0,
"_cacheMode": 0,
"_cacheMode": 0,
"playTimes": 0,
"playTimes": 0,
...
@@ -7663,7 +7663,7 @@
...
@@ -7663,7 +7663,7 @@
"__uuid__": "29e803ff-5143-4001-8188-7de2e95472e9"
"__uuid__": "29e803ff-5143-4001-8188-7de2e95472e9"
},
},
"_N$_defaultArmatureIndex": 0,
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex":
1
,
"_N$_animationIndex":
3
,
"_N$_defaultCacheMode": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$debugBones": false,
...
...
assets/OP_L5R2_Boardgame/scene/OP_L5R2_Boardgame.ts
View file @
87ca8f60
...
@@ -184,7 +184,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -184,7 +184,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
id
:
12
,
rJumpId
:
null
,
wJumpId
:
null
,
word
:
"
There is a bear on a chair.
"
,
url
:
""
,
id
:
12
,
rJumpId
:
null
,
wJumpId
:
null
,
word
:
"
There is a bear on a chair.
"
,
url
:
""
,
},
},
{
{
id
:
13
,
rJumpId
:
null
,
wJumpId
:
null
,
word
:
"
kids
"
,
url
:
""
,
id
:
13
,
rJumpId
:
null
,
wJumpId
:
null
,
word
:
"
cheer
"
,
url
:
""
,
},
},
{
{
id
:
14
,
rJumpId
:
null
,
wJumpId
:
null
,
word
:
"
I have ears.
"
,
url
:
""
,
id
:
14
,
rJumpId
:
null
,
wJumpId
:
null
,
word
:
"
I have ears.
"
,
url
:
""
,
...
@@ -294,10 +294,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -294,10 +294,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
if
(
state
==
-
1
)
{
if
(
state
==
-
1
)
{
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
normal
"
,
0
);
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
normal
"
,
0
);
this
.
_playingAudio
=
false
;
}
else
if
(
state
==
0
)
{
}
else
if
(
state
==
0
)
{
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
begin
"
,
0
);
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
begin
"
,
0
);
playAudio
&&
this
.
playAudioByUrl
(
this
.
data
.
waitingWheel
,
()
=>
{
playAudio
&&
this
.
playAudioByUrl
(
this
.
data
.
waitingWheel
,
()
=>
{
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
normal
"
,
0
);
this
.
_playingAudio
=
false
;
this
.
_playingAudio
=
false
;
})
})
}
else
if
(
state
==
1
)
{
}
else
if
(
state
==
1
)
{
...
@@ -306,7 +307,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -306,7 +307,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
})
})
}
}
else
if
(
state
==
2
)
{
else
if
(
state
==
2
)
{
this
.
_playingAudio
=
false
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment