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
42
S
14
G
2
Posts: 133
Reputation: 3,591

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
I don't check the forums much anymore, but I will receive an email for PMs.

"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
23
S
6
G
1
Posts: 1,419
Reputation: 4,867

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
42
S
14
G
2
Posts: 133
Reputation: 3,591

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
95
S
34
G
128
Posts: 5,494
Reputation: 81,676

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
I don't check the forums much anymore, but I will receive an email for PMs.

"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
23
S
6
G
1
Posts: 1,419
Reputation: 4,867


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests