118 releases

0.8.99 Jun 1, 2024
0.8.96 May 31, 2024
0.8.73 Mar 25, 2024
0.8.54 Nov 15, 2023
0.8.11 Jul 29, 2022

#41 in Game dev

Download history 25/week @ 2024-09-18 182/week @ 2024-09-25 2/week @ 2024-10-02

8,108 downloads per month

MIT license

505KB
12K SLoC

Voxelize

A multiplayer, super fast, voxel engine in your browser!

Discord Server

LIVE DEMO

Disclaimer

This is purely a passionate project. The v0 of this engine, mc.js, was brutally taken down by Microsoft by a DMCA strike with some false claims (claimed that I was collecting actual MC user information even though mc.js wasn't deployed anywhere), so although inspired, I have to clarify that this voxel engine is NOT affiliated with Minecraft, nor does it have any intention collecting existing Minecraft user information (or from any licensed voxel engines). This engine is simply made out of passion, and the textures and assets used in the game are all either licensed for free use or hand-drawn by me. I am a big fan of Minecraft, so Mojang/Microsoft, if you see this, let's work together instead of taking me down :) (Minecraft web demo?)

@shaoruu

Features

  • Define custom blocks with custom static or dynamic mesh
    • Great support for flexible combinational rendering logic
  • Easy-to-decouple server structure to refine the server-side logic
  • Isolated modules that just work
  • Realtime built-in multiplayer support
  • Fast voxel chunk mesh generation on both client and server side (multithreaded)
  • Multi-stage chunk generation with chunk overflow support
    • No need to worry if a tree overflows to neighboring chunk, that is handled automatically
  • Fully configurable chat system with commands registry
  • AABB Physics engine that works with any static or dynamic blocks
    • Auto-stepping, raycasting, all included
  • Entity-to-entity collision detection and resolution system
  • Periodic world data persistence
  • Robust event system for custom game events
  • For-dev debug panels that look nice

Documentation

Checkout the Voxelize documentations here:

Development

Before starting, make sure to install the following:

# clone the repository
git clone https://github.com/shaoruu/voxelize.git
cd voxelize

# download dependencies
yarn

# generate protocol buffers
yarn proto

# in a separate terminal, start both frontend/backend demo
yarn run demo

visit http://localhost:3000

Supporting

If you like our work, please consider supporting us on Patreon, BuyMeACoffee, or PayPal. Thanks a lot!

Patreon donate button PayPal donate button Buy Me A Coffee

Assets Used

Dependencies

~32–45MB
~783K SLoC