A Galaga-inspired arcade shooter built with Odin and Raylib.
Enemy ships fly into formation along bezier curves, then drift in formation while firing at the player. Survive as long as you can across increasingly large waves.
Requirements
- Odin compiler (includes Raylib via
vendor:raylib)
Build and run
odin run .Build only
odin build . -out:swarm.exeWebAssembly
odin build . -target:js_wasm32 -out:swarm.wasmRequires a host page that loads odin.js from the Odin compiler's
core/sys/wasm/js/ directory. Settings are persisted via localStorage
instead of a config file.
| Key | Action |
|---|---|
| WASD / Arrow keys | Move |
| Space / Left Ctrl | Shoot |
| R | Restart (after game over) |
Enemies occasionally drop powerups when killed.
| Icon | Effect |
|---|---|
2x |
Double shot — fires two bullets simultaneously |
$ |
Score bonus — instant +500 points |
X |
Exploding shot — bullets explode on impact, damaging nearby enemies |
See ACKNOWLEDGEMENTS.md for credits.