I’m creating a small open world game (1sq m) and it is an exploration type game where you can rummage so every drawer,fridge, door, chest, etc should be persistent across game plays. This obviously means that I need to make 100’s of object states savable.
I would prefer to not open a file and save it every time the player opens and closes or collects an item so I’m trying to figure out how to make one big serializable object that contains references to all of these objects as well as my player’s inventory, etc.
I’ve tried watching videos, and google but most of them focus on player data, not hundreds of random object states.
Anyone have a suggestion or two?