Loading an array from a project .txt file

Get help using Construct 2

Post » Wed Jun 12, 2013 1:38 am

Hey guys, having some trouble understanding how AJAX, JSON, and Project Files interact to fill arrays. This is what I got so far:

Click Button -> AJAX Request Data.txt from Project Files

On Data.txt Complete -> ?

I have tried searching through the forums, but everything I find seems to involve web pages and I am working on a local exe game. Any help is appreciated.
B
4
Posts: 3
Reputation: 206

Post » Wed Jun 12, 2013 12:56 pm

It's easier just to load the Array's own JSON data format.
Scirra Founder
B
383
S
225
G
86
Posts: 24,134
Reputation: 190,601

Post » Wed Jun 12, 2013 10:27 pm

You were right, no clue why that didn't even cross my mind lol! Thanks Ashley!
B
4
Posts: 3
Reputation: 206


Return to How do I....?

Who is online

Users browsing this forum: zenox98 and 1 guest