Gamedev

⟵ back to the homepage Last update: 2022/07/27

Maturity

Zig is actively used for game development by both hobbyists for side projects, as well as a few seriously committed individuals who do Zig game development full time.

Libraries and bindings exist for most things, and general purpose engines/frameworks/ecosystems are in early stages of development.

Mach engine

Game engine & graphics toolkit for the future.

zig-gamedev

Libraries, samples and mini-games written in Zig

zero-graphics

A very minimal OpenGL ES 2.0 library for Zig
Mach enginezig-gamedevzero-graphics

Mach is for creating games, graphical applications, and desktop/mobile/web apps:

  • Data-driven, tooling oriented
  • Composable (ECS-based)
  • Competitive with Unity and Unreal in spirit (a fully fledged editor in the future, etc.)

zig-gamedev is a “toolbox of libraries” for game developers. It contains libraries, samples and (in the future) complete mini-games. Project provides cross-platform solution for: graphics, audio, multi-threaded physics, SIMD math, procedural techniques, profiling and more.

Sample applications feature raytracing, PBR, mesh shaders, procedural meshes, physics, audio and more.

zero-graphics is an application framework based on OpenGL ES 2.0. Runs on desktop machines, Android phones and the web

Opens you a window and let’s you draw things. Comes with a pixel perfect 2d renderer and a basic 3D API.

DirectX 12/Vulkan/Metal & OpenGL (as fallback) via cutting-edge WebGPU implementation used by Chrome. WebGPU when targetting WebAssembly.Uses native version of WebGPU API (mach/gpu) for cross-platfrom graphics and DirectX 12 for low-level graphics on WindowsBased on OpenGL ES 2 for as broad-as-possible platform coverage.
Windows/Linux/Mac; WebAssembly (WebGPU); mobile/VR/console plannedWindows/Linux/MacWindows/Linux/Mac; WebAssembly (WebGL); Android

Communities

Libraries / tools

Console-specific

Playdate (https://play.date)

Wii

PSP

Oculus Quest

Android/iOS

Virtual consoles

Graphics APIs

Windowing

GUI

Text rendering

Image formats

Math

Physics

Audio

Architecture

Networking

Serialization

Databases

Configuration

Scripting

Other

Tools

Games

Help improve this page

Feel free to improve this page by sending a PR! Please ensure entires on this page are:

For great justice!