Online Highscore Implementation (with Lootlocker)


How long does it take to implement a free online highscore system for your small (Unity) game project? In my experience, with Lootlockerit took ~90 minutes.

Originally I did not want to meddle around with something like tracking scores online - felt just too much overhead for a 72hrs game jam. Besides, I've never done something like that. Though, after I finished my game in ~48hrs, I was just curious to "take a look".

Turned out that it was a fairly straight forward implementation with the step by step tutorial and documentation on the Lootlocker web interface. Debugging is simple, as the LootLockerSDKManager in Unity provides enough debug, e.g. like info for a "missing leaderboard" - which needs to be created in the webinterface of your Lootlocker account.

My finished basic score manager for handling the connection, data retrieving and sending had 100 lines of code.

You may stuck here and there for a minute, but nothing what causes a head-scratching "what's the error? have no clue!"

It could be, that I was simply very lucky with the implementation. But no matter what: It was for sure not a task as big and as frightening, as it originally sounded: "Implement an online highscore tracking system for your game"

Files

1.3web.zip Play in browser
May 02, 2022

Comments

Log in with itch.io to leave a comment.

Glad that you weren't scared away from implementing LootLocker and ended up finding it quite easy! We're always trying to make the process easier, so if you have any feedback or suggestions, please let us know.

Thanks for reaching out, implementation was so far quite a breeze for the very first basic steps until a guest login and leaderboard setup. 

Maybe a small thing which you could look into: Having a quick way to leave feedback per documentation page would be nice.

Reason is, there is a mistake on Leaderboard Data Retrieval page and I wanted to highlight that in a simple/direct way on that page, but only can leave some good/bad feedback smileys.

Mistake is, that it lists after as an input - which seem to be outdated/not implemented that way in the latest Unity Lootlocker package and leads to a compile error: LootLockerSDKManager.GetScoreList(leaderboardID, count, after, ...) 

We will fix the SDK as it's a bug there. Thanks for letting us know. We'll also look into how we can enable comments on the page or provide a better way to give feedback.

Thanks again for using LootLocker!