Best Practices for Game Center Login?
Can someone tell me (or point me to) what the best practice is for logging a user into Game Center? Is it best to put the login behavior at the title screen? If someone doesn't want to sign up for Game Center, will they get prompted to sign up/login every time they start up the game?
Best Answer
-
MarkOnTheIron Posts: 1,447
Yes it makes sense but it's always been like this. Take a look at all the games you've downloaded that have GC. In every one of them if you achieved something and then reset the game the achievement in GC will remain. So you're not alone.
What you can do is to create the achievements to also be in the game, with custom made banners and a dedicated scene to show them. That way when you reset the game you will be able to reset them also. Obviously they will be out of sync with the GC ones but there's nothing you can do about it.
As for the login problem I have in my games a page that shows up the very first time you open the game asking the user if they want GC or not. If the answer is yes I change an attribute and then every time the user open the game it will be automatically logged in. Then I have a button in the settings page that allow the user to turn on/of GC again if he wishes so.
Answers
i.e. when [touch] is [pressed] - use login behaviour
& you can put this behaviour anyway you think is suitable
I'm not really understanding but if you have a button to reset a game, you should also reset achievements in the same button!
Hope this helps
~~