+3 votes

Hey, I'm trying to implement Google Play Services into my game to be able to use the leaderboards. I've been told that the best and latest module is https://github.com/FrogSquare/GodotGoogleService. Though I've never used a module before and I don't know how to set everything up. README.md file doesn't really help...

Thanks in advance.

in Engine by (15 points)

1 Answer

+2 votes

I don't know what modules/plugins are the best neither do I have any particular preference other than if it works well and if the developer replies to the issues and is helpful. So don't take this as an endorsement.

What you're trying to use is a module, and that requires you to compile Godot from source. Godot usually compiles well but if I can avoid custom builds, I do. I've used this one ( https://github.com/cgisca/PGSGP ) in 2 of my games and had no major problems - well, I did, but they were related to Google configurations and permissions.

One important thing to note is that Godot release 3.2.2 implements a different plugin architecture and it's not compatible with the 3.2.1 modules. My implementations were all 3.2.1 so I don't know if the developer supports 3.2.2.

Take a look.

by (104 points)
Can I make it work with C#?

Did you have error "Sign in failed 12501"? I have re-read many links on Google, but I do not understand at all what can be done. Thanks.

Have you solved the problem? I have same error 12501 even when I turn off internet in my phone. But I checked permissions.

I solved the issues for my case. I added required tags to wrong place.

<meta-data
        android:name="plugins"
        android:value="plugins_value"/>

<meta-data android:name="com.google.android.gms.games.APP_ID"
    android:value="@string/app_id" />

Wrong placement was behind
<!--CHUNKAPPLICATIONBEGIN-->

but to place it right after

<meta-data
        android:name="plugins"
        android:value="plugins_value"/>

works fine

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.