Skip to content

briansunter/platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRAD Strike

A small Raiden Trad-inspired vertical shooter written in C99 with:

  • Sokol for native and browser rendering/input.
  • ../c-ecs for gameplay entities and systems.
  • Kenney Space Kit 3D models converted to static C mesh data at build time.

Build

Use the Nix shell for the full native and browser toolchain:

nix develop
make all

Native only:

make native
./build/trad

Browser:

make web
cd dist && python3 -m http.server 8000

Then 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.c

Controls

Desktop supports keyboard and mouse. Mobile uses touch on the left half for movement and the right half for firing.

Assets

3D models come from Kenney Space Kit, licensed CC0. The original asset license is included at assets/vendor/kenney-space-kit/License.txt.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages