How do I add my own API in my game?

0 favourites
  • 5 posts
From the Asset Store
Add SubRip (SRT) subtitles to your videos in Construct 3
  • Hi, everyone!

    I started using Construct 2 a few weeks ago, and I have to say it's a great tool and it seems really easy to create games with it.

    I'm a newbie, so I have a question for you today. I know it's a big one, but I haven't found any documentation or articles about that.

    I would like to add my API (leaderboard system, ...) in my games, but I don't really know how to do it.

    Can you help me?

  • Hi, everyone!

    I started using Construct 2 a few weeks ago, and I have to say it's a great tool and it seems really easy to create games with it.

    I'm a newbie, so I have a question for you today. I know it's a big one, but I haven't found any documentation or articles about that.

    I would like to add my API (leaderboard system, ...) in my games, but I don't really know how to do it.

    Can you help me?

    The normal method for integrating an API is via the SDK, but you will need to be proficient in Javascript.

  • Hi, zenox98. Thanks for your answer.

    I have tried this and I have another question: Is it possible to call an external function (like a .js file, for example) with Construct 2?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Javascript is not my forte, unfortunately.

    If you post any questions in the Javascript SDK section, then one of the gurus who frequent that section will be able to offer much better assistance.

  • Do you have the API created already on your server? An API requires server side programming, and then you just access the API via AJAX (or WebSockets or whatever).

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