Description
zig-gamedev is the main development repository for a set of Zig libraries for game development and a collection of sample applications that use them. The repository began in July 2021 with Michal Ziulek, and the README describes it as the place where the libraries and samples are developed. To start, you install Git LFS and anyzig, or another compatible Zig compiler, then clone the repository. You build and run a sample with zig build followed by the sample's run step, and you can list all the build steps for the native target or for the web through Emscripten. The README highlights several native wgpu samples: physically based rendering with image-based lighting, audio experiments that show the data feeding the hardware, a bullet physics test for a full 3D physics engine, a procedural mesh example, and a GUI test for the zgui library. There are also DirectX 12 samples that run on Windows and on Linux through Wine and VKD3D-Proton 2.8 or later. More samples are in the samples directory. The source is public on GitHub.…
Highlights
- Zig libraries for game development
- Sample apps with physically based rendering
- Native wgpu and DirectX 12 samples
- Web build through Emscripten
- Bullet physics and zgui examples
Ratings & Reviews
No ratings yet
Be the first to rate Zig Gamedev.
People also visit
Zig Gamedev FAQ
What is zig-gamedev?
The main development repo for a set of Zig game development libraries and sample applications.
Is it free?
Yes. The source is public on GitHub and listed as open source.
How do I run a sample?
Install Git LFS and anyzig or a compatible Zig compiler, clone the repo, then run zig build with the sample's run step, as the README shows.
Does it run on the web?
The README says you can list the build steps for web builds using Emscripten.
What are the best Zig Gamedev alternatives?
Popular alternatives to Zig Gamedev include Intro To Dx12, FXGLGames and Razix. See all Zig Gamedev alternatives

