Overview: Mach Engine (0.4)
CAUTION: THIS TUTORIAL WAS AI-GENERATED AND MAY CONTAIN ERRORS. IT IS NOT AFFILIATED WITH OR ENDORSED BY HEXOPS/MACH.
Mach is a modular game engine and graphics toolkit written in Zig. It helps developers create games and graphical applications by providing building blocks for common tasks. Key features include its own object system (an alternative to ECS), abstractions for graphics (mach.gpu
/mach.gfx
), audio (mach.Audio
), and windowing/input (mach.Core
), along with a math library (mach.math
) and a build system that manages dependencies and compilation.
You can begin installing Mach and creating your first project by following the official Getting Started guide.
Source Repository: hexops/mach
flowchart TD
A0["Build System"]
A1["Mach Modules"]
A2["Mach Object System"]
A3["Mach Systems"]
A4["Mach Core"]
A5["Graphics Abstraction"]
A6["Audio Abstraction"]
A7["Math Library"]
A8["Shaders (WGSL)"]
A0 -- "Compiles/Links Modules" --> A1
A0 -- "Configures/Links 'mach.Core'" --> A4
A0 -- "Configures/Links 'sysgpu'" --> A5
A0 -- "Configures/Links 'sysaudio'" --> A6
A1 -- "Contains Object Lists" --> A2
A1 -- "Declares Systems" --> A3
A3 -- "Accepts Modules (DI)" --> A1
A3 -- "Operates on Objects" --> A2
A3 -- "Interacts with 'mach.Core'" --> A4
A4 -- "Manages Window Objects" --> A2
A4 -- "Uses 'sysgpu' for Surfaces" --> A5
A4 -- "Uses Math (Input/Window)" --> A7
A5 -- "Uses Math (Transforms)" --> A7
A5 -- "Executes Shaders" --> A8
A6 -- "Manages Audio Objects" --> A2
Chapters
- Mach Core: Essentials
- Mach Object System (
mach.Objects
,ObjectID
) - Mach Systems (
mach_systems
,mach.schedule
) - Mach Modules (
mach.Modules
) - High-Level Graphics (
mach.gfx
) - Shaders (WGSL)
- Graphics Abstraction (
mach.sysgpu
/mach.gpu
) - Audio Abstraction (
mach.sysaudio
/mach.Audio
) - Math Library (
mach.math
) - Build System (
build.zig
) - Dependency Management (
build.zig.zon
)
Generated by AI Codebase Knowledge Builder