how to import a table into an array

  • 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 <img src="smileys/smiley5.gif" border="0" align="middle" />    <img src="smileys/smiley1.gif" border="0" align="middle" />

    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.... <img src="smileys/smiley3.gif" border="0" align="middle" />

    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 <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Perhaps this is what you're looking for?

    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.

  • Figuring out who what a JSON is

    We are talking in this thread about how to figure out what a JSON should look like.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)