mirror of https://github.com/sundowndev/Detank.git
volume init down
parent
d9affabada
commit
0db3dea3db
|
@ -274,6 +274,7 @@ var volume = document.querySelector('.volume');
|
||||||
|
|
||||||
var audio_musique = new Audio();
|
var audio_musique = new Audio();
|
||||||
audio_musique.src = 'assets/sounds/song.mp3';
|
audio_musique.src = 'assets/sounds/song.mp3';
|
||||||
|
audio_tir.volume = 0.15;
|
||||||
|
|
||||||
var audio_tir = new Audio();
|
var audio_tir = new Audio();
|
||||||
audio_tir.src = 'assets/sounds/laser.wav';
|
audio_tir.src = 'assets/sounds/laser.wav';
|
||||||
|
|
Loading…
Reference in New Issue