Cross-Platform Online Leadboards ?

0 favourites
  • 6 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • Hello everyone.

    I've spent around an hour or so, crawling on forums and looking for a solution to my need, but anything and everything I've found was insufficient, to say the least.

    What I need is plain and simple. Multiplayer leaderboards with players score, that can be uploaded/downloaded on any platform (mobile, browser, desktop) if the player has access to internet, and of course - gave my game required permission. So we are talking about some online service + corresponding C2 plugin. Perfect solution would be either free or cheap. Anybody knows anything?

  • Well, I had the same problem some time ago. I downloaded almost every (free) Plugin available, but either they didn't work anymore (like many C2 Plugins, sadly even official ones) or they only worked in a specific platform. I came up with a free solution, which is to code the leaderboard yourself (don't worry if you don't know how to code, I don't know either and it works perfectly). You will need a server (I use a free server from freewebhostingarea.com). Follow this tutorial (it's old, but it still works):

    https://www.scirra.com/tutorials/4839/c ... sql/page-1

    Let me know if you have any questions

  • Well, I had the same problem some time ago. I downloaded almost every (free) Plugin available, but either they didn't work anymore (like many C2 Plugins, sadly even official ones) or they only worked in a specific platform. I came up with a free solution, which is to code the leaderboard yourself (don't worry if you don't know how to code, I don't know either and it works perfectly). You will need a server (I use a free server from freewebhostingarea.com). Follow this tutorial (it's old, but it still works):

    https://www.scirra.com/tutorials/4839/c ... sql/page-1

    Let me know if you have any questions

    Oh my! Thank you mosty kindly! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    And it will work across all platforms?

    Like, e.g. someone is playing on desktop and someone else on mobiles and they both see the same leaderboard?

    EDIT:

    Sadly, I just tried you hosting and it gave me:

    [quote:vw90qrj7]Public registration was temporarily disabled! If you need an account, please contact us using register@freewha.com.

    <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • And it will work across all platforms?

    Like, e.g. someone is playing on desktop and someone else on mobiles and they both see the same leaderboard?

    Yes, it will. It works like this: each player can submit its score (with an AJAX call) to a server. All the AJAX POSTs go to the same server and are stored in the same database, no matter if it was posted from a mobile device or from a PC. When you display the leaderboard, you get the metadata from your server with an AJAX GET Request, and the same data is sended to all devices (no matter if desktop or mobile).

    Are you familiar with servers and databases (PHP, SQL, etc.)? If not, don't worry. I didn't even know what a server was when I did this. If you need help, just ask.

    EDIT:

    Sadly, I just tried you hosting and it gave me:

    [quote:njm9oz8i]Public registration was temporarily disabled! If you need an account, please contact us using .

    Hmm... Try to contact them, they usually answer within 24h.

  • >

    > And it will work across all platforms?

    > Like, e.g. someone is playing on desktop and someone else on mobiles and they both see the same leaderboard?

    >

    Yes, it will. It works like this: each player can submit its score (with an AJAX call) to a server. All the AJAX POSTs go to the same server and are stored in the same database, no matter if it was posted from a mobile device or from a PC. When you display the leaderboard, you get the metadata from your server with an AJAX GET Request, and the same data is sended to all devices (no matter if desktop or mobile).

    Are you familiar with servers and databases (PHP, SQL, etc.)? If not, don't worry. I didn't even know what a server was when I did this. If you need help, just ask.

    >

    > EDIT:

    > Sadly, I just tried you hosting and it gave me:

    > [quote:132zi7o6]Public registration was temporarily disabled! If you need an account, please contact us using .

    >

    Hmm... Try to contact them, they usually answer within 24h.

    Well, networking and client-server was never my specialty. To tell you the truth last time I tried something like that it was about 4 years ago. Put if you say that the tutorial is still valid and working - I'll try it out =)

    Do you use facebook by any chance? And if yes - would it be rude if I'd send a friend request your way?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Niespor

    I PMed you

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