Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How to do the leaderboards season finale?

Discussion in 'Leaderboards' started by doublehitgames, May 3, 2023.

  1. doublehitgames

    doublehitgames

    Joined:
    Mar 5, 2016
    Posts:
    90
    I'm planning to create boards that reset every month on a recurring basis.

    So far so good.

    My question is whether or not I should archive the old scoreboard.

    My main question is how can I know what the player's position was when the score ends and is reset to zero.

    I didn't particularly want to archive the old posters.

    In this case, I believe that with CloudCode it is possible to make the Scoreboard define its position on some player data, based only on the top 10, or 20 players.

    Anyway, can anyone shed some light on this?

    My wish is that when the season is over, I will award prizes to a certain number of top players, based on their rankings last season.
     
  2. Unity_AndyP

    Unity_AndyP

    Unity Technologies

    Joined:
    Jun 23, 2021
    Posts:
    65
    You are actually able to access the scores from the previous leaderboard version. If the leaderboard resets and existing scores are archived, you can call a list of archived versions in reverse chronological order to look up specific leaderboard scores from a previous version etc.

    You can find more information on how to do this here.