For the past 2 week, I’ve been looking at making a leaderboard system with Cloud data. There has been a few other examples like from @Johnny_boy and @grazer, but I wanted to have more flexibility, organization, and simplicity.
I have 2 Leaderboard ideas in my example: User ID and Arcade. There are still a few things I want to add and some things I need to test with more users, so check it out if your interested.
ID Leaderboard uses your Flowlab ID and adds your ID and Score to an unlimited list. The List is sent to another bundle to be sorted. The “Top Scores” send the top 10 in the leaderboard (or the number inputted into “top”). And the “Your Rank Area” outputs the 10 scores around your rank (for example it will show ranks 40 - 50 if your rank is 45), this bundles still needs work but I dont have enough users to test it. This Leaderboard works by NAMES and IDs. If the NAME is already in the leaderboard, then it will check the score before replacing that score in the leaderboard. Also the ID leaderboard will not work if you are not signed into Flowlab.
Arcade
Arcade Leaderboard just saves the top 10 (or what was set in “top”) scores and deletes the rest. This Leaderboard was taken from the idea of the old Arcade machines, so the same name can be in the leaderboard several times as long they are in the top scores.
I’m still testing around and plan to add a few more things, but I am comfortable enough to share the list so far, as well good enough at the moment to use in other games. Testing and Feedback would be great help.
Thanks for the thought, I looked into it and I was able to make it where the first person to reach that number keeps the position. Any duplicates get push below that user.
As well as I made a few Admin Tools to help Test With
You could make a video on how to use it… but it mostly runs on its own.
Just put your highscore in a global, and that global would load on the leaderboard level.
If you want to break it apart… its using cloud data and list management so even explaining those on its own are actually very complex.
Area field should work now, so you can see your rank despite not being in the top.
Started working on Leaderboard 2.0
So I took a long discussion with Mhx on what I could do to refine and user friendly ID system. As well, there are a few things I wanted to do, such as removing all timers in the system. I’ll make a new topic and link, but here are a few benefits.
Leaderbaord 2.0 will have:
Scores kept even if you change Username (ID Leaderboard).