How do I GET THE FILE JSON IN MY DISK

Get help using Construct 2

Post » Sat Apr 12, 2014 6:40 pm

:x
HI,

When I save data.json in my proyect, after I cant get it in my hard disk

I need to put this file json in my proyect dir, becouse it read a lot of information in the start of my game.

but I cant get it in my hard disk.

Tks
Rgds
B
6
S
1
Posts: 47
Reputation: 518

Post » Sat Apr 12, 2014 8:15 pm

I hear ya, I'm trying to do the same thing. I want to store and load json data but the only option i can see is to download and that just sticks it in my download directory. i cant even get the dictionary or array json load to work, even from within the imported files list.... and the manual and tutorials don't detail how to do these things, they just say that you can... !?
B
7
S
1
Posts: 43
Reputation: 513

Post » Sun Apr 13, 2014 3:36 am

The way I do it is trough Node-Webkit Write action. Then you add it to project files trough c2, and request it using ajax. As in to the attachment (just not in this configuration but I think you're getting the point).
You do not have the required permissions to view the files attached to this post.
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
93
S
30
G
22
Posts: 1,987
Reputation: 20,203


Return to How do I....?

Who is online

Users browsing this forum: lemonizer, Yahoo [Bot] and 2 guests