Hello everyone,
I made a MMO browser-based game SDK with C# & ASP.NET which primarily interacts with Adobe Flash. However, since my SDK is now almost six years old, it is time to update it, since when it was first released mobile phones were not the powerful pocket-computers we see today. So therefore, I want to drop Flash entirely and update my SDK to use HTML5 too more actively target mobile phone users. (Hell, the 'mobile versions of my games are basically just text at the moment!). Initially I was going to develop my own HTML5 back-end, but with Construct 2 progressing in such a way it would be much cheaper (And faster!) to integrate Construct 2 with my C# back-end and use C2 for my HTML5 needs.
However, I have a question regarding the AJAX object. When you pass a Request to a file, will the code behind of that file be processed? As an example, say I want to collect the strength of a unit from a database I would pass along something like this:
domain.com/gatherunitdata.aspx?unitid=17
So that page takes the unitid of 17, connects to a database and returns the data as page content for Construct 2 to then use in the application. Would this work, or would Construct 2 just go to gatherunitdata.aspx and find a blank page?
Thanks ^^