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
  • Zig is the only prerequisit to build on Windows, macOS and Linux; no platform specific libraries or build tools need to be installed
  • Libraries are written from scratch in Zig or provide bindings for carefully selected C/C++ libraries

Libraries

Note: Libraries are currently located in the monorepo and are each being migrated to there own repository.

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
zd3d12 Helper library for DirectX 12
zflecs Build package and bindings for flecs ECS
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 (includes ImPlot)
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
zwin32 Bindings for Win32 API (d3d12, d3d11, xaudio2, directml, wasapi and more)
zxaudio2 Helper library for XAudio2

Public 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
  • krateroid - 3D strategy game
  • blokens - Voxel game
  • Delve Framework - Simple game framework for making games with Lua
  • jok - A minimal 2D/3D game framework for Zig
  • Aftersun - Top-down 2D RPG
  • Pixi - Pixel art editor made with Zig

Pinned

  1. zig-gamedev zig-gamedev Public

    Main monorepo for @zig-gamedev libs and example applications

    C 2k 146

Repositories

Showing 5 of 5 repositories