Example dictionary .json file filled with say two variables

Get help using Construct 2

Post » Mon Oct 27, 2014 6:20 pm

I couldn't find any tutorial or post on this. I did search :)

Anyway I want to load dictionary info from a .json file, but I have no idea how to write the .json file.

I just need to have two keys in the json file, with 2 variables (I will have thousands in my game, but I can handle it further if there is two keys as examples.)

Not sure if what I'm asking makes any sense or I'm just spewing garbage from my fingertips.

Thank you anyway
B
39
S
6
G
1
Posts: 306
Reputation: 2,948

Post » Tue Oct 28, 2014 12:56 am

The trick here is to manually set up some data and then export the JSON to see the format. Then alter, following the same pattern, and Bob's-your-uncle!
ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Post » Tue Oct 28, 2014 8:21 am

Well cool :) Thanks. Will attempt this. Don't know why it didn't occur to me before :)
Bob is not my uncle anymore, we broke up. :)
B
39
S
6
G
1
Posts: 306
Reputation: 2,948

Post » Tue Oct 28, 2014 11:49 am

@blackhornet Done and done. Thanks.
B
39
S
6
G
1
Posts: 306
Reputation: 2,948

Post » Wed Oct 29, 2014 8:27 am

damjancd mind your lingo here plz
B
257
S
43
G
15
Posts: 1,992
Reputation: 41,535


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests