voxel-tower

0.0.1 • Public • Published

voxel-tower

an example/template node module for voxel.js.

places a tower of voxels at some specific game position.

install it

npm install voxel-tower

API

var tower = require('voxel-tower')(game, options)

pass in your voxel-engine instance as game. options is an optional object that defaults to:

{
  "height": 5,
  "material": "brick"
}

tower.place(position)

places your tower at some position. position is an array vector game position, e.g. [1, 1, 1]

license

BSD

Readme

Keywords

none

Package Sidebar

Install

npm i voxel-tower

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • maxogden