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
39
S
16
G
6
Posts: 238
Reputation: 7,875

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
382
S
223
G
86
Posts: 23,997
Reputation: 189,771

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
39
S
16
G
6
Posts: 238
Reputation: 7,875

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
39
S
16
G
6
Posts: 238
Reputation: 7,875


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests