voxel-items

an addon to have items in voxel.js.

voxel-items

an example/template node module for voxel.js.

places a items of voxels at some specific game position.

npm install voxel-items
var items = require('voxel-items')()
items.addEventListener('load', function(){
    // you code go here
})
items.createMesh(x, y)

get the item which is at x, y in the spritesheet and create a 3d mesh with it

MIT