Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I like how easy this is to use, however I need some help. I am working on a pinball game and getting ready to launch it. I love the idea of using your leader-board. My issue is that when the game is running the player has the option of changing who is playing. When the leader-board is sent an updated score and name the name previously on the leader-board is changed to the new name entered. I assume that there is something set up when the game starts that it only effects updates in that session. Is there a work around?

    public void SetLeaderboardEntry(string userName, int score)    {       

        LeaderboardCreator.UploadNewEntry(leaderBoardKey,userName, score,((msg) =>
        {            GetLeaderboard();

        }));

    }

(+1)

Hello there!

Luckily the FAQ contains an answer to your question:

There may only be one entry per one player. This is done to support features like name editing and deleting an entry in a safe way, such that other people don't mess around with other people's entries. If you do not want this, then disable "Unique Usernames" for your leaderboard and make use of the LeaderboardCreator.ResetPlayer() function during the callback from uploading an entry. Note that after this, a player's previous entry cannot be edited nor deleted by the player themself.

Sorry, I missed that. Works like a charm! One other question, when I decide to upgrade to the Advanced Leaderboard will it keep the same public key and just increase the capacity or will I have to create a new Leaderboard and key?

Usually I give out a new leaderboard with advanced privileges. But I can upgrade existing leaderboards as well, so it is up to you.