How to use Construct with web service?

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Wow! I can't believe that no one ever needed to do that!

    You guys all build non-persistent data games?

  • search: PHP

    or

    Ajax

  • 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".

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)