A Minecraft clone in the browser!
Blockland is a browser-based voxel engine made with ClojureScript, WebGL, WebAssembly, and a Web Worker.
I chose the Bullet physics engine because it allows for objects of arbitrary shapes (like chunks in a voxel engine) with good performance. Bullet is supported in the browser thanks to the wonderful ammo.js project.
Blockland uses three.js.
three.js has great documentation.
You will need both Emscripten and NPM.
To get an interactive development environment run:
sh compile.sh
npx shadow-cljs watch game
and open your browser at localhost:8080.
- Fix a bug where the player can place blocks they end up inside of
- Block selection
Textures are from https://github.com/deathcap/ProgrammerArt
Copyright 2019 Christopher Williams
Distributed under the Eclipse Public License version 1.0