Game Center Leaderboard Basics
Tim_A
Member, PRO Posts: 60
As i'm new to this, I just wanted to understand the basics of what is involved with posting your highscore to a Game Center leaderboard...
Most games I play don't require me to 'log-in' and the Game Center just welcomes me when I start playing. Is there an auto-login going on in the background?
I never seem to have to manually post my scores either... is there a way to automatically post the highscore?
For example... the dreaded Flappy Birds just seems to post my score in the background and there's a simple link to view the highscore leaderboard.
Is that something GameSalad can do or do we need people to click a login button then manually submit their score each time?
Thanks for any advice
Tim
Most games I play don't require me to 'log-in' and the Game Center just welcomes me when I start playing. Is there an auto-login going on in the background?
I never seem to have to manually post my scores either... is there a way to automatically post the highscore?
For example... the dreaded Flappy Birds just seems to post my score in the background and there's a simple link to view the highscore leaderboard.
Is that something GameSalad can do or do we need people to click a login button then manually submit their score each time?
Thanks for any advice
Tim
Comments
In regards to your question, you do not need to have a button to post the high score. It could be triggered in a rule when the game over scene is displayed.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I've just read this on the apple developer site:
"Don’t create custom UI that prompts users to sign into Game Center. When people start your Game Center-enabled app—and they’re not already signed into Game Center on their device—the system automatically prompts them to sign in. Displaying custom sign-in UI is unnecessary and might confuse users."
So do we delete/omit the login button?
Then simply post the score automatically in the background, and provide a button for the leaderboard?
That would explain how all these games i'm playing just have a single button for the leaderboard and no 'login' or 'submit score' buttons?
Thanks again
Tim
All you need to do is add the "Platform - Login" behaviour to an actor in the start screen. this will automatically log in players upon launching the game.
You can then post the score in the background, usually at the same time as saving the score attribute at the end of the game. This is done by adding the "Platform - Post Score" behaviour.
Hope this helps.
many thanks for your help