Mach

Zig game engine & graphics toolkit

For building high-performance, truly cross-platform, robust & modular games, visualizations, and desktop/mobile GUI apps.

What's new in v0.3?

Built with love, hard-work & Zig

Zig is a general-purpose simple programming language featuring compile-time code execution, blazing-fast compilation speeds, and bare-metal performance.

Get started in ~60 seconds

Zero system dependencies to slow you down; only zig is needed, we build and package the few relevant dependencies on our own.

To run on your machine:

$ git clone https://github.com/hexops/mach
$ cd mach/ && git checkout 0.4
$ zig build run-core-textured-cube
Requires this nominated Zig version | known issues

Effortless cross-compilation

Cross-compile to any OS at the flip of a switch.

$ zig build -Dtarget=x86_64-windows
$ zig build -Dtarget=x86_64-linux-gnu
$ zig build -Dtarget=x86_64-macos
$ zig build -Dtarget=aarch64-macos
mach-glfw

Comprehensive, but modular

Competitive with other engines

Our ultimate aim is for Mach to have enough deeply-integrated components that it is a full, modern engine - with a GUI editor, UI library, rendering engine, physics & more.

Comprehensive, but modular

Engines of today are monolithic, you must embrace everything their way and getting just a subset is difficult or impossible. Many indie gamedevs choose libraries or frameworks as a result, but often spend time gluing libraries together.

Mach aims to be a bunch of modules, carefully designed to work together nicely and without writing a bunch of glue code, building up to a unified (complete engine) experience. Use the parts you want.

Community

GitHub Discord

There's plenty to do, so if you're eager to get involved please join the community, say hello, check out the code and see if you can contribute!