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

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

Get Zig

Zig is still in development. We track are currently tracking 0.13.0-dev.351+64ef45eb0.

zigup is recommended for managing compiler versions. Alternatively, you can download and install manually using the links below:

OS/Arch Download link
Windows x86_64 zig-windows-x86_64-0.13.0-dev.351+64ef45eb0.zip
Linux x86_64 zig-linux-x86_64-0.13.0-dev.351+64ef45eb0.tar.xz
macOS x86_64 zig-macos-x86_64-0.13.0-dev.351+64ef45eb0.tar.xz
macOS aarch64 zig-macos-aarch64-0.13.0-dev.351+64ef45eb0.tar.xz

Libraries

Note: Libraries are currently located in the monorepo and are each being migrated to their 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
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

    Development repo for @zig-gamedev libs and sample applications

    C 2.2k 173

Repositories

Showing 10 of 11 repositories