mikemarcin·10 anni fa·discussYou want to build a full update, then for each client diff between the last ack'd full update and send only that delta.The application specific logic builds the full update. The rest can be done automatically by a good library.Building a delta compressed protobuf message for a transform (using protobuf.net) looks something like: http://codepad.org/3vjxogxZ
mikemarcin·10 anni fa·discussProtobuf and most similar libraries don't support delta compression which is essential for game state updates.
The application specific logic builds the full update. The rest can be done automatically by a good library.
Building a delta compressed protobuf message for a transform (using protobuf.net) looks something like: http://codepad.org/3vjxogxZ