Completely erasing save

Get help using Construct 2

Post » Wed Oct 02, 2013 2:58 am

I really love the new save and load system in Construct 2, but I've run into some issues.
Is there a way to completely erase a save file, without having to go into the hard disk and hitting delete? Preferably from within game.
I tried a process of resetting global variables, restart layouts, and resetting local/object instance variables, but the last step is a bit cumbersome, especially if you have to reset a lot of instance variables one by one.

I could probably do a loop/on player manual save delete condition or something, but that's still just kind of just avoiding the issue instead of solving it.

Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Wed Oct 02, 2013 8:51 pm

Anybody got a solution that's better? I don't mind doing the other way, it's just a bit cluttery.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Wed Oct 02, 2013 9:13 pm

How have you been saving? Isn't it just Clear Local Storage/ Clear Session Storage?
B
46
S
16
G
79
Posts: 2,170
Reputation: 46,857

Post » Wed Oct 02, 2013 9:36 pm

I think you're confused as for what I mean. I'm talking about the save game and load game features introduced in Construct 2 since r124.

I know how it works and got it to work fine, but I can't figure out where Construct 2 stores the save-data via this method on disk, and there's no "Delete Save" option either.

I tried clearing local and storage as you suggested, but apparently, this feature is different as that didn't do squat.

Edit: Clearing the browser's cookies apparently works for this, but it's still a roundabound solution for me.LaDestitute2013-10-02 22:00:17
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Fri Oct 04, 2013 9:08 pm

There doesn't seem to be an answer for this anywhere. I'm needing to do the same thing, but can't figure it out.
B
14
S
1
Posts: 20
Reputation: 1,095

Post » Sat Oct 19, 2013 3:47 am

Any help?
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Mon Mar 07, 2016 6:35 pm

2 years later.... Bump.
B
71
S
24
G
11
Posts: 452
Reputation: 12,350

Post » Thu Apr 07, 2016 11:25 am

Need an answer to this as well, seem to be lots of people needing this.
B
18
S
9
G
3
Posts: 4
Reputation: 3,268


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 34 guests