game-shell-voxel

an experiment based on voxel-mipmap-demo

MIT License

Stars
5
Committers
2

This repository is deprecated; merged into deathcap/voxel-engine#ndarray branch and voxel-example.



game-shell-voxel

Experiment with using game-shell, gl-now, ndarray, etc. for an interactive voxel world

Based on @mikolalysenko's voxel-mipmap-demo.

Warning: this is only a test

Usage

var createShell = require('game-shell-voxel');

createShell({require: require, pluginOpts: {
    // list plugins and options here
});

For an example run npm start or check out the live demo.

Click the canvas to interact. Added features:


original voxel-mipmap-demo readme:

voxel-mipmap-demo

Demonstration of texture mapping with greedy meshing.

  • Left click rotates
  • Right click/shift pans
  • Middle click/scroll/alt zooms

Check it out in your browser

For more information see the following blog post:

How to run locally

First you will need to install npm, which comes with node.js. You can get that by going to here:

Then, go into the root directory of the project and type:

npm install

Once that is done, you can run the project in your browser by typing:

npm start

That will start a local server. To view the demo in your browser, connect to localhost on the port that shows up. For example, http://localhost:9966

Credits

(c) 2013 Mikola Lysenko. MIT License