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
37
S
6
G
1
Posts: 301
Reputation: 2,860

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
21
G
221
Posts: 3,650
Reputation: 124,229

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
37
S
6
G
1
Posts: 301
Reputation: 2,860

Post » Tue Oct 28, 2014 11:49 am

@blackhornet Done and done. Thanks.
B
37
S
6
G
1
Posts: 301
Reputation: 2,860

Post » Wed Oct 29, 2014 8:27 am

damjancd mind your lingo here plz
B
245
S
39
G
15
Posts: 1,946
Reputation: 40,276


Return to How do I....?

Who is online

Users browsing this forum: alextro, ivanski1983 and 7 guests