max-mapper / voxel-server

multiplayer server for voxel-engine
74 stars 25 forks source link

Only send player state when changed event is emitted by game.controls #10

Open gabehollombe opened 11 years ago

gabehollombe commented 11 years ago

NOTE: requires update to player-physics module to emit this event Corresponding pull request is here: https://github.com/maxogden/player-physics/pull/7

Addresses issue: TODO: Have client only send player's position/rotation on change https://github.com/maxogden/voxel-server/issues/9

max-mapper commented 11 years ago

Coincidentally I was also hacking up the server the other night (I've been at a conference in Australia for the last few days). I may not merge this directly but I'll do it manually in the next couple of days. thanks