fredriksthlm's Recent Forum Activity

  • Any news? Possible to play somewhere yet? (looks awesome!)

  • The Scirra official plugin (for Googleplay) only work with the webAPI still? Not native android?

  • Ribis , What happened to this?

  • ludei or cranberrygame Do any of you plan to further develop any of your plugins for GooglePlayGames to be able to fetch data from the Leaderbord into the game? It is possible and works fine with the official Scirra plugin, but that plugin only works for web). Neither of your plugins has this functionality, but the functionality exists in the android API for google play.

    Will it be included in C3 plugins, or in the C2 ones?

  • I have not released the game, just testing and developing some stuff right now. But as far as I can see it works to submit scores with Coocon yes. (Never tried the cranberry one.)

    But since it is not possible to receive and show any scores at all except your own, this plugin lacks so much functionality so it is hard to see why I should use it at all

  • 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.

  • 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...

  • luckyrawatlucky Can you request scores from different timespans, different players, and see specific rankings in Cranberrys plugin? (in cocoon plugin this is not possible)

  • 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 .

  • API Console - > Credentials -> Client secret ( OAuth 2.0 client IDs)

    EDIT!

    Sorry, I just read this part from google API:

    Client secret (for web-based games only)

    If you are building a web-based application, you might also need your client secret to authorize your server-based API client. You can find your client secret by clicking on the linked application entry for your web application.

    At the bottom of the screen, you will see a link that redirects you to the Google API Console, where you will be able to find the Client Secret for this linked application.

    It says under Android, that you only need to specify App_ID (no secret)

    But maybe you can try your mobile app to connect to Web or Other.. since both of them has secrets generated. otherwise it "should" work for android with only APP ID according to the API help, you need to sign it with SHA1 when setting up

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • i didn't test it on mobile... I just tested the game using play button in construct.. So I cannot say how it works on mobile. (I used the Flappy bird game in Construct3 to test googleplay.)

    but as I said before, the client secret DO exist in google play services, and it is required to add it in construct, otherwise they will not communicate.

  • quite fun! But will it ever end? I have resqued many guys, and bought new gasoline and machine gun... Can you Finish in some way?

fredriksthlm's avatar

fredriksthlm

Member since 6 Jun, 2016

Twitter
fredriksthlm has 8 followers

Trophy Case

  • 8-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x42
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x10
    Lightning Draw First person to up-vote a new Construct 3 release
  • Email Verified

Progress

20/44
How to earn trophies