Simple minecraft clone made using javascript + webgl. I didn't updated the project for a long time, excep for refactoring it in order to use webpack, so this is pretty much abandoned.

Currently it support the next features:

  • Perlin noise for world generation.
  • Player physics with the blocks.
  • Block placement and removing.
  • Simple block physics for water and sand (much like old minecraft classic).

Controls:

  • Hold left mouse button clicked to move the camera by moving the mouse.
  • Right click on a block to push a new block on next to it.
  • Left click on a block to remove it.
  • Use WASD for moving.
  • Jump with space.
  • Press N to enable noclip.
  • Press F to disable noclip.

The source code is available on my personal github account:

https://github.com/jmermar/WebCraft