How do I make Google play services works (dashboard)

0 favourites
  • 5 posts
From the Asset Store
Google Analytics 4 Plugin for Construct 3 enables metrics and analytics for your games easily.
  • Hi,

    i'd like to develope a game with a hi score like flappy bird, and i really need google play leaderboards. I read that i have to export it in cordova then with xdk choose crosswalk or android. I have prepared all necessary in google developer console, taked the app id and insert into Google play in construct but it doesn't works, is there some trick, configuration to do in xdk to let this feature works?

    Thanks!

  • first make sure it works on the test mode of construct2. To do that, first u have to go your google play dashboard ->game sevices->select your game->on the bottom of screen u will see the name of your game in blue color. Clic there.->You are now on developer console. Clic on credentials on the left of the screen. (i know u know that. I say just in case <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> ). Make sure on ID of aplication web client -> javascript origins u have: http://localhost:50000, and in URIS: http://localhost.

    And u have to put the client ID on construct2´s GooglePlay plugin.

    Well... When u run test mode does it works??

    If the answer is yes, when u export to intel cordova u have to fill client secret too on googleplay object of construct.

    Now export to cordova. Open Intel XDK.

    And remember add the plugin of google services.

    To do that u have to add plug- ins from third parts, and, on the text box white: com.intel.googleplaygameservices (If u prefer, u can use the plugin checking the box on the intel xdk plugins).

    Sorry for my bad english.

    Tell me if now works

  • Thanks for quick reply, sorry my english too, im italian. I Tryed all the way, but there is something wrong. In test mode it open pop up continuosly...if i export to android when app starts a page with login appears, not like every game with google play game. The plugin com.intel.googleplaygameservices gives error in building whit xdk...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for quick reply, sorry my english too, im italian. I Tryed all the way, but there is something wrong. In test mode it open pop up continuosly...if i export to android when app starts a page with login appears, not like every game with google play game. The plugin com.intel.googleplaygameservices gives error in building whit xdk...

    In test mode it open pop up continuosly. -> This is very rare. How is your code? I mean,can you make a print screen of construct google play event?

  • I solve my problems, i simply buy this :

    https://www.scirra.com/store/royalty-fr ... rboard-538

    very good template and very kind and helpful developer. Recommended!

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