How do I add Google Play achievements and leaderboards?

Get help using Construct 2

Post » Thu Dec 08, 2016 7:51 pm

I got the Play Store license, my game published there (exported with Cordova on Intel XDK) and I've read the Scirra tutorial on the Play Store several times, but when I reach the part it says I need to create the service as an Web app and the Dev console asks me the URL the game is played, I don't know what to say.

Is the tutorial up to date? Should I try another plugin?

I just want people to login, play a bit, get a couple of achievements and compete on the leaderboards.

Thanks for the info.
"Players are artists who create their own reality within the game."

- Shigeru Miyamoto
B
25
S
8
Posts: 16
Reputation: 1,978

Post » Fri Dec 09, 2016 5:20 pm

The URL of your game is the address that you have it posted to.

In order to do what you are asking, you have to have a server-side application talking to a database or cache.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Fri Dec 16, 2016 1:47 pm

gumshoe2029 wrote:The URL of your game is the address that you have it posted to.

In order to do what you are asking, you have to have a server-side application talking to a database or cache.


That sounds complicated, kinda...

I've been doing some research and I've found a plugin called Cransberri, should I just buy that plugin and use it? Looks way easier.
Thanks for your response!
"Players are artists who create their own reality within the game."

- Shigeru Miyamoto
B
25
S
8
Posts: 16
Reputation: 1,978

Post » Sat Dec 17, 2016 4:48 pm

Marxally wrote:
gumshoe2029 wrote:The URL of your game is the address that you have it posted to.

In order to do what you are asking, you have to have a server-side application talking to a database or cache.


That sounds complicated, kinda...

I've been doing some research and I've found a plugin called Cransberri, should I just buy that plugin and use it? Looks way easier.
Thanks for your response!


With the advent of virtual servers, it is really not bad now.

But that plugin might work for you too. It would talk to Google servers.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Sun Dec 18, 2016 2:10 pm

Marxally wrote:I got the Play Store license, my game published there (exported with Cordova on Intel XDK) and I've read the Scirra tutorial on the Play Store several times, but when I reach the part it says I need to create the service as an Web app and the Dev console asks me the URL the game is played, I don't know what to say.

Is the tutorial up to date? Should I try another plugin?

I just want people to login, play a bit, get a couple of achievements and compete on the leaderboards.

Thanks for the info.


Hi,

I made a guide for the leaderboard setup here.
https://shatter-box.com/knowledgebase/c ... eplaygames

It works the same if you use Intel XDK. Here is a guide for exporting with Intel XDK
https://shatter-box.com/knowledgebase/i ... nstruct-2/

If you need a template, I can recommend you my Leaderboard Template here.
https://www.scirra.com/store/royalty-fr ... rboard-538

It includes a version for cocoon and for Intel XDK.

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
93
S
32
G
30
Posts: 1,095
Reputation: 27,510


Return to How do I....?

Who is online

Users browsing this forum: ksiads and 1 guest