How do I [Google Play Leaderboards]

Get help using Construct 2

Post » Wed Oct 22, 2014 12:44 am

I have looked everywhere on the forums and cannot find anything up to date on the matter, but here is my issue. I have the new beta build of construct 2 (r185), and trying out the Google Play Leaderboards. This is something I have been trying to impliment for a span of days and keep getting stuck. I have finally got the scores to post! YAY!! But I cannot figure out how to view the leaderboards in game, atleast on the preview. I have my http that the game tests on added to my testing addresses, so that allowed the scores to post. I can't figure out how to make the leaderboards show up in game though.. here is some screenshots of my latest attempt.
Capture1.JPG
Capture.JPG

This is the only thing that's holding me back from releasing my leaderboard update for my android app.
Thanks in advance!
You do not have the required permissions to view the files attached to this post.
B
35
S
10
G
4
Posts: 94
Reputation: 4,083

Post » Wed Oct 22, 2014 1:33 am

did you fill out the properties on the Google play object?
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Wed Oct 22, 2014 1:42 am

Yeah, if you are referring to the App ID, Client ID, and Client Secret. Also double and triple checked to make sure they are correct.
B
35
S
10
G
4
Posts: 94
Reputation: 4,083

Post » Wed Oct 22, 2014 3:03 am

I just reread your post. I haven't used the official plugin yet but have you built an apk yet it most likely cant work in preview just like ads
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Wed Oct 22, 2014 10:57 am

I haven't built an apk since trying this. I will do that though and follow up here if it works. I was able to post a score to the leaderboards though using the "run as admin" preview.
B
35
S
10
G
4
Posts: 94
Reputation: 4,083

Post » Thu Oct 23, 2014 10:13 pm

I compiled the app and got a working APK of the game. When I go to leaderboards, it signs you in, but doesn't show the leaderboards. I think the posting of the leaderboard is working because in my dev console it is showing a score submitted.Any idea as to why the leaderboards aren't showing? Am I doing something wrong? If so, please help! <3
B
35
S
10
G
4
Posts: 94
Reputation: 4,083

Post » Sat Nov 01, 2014 12:08 am

I have just come across the same thing in experimenting with one of my games. Is it possible there is no popup that shows up and this needs to be created manually?
B
17
S
2
G
6
Posts: 16
Reputation: 4,292

Post » Sat Nov 01, 2014 12:16 am

Hey guys remember that Google Play Game Services were added as a "experimental support for PhoneGap and Crosswalk" so things may not work properly.
The best would be to get @Ashley here to get a look if this is an issue on plugin side or yours.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,835

Post » Sat Nov 01, 2014 12:21 am

Oh, I should mention I'm not even trying to use it with Crosswalk or Phonegap atm. Just preview. I can get the auth and the login welcome back thing comes up but scores are not working.
B
17
S
2
G
6
Posts: 16
Reputation: 4,292

Post » Sat Nov 01, 2014 1:12 am

The events in your screenshots make no sense. When the hi-scores are received, you just request the hi-scores again, so it will loop around and around constantly making more requests. Google Play might even have temporarily banned you for making too many requests.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Next

Return to How do I....?

Who is online

Users browsing this forum: David181, OBLIVION, senecaa, Yahoo [Bot] and 24 guests