[go: up one dir, main page]

Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hello,

Is there a way to allow negative scores? When I try and pass through negative scores Unity gives me a console error. I have an idea for a work around on my end but was wondering if there's a spot in your scripts that I could tweak to allow for negative values....

Hey dambotron!

Unfortunately to your case, the score is and should be a positive number, but all you need to do on your end is offset the resulting scores by subtracting them.

Gotcha. Thanks! I am having another issue that the score always updates as 1, regardless of what I submit. I followed your video tutorial and don't seem to see any issues on my end. Any idea what might be happening here?

It might be because your leaderboard is set to sort in ascending order, meaning the lowest score will be saved if you submit a higher score.