Closed gabehollombe closed 2 years ago
@chrisdickinson would the new voxel-control stuff let us do something like:
keyboardInput.pipe(serverConnection)
mouseInput.pipe(serverConnection)
it would be game.controls.pipe(connection)
, (though you'd want to pipe it to a through stream that annotated the timestamp), but yes!
Currently the player is sending positional updates to the server 22 times per second? It would be good to change this slightly and only transmit positional changes when they happen, so players standing still don't send unnecessary redundant positional messages to the server.