Implementing/Integrating Gamecenter

hrsmediahrsmedia Member Posts: 522
edited November -1 in Working with GS (Mac)
I was just wondering about the best ways of integrating Gamecenter into a game. I have setup an adhoc build and got gamecenter working no problem.

Now with my first test, I've added a gamecenter button to the title screen, which activates view leaderboard. This will prompt the player to log in to gamecenter. Then I have a post score button, at the post game screen. There is no indication that a score has been posted (even though it has) when the button is pressed, I guess I have to manually add a message saying score is posted.

I'm thinking I want to have the post score behavior automatically activate when you get a new high score, because it is not ideal to hit post score, most gamecenter games I've seen don't have a post score button.

Now if the user is not logged in, hitting post score does not activate the login screen immediately. There is a long delay before it prompts the user to log in to gamecenter. Is this delay because I'm testing in sandbox mode?

Also, if the user has an older IOS, I'm guessing an error message will appear every time you achieve a high score. So I guess my question is: Is auto firing of Gamecenter actions totally out of the question?

I'm thinking the best solution is to create a gamecenter pause screen, and have post score and view leaderboards at this screen, and a return to game button. Then maybe link to the gamecenter menu at the title screen and at the post game high score screen.

Just wondering, how other people have implemented it, thanks.

Comments

  • hrsmediahrsmedia Member Posts: 522
    Should I just add a gamecenter enable/disable button at the menu screen, and auto fire post score (if gamecenter is enabled) when high score is achieved?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    most games I have seen just have GameCenter enabled and they are logged in it posts and if they are not it doesn't. I don't think I would use a GameCenter On/Off button.

    ___________________________________________________________________________________
    Project Help from Tenrdrmer Click Here

    GS BubbleBall Template HERE!!
    Stacks Level Selection Template HERE!!
    Expanding Option Menu Template HERE!!
    Tenrdrmer's Menu # 3 HERE!!
    Menu #4 - Level Banners HERE!!
    AppSolute Entertainment on Facebook
    AppSolute Entertainment on iTunes
  • hrsmediahrsmedia Member Posts: 522
    Yea most games I have seen log in to gamecenter when you start the game, and auto post scores. I have read on here that you should auto log in when the games starts, because it could cause a crash?

    The reason I was thinking to have an on/off button, was so if a user has an older version of IOS they wouldn't keep getting an error message, because I want to post score automatically when they achieve a high score.

    Should I not really worry about users with older IOS? Maybe have gamecenter active by default, and at options screen give user the option to disable it?
Sign In or Register to comment.