Description

This extension is a wrapper for the backend services over at https://globalstats.io. Have a look at their site for a complete overview of all the nice online highscore services they offer!

This extension allows you to

  • upload scores for the players of your game,
  • upload values for other GTDs (counters) you have defined on the game's page on globalstats.io,
  • load highscores (top x and ranked scores around player) and ranks of your players,
  • have anonymous players or players with a globalstats.io account,
  • allow linkage of a player in your game with his globalstats.io account if the player wants to,
  • load achievements of game, load achievements for the player, accomplish achievements and increment achievement values,
  • install callback scripts for error and achievement handling.

The globalstats.io backend services are offered for free! This means online highscore services and achievements for your games for free!

This extension is tested with GameMaker:Studio 1.x and GameMaker Studio 2. You need to change one line for GameMaker Studio 2. It should work on all platforms as it is plain vanilla GML. Android needs some special treatment due to some GameMaker:Studio bugs (in GM:S 1.4 and GMS 2). See the included readme.txt for details.

Feel free to contact me if you have any suggestions/feedback/improvements for this extension.

See the included sample game and readme file for instructions on how to use it.

End User Licence Agreement (EULA).

Version 2.0.0. Published November 12, 2017

Created with GameMaker: Studio v1.4.1772

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

John M 24 October 2017

Top class extension

I usually don't write reviews but I thought this one deserved something. Extremely well documented and easy to set up. High score reporting is within an online server, hosted by Globalstats so it makes it twice as easier to implement.

Thank you!

This review was left for a previous version of this asset.


Gravatar

Chris S 22 September 2017

fantastic asset with excellent support

for the last 6 months I have been looking for a solution for online high scores for my game. I pretty much had given up hope, everything out there was either too complicated, messy or poorly documented / supported, or out of date.

along comes globalstats and Thomas's GMS wrapper. as a developer of only 12 months experience I had quite a lot of questions in setting this up in my game, but with Thomas's patient and fast support, got it working and it is perfect for my needs. After I made a simple GUI for the API calls, I had a perfectly functioning global high score system that didn't cost my anything.

How could you ask for more than that!

The calls for top scores and player world ranking are exactly what I needed for my game, to create motivation to play and achieve high scores.

Also the support I received from Lukas/Globalstats was excellent.

This is the best asset I have yet used for GMS. I wish the globalstats guys all the success they could hope for.

This review was left for a previous version of this asset.

Logo

Thomas Haaks (Publisher) 22 September 2017

Hi Chris, thank you for your great review! All the best for your soon to be released game and feel free to contact me again as soon as the achievement stuff is in ;-)


Gravatar

Kerry O 11 July 2017

A Wonderful and Easy Solution

If you've ever wanted to add leaderboards to your Game Maker games--and you're not sure how to implement such things--this asset is for you!

The extension worked perfectly out-of-the-box for me; meaning I imported the files, compiled the game--and after playing the included demo game--was able to see the results. It felt like magic because the asset just worked!. After checking my score, I clicked to see the new getRankSection() function and saw firsthand how great it is to view the highscores above and below mine; it's a very efficient way to view your score when your game has hundreds of entries and you want an easy way for the player to see where they fall on the leaderboard. Very cool.

Globalstats.io is a great site, so download this, register for a free account, and feel like a wizard.

Thank you for this :D

This review was left for a previous version of this asset.

Logo

Thomas Haaks (Publisher) 12 July 2017

Hi Kerry, thank you for the nice review! I hoped that the demo game would explain the features and it's usage just like you described! Goal achieved ;-)

This asset will surely be updated as soon as the globalstats.io guys add new features (like achievements, player data and so on).


Gravatar

Anonymous 18 June 2017

I have error

Hi
I have this error:
what is problem?

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object oScoresController:

Push :: Execution Error - Variable Get 14.gsAccessToken(100024, -2147483648)
at gml_Script_gs_share (line 8) - if (oGlobalStatsIOController.gsAccessToken == noone) {
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_gs_share (line 8)
called from - gml_Script_sendHighscore (line 10) - gs_share(noone, oGlobalStatsIOController.playerNickname, values);
called from - gml_Object_oScoresController_CreateEvent_1 (line 4) - sendHighscore(global.CurrentScore);

This review was left for a previous version of this asset.

Logo

Thomas Haaks (Publisher) 12 July 2017

Sorry for the late reply - seems I won't get an email if someone posts a problem here. If your problem still persists, please contact me via email and we'll work it out.
The error message does look like you're missing an object from import or modified some of my original code or added your code in the wrong place.
Try to import the asset into a new empty project and see if the included demo game works and then start from there to understand where you have to extend your own game.
Again, I can help you in a better way if you contact me via email.
Cheers,
Thomas

Package contents

Total size 126 KB

com.rightanglegames.globalstatsio.extension.gmx 5.91 KB com.rightanglegames.globalstatsio
Assets
datafiles Fonts Objects Rooms Scripts Sounds Sprites

What is the issue?

Back to Top