A data-driven game engine designed to create modable games. Written in zig.
Currently only supports Linux on X11 and wayland. Support for windows will be added at a later time.
Clone the repository with submodules:
git clone --recursive https://akeuben.github.com/HorizonEngine
If you cloned without cloning submodules, use:
git submodule update --init --recursive
The following dependencies are required:
zig v0.14.0cmakedotnet v8.0vulkanvulkan-headersshadercwaylandwayland-protocolswayland-scannerlibxkbcommonlibX11libXcursorlibXxf86vmlibXrandrlibXilibXineramalibGL
All dependencies can be installed if the nix package manager.
Simply use the flake with nix develop.
This project uses the zig build system. Run
zig build
to compile the engine and runtime. Immediately run the application with
zig build run -- [backend]
The following [backend] options are available:
[backend] |
Description |
|---|---|
vk |
Uses the Vulkan backend |
gl |
Uses the OpenGL backend |
none |
Uses a null backend without graphics output |