eski's Recent Forum Activity

  • I'm wondering if there is a way to customize this screen. In most games I've played on mobile phones this usually looks quite different and more in the theme of the game.

  • That's what I'm thinking. It's risky because the app could be terminated before the save action has finished. I guess I could just give the player a manual way to save their progress.

  • It's a tetris kind of a game where people have to do some puzzles and sometimes one game takes up to one hour. They want to play it in parts, so 5 min here and there for days often.

    But like i tried to explain, the problem for some is "alt tabbing" between programs on the phone and coming back to the game and seeing it basically restart, it's like they are just starting the game fresh. I haven't been able to make this happen on Samsung S9 or Oneplus 7 pro. I guess this happens on lower-end phones where some memory management kills programs that are not being used.

    I don't need to save each 10 sec, I'm just wondering what would be the best way to catch the current progress of the game when people jump to another program.

  • I'm running an alpha test on my mobile game and few users are having problems with losing their progress when they briefly go to messenger or Facebook or something other in their phone. When they come back to the game it will restart and go back to the menu. I think this only happens on phones that have turned on battery saving mode so they auto close to free up memory or something like that.

    So my question is, how would I catch when users are going to another app. The trigger "on suspended" would be the best action I think, and when it catches that it would use the "Save Game" action. But the problem with that, would the Save Game action be able to finish saving everything when the user has already suspended the game?

    Would I need to catch this before the user even clicks the minimize button by auto saving each 10 sec or so? Instead of using save game, should I make a custom function that writes it to the local storage instead, would that be faster?

  • eski the APK must be signed ( with the correct key ) to work. A recent beta release added the option of signed debug APKs which are useful specifically for this situation. You can export the APK, copy it to your device, install it and then do your tests. So you don't have to go via play store release channels.

    Nepeo

    Ok, I just updated to beta and did a signed debug APK.

    The Play service launches and it all looks good but it won't let me log in. I think there is still the issue of setting the construct preview URL to the right place. Have you checked the documentation on that? Seems to be outdated.

  • Ahh that's great. Going to test that :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One of my alpha testers asked for this and that's why I asked.

    After research, I found out this is just some auto feature on the phone. Dismiss it..!

  • So basically worked after using the right Application ID. Should be something like "com.company.appname" not the ID number. You might want to update the documentation and give an example of what to link.

  • But is it possible to export a debug APK and use that it on a phone to test leaderboards or does it always have to be signed and uploaded to Google?

    Google play service is not able to connect now in that way but if I upload it everything seems to work normally.

  • Where did you find a place for the preview URL? I can't find it. Does it actually work in preview?

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

eski's avatar

eski

Member since 14 Dec, 2009

Twitter
eski has 1 followers

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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

19/44
How to earn trophies