how to import a table into an array

Get help using Construct 2

Post » Thu Mar 14, 2013 9:16 pm

hello everyone,


i am working on a game that tries to help learn vocabulary, and it is sort of a scrabble type of format. what i need is an easier way to load a string and series of numbers(e.g. frame numbers, the vocab words, etc)

what i had been doing is manually loading each word and each number into an array with the event sheet.....there must be an easier way     

i have download the csv plugin, but i could not figure out how to install it. i looked on the forum that said"how to install plugins and behaviors", but the file i downloaded doesnt appear to match any of the extentions i found in the plugin folder....

i see a lot about loading a json string somehow, but i not familiar with this either, in every case i have read "use a json to load your table into an array" but still have yet to find how to 'make' this json file.

if anyone has done similar, would you be so kind and give me an example to look at?

thank you all, God bless you
B
1
Posts: 3
Reputation: 231

Post » Thu Mar 14, 2013 9:39 pm

Perhaps this is what you're looking for?
http://www.scirra.com/forum/load-a-csv-file-into-a-string_topic61311.html

I believe you'll need that plugin though. I'm not familiar with plugins though maybe someone else can help you with installation.
Mistakes were made.
B
37
S
17
G
67
Posts: 1,041
Reputation: 38,211

Post » Thu Mar 14, 2013 10:19 pm

Figuring out who what a JSON is

We are talking in this thread about how to figure out what a JSON should look like.
B
6
S
1
G
1
Posts: 70
Reputation: 702

Post » Thu Mar 14, 2013 10:23 pm

B
6
S
1
G
1
Posts: 70
Reputation: 702


Return to How do I....?

Who is online

Users browsing this forum: spacedoubt, Yahoo [Bot] and 3 guests