How do I create a Google Play Leaderboard?

Get help using Construct 2

Post » Sun Feb 01, 2015 12:15 pm

I want to create a Google Play Leaderboard for my Cordova App. I already created a Leaderboard in my Google Developer Account.
How do i have to make the events and how to link them together?
Thanks :D
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Feb 01, 2015 1:05 pm

First you need to have an .apk online. Doesn't have to be live but you need your signature/footprint to link you rgame service to the app. If you have an apk uploaded you can go to google game service and link it to an existing app. It will show you all your possible apps.

The you should integrate cranberry's game plugin. That gives you simple events like "submit score" and "open leaderboard". If you set this up you need to give it the "highscore id" shown in your google games setup. When you export it to intel xdk you need to add your google app id to that.

It works very well. :-)
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Sun Feb 01, 2015 2:02 pm

Does that work?
You do not have the required permissions to view the files attached to this post.
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Feb 01, 2015 2:10 pm

I have a global variable with the Leaderboard id

*what do you mean with the app id?

Thanks :D
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Feb 01, 2015 3:07 pm

That is the cocoonjs plugin from ludei. It is extremly deprecated. You shouldn't use that in my opinion. I was talking about exporting cordova -> crosswalk -> intel sdk.

App ID is a number you can find next to your game service bame in google developer console. The cocoonjs plugin would need that too. I think it was in the plugin settings.

I cant help you any further. I haven't been using cocoonjs for over six month now. There are still some developers and believers who might be able to help you but I guess the number is decreasing.
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Sun Feb 01, 2015 3:13 pm

So which plugin should i use now?
Can you send me the Plugin name and ID?
Or is it a Plugin for C2?
Thx
Last edited by aquadijoib on Sun Feb 01, 2015 3:35 pm, edited 2 times in total.
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Feb 01, 2015 3:17 pm

Es könnte um einiges einfacher sein Deutsch zu schreiben... :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Feb 01, 2015 5:25 pm

https://plus.google.com/communities/117 ... 5005605917
viewtopic.php?f=153&t=109586&p=800966#p800966

you need the "game" plugin by cranberry, it is free.

I don't want to talk german on the forum so other people can follow topics. If you have a complex question you can pm me.
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Sun Feb 01, 2015 6:59 pm

I got that error message now:
You do not have the required permissions to view the files attached to this post.
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Mon Feb 02, 2015 6:57 pm

@aquadijoib

I'm stuck with that error message as well
B
50
S
22
G
14
Posts: 174
Reputation: 10,842

Next

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 6 guests