Ask coding questions

← Back to all posts
How to make a global leaderboard?
MikeJMS8910 (231)

So for my game, I want to make a leaderboard that shows everyone's scores but how would I make it so that it gets all people's users and scores and makes it global to see each other. Also, I am using cookies so will I still be able to make something like that? Also if you want to test the game you need to open in a new tab.

MikeJMS8910 (231)

@CodeMaster007 yea I saw this when I was trying to look it up but this is not what I am looking for. I need something that will be able to get information from all users and show it to all users. This one just has it so you give the code 5 names and 5 scores and just orders it.

CodeMaster007 (108)

The thing I posted above is just a template. You do not need to use that exact thing. I am saying that if you modify the code above and use it to your advantage, then the code will work :) @MikeJMS8910

MikeJMS8910 (231)

@CodeMaster007 well I know how to make what he is making in the link you sent me. But I need to know a way to have a leaderboard that is accessible to all users where they can send in data. This template you showed me doesn't even have those kind of things all it is doing is ordering the variables.