0
votes

I have made 2 games, with the first being [Hangman PlayStoreLink] [code GitHubLink] and the most recent being [Reactions PlayStoreLink] [code GitHubLink].

Both games are working perfectly aside the Achievements and Leaderboard in Hangman. When making Reactions I copied the code across from Hangman for all the google services, so in that respect it's exactly the same.

Issues with Hangman:

  • Doesn't save achievements
  • Doesn't award achievements when milestones are reached
  • Doesn't load leaderboard when pressing the Leaderboard button
  • When loading your Play Games app it doesn't display "My Achievements" section, although this does display for Reactions

I'd expect to have the issue in both if it's not working in one of them, as I've done exactly the same in both.

Has any one else experienced this before? Can anyone help me sort this out? I want the players to be able to receive their achievements!

I've included links above to the code and Play Store links so you can test this and see the issues for yourselves.

1

1 Answers

0
votes

Well, make sure that you create your achievement by following the instructions here.

Go to the Google Play Developer Console entry for your game under the Games with Game Services tab, then select the Achievements tab on the left, and click the Add Achievement button. After that, simply fill out the information required for this achievement, then SAVE.

For the leaderboards, it is likely the same steps.

Also, double check if you properly follow the steps in Creating Client IDs and Configuring Services.

Once you publish your game, take NOTE that if you are using leaderboards and achievements in your game, these game features may not be immediately reflected under your game's listing in the Google Play Store until your users start earning achievements and posting scores.

For more information, check these thread