Skip to main content

Getting Started

This tutorial builds a multiplayer voxel world from scratch. You'll follow along with the voxelize-tutorial repository.

Prerequisites

You need:

Clone the Tutorial

git clone https://github.com/voxelize/voxelize-tutorial
cd voxelize-tutorial
npm install

The repo structure:

  • src/main.rs - Rust server
  • main.js - Client code
  • index.html - Entry point
  • public/blocks/ - Block textures

A Voxelize app is a Rust server + web client. The client uses ThreeJS for rendering, and we're using Vite for the build setup.