Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
boardgame_yyh
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
boardgame_yyh
Commits
12342e0a
Commit
12342e0a
authored
Jul 28, 2022
by
杨一航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
音效调整
parent
ad46cdb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
boardgame_yyh.ts
assets/boardgame_yyh/scene/boardgame_yyh.ts
+6
-1
No files found.
assets/boardgame_yyh/scene/boardgame_yyh.ts
View file @
12342e0a
...
@@ -259,14 +259,17 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -259,14 +259,17 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
state
=
this
.
_status
.
state
let
state
=
this
.
_status
.
state
if
(
!
this
.
isMySide
)
{
if
(
!
this
.
isMySide
)
{
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
normal
"
,
0
);
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
normal
"
,
0
);
this
.
playAudioByUrl
(
this
.
data
.
waitingTurn
)
return
return
}
}
if
(
state
==
-
1
)
{
if
(
state
==
-
1
)
{
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
normal
"
,
0
);
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
normal
"
,
0
);
}
else
if
(
state
==
0
)
{
}
else
if
(
state
==
0
)
{
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
begin
"
,
0
);
this
.
cat
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
"
begin
"
,
0
);
this
.
playAudioByUrl
(
this
.
data
.
waitingWheel
)
}
else
if
(
state
==
1
)
{
}
else
if
(
state
==
1
)
{
this
.
playAudioByUrl
(
this
.
data
.
waitingPiece
)
}
}
else
if
(
state
==
2
)
{
else
if
(
state
==
2
)
{
...
@@ -281,6 +284,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -281,6 +284,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
switch
(
state
)
{
switch
(
state
)
{
case
-
1
:
case
-
1
:
break
;
break
;
case
0
:
case
0
:
if
(
this
.
isMySide
)
{
if
(
this
.
isMySide
)
{
...
...
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