◐ Shell
clean mode source ↗

zig-gamedev

zig-gamedev

Originally spawned in July 2021 by Michal Ziulek. We build a game development ecosystem for the Zig programming language and toolchain.

Zero the Ziguana is an official mascot of the Zig programming language and toolchain. Licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) https://github.com/ziglang/logo

Vision

  • Very modular toolbox of libraries providing Ziggified bindings and build systems for carefully selected C and C++ libraries or written from scratch in Zig.
  • Extensive range of example applications that require just Zig to build and run on all popular platforms.

Dev repo

What was the original monorepo, the zig-gamedev dev repo is the main development hub for the libraries and example applications.

Libraries

Library Description
system_sdk System libraries and headers for cross-compiling zig-gamedev libs
zaudio Cross-platform audio using miniaudio
zbullet Build package, C API and bindings for Bullet physics
zflecs Build package and bindings for flecs ECS
zemscripten Build package and shims for Emscripten emsdk
zglfw Build package & bindings for GLFW
zgpu Small helper library built on top of Dawn native WebGPU implementation
zgui Build package and bindings for Dear Imgui, Test engine, ImPlot, ImGuizmo and imgui-node-editor
zjobs Generic job queue implementation
zmath SIMD math library for game developers
zmesh Loading, generating, processing and optimizing triangle meshes
znoise Build package & bindings for FastNoiseLite
zopengl OpenGL loader interface, bindings and optional type-safe wrapper for Zig
zopenvr Bindings for OpenVR
zphysics Build package, C API and bindings for Jolt Physics
zpix Support for GPU profiling with PIX for Windows
zpool Generic pool & handle implementation
zsdl Bindings for SDL2 and SDL3
zstbi Image reading, writing and resizing with stb libraries
ztracy Support for CPU profiling with Tracy
zwindows Windows development SDK for Zig game developers.

Projects using zig-gamedev

  • Tides of Revival - First-person, open-world, fantasy RPG being developed in the open.
  • Simulations - GPU Accelerated agent-based modeling to visualize and simulate complex systems.
  • Delve Framework - Simple game framework for making games with Lua.
  • jok - A minimal 2D/3D game framework for Zig.
  • blokens - Voxel game.
  • Aftersun - Top-down 2D RPG.
  • Pixi - Pixel art editor made with Zig.

Pinned Loading

  1. Dev repo for @zig-gamedev libs and sample applications

    Zig 2.8k 187

  2. SIMD math library for Zig game developers

    Zig 108 27

  3. Windows development SDK for Zig game developers.

    Zig 28 11

  4. Zig build package, bindings and C API (JoltC) for https://github.com/jrouwe/JoltPhysics

    C++ 76 21

  5. Performance markers for Tracy Frame Profiler in Zig.

    C++ 36 19

  6. Zig build package and bindings for https://github.com/ocornut/imgui and optional extras.

    C++ 140 67

Repositories

Showing 10 of 33 repositories

  • zbullet Public

    Zig build package, bindings and C API for Bullet Physics SDK

    zig-gamedev/zbullet’s past year of commit activity

    C++

    16

    MIT

    9 1 0

    Updated May 30, 2026

  • zig-gamedev/zopenvr’s past year of commit activity

    Zig

    3

    MIT

    4 1 1

    Updated May 29, 2026

  • zig-gamedev/zflecs’s past year of commit activity

    C

    72

    MIT

    38 10 4

    Updated May 13, 2026

  • zig-gamedev/zgui’s past year of commit activity

    C++

    140

    MIT

    67 18 8

    Updated May 12, 2026

  • zsdl Public

    Zig bindings for SDL libs.

    zig-gamedev/zsdl’s past year of commit activity

    C

    47

    MIT

    26 3 2

    Updated May 11, 2026

  • zgpu Public

    Cross-platform graphics lib for Zig built on top of Dawn native WebGPU implementation.

    zig-gamedev/zgpu’s past year of commit activity

    C++

    75

    MIT

    30 9 2

    Updated May 11, 2026

  • zstbi Public

    Zig bindings and build package for stb_image, stb_image_resize and stb_image_write

    zig-gamedev/zstbi’s past year of commit activity

    C++

    31

    MIT

    22 3 1

    Updated May 11, 2026

  • zpool Public

    Generic pool & handle implementation for Zig.

    zig-gamedev/zpool’s past year of commit activity

    Zig

    19

    MIT

    14 2 1

    Updated May 11, 2026

  • zmath Public

    SIMD math library for Zig game developers

    zig-gamedev/zmath’s past year of commit activity

    Zig

    108

    MIT

    27 11 3

    Updated May 11, 2026

  • zopengl Public

    OpenGL loader interface, bindings and optional type-safe wrapper for Zig.

    zig-gamedev/zopengl’s past year of commit activity

    Zig

    23

    MIT

    20 1 1

    Updated May 2, 2026