o
odinpkg.dev
packages / app / way_odin

way_odin

a5c07d9app

Dependency free wayland game app with hot reload, no damage tracking

No license · updated 5 months ago

way_odin

From-scratch Wayland client written in Odin. Keyboard-only input, double-buffered software rendering, with a hot-reloadable game loop.

Limitations

Naive software rendering causes high CPU usage (~80%) because the full frame is redrawn every tick with no damage tracking.

Usage

just build   # build host + game shared library
just run     # build and run with hot-reload
just hot     # rebuild game DLL while host is running
just watch   # auto-rebuild game DLL on file changes (requires entr)

Monolithic (non-hot-reload) build:

just build-mono