Skip to content

junqiuzhang/web-minecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Minecraft

Minecraft on the web platform, that based on Three.js.

Requirement

  • Browser: Firefox 4+, Google Chrome 9+, Opera 12+, Safari 5.1+, Internet Explorer 11+, and Microsoft Edge build 10240+
  • Three.js: ^0.111.0

How To Start Game

  • run npm start
  • open //localhost:3000 in Browser

Or

  • run npm run build
  • load /dist/bundle.js in Browser

How to Play

  • Firstly, click to open First-person perspective
  • Press ESC to close First-person perspective
  • Move mouse to control the perspective direction
  • Click to create a cube
  • Click with shift down to remove the cube
  • Press WASD key or Arrow key to move position
  • Press Space to jump
  • Press Number to change cube color

Todos

  • add cube
  • remove cube
  • impact checking
  • move
  • jump
  • persistence
  • more material
  • map generation
  • cube checklist
  • ground and water
  • light changed