Saving dictionary in webstorage

Get help using Construct 2

Post » Fri Nov 02, 2012 5:23 pm

Hi,

Is it possible to save the whole dictionary in webstorage in one go?

Cheers
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
92
S
30
G
22
Posts: 1,987
Reputation: 20,178

Post » Fri Nov 02, 2012 7:02 pm

Yeah,

WebStorage: Set local key "dict" to Dictionary.AsJSON

Dictionary: Load from JSON string Webstorage.LocalValue("dict")
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,670

Post » Mon May 25, 2015 3:44 pm

Man... almost three years late: thank you
B
4
S
1
Posts: 4
Reputation: 364

Post » Thu May 11, 2017 12:41 am

Man... almost two years late: thank you
B
67
S
37
G
13
Posts: 241
Reputation: 12,760

Post » Sat Jul 01, 2017 3:20 pm

Man... almost two month late: thank you
B
18
S
7
Posts: 104
Reputation: 1,691


Return to How do I....?

Who is online

Users browsing this forum: worm1 and 31 guests