Skip to content
@zig-gamedev

zig-gamedev

Building a game development ecosystem for @ziglang!

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.

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.

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 (supports 4.2 Core Profile and ES 2.0 Profile)
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.

Pinned Loading

  1. zig-gamedev zig-gamedev Public

    Dev repo for @zig-gamedev libs and sample applications

    Zig 2.3k 172

  2. zmath zmath Public

    SIMD math library for Zig game developers

    Zig 11 1

  3. zwindows zwindows Public

    Windows development SDK for Zig game developers.

    Zig 7 1

  4. zphysics zphysics Public

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

    C++ 12 3

  5. ztracy ztracy Public

    Performance markers for Tracy Frame Profiler in Zig.

    C++ 7 2

  6. zgui zgui Public

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

    C++ 13 12

Repositories

Showing 10 of 29 repositories
  • zglfw Public

    Zig build package and bindings for GLFW

    zig-gamedev/zglfw’s past year of commit activity
    C 5 MIT 10 4 (3 issues need help) 3 Updated Dec 27, 2024
  • .github Public
    zig-gamedev/.github’s past year of commit activity
    0 1 0 0 Updated Dec 27, 2024
  • zopengl Public

    OpenGL loader and bindings for Zig.

    zig-gamedev/zopengl’s past year of commit activity
    Zig 2 MIT 4 3 1 Updated Dec 18, 2024
  • zgui Public

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

    zig-gamedev/zgui’s past year of commit activity
    C++ 13 MIT 12 4 2 Updated Dec 15, 2024
  • 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++ 6 MIT 2 1 0 Updated Dec 15, 2024
  • zsdl Public

    Zig bindings for SDL libs.

    zig-gamedev/zsdl’s past year of commit activity
    C 10 MIT 2 3 1 Updated Dec 13, 2024
  • 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++ 7 MIT 4 4 1 Updated Dec 1, 2024
  • zig-gamedev Public

    Dev repo for @zig-gamedev libs and sample applications

    zig-gamedev/zig-gamedev’s past year of commit activity
    Zig 2,346 MIT 172 20 (1 issue needs help) 8 Updated Nov 26, 2024
  • zphysics Public

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

    zig-gamedev/zphysics’s past year of commit activity
    C++ 12 MIT 3 3 2 Updated Nov 5, 2024
  • zwindows Public

    Windows development SDK for Zig game developers.

    zig-gamedev/zwindows’s past year of commit activity
    Zig 7 MIT 1 0 0 Updated Nov 6, 2024