ajax project file request

Discussion and feedback on Construct 2

Post » Wed Jun 10, 2015 2:04 pm

I'm trying to request some project files into a function based on the layoutName and while everithing is working fine in preview and html5 export mode. when I sdk with Intel it will not load the files for some reason.
In Construct I use ajax->request URL - and enter the project file name
Now, if I use ajax->request project file, everything is working file.

So, is there a way to request project files by name?
B
37
S
9
Posts: 63
Reputation: 2,255

Post » Wed Jun 10, 2015 2:49 pm

In the html5 version, requesting the url "filename" will request the local url corresponding to it (so for exemple "https://www.mydomain.com/game/filename"), for wrappers this may not work the same as the file may be placed differently in the end, I do not think there is a supported way to request a project file simply by name weirdly enough.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Wed Jun 10, 2015 2:57 pm

@Ashley could this be something implemented in construct or do we need to make a plugin for this?
B
37
S
9
Posts: 63
Reputation: 2,255


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests