Google Play Services plugin is broken, fix it please!!!!!!!

Report Construct 2 bugs here.

Post » Sat Aug 19, 2017 3:05 pm

So Google Play features doesn't work too? :/ idiotic.
Image
B
9
S
2
G
1
Posts: 36
Reputation: 643

Post » Sat Aug 19, 2017 5:09 pm

My findings..

The regular GooglePlayGames plugin works , but only for web-applications. You CAN use it even for cordova (mobile) apps. But it will NOT use the googlePlay native app to login, it will send you to the web browser-> login Google account thingy.
It looks unproffesional and really really UGLY. (If you use this plugin for mobile apps, you set it up as an web app in google play console, NOT android app, since this plugin just uses the web interface)
You do not need to add any plugin in the compiler.

If you use the cocoon GooglePlay plugin, it works with the native android GooglePlayGames-sign in, which is smooth and really good. But this plugin really do not have any behaviours for requesting scores and show different players etc. It is just a "link" to open the Leaderboard in the native GooglePlay-app. This is ugly as hell, and is not a fine solution. Since you of course want to have the leaderbord within the game! (who designed this plugin? many features are missing)

The cranbery plug I have not tested, does it work with native GooglePlay sign in (like cocoon) AND does it have actions for requesting scores/data etc (like the regular Scirra GooglePlay plugin) ?

I know you have deep knowledge regarding this, am I correct on the above? @AndreasR , @Artpunk .
Last edited by fredriksthlm on Sun Aug 20, 2017 12:09 pm, edited 1 time in total.
B
15
S
4
Posts: 84
Reputation: 1,148

Post » Sat Aug 19, 2017 5:15 pm

yes cranberry plugin works well
i use this on my game and it works fine
but i don't know how to use it without intel xdk
Image
B
68
S
40
G
48
Posts: 680
Reputation: 34,076

Post » Sat Aug 19, 2017 5:34 pm

@luckyrawatlucky Can you request scores from different timespans, different players, and see specific rankings in Cranberrys plugin? (in cocoon plugin this is not possible)
B
15
S
4
Posts: 84
Reputation: 1,148

Post » Sun Aug 20, 2017 9:42 am

Message: Niespor can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Calling @rexrainbow to the rescue! :D Any idea to make the plugin work with https://build.phonegap.com/apps phonegap?
Image
B
9
S
2
G
1
Posts: 36
Reputation: 643

Post » Sun Aug 20, 2017 12:43 pm

I did not make any mobile specific plugin before.
But I had a plugin to call javascript api, it could be used call phonegap plugin.
B
109
S
27
G
278
Posts: 4,483
Reputation: 155,426

Post » Sun Aug 20, 2017 1:14 pm

fredriksthlm wrote:The cranbery plug I have not tested, does it work with native GooglePlay sign in (like cocoon) AND does it have actions for requesting scores/data etc (like the regular Scirra GooglePlay plugin) ?


Sorry for delayed response. In my testing with Cranberry CordovaGame plugin and Cocoon GooglePlay plugin I have only used the conditions / actions related to logging in and unlocking achievements. I haven't played with leaderboards in my games yet.

The CordovaGame plugin does login in a similar way to the Cocoon plugin, at least from the user's perspective they both look very similar in terms of the types of notifcations you see etc.

As for what options there are to access leaderboard info, I posted a pic showing the conditions / actions available within CordovaGame, in case thats useful:

Image
B
74
S
52
G
62
Posts: 406
Reputation: 39,075

Post » Sun Aug 20, 2017 1:31 pm

@Artpunk thank you very much! Highly appreciated!

Obviosly Cranberys plugin do not support fetching the leaderboard either. Really really disappointing!

So then there are actually no existing plugin at all that supports fetching data from GooglePlay leaderboards for cordova games...

I like Construct2, but this is one of the biggest disadvantages. It works to integrate with other systems, but all plugins seems only to be "half developed" and theauthors just quit in the middle of the development. So there are just a very limited support of the functions.
I can pay for a plugin, but if I do I want it to support the functionality in full.
The strangest thing is that the scirra official plugin has most of all functions, but it only works for web apps, and not mobile apps...
B
15
S
4
Posts: 84
Reputation: 1,148

Post » Sun Aug 20, 2017 2:05 pm

fredriksthlm wrote:Obviosly Cranberys plugin do not support fetching the leaderboard either. Really really disappointing!

Well I see there are actions in the CordovaGame plug to 'show leaderboard'. So thats not what you want?

Or you're saying you want to be able to customise how the leaderboard is shown in your game?
B
74
S
52
G
62
Posts: 406
Reputation: 39,075

Post » Sun Aug 20, 2017 2:18 pm

@Artpunk , hmm.. no, I want to fetch scores and player data from the leaderboard, not to just open the GooglePlayGames app leaderboard.

'Show leaderboard' is just a "link" to open GooglePlayGames Leaderboard. I want to fecth the data into the game. It works fine with the official scirra plugin, but that is only for web apps, not mobile.

To just link to the GooglePlay do not really look nice in my opinion.

To illustrate: I want to be able to have a text like this in the game: "Come on, beat the current champ, Artpunk is currently the best player with a score of 53218" and then maybe a text to display the five best players of the week scrolling in the down.. or for a driving game: "Race! Beat the time 2,40 to became new champ! Current best player is Artpunk".. whetever like that...

You remember when you play pinball machines or like pacman or whatever in the local mall, there are always a top high score list scrolling when you die..

These functions exists in the scirra plugin, AND it exist in the android API, ( https://developers.google.com/android/r ... boardScore ) but it is not implemented into Cranberry or Cocoon plugins... really sad.
B
15
S
4
Posts: 84
Reputation: 1,148

PreviousNext

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests