wobblyhead hg > minor_monsters
diff game/js/game.js @ 14:7fda634d15ad
adjustments to wave logic, tower pivot points
| author | ark |
|---|---|
| date | 2026-10-19 22:50 +0200 |
| parents | 8df95050fc8b |
| children | c1c7e4f54bf6 |
line wrap: on
line diff
--- a/game/js/game.js Mon Oct 19 21:59:53 2026 +0200 +++ b/game/js/game.js Mon Oct 19 22:50:52 2026 +0200 @@ -22,7 +22,8 @@ this.projectiles = []; this.flights = []; // coins flying to the counter this.puffs = []; // death puffs, {x, y, boss, t} - this.waves = new MM.Waves(mapIndex, MM.util.clamp(firstWave - 1, 0, mc.waves.length - 1)); + this.waves = new MM.Waves(mapIndex, MM.util.clamp(firstWave - 1, 0, mc.waves.length - 1), + this.random); this.time = 0; this.paused = false; this.speeds = cfg.controls.speeds.concat(dbg.extra_speeds);
