Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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:
    113
    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:
    64
    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.