Local Storage vs Web storage

Get help using Construct 2

Post » Sun Mar 12, 2017 9:59 am

Hello folks,

I understand Web Storage is now Deprecated.

So, I need to move the save/load system over to LocalStorage.

Currently to save values i'm basically going:
Code: Select all
var int XXXX
System -> Set Webstorage.LocalValue("XXXX")

To load that value, I'm doing the reverse.
Code: Select all
System -> Set XXXX to Webstorage.LocalValue("XXXX)

This works fine within browsers but presumably not for a desktop export with Node.

I've checked over the LocalStorage knowledgebase article and it all looks roughly the same.

Anything I need to be aware of before making the switch?

Also, Where do the files for localstorage get written to, somewhere in AppData?
B
9
S
2
Posts: 69
Reputation: 833

Return to How do I....?

Who is online

Users browsing this forum: digitalsoapbox, RetrocadeMedia and 1 guest