How do I delete a save?

Get help using Construct 2

Post » Thu Jul 21, 2016 1:49 am

Hi! I was very surprised by the save/load option and how they work pretty well, but now i've realised that there's no "delete save" function, wich is kind of weird. So, how do i delete a save? Is this possible? Thanks! :)

Ps: Sorry if i said something wrong, it's not my main language.
Image
B
39
S
14
G
2
Posts: 120
Reputation: 3,454

Post » Sat Jul 23, 2016 3:29 pm

I am not sure this is possible. The user will have to manually delete the save, I believe.

Are you using nw.js? Or raw JS?
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Sun Jul 24, 2016 2:44 am

I did a bit of research and discovered that it's not possible. But i made another system that works like a charm with LocalStorage. :)
Image
B
39
S
14
G
2
Posts: 120
Reputation: 3,454

Post » Sun Jul 24, 2016 3:56 am

I fiddled with this earlier. C2's runtime actually uses localStorage to store the saves. I had no luck figuring out how to access it from either JavaScript with execjs or with the local storage plugin itself. I may have missed something though.
B
91
S
31
G
102
Posts: 5,233
Reputation: 67,252

Post » Mon Jul 25, 2016 2:15 pm

mateussales wrote:I did a bit of research and discovered that it's not possible. But i made another system that works like a charm with LocalStorage. :)


Yea, localstorage doesn't pose the same security threats that saving (or deleting) on the users hard drive does.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests