LootLocker


I enabled a new high score system that utilizes leaderboards from LootLocker. 

This implementation will build on the competitive feeling of retro arcade games. I may include a 3-character limited input, which would be optional, again to build on the retro aspects of the game.

The way it works is you set a personal highscore, this is stored in playerprefs. If there is a highscore when you start the game, it will load that highscore onscreen. Otherwise, you get the default 0.

When you reach game over / win the score will upload to the global leaderboard if your highscore is greater than your previous global highscore, the previous global score will be overwritten. Otherwise, the score will only be stored in playerprefs if it's higher than the previous score in playerprefs.

Files

Build.zip Play in browser
2 days ago

Get SPACE JAMMED - Free Asset Pack

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.