I am developing an android game with Google Play Game Services implemented in it. I'm using leaderboard from game services. Every week I want to award users with highest ranking with some gifts. Is there any way to get users email or different channel to contact user, so we will be able to determine where we should ship the gift?
Yes, but it is not a documented feature. You can use Games.Leaderboards.loadTopScores to get top scores. When you have a LeaderboardScore object you can use score.getScoreHolder().getPlayerId() to get his Google+ id. Then open https://plus.google.com/PUT_ID_HERE/posts and you can contact that player via Hangouts.
Related
I created an Android application (non-game) that already is alpha Test and now would like to leave it more attractive using the concept of Gamefication. Of course not want to start the implementation of the concept of zero, and would like to get the community some insight on the subject. So there's a few questions.
1) It is possible Gamefy an Android application non-game using Google Play Game API? This does not violate any rules of Google?
2) There are API's better than Google Play Game API for this purpose that non-game apps Android famous make use you recommend, or is it better to use Google Play Game API?
3) This question is specifically about Google Play Game API. As I said, currently my Android app is in Alpha Test, and his first screen is a Login / Registration screen. In this screen there are two buttons, one to log in via facebook and others via Google sign-in, where both are working perfectly. Assuming I use the Google Play Game API to Gamefy my application, it seems to me that the flow of login Google Play Game API is independent of the Google sign-in, which means you have to use only login via Google Play Game API, right?! If so, this would not be a problem since I also have the option to login via facebook? Another problem that worries me is that now I can return the User email it and some basic data either through the Google sign-in as facebook (user email is necessary, since sending this email to the server to create your account and session to keep the user logged in the app). Get email to log in with a User via Google Play Game API is possible and legal?
I want to use Google Play Game Services to implement multiplayer in my game. The game will be deployed on Android and iOS.
Is it neccesary for iOS user to have an Google account in order to use GPGS ?
For the users using your game, They must sign in with a Google account to use multiplayer so that Google could generate an ID of the user to store in the db for achievement or for game search.
And if they do like to play with a friend, the friend must be in their circles.
yes, I believe that the user needs to have a Google account. When you go to the Developer Console to register the game (https://play.google.com/apps/publish/signup/), you get prompted for signin via Google.
I am working on Google play game service
I have integrated code for real time player and its working.
Now i want to know some more feature that
I did not found after searching on Google are below
1. When user won the game it should update wining counter by one.
2. What is the ranking of user according to country
3. How to get user detail of opponent.
It sounds like you want to check out Leaderboards https://developers.google.com/games/services/common/concepts/leaderboards
You can create (currently) up to 70 leaderboards (maybe one for the country/regions of your players).
At the end of your game, you can update the user's score. The server keeps track of daily, weekly, and all time leaders. There is also the concept of Public and Social leaderboards so that may be a way to see the opponent's standing.
I wonder if it is possible to sign in multiple player at the same time or store the login-info somehow for Google play games services. I developed a scorepad app and would love to sync games from different devices with the PlayGames-Accounts of the players. They are all present and play with one device. So it would be useful if different players can stay logged in on this device. Is this possible? Actually they dont have to be logged in at the same time, but it would be nice if they would only have to enter their login-data once on each device.
What do you think?
Thank you for your thoughts
Frank J.
It's possible to sign in and out of an account associated with Google Play Games on an Android device. The separate accounts will have private leaderboard scores, achievements, cloud saves, and so on.
How would a game chat lobby be implemented in Google play game services.By a lobby i mean allows chat and inviting others users to play.
So far in the examples i have seen from Google (Button Clicker), invites start a room. What i need is one or later more central rooms that users can connect to and send messages and then initiate invites. Is this possible?
With random matching , the player may have to wait a while to get an opponent and invite friend on google+ , the friend needs the app installed and the app open to play.
Unfortunately, No at this time. (follow up edit for below)
Google Play Services does not currently maintain a "meeting room" part to their API. In order to have a lobby, you would have to host it completely separate to the Google Game Services API's (but could have them login to their G+ accounts to gain access to your lobby. But, as you stated, in order for a specific link up to occur, each player must have the other player in their circles, so even if players wanted to ask another player in the room to play, a process for adding them to their circle would need to exist within the lobby room portion of your application.)
Joining by Random play as currently implemented would still be faster than a lobby room, since as soon as a viable match is available, G+ will auto link up the players and send the start message. For the lobby room with players already in their circle(s), the invitation system (combined with a quick email/sms) does still allow for fairly quick linkup of known players with each other.