Game Template 2 - Leaderboard (Templates)

  • Looking at the release date, is this template still applicable now?

    Thanks

    Hi,

    yes it is The template will be updated regularly.

    Regards

    Andy

  • In your game Match3, I can see that you fetch your own high score into the game, but the leaderboard button just opens the GooglePlay screen, with the different leaderboards.

    But in this template, is it possible to fetch the high score lists (different lists like, best of the week, month, ATH, etc) with names and scores into the game itself. Without just opening the GooglePlay screen.

    From the manual for the official GooglePlay plugin that seems to be possible to do.

  • In your game Match3, I can see that you fetch your own high score into the game, but the leaderboard button just opens the GooglePlay screen, with the different leaderboards.

    But in this template, is it possible to fetch the high score lists (different lists like, best of the week, month, ATH, etc) with names and scores into the game itself. Without just opening the GooglePlay screen.

    From the manual for the official GooglePlay plugin that seems to be possible to do.

    Hi,

    it's possible, but this needs to be integrated in the Cocoon Google Play Games plugin.

    You would need to ask ludei (CocoonGooglePlayGames) or cranberrygame (CordovaGame) in order to implement those features.

    I'm not the author of the plugin itself.

    Let me know if you have any further questions.

    Regards

    Andy

  • Hmm.. okay. Then Cranberrys plugin is more limited than the c2 official GooglePlay plugin then?

    Since in the original plugin you have this action:

    Request hi-scores

    Request a hi-score list for a given leaderboard. Scores can be returned for public results, or "social" (from users connected to the currently signed in player), and a time limit can be applied such as to return only the day's best scores so far. The top type returns the very highest scores, and the window type returns the scores around the current player's own best score, allowing them to see where they appear in the rankings.

    And then you can use these expressions for instance:

    HiScoreAt(index)

    HiScoreFormattedAt(index)

    Return a numerical value, or formatted string, for a score at a given index.

    HiScoreNameAt(index)

    Return the name of the player associated with the score at an index.

    But that is not possible at all with cranbberys? cranberrygame

  • Hmm.. okay. Then Cranberrys plugin is more limited than the c2 official GooglePlay plugin then?

    Since in the original plugin you have this action:

    Request hi-scores

    Request a hi-score list for a given leaderboard. Scores can be returned for public results, or "social" (from users connected to the currently signed in player), and a time limit can be applied such as to return only the day's best scores so far. The top type returns the very highest scores, and the window type returns the scores around the current player's own best score, allowing them to see where they appear in the rankings.

    And then you can use these expressions for instance:

    HiScoreAt(index)

    HiScoreFormattedAt(index)

    Return a numerical value, or formatted string, for a score at a given index.

    HiScoreNameAt(index)

    Return the name of the player associated with the score at an index.

    But that is not possible at all with cranbberys? cranberrygame

    At the moment not. If cranberrygame updates his Cordova Game plugins, then I'll also add those features in my GT2 - Leaderboard.

    Regards

    Andy

  • Ok, thanks. Quite disappointing to hear. (not your fault of course!)

    Just a quick question then, what is the disadvantage of using the official google play plugin? Since it actually has more features and is included in environment from start, it would be better?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, thanks. Quite disappointing to hear. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> (not your fault of course!)

    Just a quick question then, what is the disadvantage of using the official google play plugin? Since it actually has more features and is included in environment from start, it would be better?

    The basic reason is the cordova support.

    [quote:34h9cpy7]Extra steps for Cordova

    Google Play Game Services are designed to work in a web browser, but it's possible to also configure it to work in Cordova (e.g. when exporting to mobile via PhoneGap Build or the Intel XDK). To set it up for Cordova you'll also need to:

    Fill in the Client secret property with the value from the Google Play Developer Console.

    Add http://localhost as one of the redirect URIs in the API console.

    Remove any uses of On auto-sign in failed. It never triggers in this mode, so you will need to rely on having manual sign-in instead.

    It seems to work, but I have never tried it. I'm using plugins since they were released. Some time later the official Google Play plugin came. But I never had an urge to switch.

    I'm not planning to use the official Google Play plugin in my games, but if I find some time, I'll add a version to this template.

    But feel free to try it on your own (if you want of course) <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Regards

    Andy

  • Ok cool.

    I just read that in the manual too. That the official should work just fine, with the correct parameters set. But doesn't seem like anyone has made a tutorial yet..

    I will see if I have time to look into it. It would be so cool to have the high scores in the game, with same theme. and not open the google play UI thingy.

    (Now I am using PHP-server solution for a really cool highscore table built in. But it feels a little bit scary to publish a game that will call a private sql db all the time..

  • Good day, I perform a ranking / scores screen with a List object as List Box object, it turns out that in the web browser of the computer is displayed correctly, but in the preview of the mobile web browser is shown as Dropdown List. Has this happened to you? You can help?

  • Good day, I perform a ranking / scores screen with a List object as List Box object, it turns out that in the web browser of the computer is displayed correctly, but in the preview of the mobile web browser is shown as Dropdown List. Has this happened to you? You can help?

    Hi,

    this problem has nothing to do with this template. Can you please open a new topic in the "How do I..." topic.

    Thank you!

    Regards

    Andy

  • Ok, I'll make a subject, thank you

  • Ok, I'll make a subject, thank you

    Great, you're welcome

  • I already made the new topic:

  • I have so much questions

    I will publish my first game use with COCOON platform so I need more info.

    1.) This template includes Achievements? (Android and IOS)

    2.) I will use all cocoons plugins for IAP, Ads, Google play and Apple Game Center. Do I need to buy cranberrygame Cordova plugins?

    (I will buy ; IAP and Ads plugins from Toby.R for Cocoon => Monetisation)

    3.) Do you planning release new Templates? I will buy this soon => Game Templates - Bundle [15 Items]

    4.) I didn't see, This bundle include Cloud save tutorial ? (Googleplay and Game Center)

    Thx for answers : )

  • I have so much questions

    I will publish my first game use with COCOON platform so I need more info.

    1.) This template includes Achievements? (Android and IOS)

    2.) I will use all cocoons plugins for IAP, Ads, Google play and Apple Game Center. Do I need to buy cranberrygame Cordova plugins?

    (I will buy ; IAP and Ads plugins from Toby.R for Cocoon => Monetisation)

    3.) Do you planning release new Templates? I will buy this soon => Game Templates - Bundle [15 Items]

    4.) I didn't see, This bundle include Cloud save tutorial ? (Googleplay and Game Center)

    Thx for answers : )

    Hi

    thank you for your interests in my template. I'm glad to answer your questions. Please see below.

    1) Yes it does include Achievements for Android and iOS. You just need to enter your achievement ID's at the "es_leaderboard". If you need further help on this, I can update the docs.

    2) The leaderboard template uses the "Cordova Dialog" & "Cordova Analytics" plugin by cranberrygame. However those aren't mandatory for the leaderboard.

    If you do not want to buy the Cordova Plugin package I can make an update without using those plugins. Just let me know then.

    3) Yes. I'm currently working on C3 migration for my templates. Also some new are in work. If you need anything specific, let me know.

    4)I have no template / tutorial for cloud saving with Google Play Games / Game Center. Only firebase. However this template isn't optimized for mobile (doesn't work with cocoons canvas+, webview however should work well).

    Let me know if you have any further questions.

    P.S. Good choice for Toby's plugins

    Regards

    Andy

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)