Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_MoTianLun
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
NJ_MoTianLun
Commits
78196777
Commit
78196777
authored
Jun 24, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debgu
parent
62a439c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
NJ_MoTianLun.ts
assets/NJ_MoTianLun/scene/NJ_MoTianLun.ts
+3
-1
No files found.
assets/NJ_MoTianLun/scene/NJ_MoTianLun.ts
View file @
78196777
...
@@ -142,13 +142,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -142,13 +142,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
audioEngine
.
stop
(
this
.
playId
);
cc
.
audioEngine
.
stop
(
this
.
playId
);
}
}
talk
.
active
=
true
;
talk
.
active
=
true
;
happy
.
active
=
false
;
cc
.
audioEngine
.
setMusicVolume
(
0.3
);
cc
.
audioEngine
.
setMusicVolume
(
0.3
);
this
.
playId
=
cc
.
audioEngine
.
play
(
this
.
monkyWait
,
null
,
1
);
this
.
playId
=
cc
.
audioEngine
.
play
(
this
.
monkyWait
,
null
,
1
);
cc
.
audioEngine
.
setFinishCallback
(
this
.
playId
,
()
=>
{
cc
.
audioEngine
.
setFinishCallback
(
this
.
playId
,
()
=>
{
happy
.
active
=
true
;
talk
.
active
=
false
;
talk
.
active
=
false
;
cc
.
audioEngine
.
setMusicVolume
(
1
);
cc
.
audioEngine
.
setMusicVolume
(
1
);
})
})
});
}
,
0.15
);
}
}
protected
update
(
dt
:
number
):
void
{
protected
update
(
dt
:
number
):
void
{
...
...
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