1 Reply Latest reply: Aug 26, 2014 4:00 PM by Unsanctioned RSS

    Game Center ane

    gregory-reg Community Member

      Is there any way to determine that achievement is already completed ?

       

      Best regards

        • 1. Re: Game Center ane
          Unsanctioned Community Member

          I'm assuming that you are using the Adobe Gaming SDK ANE for Game Center like I am.

           

          There does not appear to be a way to do so, which makes Adobe's implementation somewhat less useful. The documentation for com.adobe.ane.gameCenter.GameCenterAchievement is incorrect in places:

           

               1) GameCenterController.requestAchievements() incorrectly claims to "Request a list of GameCenterAchievement objects for a user."

               2) GameCenterAchievement incorrectly states that the "hidden" member "Indicates whether the user has completed this achievement."

           

          What GameCenterController.requestAchievements() is loading is a list of achievement descriptions for the app (i.e. GKAchievementDescription) and not achievements for the user (i.e. GKAchievement).

           

          It seems like there's a missing API in the Adobe implementation. The ability to load both the achievement descriptions and the achievement states for the user should both be included in the API.