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
76
S
20
G
19
Posts: 1,931
Reputation: 17,159

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
18
Posts: 1,520
Reputation: 25,305

Post » Mon May 25, 2015 3:44 pm

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


Return to How do I....?

Who is online

Users browsing this forum: Aergo, anty21ro, Fenix18, Iftikhar555, oosyrag, radhaw, TeslaPC and 9 guests