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.

preguntada hace 6 años184 visualizaciones
5 Respuestas
0
Respuesta aceptada

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 hace 6 años
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 hace 6 años
0

Do you mean like saving game data

respondido hace 6 años
0

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

REMOVEDUPLOAD

respondido hace 6 años
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 hace 6 años

Está publicación está cerrada: la opción de añadir nuevas respuestas, comentarios y votos está deshabilitada.