Learn the three methods you can use to store and update player scores on a leaderboard.
Read time 1 minuteLast updated 22 days ago
You can choose between best score, latest score or total score update strategies.These are applied when a player score is saved to a leaderboard.
Best score
Use the best score update strategy to store a player's highest score when a leaderboard is configured to sort from highest to lowest, or to store their lowest score when a leaderboard is configured to sort from lowest to highest.
Latest score
Use the latest score update strategy to store the most recent score for a player, regardless of if it's higher or lower than their previous score.
Total score
Use the total score update strategy to add a player's score to their existing score - or create a new entry for the player on the leaderboard if they don't have one.You might use this to track experience points accumulated, number of coins collected or the number of games a player has played/won/lost.