volume init down

master
orphevs 2017-12-09 18:54:42 +01:00
parent d9affabada
commit 0db3dea3db
1 changed files with 1 additions and 0 deletions

View File

@ -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';