A voxel-based game/game-engine written in Zig with a Vulkan renderer. Inspired by Minecraft, FarHorizons features a client/server design with block-based world rendering, async chunk loading, and a modern graphics pipeline.
- Vulkan rendering pipeline with dynamic shader compilation
- Block model system with variants and multipart definitions
- Async chunk loading and mesh generation
- Texture array management
- Player input and camera controls
- Entity system
- Voxel shape system for block geometry (Will be used for collisions later on)
- Cross-platform support (Windows, Linux)
- Multiplayer support (server currently in early development)
- Physics and collision system
- World generation
- Custom block types and textures
- Zig 0.16.0-dev or higher (bundled in via the run.bat)
- Vulkan-capable GPU with up-to-date drivers
-
Clone the repository:
git clone https://github.com/HTRMC/FarHorizonsZig.git cd FarHorizonsZig -
Build and run using the provided script:
run.batThe script will automatically download the Zig compiler if not present.
Optional: Specify optimization mode:
run.bat --om ReleaseFast
-
Build with Zig:
compiler/zig/zig build -
Run the client:
zig-out/bin/FarHorizons
This project is licensed under MIT.