Making a leader board
-
Hi All,
Want to see what others ideas about something I need to make. Im making a game that needs to have a leader board and i'm trying to make it to that you just add there score and it finds its place in a leader board of 10 people i.e the top 10 highest scores. Im aiming to make it so that if someone gets a high enough score, it moves the other names down and then places there name in the space. I've been playing around with using the text draw and having there position data saved in a list of global values, that it then selects which position it needs to be in. Im struggling with how it knows where to put the latest score and how to get the rest of the names to move.
Any ideas are welcome!
Ed
-
JavaScript combined with an Data Array
-
Thanks!
Ah they arent something I am familiar with, need to get learning! Any advice where to start?
Ed
-
Perhaps I have an example lying around that you can use. Will get back to you in a few hours.
-
Okay excellent, thanks!
Ed
-
Leaderboard is a actor that I built that is able to add users, sort the leaderboard and lookup users inside the leaderboard.
Instructions inside the isadora file, if something isn't clear or you have any questions feel free to post them on the forum, send me a Personal message using the forum or by sending me an email : hello@juriaan.me
Good luck with prototyping :)
- Juriaan
-
Hi Juriaan,
Excellent thanks! I'll have a look at it and see how I get on!
Thanks again
Ed