I’ve been looking around for this in the docs and see no easy way to save game progress in a single player, or even multiplayer game. I’d want to save the entire state of the level somehow. It would be pretty cool to allow people to rejoin a multiplayer coop game as well if possible.
The classes I’ve seen relating to save game are basically just storing some kind of property like Gamer Score or something, which would be OK for interlevel saves where I only save inventory states. But this wouldn’t handle storing the actual state of a map at the time.
Is there any already built in way to do this or is saving game state not something general enough that it can just be built right into the engine for any arbitrary game?
I can probably do something like this on my own if the solution doesn’t exist.
The closest thing I can see to this is the way levels are saved by the editor by being serialized and deserialized.
I’d also want areas to be persistent so when I go back to them metroid style, they are in the same state they were before. My levels are randomly generated so they are completely blank on startup.