KENYONB's Recent Forum Activity

  • >

    > > It's not an issue with the order of events. The sign-in basically fails. As a test I placed an -> on auto-sign in failed-sign-in event on the title page of my game and it is a continuously repeating instance of how you describe it: a dimming of the screen and the notification bar coming visible but nothing happening. Thus, it has to do with the setup of the google play plugin not the order of events.

    > >

    >

    > Well, I got the auto-sign in to work! It loads the sign in screen with my avatar and confirms sign in like other games.

    >

    > I left my order of events as they are in my previous post above. I have App ID and Game ID and Client ID entered, so not sure if that makes a difference having all 3 entered. And I also signed the APK with both V1 and V2 this time, so not sure if that made the difference.

    >

    > I now have two remaining issues...

    >

    > 1- Loading the player's best high score and saving as global variable to set in text field. It's always stuck at 0.

    >

    > 2- And Display Leaderboards. When you click the icon to show leaderboard, a screen loads but the load circle just goes around and around.

    >

    > Still testing. So I'll report back if I get these to work.

    >

    What exactly did you put for App ID, Game ID and Client ID?

    The manual notes to use APP ID for the GAME ID, and that is all that is required, but I added APP ID in APP ID and GAME ID and included the CLIENT ID anyway.

    APP ID and CLIENT ID can be found by going to Google Play game services, Linked Apps, and scrolling to the bottom.

    Click on the Google Play plugin under project in left column in Construct 3, enter the info in the properties column on the left, then give it a go.

  • Kyatric thanks for the reply. turns out it is the AdBlock plugin in Chrome that is preventing certain PNGs and some other imgs from showing on this site. How odd. I tried hosting the image form my website and Dropbox and both were blocked.

  • >

    > Wow, great job! I couldn't get any scores to submit or leaderboards to show yesterday. And one Google Play event/trigger is crashing my game.

    >

    > Would you mind taking a screen capture of your events to submit score and display leaderboard? Or copy and paste as text? That would be helpful. Or PM me.

    >

    Still need help?

    Thanks for checking in I was able to set score and display leaderboard last night. So I'm making progress.

    Next, I am trying to figure out how to do the following:

    -Load the player's own high score

    -if high score (loaded above) is greater than global variable "GooglePlayHighScore", replace value in global variable variable

    -set a text field to global variable "GooglePlayHighScore"

    I've been able to do this using the Facebook Instant Games plugin, so I imagine it is possible with Google Play services, I just need to figure out the right order of events/triggers. I was trying to do this at the same time I was trying to set score and then display leaderboard, but something was crashing the game.

  • I've managed to get a working achievements and leaderboard but the actual values aren't correct, perhaps due to a lack of "trigger once while true" conditions.

    Essentially I set it up as If (is boolean set)-> unlock achievement/submit score

    Then I go into my game services and locate the corresponding ID for the intended achievement/score and insert that into the action.

    Wow, great job! I couldn't get any scores to submit or leaderboards to show yesterday. And one Google Play event/trigger is crashing my game.

    Would you mind taking a screen capture of your events to submit score and display leaderboard? Or copy and paste as text? That would be helpful. Or PM me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No idea what's going on... Seems like it signs in on start screen, then on the gameplay the level, nothing i have programmed works. It wont submit score, show leaderboard, load score, etc...

  • Apparently this is a problem with the googleplay plugin. I also started the application with this plugin. The Login screen appears in googleplay and disappears after that no events associated with this plugin work.

    Seems you're right. I finally got the login screen/pop-up to show. Looks like it is logged in, but then nothing I have programmed afterwards will work. It won't set the high score, or load the high score, or display leaderboards. I'm stuck at the moment...

  • It's not an issue with the order of events. The sign-in basically fails. As a test I placed an -> on auto-sign in failed-sign-in event on the title page of my game and it is a continuously repeating instance of how you describe it: a dimming of the screen and the notification bar coming visible but nothing happening. Thus, it has to do with the setup of the google play plugin not the order of events.

    Well, I got the auto-sign in to work! It loads the sign in screen with my avatar and confirms sign in like other games.

    I left my order of events as they are in my previous post above. I have App ID and Game ID and Client ID entered, so not sure if that makes a difference having all 3 entered. And I also signed the APK with both V1 and V2 this time, so not sure if that made the difference.

    I now have two remaining issues...

    1- Loading the player's best high score and saving as global variable to set in text field. It's always stuck at 0.

    2- And Display Leaderboards. When you click the icon to show leaderboard, a screen loads but the load circle just goes around and around.

    Still testing. So I'll report back if I get these to work.

  • What is SHA1? Of course, I understand everything that googleplay policy is very invigorated, but why complicate everything ... Previously to add googleplayservices to your game you just had to copy your APP_ID and nothing more. Now the game developer needs to make not only a game but also learn how to compile through cmd ... What is ... Why would not Scirra simply add the function of the GooglePlay plugin to the SHA, APP_ID, SecretKey insertion function ... In general, you need to detach from this GooglePlay if they will complicate everything ...

    I believe this is only needed if you build an unsigned APK from C3 and plan to submit/sign through Google Dev Console. I am exporting as an Android Project, then building the signed APK from Android Studio.

  • > I just tried implementing the Google Play services plugin in a game today and can't seem to get it working.

    >

    > I have these events on the starts screen:

    > + GooglePlay: On loaded

    > ----+ GooglePlay: Is loaded

    > -----> GooglePlay: Sign in

    >

    > When it loads, the screen dims and the menu bar and the navigation buttons show (like when you swipe down from the top during full screen). It looks like something is going to happen, and then they disappear and the game plays like normal. no error or anything.

    >

    > Is this an issue with how I am programming events? Or is there an issue with the plugin?

    >

    Apparently this is a problem with the googleplay plugin. I also started the application with this plugin. The Login screen appears in googleplay and disappears after that no events associated with this plugin work. The problem with Construct 3 is that they always have very important errors in the plugins. At the moment I can not release the game via C3 at all, since they do not work with the cordova-android assembly with the plugin mobileIAP. I thought why I paid $ 100 if I just sit and look at the program that puts me in the wheel.

    I can't get anything to show other than what I described above. I even added the game as an Internal Release under App Releases in the dev console thinking it was supposed to be hosted and officially registered or something to make it work, but still not working.

    Nepeo is this a known issue and is it being worked on? any help would be appreciated.

  • I just tried implementing the Google Play services plugin in a game today and can't seem to get it working.

    I have these events on the starts screen:

    + GooglePlay: On loaded

    ----+ GooglePlay: Is loaded

    -----> GooglePlay: Sign in

    When it loads, the screen dims and the menu bar and the navigation buttons show (like when you swipe down from the top during full screen). It looks like something is going to happen, and then they disappear and the game plays like normal. no error or anything.

    Is this an issue with how I am programming events? Or is there an issue with the plugin?

  • I just tried implementing the Google Play services plugin in a game todayand can't seem to get it working.

    I have these events on the starts screen:

    + GooglePlay: On loaded

    ----+ GooglePlay: Is loaded

    -----> GooglePlay: Sign in

    When it loads, the screen dims and the menu bar and the navigation buttons show (like when you swipe down from the top during full screen). It looks like something is going to happen, and then they disappear and the game plays like normal. no error or anything.

    Is this an issue with how I am programming events? Or is there an issue with the plugin?

  • My signature image used to show, and now it doesn't. I haven't moved the image from where it is hosted, nor have I edited the signature text. I tested and drafted a post in the forum to show an image using the

    tags, but it wont show. Is anyone else having issues? has anything changed that would prevent a png file from showing? It appears gifs work fine.

    In this post (below) I have the image from my signature embedded using the img tag, but it isn't showing...

KENYONB's avatar

KENYONB

Early Adopter

Member since 27 May, 2014

Twitter
KENYONB has 1 followers

Connect with KENYONB

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies