this is a fairly open ended/broad question so just bare with me here.
Basically im looking for an online resource or source code or just something that i can use to learn how to make my own save system (able to save entire game-states if possible i.e. object information, script variables and so forth). i’ve looked online and there is very little that i’ve found helpful (usually it just expects you to know too much about saving and what not already but thats just the kind of stuff im trying to learn)
so far for my projects (they have all been inside like 1 or two scenes) i’ve used a global variables script that contains all the needed variables for my project. i then have another script (sometimes two) that will iterate through and save or load variables to or from a file (sometimes with encryption) but the problem with this, is that its very very limited and takes up a huge amount of time to get working and expandable and its just something i don’t want to put any more effort into. i need something that i can expand upon, that can if possible save object information, location and what not without too much effort.
i don’t want to use someone Else’s saving scripts either due to the fact that i don’t want to rely on a script that won’t always work (due to lack of updates) i want to always be able to update my script personally.
any help would be appreciated. even if you just gave me a base here to start working with. but so far i’ve found very little tangible information online for this. the only thing i’ve been able to think about myself was possibly some sort of algorithmic constructor that would build a scene based on minimal information and expand upon it (i guess kind of like a super complex binary number) but that even seems a bit convoluted.