Gamecenter Log-In and Show Leaderboards in one Button

baboybaboy Member, PRO Posts: 93
edited January 2012 in Working with GS (Mac)
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!



Comments

  • POMPOM Member Posts: 2,599
    edited January 2012
    It might work , but i recommend not doing this ,
    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.
  • baboybaboy Member, PRO Posts: 93
    Thanks Roy! So i'll just scrap out the Gamecenter Login behavior and just leave the Showleaderboard behavior :)
Sign In or Register to comment.