What is AJAX Object's "Request Project File" doing ?

Discussion and feedback on Construct 2

Post » Wed Dec 24, 2014 3:04 pm

Description:
Request Project File:
You have to enter a Tag and File [Drop down list provided.]
This basically allows you to download files inside your own project that you have imported into the Construct 2's IDE.
This is so strange...isn't that the point of the Progress Bar at the beginning ?
And if this is for Music ? The Audio object already have the "Preload/Preload(by name)" so...what are you downloading with this ?
B
12
S
3
Posts: 288
Reputation: 1,694

Post » Wed Dec 24, 2014 5:31 pm

Text files that contain JSON so you can populate an Array or Dictionary object.
B
21
S
5
Posts: 196
Reputation: 1,984

Post » Wed Dec 24, 2014 10:52 pm

Wait, that txt files arn't being downloaded during the initial loading during the HTML Logo progress bar thingy at the very beginning ?
I know that music is not downloaded.

Can I have a list of what things the initial loading actually loads ? lol

Thanks
B
12
S
3
Posts: 288
Reputation: 1,694

Post » Thu Dec 25, 2014 6:29 pm

Don't think of it as what is being loaded, but rather how do you access it. The AJAX is how you access those text files even if you have it compiled into a packaged app such as with CocoonJS or PhoneGap where it does not need to download at all. You can also use the AJAX to load other files you have hosted on a remote server of your own.
B
21
S
5
Posts: 196
Reputation: 1,984

Post » Thu Dec 25, 2014 6:55 pm

Makes perfect sense, thank you Mr. Hack the Gibson :)
B
12
S
3
Posts: 288
Reputation: 1,694


Return to Construct 2 General

Who is online

Users browsing this forum: Google [Bot] and 8 guests