My event sheet for my save/load screen looks like imgur.com/UdtEGm7
I would like to add another sub-event for when that save does not exist. If that is the case then I would want to send the player to the first level layout.
Any ideas on how to check if the save is there?
I'll see if I can add a 'On load failed' trigger to the next build.
That would be great, Ashley.
Any thoughts on how to deal with this in the mean time?
I may have found a solution. I used imgur.com/qqZHxD0
Just gave the Save Button a variable and made it true if the load went through.
Seems to be working, although I have to admit my game is still doing funky things so hard to be sure.
This would really helpful for things like "Continue".
Ideally:
On Start->
If Save "Slot One" Exists->
Set Continue Text Visible
Else
Set Continue Text Invisible
Develop games in your browser. Powerful, performant & highly capable.
Has anyone else found a work around for something like this? Or a way to do it that isn't even a work around?
Not really looking for "on save load". Looking for "Save(name) exists" boolean.
Bump, I'm also interested in this.. a way to check if the save file exists, or it's empty.
I ask because in my game, if there are saves, the "load game" option shouldn't show.
Edit - Also, is there a way to clear a savestate?