Easy cross-platform high scores, cloud data storage, push notifications with Scoreoid

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi, thought I'd post a little tutorial about Please login to see this link., which I have been using to make online high scores tables for Android games.

    Scoreoid is a free backend-as-service for game developers. You can use it to create detailed score leaderboards, including things like regional scoreboards, daily/weekly/monthly high scores, etc. You can also use it to store player data such as save states and achievements in the cloud, as well as push notifications to be displayed in game. Best of all you don't need to worry about maintaining your own server.
    It is cross-platform, and implementing it in MMF2 only requires the GET object and the String Parser object, so it can be used with any of the exporters.

    The basic steps to use it:

    1. Create an account on scoreoid.com and log in.
    2. Press Add new game from the shortcut menu. Create a new game.
    3. Note your Game ID which has been created (in the Games tab), which will look something like "25ed152e0b". You will need this when submitting requests to the Scoreoid server.
    4. Go to the Console tab and note your api_key, which will look something like "398763d848727a763d18e56e16947f702aac09a7". You will also need this when querying the server.
    5. On the console tab you can try out the various requests you can make to the Scoreoid server and see the kind of response you will receive.
    You can use "get" requests to receive information from the server, such as getPlayer, getScores, getNotifications, etc.
    You can submit data to the Scoreoid server with requests such as createPlayer and createScore.
    6. You can now use the MMF2 "GET" object to send requests and receive info from the Scoreoid server using any of the requests listed on the Console page. For example, to create a new player, you would use an event that does the following:

    +Add POST data "api_key" = 398763d848727a763d18e56e16947f702aac09a7
    +Add POST data "game_id" = 25ed152e0b
    +Add POST data "username" = Jimmy
    +Add POST data "password" = abc123
    +Get URL "Please login to see this link."

    Just add the request name to the end of the URL "Please login to see this link." and add POST data with the required parameters. Note that in the events editor you need to add POST data before you Get the URL. Always remember to add the api_key and game_id, they are always required.
    7. The Scoreoid server will then send you an xml response back. You can then parse this for the information you're interested in, using something like String Parser.

    Here is an example file showing how to create players, log in, submit scores to the server and receive a high scores list from the server. It uses the requests createPlayer, getPlayer, createScore and getScores.

    Hopefully this is enough to get you started, and you can toy with the other requests to see what else you can do with it. Let me know what you think!

  • Little tip : if you CreateScore with an username that doesn't exist, it will be automatically created.

    Samy, developer for 2D Monkey Games.
    Proud owner of MMF2 Dev, Android and SWF exporter.

  • Interesting, just some questions:

    Is Scoreoid is just php based and react on POST and GET within PHP scripts and pull or commit to a MySQL database server ?
    Or, a complex PHP Socket Server (listening all infos via network in real time?)

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

  • I see ok, thanks aswell ;)

    Hey I'm French, Hi!

    MMF2 SoundScape Engine (Moteur d'environnement) :
    FR: Please login to see this link.
    EN: Please login to see this link.

    May the .NET be with you (Star Wars .NET©)

  • Wow, thanks so much! I just replaced your values with mine and we are up and running--awesome.

    Addicting Space Runner on the Play Store:
    Please login to see this link.

    Clint
    Lokani Entertainment
    Please login to see this link.
    Please login to see this link.

  • Yeah, that might be because of bad data being submitted to the server through people editing the tutorial. Or it might just be because of my incredibly lazy way of parsing the XML response. If you're going to use this in an actual game, I would definitely recommend doing some better parsing, with conditions to check when the response is not properly formatted. String parsing is beyond the scope of this tutorial though, just wanted to keep it simple to demonstrate contacting the API.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!