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
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

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
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

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: alextro, MarkStockley and 0 guests