Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
fsActive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3547b3ad
authored
Sep 05, 2025
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:更新火箭升空音效
parent
6fec965c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
activeFt/luckySpace/lib/default.js
activeFt/luckySpace/lib/default.js
View file @
3547b3ad
...
...
@@ -113,48 +113,48 @@ function appCollaboration(msg) {
// 判断背景音是否开启/关闭
function
isBgMusicClose
()
{
let
isMuted
=
mAudios
.
bgm
.
muted
;
layer
.
msg
(
isMuted
);
return
isMuted
;
}
// 露水音效
function
betSound
()
{
const
flag
=
isBgMusicClose
();
if
(
flag
)
{
return
;
}
//
const flag = isBgMusicClose();
//
if (flag) {
//
return;
//
}
mAudios
.
water
.
play
();
}
// 中奖音效
function
betWin
()
{
const
flag
=
isBgMusicClose
();
if
(
flag
)
{
return
;
}
//
const flag = isBgMusicClose();
//
if (flag) {
//
return;
//
}
mAudios
.
betWin
.
play
();
}
// 爆炸音效+未中奖音效
function
betLose
()
{
const
flag
=
isBgMusicClose
();
if
(
flag
)
{
return
;
}
//
const flag = isBgMusicClose();
//
if (flag) {
//
return;
//
}
mAudios
.
boom
.
play
();
mAudios
.
betLose
.
play
();
}
// 火箭升空音效
function
rocket
()
{
const
flag
=
isBgMusicClose
();
if
(
flag
)
{
return
;
}
//
const flag = isBgMusicClose();
//
if (flag) {
//
return;
//
}
mAudios
.
rocket
.
play
();
}
// 停止播放火箭升空音效
function
rocketStop
()
{
const
flag
=
isBgMusicClose
();
if
(
flag
)
{
return
;
}
//
const flag = isBgMusicClose();
//
if (flag) {
//
return;
//
}
mAudios
.
rocket
.
pause
();
}
...
...
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