>
> ...
> So to sum it all up, if I would make a custom saving system to a file, do I have to encrypt the variables saved into the file?
> I appreciate all kinds of links to existing separate file saving methods, sorry that I went off-topic here!
> (I know that the most of the users who subbed to this topic only want to know news about greenworks and not things like this. )
>
I don't get the snide remark about simple games since my game is far from simple but let's not pursue that any further, for courtesy sake.
Now, since you already have the required saving information in variables, it is a simple matter of reading the previous information in a custom file into a string variable and then parse it to see which of the new information will replace which or be added as new. After all the computation is done, simply write the variable containing all the saving info into the same custom file (e.g. settings.ini).
If you want to add some encryption to the mix, simply do it inside the game event sheets for decrypting after reading the file and encrpyting just before writing the data into the file as just another part of the computation.
This is not hard at all, just very tedious.
The thing is, I don't want systems like my current webstorage one were it has a fixed path, I want a system that does all the work for me.
The "webstorage+" plugin my friend made is good and works fine, but still has a lot of events I have to deal with.
(Similar to the local storage plugin were you have to wait until it has done its work.)
I want a system that is easy to use, customizable and that is safe from any kind of manipulation. (Something like you told me with ini files.)
I know that you probably think "just deal with it", I get that if you do but I'm more the type of guy that wants to
focus on visuals and create maps + gameart instead of working a lot with the eventing system.
I have some years of experience and know how the most of the stuff works but I guess there will always be better and more simple ways to create something like this.
I don't get the snide remark about simple games since my game is far from simple but let's not pursue that any further, for courtesy sake.
I mean like, I want to set e.g. audio, graphics and other gameplay settings and reset all the positions, behaviors, events completly when loading a save.
For me the savestates look like something for either huge games where it is almost impossible to save each variable into a file or more "simple" games like platformers were you want to load directly into the last spot you were in.
My game has an online mission based system, so you can kinda see why full-state saving is not the best solution for that.
Could you maybe include the links to the plugins or tutorials for the systems you recommend me to use?