How do I make Google play services works (dashboard)

Get help using Construct 2

Post » Fri May 22, 2015 7:03 pm

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!
B
10
S
1
Posts: 49
Reputation: 600

Post » Sat May 23, 2015 1:34 am

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 ;) ). 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
Play my games on www.pocketgames.es
B
13
S
3
Posts: 45
Reputation: 819

Post » Sat May 23, 2015 1:25 pm

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...
B
10
S
1
Posts: 49
Reputation: 600

Post » Wed May 27, 2015 9:20 pm

markuzz78 wrote: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?
Play my games on www.pocketgames.es
B
13
S
3
Posts: 45
Reputation: 819

Post » Thu May 28, 2015 10:14 am

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!
B
10
S
1
Posts: 49
Reputation: 600


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests

cron