Gamecenter Question

Fal01Fal01 Member Posts: 460
edited February 2012 in Working with GS (Mac)
Hi all,
Can I have a single gamecenter button on my front screen that has both post score and view leaderboard attributes? Or do I need to have the
post score button at the end of the game?

Cheers.

It’s not a bug – it’s an undocumented feature

Comments

  • POMPOM Member Posts: 2,599
    edited February 2012
    If you want them to do separate tasks , You need to have 2 buttons ..
    But what you also can do is in one button this way :
    When touch is pressed :
    Post score to gamecnter
    Timer - after 0.2 sec
    View leader board .

    Just don't expect that the current score you just posted will be updated so quickly inside game center , so what will often happen is that the user will post the score and then view the leader board , but more likely he will not see the score he just posted .

    Roy.
  • Fal01Fal01 Member Posts: 460
    Cheers Roy,

    Just one more question! If I have my gamecenter button on my menu screen do I need to have a load attribute for 'score' on that screen?

    Cheers.

    It’s not a bug – it’s an undocumented feature

  • POMPOM Member Posts: 2,599
    Yes ! regardless to the game center button , you need to load all attributes that you saved from your previous session of play .
    So always load all saved attributes in your initial scene.

    Roy.
Sign In or Register to comment.