Showcase

Larger projects built in GX. They run in the browser from the same source as the native build. For smaller graphics demos, see Demos.

Wolfenstein GX

raylib Playable
Wolfenstein GX

A Wolfenstein-style 3D shooter with three levels and a boss, RGB lightmaps, soldiers that find their way with BFS, iron-bar doors you can see through, a procedural night sky, three weapons, quality presets and sound. It is about 7,000 lines of GX in one file and runs at 60 FPS at 800×600. The same source builds for the desktop and, with one flag, for the web.

Controls: Click canvas to capture mouse · WASD move · Shift sprint · Mouse look · 1/2/3 weapons · V quick stab · F2/F3/F4 quality

Click the canvas to capture the mouse. Esc to release.

Compiled with gx project.gx --target web The same source compiles to a native desktop binary. DOOM is next.