Websrorage saved to files

Get help using Construct 2

Post » Wed Oct 01, 2014 6:08 pm

Any way to save the Webstorage data into files?
... and any way to import later?

Thanks!
B
6
Posts: 46
Reputation: 342

Post » Wed Oct 01, 2014 6:16 pm

Save your data into array and store the array as json into webstorage and load from webstorage into array
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Wed Oct 01, 2014 11:05 pm

Ok sounds good, thanks... Any example please?
B
6
Posts: 46
Reputation: 342

Post » Thu Oct 02, 2014 6:29 am

Snowmane wrote:Ok sounds good, thanks... Any example please?

Did you Search? Lots of examples.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Thu Oct 02, 2014 4:19 pm

I mean if is any way to save the webstorage into a files in the hard drive, for example "data.dat"

I search a lot and don't find nothing... any help please?

Thanks.
B
6
Posts: 46
Reputation: 342

Post » Thu Oct 02, 2014 4:50 pm

You can use browser object to invoke download array.asjson.
B
28
S
8
G
4
Posts: 553
Reputation: 4,924


Return to How do I....?

Who is online

Users browsing this forum: Microbex and 23 guests