Permalink
Browse files

fix package.json

  • Loading branch information...
1 parent c846a92 commit e20e5929025bfee8e2dffe5afc49827f2c7005e1 @maxogden committed Feb 20, 2013
Showing with 14 additions and 3 deletions.
  1. +1 −1 client.js
  2. +8 −1 package.json
  3. +5 −1 server.js
View
@@ -82,7 +82,7 @@ function createGame(options) {
})
if (interacting) sendState()
})
-
+
emitChat(name, emitter)
var container = document.querySelector('#container')
View
@@ -8,7 +8,14 @@
"voxel-highlight": "0.0.1",
"toolbar": "0.0.5",
"voxel-player": "0.0.2",
- "voxel-engine": "0.5.8"
+ "voxel-engine": "0.5.8",
+ "voxel-crunch": "0.1.0",
+ "websocket-stream": "0.0.5",
+ "ws": "0.4.25",
+ "ecstatic": "0.3.0",
+ "hat": "0.0.3",
+ "duplex-emitter": "0.1.6"
+
},
"scripts": {
"start": "node server.js"
View
@@ -15,7 +15,11 @@ var settings = {
startingPosition: {x: 0, y: 1000, z: 0},
materials: [['grass', 'dirt', 'grass_dirt'], 'brick', 'dirt', 'obsidian', 'snow'],
controlsDisabled: true,
- controls: { discreteFire: true }
+ controls: { discreteFire: true },
+ generate: function flatWorld(x, y, z) {
+ if (y === 0) return 1
+ return 0
+ }
}
var game = engine(settings)

0 comments on commit e20e592

Please sign in to comment.