Skip to content

Instantly share code, notes, and snippets.

@dead-horse
Created May 10, 2015 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dead-horse/ecfec8a385bfc2b47d01 to your computer and use it in GitHub Desktop.
Save dead-horse/ecfec8a385bfc2b47d01 to your computer and use it in GitHub Desktop.
var createGame = require('voxel-engine');
var game = module.exports = createGame({
generateChunks: false,
texturePath: 'textures/',
materials: [
['grass', 'dirt', 'grass_dirt'], 'brick', 'cobblestone', 'bluewool', 'glowstone', 'diamond', 'grass_dirt', 'grass'
// ,'meow'
],
//materialFlatColor: true,
chunkSize: 32,
chunkDistance: 2,
worldOrigin: [0, 0, 0],
controls: {
discreteFire: false
},
lightsDisabled: true,
playerHeight: 1.62
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment