Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hi there!

I have a question about the maximum values you can submit to the leaderboard.

So, I'm creating this mobile clicker game with an online leaderboard. But when the score goes above 2.1 billion (max value of an integer), it doesn't submit anymore. Do you know what the maximum value is for this leaderboard? Or maybe I just need to change an integer to a double or float in my script?

I'm looking forward to your anwser!

(+1)

Hello!

The maximum a leaderboard entry can hold is the normal integer max limit (2.1~ billion). One thing you could do is store the score in the extra data and create a prestige system where every certain amount of score threshold you increment the prestige count.

(+1)

Thank you for your fast response!

I've come up with a simpler solution. Instead of submitting the player's maximum score in the clicker game, I suggest uploading the Clicks Per Second (CPS). I believe this approach will be more effective! ^^

PS: Thanks for this easy to setup leaderboard! ♥

(+1)

You could also submit strings instead of integers by adding a 1M or 2.1B instead of pushing the whole integer. That would look cleaner too.