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
592a880e
authored
Sep 05, 2025
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:优化火箭升空音效
parent
82243658
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
activeFt/luckySpace/index.html
activeFt/luckySpace/lib/default.js
activeFt/luckySpace/index.html
View file @
592a880e
...
@@ -537,6 +537,7 @@
...
@@ -537,6 +537,7 @@
},
70
);
},
70
);
}
}
function
boomShow
()
{
function
boomShow
()
{
rocketStop
();
var
boomNum
=
252
;
var
boomNum
=
252
;
$
(
".fly"
).
fadeOut
(
350
);
$
(
".fly"
).
fadeOut
(
350
);
betLose
();
betLose
();
...
@@ -695,7 +696,7 @@
...
@@ -695,7 +696,7 @@
.removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9")
.removeClass("n0 n1 n2 n3 n4 n5 n6 n7 n8 n9")
.addClass("n" + numArr[1] + "");
.addClass("n" + numArr[1] + "");
if (numArr[1] == 3) {
if (numArr[1] ==
0 && numArr[1] ==
3) {
// 倒计时3s的时候播放倒计时音效
// 倒计时3s的时候播放倒计时音效
clock();
clock();
}
}
...
...
activeFt/luckySpace/lib/default.js
View file @
592a880e
...
@@ -128,6 +128,11 @@ function betLose() {
...
@@ -128,6 +128,11 @@ function betLose() {
function
rocket
()
{
function
rocket
()
{
mAudios
.
rocket
.
play
();
mAudios
.
rocket
.
play
();
}
}
// 停止播放火箭升空音效
function
rocketStop
()
{
mAudios
.
rocket
.
pause
();
}
// 倒计时音效
// 倒计时音效
function
clock
()
{
function
clock
()
{
mAudios
.
clock
.
play
();
mAudios
.
clock
.
play
();
...
...
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