Been grinding Wave mode lately and wanted to understand the hitboxes better. Stumbled upon this awesome open-source Wave simulator on GitHub. It’s perfect for practicing those tight corridors without the rage-quit of the main game.

The community has produced several high-profile repositories dedicated to different aspects of the game:

// clamp wave within limits function clampWave() const minY = CEILING_Y; const maxY = GROUND_Y - WAVE_SIZE; if(waveY < minY) waveY = minY; if(waveY > maxY) waveY = maxY;

// draw particles (explosions, flip dust) for(let p of particles) ctx.globalAlpha = 1;