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
40
S
14
G
2
Posts: 132
Reputation: 3,523

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
22
S
6
G
1
Posts: 1,418
Reputation: 4,830

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
40
S
14
G
2
Posts: 132
Reputation: 3,523

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
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

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
22
S
6
G
1
Posts: 1,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, Jackriduk, NN81, Username05 and 23 guests