GC Login & button to open GC in game

KrogothicKrogothic Member, PRO Posts: 123
edited November -1 in Working with GS (Mac)
Hi guys, I have game center up and running, and I see that we need a on / off or a connected button to stop the pop up errors.

My question is what do I add so someone can click my leaderboards and it open the GC page for my game.

Didnt see the link in the templet or i just missed it, I did try a few things but nothing opens GC window in the game.

Thanks for any help !

Krogothic

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    its the view leaderboard behavior

    and to turn gamecenter off make a attribute called gamecenterOff, set it to 0, and have the login behavior in a rule when attribute gamecenterOff=0

    then in your gamcenter on off button have a rule when touch is pressed
    -change attribute gaemcenterOff to (gamecenterOff+1)%2

    that will toggle it between 0 and 1 for you
  • KrogothicKrogothic Member, PRO Posts: 123
    Nice nice thanks very excited )
  • KrogothicKrogothic Member, PRO Posts: 123
    Another question, the show leaderboard rule, works good now, but I have 7 different leaderboards, if there a general one that will cover them all ?

    Or do i need to make a screen that a user can choose the one they want to c?
Sign In or Register to comment.