Gamecenter Log-In and Show Leaderboards in one Button
I have a gamecenter button in the opening screen with this rule:
When touch is pressed
-Log-In Gamecenter Behavior
-After .1 seconds
Show Leaderboards Behavior
Questions:
1. If the user isn't logged in, will it show login prompt first then show the leaderboard?
Or does the user need to press the button again to show the leaderboard?
2. If user is already logged in, will it show the leaderboards only when the button is pressed?
or will it prompt the user again to login then show the leaderboard?
3. Will this work? heheh
Thanks!
When touch is pressed
-Log-In Gamecenter Behavior
-After .1 seconds
Show Leaderboards Behavior
Questions:
1. If the user isn't logged in, will it show login prompt first then show the leaderboard?
Or does the user need to press the button again to show the leaderboard?
2. If user is already logged in, will it show the leaderboards only when the button is pressed?
or will it prompt the user again to login then show the leaderboard?
3. Will this work? heheh
Thanks!
Comments
My suggestion will be to either put 2 separate buttons for each action , or put only one button for show leaderboard , after all once the player presses it , it will automatically prompt him to log in even without the "log in" behavior
Cheers
Roy.