GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

No Scores in GC?

Why does it say No Scores every time I click on the leaderboard button in my app on test flight?

Here is my coding for the button:

I click on the button, it shows the leaderboard, but says No scores...

Thanks for your help,
~G4L

Comments

  • greywolfxgreywolfx Posts: 24Member, PRO

    Go to your apple acct. go to features and then go to game center. press "more.." on the right next to leaderboards. press delete test data. hope that helps.

  • Games4lifeGames4life Posts: 279Member, PRO

    @greywolfx said:
    Go to your apple acct. go to features and then go to game center. press "more.." on the right next to leaderboards. press delete test data. hope that helps.

    I clicked that, now what?

  • greywolfxgreywolfx Posts: 24Member, PRO

    it should work. if not there is another issue. possibly where you placed that button with regard to when the the attribute saves to the table. hopefully its working though.

  • Games4lifeGames4life Posts: 279Member, PRO

    @greywolfx said:
    it should work. if not there is another issue. possibly where you placed that button with regard to when the the attribute saves to the table. hopefully its working though.

    I tried that and tested it on test flight, but still nothing. Is there anything else?
    Thanks for your suggestions so far!
    ~G4L

  • greywolfxgreywolfx Posts: 24Member, PRO

    Lets start from the end of the game... Game ends...put a rule in best score to reflect that when the game ends save bestscore to a table. then in ur button.. no matter where or when it is pressed... when press is released... do...change attribute- set game.bestscore to tablecell value of table-x row 1 col 1,....then say post score (bestscore) to leaderboard...show leaderboards. that should do it :)

  • Games4lifeGames4life Posts: 279Member, PRO

    @greywolfx said:
    Lets start from the end of the game... Game ends...put a rule in best score to reflect that when the game ends save bestscore to a table. then in ur button.. no matter where or when it is pressed... when press is released... do...change attribute- set game.bestscore to tablecell value of table-x row 1 col 1,....then say post score (bestscore) to leaderboard...show leaderboards. that should do it :)

    Create a whole new table?

  • greywolfxgreywolfx Posts: 24Member, PRO

    no. i mean for x to represent whatever you named the table that bestscore is saved to.

  • Games4lifeGames4life Posts: 279Member, PRO

    @greywolfx said:
    no. i mean for x to represent whatever you named the table that bestscore is saved to.

    @greywolfx said:
    no. i mean for x to represent whatever you named the table that bestscore is saved to.

    I did not save the bestscore to any table... Was I supposed to?

  • greywolfxgreywolfx Posts: 24Member, PRO

    yes. always work with a table for topscore tracking/recording. check out dave the gurus tutorials with GameSalad and tshirt booth guy from GS helper has good videos too. i learned everthing i know from utube videos. Add that table to save bestscore at the end of every game and then in ur button... when press is released...add a change attribute and set game.bestscore to tablecell value of table-x row 1 col 1,....then say post score (bestscore) to leaderboard... then -> show leaderboards. it should work. Also make sure ur signed in to GC when u look at the leaderboards and clear your test data if not working. these additional steps are good to take before tearing apart ur game to find a problem that may not even exist in ur programming at all. in your case, definately use a table.

  • Games4lifeGames4life Posts: 279Member, PRO

    @greywolfx said:
    yes. always work with a table for topscore tracking/recording. check out dave the gurus tutorials with GameSalad and tshirt booth guy from GS helper has good videos too. i learned everthing i know from utube videos. Add that table to save bestscore at the end of every game and then in ur button... when press is released...add a change attribute and set game.bestscore to tablecell value of table-x row 1 col 1,....then say post score (bestscore) to leaderboard... then -> show leaderboards. it should work. Also make sure ur signed in to GC when u look at the leaderboards and clear your test data if not working. these additional steps are good to take before tearing apart ur game to find a problem that may not even exist in ur programming at all. in your case, definately use a table.

    Awesome, thanks I will check it out.
    ~G4L

Sign In or Register to comment.