Is it possible to simplify Json?

Get help using Construct 2

Post » Wed Jan 07, 2015 9:22 pm

Just have a question: I have a lot of json files / databases (about 18). Each has several variables. Do I really have to write for each a global variable and save the database variable into the global variable... ??
B
15
S
4
Posts: 77
Reputation: 1,030

Post » Wed Jan 07, 2015 10:14 pm

You will have to explain what you mean a bit more in detail, are you using file with json as storage? My spontaneous first thought is why are you not using the webstorage? But like I said it's hard answering without more information.
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Fri Jan 09, 2015 5:15 pm

I try to make a sim/tycoon and need a lot of datas for the AI. For that reason I decided to save the datas in several json files. Then load them in webstorage/global numbers. A little bit frustating to load all the datas. I'll check the Forum, maybe there is an easier way
B
15
S
4
Posts: 77
Reputation: 1,030


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests