1
0
Fork 0

Update audio

This commit is contained in:
Ethanell 2021-03-25 10:17:48 +01:00
parent af9f4c670e
commit a5e8363c95
3 changed files with 5 additions and 1 deletions

View file

@ -21,7 +21,11 @@ let gameOverModal;
audio.loop = true;
audio.volume = "1";
startSound.volume = "0.2";
eatSound.volume = "0.2";
dieSound.volume = "0.2";
gameOverSound.volume = "0.2";
req.open("GET", "sources/levels.json");
req.onerror = () => console.error("Fail to load XML request");

View file

@ -1,5 +1,5 @@
{
"Level 1": {
"snakeSpeed": 500
"snakeSpeed": 100
}
}

Binary file not shown.