Quick question: Post score or highscore to Leaderboard?
NuGamer
Member Posts: 25
For a simple arcade game, when posting scores to a leaderboard, should one enable the current score to be posted each time the game ends (when attribute: game.done = true, post game.score to Leaderboard ID) or highscores only (when attribute: game.done = true, post game.highscore to Leaderboard ID)?
Just curious as to which is the standard or most preferred method employed by endless runner games. Also, hopefully scores being posted is a background process that doesn't take the user to a GameCentre screen every time the game ends.
Comments
Yeah, I'd set it to only send the latest high score to the leaderboard. E.g. If game.CurrentScore is greater than game.HighScore, change attribute game.HighScore to game.CurrentScore, and send Game.HighScore to the leaderboard. Hope this helps!
GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com
@uptimistik
Thanks for your response! Sill question but, can I get started with making the leaderboard ID now, so when I start the publishing process, that part will already be filled in ? Also, I'm thinking of including the login feature as soon as the first scene is launched, wondering if that is fine. :)
Yes to both questions! You can create it now and fill in the details in publishing and you can put the login on Scene Launch.
GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com
Thanks a bunch !