more drums!

This commit is contained in:
Adrien MALINGREY 2023-12-06 02:06:50 +01:00
parent 048d17e041
commit bf37ca8135
7 changed files with 6 additions and 6 deletions

View File

@ -210,11 +210,11 @@
<img src="favicons/T-0.png"/><img src="favicons/T-1.png"/><img src="favicons/T-2.png"/><img src="favicons/T-3.png"/> <img src="favicons/T-0.png"/><img src="favicons/T-1.png"/><img src="favicons/T-2.png"/><img src="favicons/T-3.png"/>
<img src="favicons/Z-0.png"/><img src="favicons/Z-1.png"/><img src="favicons/Z-2.png"/><img src="favicons/Z-3.png"/> <img src="favicons/Z-0.png"/><img src="favicons/Z-1.png"/><img src="favicons/Z-2.png"/><img src="favicons/Z-3.png"/>
<audio id="wallSound" src="sounds/808K_A.wav" preload="auto" type="audio/wav"></audio> <audio id="wallSound" src="sounds/808K_A.wav" preload="auto" type="audio/wav"></audio>
<audio id="hardDropSound" src="sounds/909S.wav" preload="auto" type="audio/wav"></audio> <audio id="hardDropSound" src="sounds/909S.wav" preload="auto" type="audio/wav"></audio>
<audio id="tSpinSound" src="sounds/line-clear.ogg" preload="auto" type="audio/ogg"></audio> <audio id="lineClearSound" src="sounds/808COW.wav" preload="auto" type="audio/wav"></audio>
<audio id="lineClearSound" src="sounds/line-clear.ogg" preload="auto" type="audio/ogg"></audio> <audio id="tSpinSound" src="sounds/909OHH.wav" preload="auto" type="audio/wav"></audio>
<audio id="quatuorSound" src="sounds/tetris.ogg" preload="auto" type="audio/ogg"></audio> <audio id="quatuorSound" src="sounds/BRRDC1.wav" preload="auto" type="audio/wav"></audio>
</span> </span>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>

View File

@ -255,7 +255,7 @@ class Stats {
if (sfxVolumeRange.value) { if (sfxVolumeRange.value) {
if (nbClearedLines == 4 || (nbClearedLines && tSpin)) playSound(quatuorSound, this.combo) if (nbClearedLines == 4 || (nbClearedLines && tSpin)) playSound(quatuorSound, this.combo)
else if (nbClearedLines) playSound(lineClearSound, this.combo) else if (nbClearedLines) playSound(lineClearSound, this.combo)
else if (tSpin) playSound(tSpinSound) if (tSpin) playSound(tSpinSound)
} }
this.goal -= awardedLineClears this.goal -= awardedLineClears

BIN
sounds/808COW.wav Normal file

Binary file not shown.

BIN
sounds/909OHH.wav Normal file

Binary file not shown.

BIN
sounds/BRRDC1.wav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.