Google Play Games is a native extension that enables the use of Google’s game services on Android. The extension provides unified leaderboards, achievements and authentication in Google Play.
It is possible to authenticate Android users within the games, Â submit high scores, unlock achievements (managing incremental achievement progress), Â show native Google Play achievements and leaderboard views, Â load achievement and score data as ActionScript objects to create your own custom views.
Sample
GoogleGames(logCallback:Function = null) create(logCallback:Function = null):GoogleGames dispose():void getCurrentPlayerId():String incrementAchievement(achievementId:String, numSteps:int):void isSignedIn():Boolean isSupported():Boolean loadAchievements():void loadLeaderboardMetadata(leaderboardId:String = null):void loadScores(leaderboardId:String, timeSpan:int, playerCentered:Boolean = false, forceReload:Boolean = false):void revealAchievement(achievementId:String):void showAchievements():void showLeaderboard(leaderboardId:String = null):void signIn():void signOut():void submitScore(leaderboardId:String, score:int):void unlockAchievement(achievementId:String):void
RT @as3gamegears: New: Google Play Games (native extension to use Google’s game services on Android) http://t.co/ilPDpUgoq8 #as3 #flash #ga…