How to use the Leaderboard function

Hello, Im new to Flowlab and I’m not sure exactly how to use the Leaderboard function. I want to use it with a timer so that when the game ends it will be recorded.

The leaderboard function is actually an Indie function

what does that mean?

Do you have the free version?

This account is the free version but I’m making the game with edu account for school.

Oh ok. Indie is when you have a paid version. I don’t have Indie though, so I don’t think I know how that mechanic works

Thanks for you help. I’ll prob just ask my friends

1 Like

You make numbers (I prefer globals) and put them in score for your leaderboard

1 Like

Can I have a screenshot

I’m using a phone but I will give you a link to my game that uses leaderboard go to the level ending in the editor Platformer game of Giant Insanity (Web) - Flowlab Game Creator

1 Like

Leaderboard behavior works by:

  • Entering a number into the “score” input.
  • If the value is higher than you score, it gets saved to the leaderboard.
  • This only works for logged in flowlab users atm.
  • If someone isn’t logged in, a pop up will appear to log into flowlab to save the score.
  • To retreive the score without saving a score, use the get input. This will still output from the “score” output. Advance users can use the list output.
  • Show and hide inputs controlls to show the leaderboard on the screen.
  • Also the leaderboard can be moved around by holding on the board while the behavior is open.
2 Likes

Or that but yes that is a rundown of how leaderboard works

1 Like


This is what I have but when I get a number higher then the one on the leaderboard it doesn’t update. Am I doing something wrong?

You don’t have to do that, the leaderboard will check if its a new high score or not.
It may take up to 10 seconds for the Leaderboard to update visually though.

1 Like

I fixed that thx. But I was using this timer from this game and wanted to input the value of the label into a global so that I could access it from the global into the leaderboard but it wouldn’t work. Are there any other ways?

link

Leaderboard must have a number value and not text. You need to use the raw time value before it goes into the expreasions and into the text block.

Also make sure to click the checkbox for “lowest score first” on the leaderboard block to save the shortest time.

I have every thing but I was wondering how to update the score if it gets lower than the current score on the leaderboard for the timer.

You just input the score into the leaderboard… if you have checked the checkbox on the leaderboard block for saving the lowest score, then only the lowest score will save.

1 Like