google-play-games

How can i make the enemy go to the character position?

微笑、不失礼 提交于 2021-01-29 07:50:56
问题 What my game has is a character in a preset position in a 2d-game mobile(x=0.33, y=9.48, z=0). I have enemys that are spawn from different angles of the screen with a movement script. But i have to modify the script so it moves towards the character position always. Tried to set the position of the enemy = with character position. but that doesnt work. Anyone has any idea how can i do that? here is the script: /// //Speed - essential : true ? let speed; let enabled = false; let phys; function

Android: Google Sign In - difference between 'DEFAULT_SIGN_IN' and 'DEFAULT_GAMES_SIGN_IN'

℡╲_俬逩灬. 提交于 2020-12-06 06:54:16
问题 I am trying to implement a Google Sign In into my app in AndroidStudio. I have it working with: GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN).requestEmail().requestServerAuthCode(clientID).build(); I have my client ID correctly set up to the Web Application Client ID from the API console and SHA1 is definitely set up correctly. When i change to this (using DEFAULT_GAMES_SIGN_IN instead): GoogleSignInOptions gso = new GoogleSignInOptions.Builder

Can't sign in Goolge Play Game Services: Must have a game ID to sign in

雨燕双飞 提交于 2020-06-27 12:43:30
问题 I am trying to integrate Google Play Game Services but can't sign in. I know some developers ask about this problem before but the problem is nobody asked about the error I am encountering. The log is this. Must have a game ID to sign in! Status{statusCode=unknown status code: 12501, resolution=null} Invalid (empty) game ID found in the EXTRA_GAME_ID extra. I was just following the tutorial on the official doc. What is the cause of this error possibly? Seems like no one asked about this error

Android App Bundle kills Google Play Games integration - Working with plain old APK - How can I fix this?

為{幸葍}努か 提交于 2020-06-17 02:15:08
问题 Here are the facts: My game app is 100% working with debug keystore signed apk using Google Play Games, can sign in, unlock achievements. My game app is 100% working with release keystore signed apk using Google Play Games, can sign in, unlock achievements. Whenever I try to sign in to Google Play Games with my app using app bundle instead of apk, I get SIGN_IN_REQUIRED error , which is stupid on its own, considering I literally want to sign in. I only found one guy who found the same issue

When a peer disconected from a room in google play services

寵の児 提交于 2020-02-28 18:57:29
问题 What is the different between a peer dissconnected to a peer leaving a room. if a participent disconnect from a room, what would his status be? STATUS_JOINED or STATUS_LEFT? I'm working on a fairly long turn based game (should be a few minutes game) and i believe there would be alot of disconnecting cases that i would like to resolve. Would it be possible to resend an invitation to the disconnected user and get him back to the room? if the room creator got disconnected, and the previuse was

When a peer disconected from a room in google play services

旧时模样 提交于 2020-02-28 18:56:52
问题 What is the different between a peer dissconnected to a peer leaving a room. if a participent disconnect from a room, what would his status be? STATUS_JOINED or STATUS_LEFT? I'm working on a fairly long turn based game (should be a few minutes game) and i believe there would be alot of disconnecting cases that i would like to resolve. Would it be possible to resend an invitation to the disconnected user and get him back to the room? if the room creator got disconnected, and the previuse was

Get User ID From Google Play Games API?

≯℡__Kan透↙ 提交于 2020-02-25 06:56:06
问题 I'd like to be able to link users in one game to users in another game such that users that unlock certain achievements in game 1 are able to receive special items in game 2. This is very similar to how Blizzard does it where buying like X in Hearthstone gives you a special mount in WoW. I know we could manage our own account system but we're hoping there's an easy way around that. I've been researching Google Play Games and it seems like that could be the ticket but I can't seem to figure