00:00
00:00
Newgrounds Background Image Theme
Upgrade Your Account!

HO HO HOPE you become a Newgrounds Supporter this year!

We're working hard to give you the best site possible, but we have bills to pay and community support is vital to keep things going and growing. Thank you for considering!

Become a Supporter so NG can see another Christmas!

Multiple leaderboard types?

51 Views | 1 Reply
New Topic Respond to this Topic

Multiple leaderboard types? 2024-09-29 09:21:00


I have no idea whether I should ask about it here or in Programming, just thought posting it in Wi/Ht would bring a bit more attention.


So, games with scores. As long as I've been here, they always had neither a score-based leaderboard or a time-based one, but never both. The question is: is it even possible to have both leaderboard types for the same game?


BBS Signature

Response to Multiple leaderboard types? 2024-09-30 20:29:24


At 9/29/24 09:21 AM, NikoN1nja wrote:I have no idea whether I should ask about it here or in Programming, just thought posting it in Wi/Ht would bring a bit more attention.

So, games with scores. As long as I've been here, they always had neither a score-based leaderboard or a time-based one, but never both. The question is: is it even possible to have both leaderboard types for the same game?


You can create multiple NG leaderboards with a few different formats for game. I'm including a picture below of what's shown in the NG API leaderboard section of a submission that details what each type is and how it's shown

iu_1277162_21256250.webp

To submit to multiple leaderboards on a single project, all you need to do is add in the appropriate code with the leaderboard IDs formatted if necessary. How to do this will depend on the platform and NG.IO integration you use.


The trivia guy