Getting value from server

Get help using Construct 2

Post » Sun Apr 15, 2012 1:44 pm

For example if I need to set large number of values every time on startup. To do that I need to set them in events:

Array.at(0,0) set to "something1"
Array.at(1,0) set to "something2"
Array.at(2,0) set to "something3"

and etc.

How can I get these values from the FTP server, for example?
Like set this values into txt file or something.Vladoss2012-04-15 13:45:26
B
37
S
15
G
6
Posts: 238
Reputation: 7,735

Post » Sun Apr 15, 2012 5:55 pm

Try using the AJAX object and requesting a file containing the values from a server.
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,228

Post » Sun Apr 15, 2012 6:17 pm

[QUOTE=Ashley] Try using the AJAX object and requesting a file containing the values from a server.[/QUOTE]

Maybe there is some tutorial about this?
B
37
S
15
G
6
Posts: 238
Reputation: 7,735

Post » Sun Apr 15, 2012 6:46 pm

[QUOTE=Ashley] Try using the AJAX object and requesting a file containing the values from a server.[/QUOTE]

Ok, i get it.

But now i need some free web hosting 3:
What can you recommend?
B
37
S
15
G
6
Posts: 238
Reputation: 7,735


Return to How do I....?

Who is online

Users browsing this forum: badmoodtaylor and 14 guests