Custom PHP Database/High Score > Mobile?

0 favourites
  • 4 posts
From the Asset Store
a ready made template of Mobile Advert, Google Play and Mobile IAP Plugin,
  • Sorry for the possible confusing thread title!

    Hi,

    I was wondering as I made a custom high score table/database in a game, and that used a couple of PHP files, and within Construct 2 it used the AJAX events to do real time updating of the high scores from the database while in game. Now this was all well and fine as it was exported as purely html5.

    Now If I wanted to include the same high score table and custom database, would that still work like normal even if I exported the game to iOS and Android devices?

    That's all, thanks guys!

  • I tried the same thing, but i wasnt able to make it work. I think it has to do with cross-browser security or something.

    Please let me know if you find a solution! :- )

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • have you looked into JSONP (json with padding)? this technique is known to be used on mobile apps to avoid CORS problems.

  • It works exactly the same. I do this with my current project: fully tested on Android and it's working perfectly. iOS I can assume will work, but I'll have to confirm once it's live.

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