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.

demandé il y a 6 ans181 vues
5 réponses
0
Réponse acceptée

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.

répondu il y a 6 ans
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?

répondu il y a 6 ans
0

Do you mean like saving game data

répondu il y a 6 ans
0

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

REMOVEDUPLOAD

répondu il y a 6 ans
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?

répondu il y a 6 ans

Cette publication est fermée : l'ajout de nouvelles réponses, commentaires et votes est désactivé.