A simple fps base in 227 lines of Zig.
- First-person movement with physics and collision.
Player movement uses axis-separated collision detection. Audio is synthesized in real-time.
zig build runRequires Zig 0.15.2+
- WASD: Move
- Mouse: Look around
- Space: Jump (with audio)
- Click: Capture mouse
- Escape: Release mouse