Game Center Leaderboard

lotte205lotte205 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?

Comments

  • Thunder_ChildThunder_Child Member Posts: 2,343
    edited August 2015

    @lotte205 said:
    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?

    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.

  • lotte205lotte205 Tallinn, EstoniaMember, PRO Posts: 41

    @Thunder_Child Thank you so much, this was exactly what I wanted to know :)

  • Agent ArgyleAgent Argyle Member, PRO Posts: 188

    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.

  • rvantilborgrvantilborg Member, PRO Posts: 185

    search it on youtube, worked 100% for me, its really easy

Sign In or Register to comment.