eski's Forum Posts

  • So everything seems to be going better regarding Google Play services except for one problem. All my Alpha testers can upload their score but they only see one entry and that is their current score. I'm using the action "Show leaderboards" to display the score natively.

    I know Google play services update once a day but it has been a few days now and this problem still exists. I can see in the Google service API that I'm doing a bunch of calls so everything seems to be talking together but not displaying right.

    Is it possible that when using this action "Show leaderboards" that it is checking the "social" leaderboard instead of "global"? Do I have any control over that?

  • It also helps to keep the phone on while playing.

  • While opening most games there is something called "Game Mode" or "Game Booster" that automatically starts, somehow it knows this is a game. Is this something that should be in the APK Export of the game?

  • Yes, really happy to see something happen but still it's really tedious workflow. Have to debug the leaderboard events by exporting a signed APK and uploading it, aaaand waiting for it to be reviewed every time I want to test something.

  • I got it to work finally but only when I actually published it as alpha and installed it from google play. I am quite sure that my problem was that I haven't done the preview access authorize right. On Scirra's help site about the Google Play plugin there is some info on how to do this, but I feel like there have been some changes, can't follow along and find the settings.

    Somewhere deep in the API settings I found some similar options to change, see post before.

    From - construct.net/en/make-games/manuals/construct-3/plugin-reference/google-play

    ENABLING ACCESS IN PREVIEW MODE

    When testing your project, your game will run from preview.construct.net/local. Since this is is different to the published URL of your game, Google Play Game Services will block access unless you add the preview URL as a permitted location.

    To do this, in the Developer Console under Game details, find the header that says API CONSOLE PROJECT and follow the link to the API console project for your game. In the API console, select APIs & auth, then Credentials. Notice the Javascript Origins field contains only your final URL; this also needs to contain any preview URLs to be allowed access. Click Edit settings. Under Authorized Javascript Origins, make sure the final URL and the preview URL appear on separate lines.

    mywebsite.com/games/myawesomegame

    preview.construct.net/local

    Click Update. Now your game should be authorised to be accessed from preview mode as well as when you publish it.

  • That message does not come from Construct. It must be something to do with the configuration of the device.

    Strange, have to take a better look.

    Just to be clear. the link that I should use for the store should be the same as Application ID in the google play plugin so in the form of "108423263001"?

  • When using the share plugin to display store page or when asking requesting app rating I get this error. I have gone over the settings the phone and chrome is my default browser so it's not that.

  • yeeeeees, worked great. Not sure what the "Wait 0" does though.

  • I'm looking for a way to take a snapshot of my game but only the middle part of the layout where the playing board is. I want to display it on another layout for the gameover screen along with some stats for the player but to fit it all I need to scale down the snapshot. Is that possible with built in tools?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I hear you, asked about this on the forum 4 days ago. Hoping that someone who has managed to do this will answear.. :)

  • Does anybody know if there is a way to do this, if not what approach are you guys using letting the user contact you through the game?

  • Finally got it to display an error. The error I get is outputted on failed login --- "4" which means "Sign-in Required". When I compare all my settings to the walkthrough on the google site I have all the right credentials. I can't put my finger on what it is but it must have something to do with credentials, maybe mismatch in SHA-1 key from the signed packaged that the export makes and what google does with it.

    While google-ing I found that many are having this problem and fixing it with much harder code-based solutions that are out of my scope.

  • sweet! :)

  • The only thing I'm going to use this service is for leaderboard, so my side question would be... Is there an easier way or better-streamlined service that offers this? I don't care if people need to login or not, just that they can input a name and submit a score.

  • When I'm making a new update to my game and install it as a debug APK on my phone all the local storage will still be there. It seems like the game is just installed over the older version so it's not installing it per se. So all my highscores and other settings in the local storage are still there. If I delete the game before installing it will all be gone.

    So my question is, when I have finally published my game and make an update to it later. Will all the local storage be unchanged for those updating it from Play Store?