Shows the leaderboards page for the chosen platform.


GML Code Example


Returns: N/A


This function will open the leaderboards page for the chosen platform. Please note that this is an asynchronous function, ie: your game will continue to run in the background while the leaderboards page is being shown. As such, you should be careful where you use this and make sure to pause the game or only permit it to be shown in areas of your game where it will not interfere with the game-play.


GML Code Example

if achievement_available()
    global.Pause = true;
    instance_create(0, 0, obj_Pause);

The above code checks to see if the chosen leaderboard and achievement service is available and if so it sets a global variable and creates a controller "pause" instance before calling the function to show the leaderboards on screen.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here