diff game/js/wave.js @ 4:2d46729a022e

sound processing and in-game sounds
author ark
date 2026-10-18 20:58 +0200
parents 5492efd60e2c
children 7fda634d15ad
line wrap: on
line diff
--- a/game/js/wave.js	Sun Oct 18 20:09:40 2026 +0200
+++ b/game/js/wave.js	Sun Oct 18 20:58:33 2026 +0200
@@ -49,6 +49,7 @@
         this.clock = 0;
         this.phase = "spawning";
         this.next++;
+        MM.audio.play("wave_start");
     };
 
     // start the next wave during a break. returns the bonus coins.