Game Center Leaderboard
lotte205
Tallinn, EstoniaMember, PRO Posts: 41
I read the best practices, but still have questions. How do I set it up? And I don't mean technically. Do you have a "login to Game Center" button in the main menu or do you have "View leaderboard" button? Or does it login automatically? Do you make it that way that the "Post score" button only appears when it's game over and you have a score to post?
My games:
Who's Behind the Gates
Flip Happy
Comments
I will try and answer this....AND I DONT MEAN technically either.
Here is what I do....
On my first scene, wether it be a menu or logo display scene I place the login behavior in a timer after half a second...I make it login to GC automatically. I usually automatically update a score at any "game over scene or Boolean function....the only button I give the player is to "view the leaderboard" and I do this usually on a game over scene...so at game over it will auto update score within about a half a second and after that the user can choose to view leaderboards or not.
Obviously the user must be logged in for scores to update in the first place so login is first...update score is second and view leaderboard is last.
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
@Thunder_Child Thank you so much, this was exactly what I wanted to know
My games:
Who's Behind the Gates
Flip Happy
On the other hand, if you don't want your users scared away by having a login on the first screen, you can wait until you need to post the scores. I have all my Game Center stuff on the very last high score screen. I may need to move it up to an earlier screen however once I get into achievements, since players could possibly complete or partially complete an achievement before they finish their session.
search it on youtube, worked 100% for me, its really easy