Sharing achievements accross Google Play games - android

Can Google Play achievements be shared between two different Google Play games? For example if a user unlocks some achievements on Street Brawler 1 game, can he keep those achievements and see them on his new Street Brawler 2 Google Play game?

That's not exactly true, you can add up to 20 games (link 20 package names) to one google play service, all sharing the same achivements and leaderboards. This is basically created to use the same achievements in the same game on multiple platforms, but you can also use it with totally different games.
You can add Street Brawler 1 and 2 (link them under google play services), use the same achievements ids in both games, and they will share the same achievements. If you got them in Street Brawler 1 you will have them in Street Brawler 2.

No, you can't do it. Achievements are associated to a particular application through the package name. If you publish a new game this one should have a different package name to be published in the market and therefore you will need to register and associate a new achievements list. However, it's totally possible to implement a migration/adapter system so you can have the achievements of the first game in the second game, but you know... you have to implement it by hand.

Related

Google Play Games, Achievements not showing

I have published my game for alpha testing, but for some reason I cannot see the Achievements in the Google Play Games app, althought I have 5 published achievements. There's just "ABOUT" and "PLAYERS" tabs.
Launching the achievements activity manually in my game does show the achievements.
What could possibly be wrong?
For latest games, You can't see the achievements unless you unlock one achievement.

Google play/ Game Centre access friends stats on games

Hi i would like to know if its possible to access via API on google play or Game Centre your friends list to see they're stats and achievements on a game you play together.
I would like to build a app that compares (like challenges) progress on a game played by two friends.
Thanks in advance.
You may want to check Play Services for Android, especially social leaderboards, which is made up of people in the user's circle. You may also want to check out Adding Player Stats to Your Android Game which contains the player's in-game activity, but I think this deals with all players in a game instead of just the friend list.

Why are Google Play games icons not shown in Play Store?

I have made a small game just to test my development skills. I integrated Google Play Game Services, like leaderboards and achievements. Why are the logos for leaderboards and achievements not shown in the play store? I'm talking about the logos that indicate, that this app supports the Google Game Services, so games know it.
Where can I enable the setting for that?
There is a minimum number of players needed to have signed in and been playing your game before the logos will appear. However, Google has not specifically released the number required, although testing shows it is at least 200.

Android Leaderboard Playstore Game Services

Is it somehow possible to set the public leaderboard to be the default one.
I am talking about the option when you show your leaderboard where is like
Social - All
I cannot find any option in Playstore's Game Services.
At this stage the API getLeaderboardIntent() does not allow you to set the filter for the leaderboard at launch. It is probably a workflow that is enforced by Google to promote adding friends to your G+ circles, but it makes for a really crappy experience when the player is the entry in their social leaderboard.
Hopefully this is made more flexible in a future update to play services.

How to get leader board and achievement information in Google Play Game Service

I'm programming a simple game to learn Google Play Game Service. After playing the game, the user will get a score. I want to get information about old high scores (to compare with recent score), or whether I get new high rank in my circle or not, or what achievement I unlocked. So, please help me how to get this information.
You can download achievement information as in this answer.
I believe that a similar way can be used to obtain leaderboard data with getGamesClient().loadLeaderboardMetadata()
AFAIK Google Play Game Services is not intended to work like this. The basic idea is that you submit achievements and scores to GPGS and it then does the rest. The user gets the information he/she is interested in by looking at the relevant achievement/leaderboard. If you really need to track and display all this information in your app then maybe you should implement your own system instead of using GPGS?
One important design consideration with GPGS is to avoid unnecessary API calls from your app (presumably because this costs Google money). If you were to query leaderboards and achievements in your app (say every second or minute) then the number of API calls each time your game was played could easily increase from a handful to hundreds or even thousands per play.
To get a better understanding of how Google would like you to use Google Play Game Services I recommend that you read the documentation and watch this recent video made by the GPGS team
:
Top 7 Google Play game services setup mistakes — Google Developers
https://developers.google.com/live/shows/5936979195723776

Categories

Resources