Multiple Auto Save

Discussion and help for Easy Save 3
Post Reply
hello90000
Posts: 3
Joined: Thu May 27, 2021 12:43 pm

Multiple Auto Save

Post by hello90000 »

Hi

I do not yet own your asset because I'm wondering if it supports this feature.

I would like to use Autosave to save the global game settings (for example: Resolution, Audio Settings etc..)
And I would also like to use Autosave to save the game state.

Does Easy Save 3 support different profiles for auto saving and loading?

Many thanks!
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Multiple Auto Save

Post by Joel »

Hi there,

Auto Save saves variables on scripts within a scene. So as long as there's a script with those global game settings in a scene, it will be able to save and load these.

Regarding game state, it can also store this, but not everything in a scene is serialisable at runtime so I recommend seeing the Supported Types guide:
https://docs.moodkie.com/easy-save-3/es ... ted-types/

With regards to different profiles, you can save to different filenames. This is covered at the end of the Auto Save guide:
https://docs.moodkie.com/easy-save-3/es ... hout-code/

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
hello90000
Posts: 3
Joined: Thu May 27, 2021 12:43 pm

Re: Multiple Auto Save

Post by hello90000 »

Hi

Ok, so basically I can have different save profiles if I setup separate scenes each with it's own autosave definition?
And can you confirm that two scenes can be loaded and running at the same time.

Thanks
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Multiple Auto Save

Post by Joel »

Hi there,

That is one way you could do it. Alternatively you could use the code at the end of the Auto Save guide a referenced to change the path at runtime.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
hello90000
Posts: 3
Joined: Thu May 27, 2021 12:43 pm

Re: Multiple Auto Save

Post by hello90000 »

Yes, but if I understand correctly, then just changing the path would still save the same components. However I need two different datasets, that won't work with just changing the path, correct?

I would like to save/load components A, B, C with autosave "User Created Level"
and save C, D, E with autosave "Single Player Campaign State".

Thanks
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Multiple Auto Save

Post by Joel »

Hi there,

That is correct. In this case you would either need to separate scenes, or you would need to use the Easy Save API.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply