Vulcan native 3D engine
- Zig 89.2%
- GLSL 8.8%
- Python 1.3%
- C 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| assets | ||
| blender | ||
| deps | ||
| docs | ||
| games | ||
| shaders | ||
| src | ||
| tools | ||
| track-zero-next | ||
| .clangd | ||
| .gitignore | ||
| .gitleaks.toml | ||
| build.zig | ||
| build.zig.zon | ||
| BUILDING.md | ||
| compile_flags.txt | ||
| Editor_Construction_Plan.md | ||
| embedded_assets.zig | ||
| icon.ico | ||
| Plan_Handoff.md | ||
| pyrightconfig.json | ||
| README.md | ||
| track_zero.rc | ||
Track Zero
A Zig/Vulkan driving sandbox and in-world terrain editor.
The project is focused on cars, procedural terrain, construction, roads, and collaborative world editing. It contains no enemies, creatures, NPC AI, weapons, shooting, combat, or invasion mode.
Features
- Box3D-powered cars with suspension, gears, wheel input, and force feedback
- Procedural terrain, roads, rocks, water, tunnels, and authored structures
- In-world editor for terrain, materials, objects, roads, pipes, construction, and car playtests
- Vulkan 1.3 renderer with ray-traced shadows, SSGI, volumetrics, and GPU-driven scene culling
- Optional eight-player car/editor relay with shared patch leases
- Data cartridge packaging for assets and shaders
Build
Requirements: Zig 0.16, Vulkan 1.3 ray-query support, and the vendored dependencies in deps/.
zig build # retail package
zig build run # build and run
zig build test # client, game, protocol, relay, and editor tests
zig build server # headless multiplayer/editor relay
See BUILDING.md for platform setup and packaging details.
Controls
| Input | Action |
|---|---|
| WASD / arrows | Move or drive |
| F | Enter or exit the nearest car |
| R | Ignition |
| Q / E | Shift gear |
| Space | Handbrake |
| Tab | Switch car or utility camera |
~ |
Open the world editor |
| Home | Open the admin panel |
| End | Open wheel setup |
| F1 | Help |
| F2 | Audio |
| F11 | Fullscreen |
| F12 | Performance stats |
Left click is used only by editor tools and utility marker placement; it has no fire action.
Layout
src/engine/— platform, rendering, physics, audio, assets, and core utilitiessrc/game/sim/vehicle.zig— car simulation and rendering extractionsrc/game/editor/— world editor and car playtest toolssrc/game/world/— procedural and authored world systemssrc/game/net/— car/editor multiplayer protocol and clientsrc/apps/client/— desktop applicationsrc/apps/relay/— multiplayer/editor relaygames/track-zero/game.toml— world, vehicle, wheel, visual, and asset profile