WebGL Block Building inspired by Minecraft Pi Edition
JavaScript TypeScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
app
common
css
lib
samples
shaders
spec
textures
tools
typings
ui
worker
ws-cli
.gitignore
LICENCE
README.md
index.html
package.json
profile.ts
test.ts
tsconfig.json
tslint.json
typings.json
webpack.config.js
yarn.lock

README.md

Web Blocks

A WebGL application for building worlds and learning programming. Inspired by Minecraft Pi Edition.

See it in action here: [http://webblocks.uk/]

Controls

Move forwards / backwards: W and S

Move sideways: A and D

Look around: Arrow keys or press Shift to toggle using mouse to look around

Code editor: Escape key

Notes

This app will only work on modern web browsers (Chrome, Firefox, Safari) and on computers with 3D graphics chips. This is only a demo at the moment so there will be bugs. I hope to eventually grow it into a useful educational tool. Help is always welcome.

Includes experimental support for Google Cardboard!

Building

Requires NodeJS. Once installed, run these commands.

  • npm install
  • npm start

Then point your browser at: http://localhost:8000/