Skip to content
/ Blocks Public

A voxel-based game and engine written in Zig featuring a Vulkan renderer. Inspired by Minecraft, FarHorizons implements a client/server architecture with async chunk loading, modern graphics pipeline, and cross-platform support.

License

Notifications You must be signed in to change notification settings

HTRMC/Blocks

Repository files navigation

Blocks

Zig Vulkan Windows Linux

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.

Screenshot 2025-12-16 174834

Current Features

  • 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)

Planned Features

  • Multiplayer support (server currently in early development)
  • Physics and collision system
  • World generation
  • Custom block types and textures

Requirements

  • Zig 0.16.0-dev or higher (bundled in via the run.bat)
  • Vulkan-capable GPU with up-to-date drivers

Building from Source

Windows

  1. Clone the repository:

    git clone https://github.com/HTRMC/FarHorizonsZig.git
    cd FarHorizonsZig
    
  2. Build and run using the provided script:

    run.bat
    

    The script will automatically download the Zig compiler if not present.

    Optional: Specify optimization mode:

    run.bat --om ReleaseFast
    

Manual Build

  1. Build with Zig:

    compiler/zig/zig build
    
  2. Run the client:

    zig-out/bin/FarHorizons
    

License

This project is licensed under MIT.

About

A voxel-based game and engine written in Zig featuring a Vulkan renderer. Inspired by Minecraft, FarHorizons implements a client/server architecture with async chunk loading, modern graphics pipeline, and cross-platform support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages