Loading…

KEK — C99 software 3D engine

Pure C99 software rasteriser and engine with zero dynamic allocations: a 320×200 frame of 256-color palette indices, built to run on a Pentium or 486DX under DOS and compiled here to WebAssembly via Emscripten and SDL3.

What is in this demo

Controls

W A S D
Walk / strafe
Shift / Space
Run / jump
← → ↑ ↓
Look around
Mouse
Look around (click the canvas to capture it; Esc releases it)
F / left button
Strike a grunt in front of you
Esc
Settings menu (graphics, audio & mouse); click or use the wheel on a row to change it
Tab
Cycle portal visibility debug overlay (rooms seen / all rooms)
F1–F4
Toggle lighting, fog, sky, and entities

Credits