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.

Dev repo

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

Libraries

LibraryDescription
system_sdkSystem libraries and headers for cross-compiling zig-gamedev libs
zaudioCross-platform audio using miniaudio
zbulletBuild package, C API and bindings for Bullet physics
zflecsBuild package and bindings for flecs ECS
zemscriptenBuild package and shims for Emscripten emsdk
zglfwBuild package & bindings for GLFW
zgpuSmall helper library built on top of Dawn native WebGPU implementation
zguiBuild package and bindings for Dear Imgui, Test engine, ImPlot, ImGuizmo and imgui-node-editor
zjobsGeneric job queue implementation
zmathSIMD math library for game developers
zmeshLoading, generating, processing and optimizing triangle meshes
znoiseBuild package & bindings for FastNoiseLite
zopenglOpenGL loader interface, bindings and optional type-safe wrapper for Zig
zopenvrBindings for OpenVR
zphysicsBuild package, C API and bindings for Jolt Physics
zpixSupport for GPU profiling with PIX for Windows
zpoolGeneric pool & handle implementation
zsdlBindings for SDL2 and SDL3
zslangPackages Slang shader compiler and provides idiomatic Zig bindings.
zstbiImage reading, writing and resizing with stb libraries
ztracySupport for CPU profiling with Tracy
zwindowsWindows 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. zig-gamedevzig-gamedevPublic

    Dev repo for @zig-gamedev libs and sample applications

    Zig 2.9k 189

  2. zmathzmathPublic

    SIMD math library for Zig game developers

    Zig 127 30

  3. zwindowszwindowsPublic

    Windows development SDK for Zig game developers.

    Zig 30 11

  4. zphysicszphysicsPublic

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

    C++ 84 25

  5. ztracyztracyPublic

    Performance markers for Tracy Frame Profiler in Zig.

    C++ 39 20

  6. zguizguiPublic

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

    C++ 157 75

Repositories

Showing 10 of 34 repositories

Top languages

Loading…

Most used topics

Loading…