How do I find localstorage?

Get help using Construct 2

Post » Tue Jun 16, 2015 5:11 pm

I tried to search it but i can't find it.

I also search it in plugin and behaviors list but nothing.

Can someone tell me where it is and which is the difference between Webstorage?
B
31
S
13
G
6
Posts: 355
Reputation: 5,058

Post » Tue Jun 16, 2015 5:36 pm

Both local and web storage are objects. You create them just like you create a sprite. If you can't find them at the objects menu try to update your construct version
B
17
S
7
Posts: 280
Reputation: 2,522

Post » Tue Jun 16, 2015 6:14 pm

ouch! thanks a lot, also do you know which is the difference between both? because i worked with the webstorage for the last year.
B
31
S
13
G
6
Posts: 355
Reputation: 5,058

Post » Tue Jun 16, 2015 8:30 pm

After version r206 Web storage became Local storage. But they work the same way.

You can read more about it here: https://www.scirra.com/manual/120/webstorage

Glad I could help
:D
B
17
S
7
Posts: 280
Reputation: 2,522

Post » Wed Jun 17, 2015 12:26 am

RayKi wrote:After version r206 Web storage became Local storage. But they work the same way.

On that note, we're developing a game which is almost finished using Web Storage. But since the update came out we're hesitant to upgrade our Construct versions since we don't want to break all the saving. If we update will Local Storage literally REPLACE all existing Web Storage events with the Local Storage equivalent? Or must everything be recoded manually in Local Storage?
B
9
S
2
G
1
Posts: 19
Reputation: 660

Post » Wed Jun 17, 2015 12:41 am

WebStorage has been deprecated, not removed. Your project will still work. There is work to switch to LocalStorage though.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494


Return to How do I....?

Who is online

Users browsing this forum: Darknessed and 53 guests