If you want an all time leaderboard, you are best off using some database solution like PouchDB or Firebase, both of which have excellent documentation. This is ideally used when you want your game to show top scores across a long term period. Multiplayer leaderboards are obviously to be used with some sort of multiplayer framework and/or solution; I have written a detailed guide on using Photon multiplayer with PlayCanvas here. This is ideally used if you want a new leaderboard showing top scores every game session.
1 Like