Implementing/Integrating Gamecenter
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.
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
___________________________________________________________________________________
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
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?