Change inactive tab notification sound
This commit is contained in:
parent
25d705ffcf
commit
32a64a14eb
@ -65,7 +65,8 @@ var assets = {
|
|||||||
"title.ogg",
|
"title.ogg",
|
||||||
"pause.wav",
|
"pause.wav",
|
||||||
"cancel.wav",
|
"cancel.wav",
|
||||||
"results.ogg"
|
"results.ogg",
|
||||||
|
"sanka.wav"
|
||||||
],
|
],
|
||||||
"audioSfxLR": [
|
"audioSfxLR": [
|
||||||
"note_don.ogg",
|
"note_don.ogg",
|
||||||
|
@ -124,9 +124,7 @@ class loadSong{
|
|||||||
p2.send("gamestart")
|
p2.send("gamestart")
|
||||||
}else{
|
}else{
|
||||||
if(!repeat){
|
if(!repeat){
|
||||||
for(var i = 0; i < 3; i++){
|
assets.sounds["sanka"].play()
|
||||||
assets.sounds["note_don"].play(i * 0.2)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.startMultiplayer(true)
|
this.startMultiplayer(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user