danprince / midas

🫅 Traditional roguelike where everything you touch turns to gold.
https://danprince.itch.io/midas
2 stars 0 forks source link

Save Architecture #27

Open danprince opened 4 years ago

danprince commented 4 years ago

Currently have single save slot and autosaving, but will eventually need a better architecture.

Probably want to break the save into a header/body format.

The header should contain the useful heads up info required to recognise the save without loading the entire world data.

That allows us to show a menu of saves so that the player can choose one, at which point we can read the save body which will contain the heavy parsing of the world state etc.

Would be good to be able to download a save as JSON directly from the game.