Blue Moon
A top-down shoot-em-up I wrote between 2009 and 2011 — one of my earliest games. You fly a fighter at the bottom of the screen and shoot down descending formations of enemies: wave one is a grid of Star Fighters, and every wave after throws a wider grid of Figers at you.
This is a very old hobby project from my school days — made years before I went to university or wrote any code professionally, so go easy on it. :)
Originally written in C++ with the Allegro library. The version below is a faithful rebuild of the complete 2011 source: the gameplay simulation is the original C++ logic compiled to WebAssembly (no STL, no dependencies), while the browser handles rendering (WebGL2), input and the main loop. The art is the original, magenta-keyed BMPs converted to WebP.
Click the game once to give it keyboard focus.
| Action | Keys |
|---|---|
| Move | Arrow keys / WASD |
| Shoot | Space (30-frame cooldown) |
A faithful rebuild, quirks and all: the 2011 build has no sound, no score and no lose condition — it just loops through waves until you quit — and the player craft draws as two ships, exactly as the original blitted its 200×100 sprite.