A small Raiden Trad-inspired vertical shooter written in C99 with:
- Sokol for native and browser rendering/input.
../c-ecsfor gameplay entities and systems.- Kenney Space Kit 3D models converted to static C mesh data at build time.
Use the Nix shell for the full native and browser toolchain:
nix develop
make allNative only:
make native
./build/tradBrowser:
make web
cd dist && python3 -m http.server 8000Then open http://127.0.0.1:8000.
Tests:
make test # Unit tests for the deterministic gameplay core
make coverage # Enforces >=90% line and branch coverage for src/game_core.cDesktop supports keyboard and mouse. Mobile uses touch on the left half for movement and the right half for firing.
3D models come from Kenney Space Kit, licensed CC0. The original asset license is included at assets/vendor/kenney-space-kit/License.txt.