December 2015
Intermediate to advanced
384 pages
12h 30m
English
Serializing object data is only the first step in transmitting state between hosts. This chapter investigates a generalized replication framework which supports synchronization of world and object state between remote processes.
To be successful, a multiplayer game must make concurrent players feel like they are playing in the same world. When one player opens a door or kills a zombie, all players in range need to see that door open, or that zombie explode. Multiplayer games provide this shared experience by constructing a world state at each host and exchanging any information necessary to maintain consistency between each host’s state.
Depending on the game’s network topology, discussed ...
Read now
Unlock full access