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
81
S
23
G
20
Posts: 1,952
Reputation: 18,131

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,620

Post » Mon May 25, 2015 3:44 pm

Man... almost three years late: thank you
B
4
Posts: 4
Reputation: 214

Post » Thu May 11, 2017 12:41 am

Man... almost two years late: thank you
B
54
S
32
G
13
Posts: 218
Reputation: 11,864

Post » Sat Jul 01, 2017 3:20 pm

Man... almost two month late: thank you
B
13
S
3
Posts: 64
Reputation: 876


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests