#Server World Snapshot Serialization & Deserialization

1 messages · Page 1 of 1 (latest)

spare kelp
#

I'm working on a networking system for my game and I'm a bit stuck.
I want to make a system that generates a snapshot of the current game-state of the server.
After the snapshot is generated it is then sent to the client so it can be read.

#

The snapshot will contain the following:

  • Object Types
  • Object Spawns
  • Object Updates
  • Object Despawns
#

I've been stuck trying to workout how to read & write this data for about a week now.