How do I Set Up Google Play Game Services for Mobile Export

Get help using Construct 2

Post » Fri Jun 24, 2016 10:46 pm

Hello Construct 2 community,

I've been struggling with this for a long time now and it seems like the internet doesn't have the solutions I'm looking for. :x

I'm trying to export an app to android (export using cordova and then through intel XDK), and I'm also trying to integrate Google Play Game Services to work on the mobile export. As I understand it, the normal Construct 2 plugin for Google Play Game Services doesn't work for mobile exports. Knowing this, I downloaded Cranberry's Cordova-game-plugin. This plugin seems to mirror the built in Scirra plugin, except that it lacks a condition to check if the service has loaded.

This is a guide that I followed to try and get the Cranberry plugin to work:
https://www.scirra.com/tutorials/4864/h ... mes-plugin

No matter what I try, I can't get Google's Game Services (leader boards, achievements, etc.) to work on the mobile export. Does anyone have any experience with setting it up? (Using any method, as long as I can get it to work I'll be happy) I know this particular question regarding Google Play has been asked many times, but I have yet to find a decent in depth explanation.

If anyone has some insight, I would love some help; any and all tidbits of information / details would be incredibly helpful. :D

(If I can find a way to do this, I may even write a guide to help others, because it seems like this is a somewhat common topic)

Thank you,

Avix
B
9
S
2
G
1
Posts: 4
Reputation: 712

Post » Sat Jun 25, 2016 2:23 am

After a few more hours of debugging, I realized something! I think the last issue with my setup was not including a user-invoked trigger. So the Game Services seem to be working! If anyone out there is stumped as I was and would like a guide to setting up Google Play Game Services on a mobile export; leave a reply to this post and I'll make one!

Cheers,

Avix
B
9
S
2
G
1
Posts: 4
Reputation: 712

Post » Wed Aug 17, 2016 7:34 pm

Do it!
B
15
S
4
Posts: 25
Reputation: 1,125

Post » Tue Sep 27, 2016 4:49 pm

Please man, we need it! lol
B
6
Posts: 1
Reputation: 252

Post » Tue Sep 27, 2016 5:43 pm

@Avix101 I'll definitely be interested! I've been meaning to add Google Play Game Service on my apps but can't seem to find the correct (or updated) instructions for it.
B
28
S
11
G
15
Posts: 47
Reputation: 9,533

Post » Sat Oct 22, 2016 5:11 pm

I just got the Cranberry pack. I found only one Google plug-in, but in Construct 2, the plugin says nothing about leaderboard stuff.

The only Google related one is the Analtytics but has no mention of a leaderboard. This tutorial talks about it but doesnt say which Plug-in specifically to use:

https://www.scirra.com/tutorials/4864/h ... lugin#h2a1
B
20
S
7
G
3
Posts: 302
Reputation: 3,634

Post » Sat Oct 22, 2016 5:31 pm

B
20
S
7
G
3
Posts: 302
Reputation: 3,634


Return to How do I....?

Who is online

Users browsing this forum: Alvaro2, Yahoo [Bot] and 16 guests