Local storage

Get help using Construct 2

Post » Tue Aug 04, 2015 1:36 pm

Hi.

What is the best practice when using Local storage, should I use one object to save thing like user-settings, level unlock etc or use separate local storage objects to save them in?

Does Local storage work with Steam or do you have to use some other solutions for save files?

Thanks
B
15
S
3
G
3
Posts: 93
Reputation: 1,466

Post » Fri Aug 07, 2015 4:10 pm

I would try and use one object and use a key local to you. One suggestion is the thing they use where you have a domain name you own backwards, so you know it's unique - define it as a program constant. Not a good idea to call it "GameData" or anything like that :)
My tutorial through development blog is at http://myconstruct2dev.blogspot.co.uk/
B
12
S
3
Posts: 221
Reputation: 1,328


Return to How do I....?

Who is online

Users browsing this forum: 25games, Ashley, Bootfit, mcscooter, TRMG and 28 guests