Saving game state for future load

0

How can I go about serializing the current game world into a save file for loading in the future? I browsed through the source and it appears there is stuff for saving with the old IEntity system, but I did not find anything that supports saving the game using Dynamic Slices and AZ::Entity.

Thanks.

feita há 6 anos184 visualizações
5 Respostas
0
Resposta aceita

Its the only way I found how to save so far. And it works for saving positions stats ect. You can save and then load all data.

respondido há 6 anos
0

Ok this is definitely the right direction I think. So it is better to save each property in my game individually rather than attempt to serialize the entire game state?

respondido há 6 anos
0

Do you mean like saving game data

respondido há 6 anos
0

You may be talking about something else, but just in case this is how you save data in lua.

REMOVEDUPLOAD

respondido há 6 anos
0

I have been tinkering with this a bit... but no success so far. How do I simply store the character's worldTM on game exit then use that as the starting point when I restart the game?

respondido há 6 anos

Esta postagem está fechada: a adição de novas respostas, comentários e votos está desativada.