Skip to content

🍄 Build your own voxel games with Voxelize! Multiplayer, optimized, highly customizable full stack library.

License

Notifications You must be signed in to change notification settings

voxelize/voxelize

Repository files navigation

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
pnpm install

# generate protocol buffers
pnpm run proto

# fresh build
pnpm run build

# in a separate terminal, start both frontend/backend demo
pnpm 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

About

🍄 Build your own voxel games with Voxelize! Multiplayer, optimized, highly customizable full stack library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages