Clicker game demo for Android (built from Godot Engine).
- Google Play Games Services integration
- Architectures -> armv7, arm64v8, x86
- Particles
- BGM & SFX
- Trails (Line2D)
- Godot 3.1-stable (manual build)
- FrogSquare's modules:
- Clone Godot 3.1.1-stable.
- DO NOT FORGET TO CHECKOUT TO BRANCH 3.1.1-stable!
- Clone FrogSquare's modules and follow those instructions (add repos to "modules" directory etc).
- Customize FrogSquare's module by adding this line to GODOT_ROOT/modules/GodotGoogleService/android/PlayService.java:
Utils.callScriptFunc("GoogleService", "loginFail", "true"); // ADD THIS LINE
- Compile Godot for your development platform: Windows, Linux.
- Create and configure an App at Google Play Console.
- Link your game to a Google Play Games Services instance with achievements and leaderboards.
- Edit Achievements at Achievements.gd.
- Edit Achievements at Leaderboards.gd.
- Link your app to Firebase console and download google-services.json. Put it into GODOT_ROOT/platform/android/java.
- Compile the Android templates, passing your App ID to FrogSquare's GodotGoogleService module.
scons p=android target=release_debug android_arch=armv7
scons p=android target=release android_arch=armv7
scons p=android target=release android_arch=arm64v8
scons p=android target=release android_arch=x86
cd platform/android/java
./gradlew build
- Run the project and set the android templates.
- Set certificate keys and export a release apk.
- Upload it to Google Play Console.
- Access Network State
- Internet
- You will need to have your app "Published" at Google Play Console
- That doesn't mean having a public version, only means you must pass the initial "Pending publication" state.
- YOU CANNOT TEST AN UNPUBLISHED VERSION
- Yeah! You cannot build from Godot and go straight up testing your GPGS code, it won't work!
- You MUST upload it to App store as an Internal test AT LEAST.
- Any of these versions will be enough for a minimal test:
- Internal test
- Alpha test
- Beta test
- You must create a list of testers at Console.
- You must allow that list of testers (specially for Internal test) at Google Play Game Services tab (the GPGS one, not the App Console).
- Internal tests are instant, as fast as Google Drive access.
- Alpha and Beta can take ours to reflect changes in store.
- Published version may take days.