Closed theoxylo closed 11 years ago
now hello-world clients like test.js can pass highlight options along with other game options, like this:
var opts = { highlightOpts: { color: 0xffff00, distance: 100, animate: true }, generate: function (x, y, z) { return y % 16 ? 0 : Math.ceil(Math.random() * 2) } } var game = require('voxel-hello-world')(opts)
now hello-world clients like test.js can pass highlight options along with other game options, like this: