HeapsIO / hxbit

Haxe Binary serialization and network synchronization library
155 stars 30 forks source link

Game Save State Best Practices #68

Closed onehundredfeet closed 1 year ago

onehundredfeet commented 1 year ago

Do you have any recommendation for how to use this for a networked save game?

Do you typically serialize the whole world state? or a select slice? or a different structure entirely?

I use the system to send only what is needed to the client, not marked up for single player serialization.

I'm expecting to have to create a separate 'save' structure, but before I did that, I was wondering if there was a way of looking at this that I'm not familiar with.

Thanks.

ncannasse commented 1 year ago

We usually serialize and synchronize the whole state.

onehundredfeet commented 1 year ago

k thanks.