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

  • A very modular toolbox of libraries.
  • Libraries are written from scratch in Zig or provide Ziggified bindings and build systems for carefully selected C and C++ libraries.
  • No system dependencies other than Zig required to build and run on popular target platforms.
  • Extensive range of example appications.

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 171

  2. zmath zmath Public

    SIMD math library for Zig game developers

    Zig 7 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++ 7 1

  5. ztracy ztracy Public

    Performance markers for Tracy Frame Profiler in Zig.

    C++ 5 1

  6. zgui zgui Public

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

    C++ 5 4

Repositories

Showing 10 of 29 repositories