Web Audio, 2D Lighting, Particles & Saves
Sound effects, particle sparks, dynamic dungeon torches, and versioned save slots are what turn a prototype into a polished game.
1. Web Audio Buses, Particles & SaveManager
Play sound effects through sfx/music buses, burst ParticleEmitter sparks, and save player progress into versioned browser storage slots.
PoC 1 — Coin Chime Audio, Particle Sparks & Save Slot
Click "Play Coin + Sparks" to trigger real Web Audio + ParticleEmitter, then test Save & Load!
2. Dynamic 2D Lighting & Vignette (Lighting2D + setPostProcess)
Lighting2D fills the screen with ambient darkness and punches out soft glowing point lights around torches and campfires.
PoC 2 — Mouse-Aimed
Lighting2D Torch & VignetteMove your mouse over the dark dungeon to aim the glowing orange torch!