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
77
S
21
G
19
Posts: 1,932
Reputation: 17,291

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
28
G
19
Posts: 1,520
Reputation: 25,540

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
53
S
32
G
13
Posts: 211
Reputation: 11,825


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 8 guests