Feature request: improve AJAX plugin

Discussion and feedback on Construct 2

Post » Tue May 07, 2013 2:06 am

Hello, Scirra staff and Scirra community.

I am suggesting a small improvement in AJAX plugin, specifically in "Request project file" action.

Currently, this action only allows to choose a resource file in a list. My suggestion is also to choose a file by writing its name. This way, it would be possible to request a file from a string, a variable, global variable, etc.

I'm developing a game with choice of languages ??via JSON files (array). I am bound to create some conditions for each language (requesting project file). If I could call a variable, with few actions I could do what I do with various actions by resource file.

Best regards,
Bruestle Multimdia
B
20
S
1
Posts: 22
Reputation: 1,652

Post » Tue May 07, 2013 12:41 pm

You can already do that. Just use the ordinary request action; all the project files are in the same folder so you can request them by their name alone e.g. "myfile.txt".
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,572

Post » Wed May 08, 2013 1:14 am

[QUOTE=Ashley] You can already do that. Just use the ordinary request action; all the project files are in the same folder so you can request them by their name alone e.g. "myfile.txt".[/QUOTE]

I tested here with "Request URL" action, and it works perfectly.

It was so easy that I felt embarrassed.

However, thanks for the help, Ashley.
B
20
S
1
Posts: 22
Reputation: 1,652

Post » Sun Jun 23, 2013 6:55 pm

I think It needs explanation in editor. I searched for it too.
B
47
S
9
G
7
Posts: 75
Reputation: 7,566


Return to Construct 2 General

Who is online

Users browsing this forum: angryscientist, db3344, megatronx, troxx and 2 guests