Clone of the game example from parallelrealities with Odin and SDL3
odin build .
./shoot-them-up
| Key | Action |
|---|---|
| W / A / S / D | Move player |
| Space | Fire / Start game (title screen) |
| A–Z, 0–9 | Enter name (high score) |
| Backspace | Delete character (hold to repeat) |
| Enter | Confirm name / Restart (high scores) |
| Escape | Skip name entry |
- Render Player
- Moves with clip to the screen
- Fires bullets
- Enemies
- Render
- Spawn
- Movement
- Collision with bullets
- Fire enemy bullets to player's position
- Collision player with enemy bullets
- Effects and Graphics
- Background
- Stars for background
- Explosions on collisions
- Debris on destruction
- HUD and fonts
- Score
- High Score table (persisted to ~/.shoot-them-up-highscores.json)
- Title Screen (shooter.png + "PRESS SPACE TO PLAY")
- Game over (score display + name entry for new high scores)