AmazonGameCircle is a native extension to use the services of Amazon Game Circle. According to Amazon description, the service should provide the tools to implement achievements, leaderboards, and saved game syncing across multiple devices. Once an app integrates with GameCircle, customers can seamlessly play games and interact with other gamers across mobile devices. The extension has methods to request and update leaderboards/achievements, as well as the ability to show the game circle screen or a sing in page.

When the extension is initialized, developers can use a set of events to monitor when the service becomes ready. It’s also possible to monitor other actions, such as score submission.

Sample

AmazonGameCircle.getInstance().addEventListener(AmazonGameCircleEvent.SERVICE_READY, handleAmazonGameCircleEvent);
AmazonGameCircle.getInstance().addEventListener(AmazonGameCircleEvent.SERVICE_NOT_READY, handleAmazonGameCircleEvent);
AmazonGameCircle.initialize();

private function handleAmazonGameCircleEvent(e:AmazonGameCircleEvent):void {
  switch (e.type){
      case AmazonGameCircleEvent.SERVICE_READY:
          // Game circle ready           
          break;
      case AmazonGameCircleEvent.SERVICE_NOT_READY:
          // Game circle not ready
          break;
  }
}

AmazonGameCircle.submitScore(leaderboard_id, value);
AmazonGameCircle.showLeaderboard(leaderboard_id);
AmazonGameCircle.updateAchievement(achievementId,progress);
AmazonGameCircle.showAchievements();
Air Native Extension, Android . URL.