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

0 favourites
  • 7 posts
From the Asset Store
a ready made template of Mobile Advert, Google Play and Mobile IAP Plugin,
  • 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. <img src="{SMILIES_PATH}/icon_mad.gif" alt=":x" title="Mad">

    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. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    (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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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

  • Do it!

  • Please man, we need it! lol

  • 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.

  • 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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)