How to use Construct with web service?

Get help using Construct 2

Post » Sun Aug 04, 2013 7:50 pm

Hey guys,

I am stuck at some issue that I can't figure out a way to do it. I am building a game that has some customization and persistent data, in other words, the user play the game, collect coins and then use these coins to buy stuff and customize the game.

I have .net web service which is connected with the database that has all the information that I am storing (user login info, total score, total coins, items that he already bought and can buy, etc.) Now the question is, how can I make calls to this web service and receive/send data from and to it inside Construct? Anyone did something similar to this before? A sample or demo would be awesome because I am on a very tight schedule here and running out of options :(

I thought to make part of the game as pure .net web forms and make all the calls inside these pages but then I would be back to another problem which is how to communicate data between the web forms and construct objects.


Thank you so much
B
2
Posts: 2
Reputation: 154

Post » Wed Aug 14, 2013 12:07 am

Wow! I can't believe that no one ever needed to do that!
You guys all build non-persistent data games?
B
2
Posts: 2
Reputation: 154

Post » Wed Aug 14, 2013 1:31 am

search: PHP
or
Ajax
B
12
S
3
G
1
Posts: 347
Reputation: 2,866

Post » Wed Aug 14, 2013 1:44 am

ghost is right. Check the manual about the AJAX plugin, and if you need examples, have a look for the same keyword in the "How do I FAQ".
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
267
S
95
G
66
Posts: 7,210
Reputation: 73,086


Return to How do I....?

Who is online

Users browsing this forum: AllanR, Cryttexx and 8 guests