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.
Related
Basically, what I am trying to do is to get the user's data from all the games that he played, as 'Play Games' app do. I want to know the user's games played, achievements and so on.
I have tried the Google Sing in but it requires a game from my Google Developer Console to get data from.
All the information I found around the internet are for your own game, at this point I am wondering if it is even possible to achieve what I am trying to do.
After hours searching, I decide to ask for help here.
Thank you in advance for all.
I am a complete beginner in android development and for self-learning purposes thinking of creating a visualisation tool where different progress graphs of user's high score vs time or latest scores among all games will be displayed. The game in observation can be any game selected by user from the list of all games played by him till date. I just want to know is this possible to do in google play games API? If yes how can I do so? i.e. displaying high score or latest score from any game played by him till date?
Using google play games API this would not be possible to get data of other games played by user.
I want to create a small application in android that just lists upcoming games with their release dates. Ideally this will provide a thumbnail of sorts that when clicked will take the user to that games in android. If application is installed then linked otherwise connect with store for install that game. I want to use thegamesdb.net, I have to sample code.
I am getting game list and details but I want to play that games which is in games list.
please help me How can I achieved it in Android.
reference link is http://thegamesdb.net/
Thanks in advance
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.
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