Better HN
topnewbestaskshowjobs
Log inSign up

mikemarcin

1 karma · joined Aug 15, 2016 (10y ago) · 2 submissions

Submissions

comment 10y ago · link · parent

You 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

comment 10y ago · link · parent

Protobuf and most similar libraries don't support delta compression which is essential for game state updates.