619_RM's Forum Posts

  • 619_RM I think I found the solution, could you test this file please?

    https://www.dropbox.com/s/h5ddv9tplclzodl/ptron-app-debug_notchfix.apk?dl=0

    The viewport should start below the notch.

    (Make sure to run the correct app, as it has the same icon and name as the real game)

    Here the SS. You made the notch visible. You can proceed with this I guess.

    Did you leave the viewport fit: auto? & scale outer?

  • Your events will load a savegame on startup, so presumably that's what's happening. When you clear storage there's no savegame, so it starts from the beginning again. It's correctly doing what your events say to do.

    Understood. The game run from the mid, but one thing looks weird is, I updated the mid area of the game but it loads (when I run it for the first time) from the previously saved state. For example, I have replaced multiple red tiles with green in the mid area but when the game loads for the first time it still shows the red tiles. :(

  • Are you sure that was a clean install? Maybe you had an app installed on the phone with the same ID and installed a new version over it.

    No, actually tried a couple of times.

  • (Maybe it is not an issue, I may have put it wrongly)

    So, I exported the apk and installed and when I run it, it starts from the middle of the game (From a checkpoint situated in mid) but when I perform the clear data/catch (from android setting) It starts from the beginning. How?

    Having said that On the fist layout of the game I have put

    On Start of layout: Load game from slot ""&save_GV

    On load failed: Go to Main Menu

    Please help me.

  • So, it's better, not to cover the viewport, I guess. Let the notch visible?

    One thing we should keep in our mind How the scale-outer react on 4K display? [1440 x 2960 pixels, 18.5:9 ratio] While viewport fit "AUTO".

  • The result is the same as the one which is on PlayStore. The quick-access buttons seem to appear behind the notch. I think you should keep some minimal margin for the notch area.

  • My bad, it was 1080 x 2246 pixels & 18.7:9 ratio.

  • I tried to make "viewport fit: cover" and produced the apk and the result is

    s5.gifyu.com/images/2686373899ccced1b.jpg

  • Notch Area and bottom area is black, coz you set the resolution 720 x 1280 and my phone resolution is 1080x1920.

    Attached SS

  • > I dunno I should post it here or not, One thing I noticed on my phone (having a giant notch, akin to iPhone X), The quick access buttons (and score) seems to appear behind the notch (Check the attached image) Maybe you should put that bit lower.

    >

    > https://s5.gifyu.com/images/232304b9e0d585d2d3f5.jpg

    >

    >

    > (I dunno why but I unable to upload any image file may be a bug thus used gifyu.com)

    I wouldn't expect that to happen either.. that's an oddly shaped phone screen :P But I guess it's the new thing now, better keep it in the back of our minds when creating games. Is that an iPhone X or what model?

    That's an old Phone.

  • What I want is to keep the landscaping mode but have to spin (As Fengist said) the screen based on the user's side.

    Any solutions? Please help.

  • I dunno I should post it here or not, One thing I noticed on my phone (having a giant notch, akin to iPhone X), The quick access buttons (and score) seems to appear behind the notch (Check the attached image) Maybe you should put that bit lower.

    https://s5.gifyu.com/images/232304b9e0d585d2d3f5.jpg

    (I dunno why but I unable to upload any image file may be a bug thus used gifyu.com)

  • dop2000 Well done buddy, it is beautiful.

  • Thank you dop2000 I finally able to crack it. One question though, on my particular setup when the player comes back from the bonus stage and after that, if the user clicks the restart button (Layout Restart) the player position changed to the new location that is the position of EXIT sprite. How can I make the player position to start at Original Start Position when user click the restart button?

    I tried this way but it's not working.

    https://s5.gifyu.com/images/Untitled06458bca7eda1820.jpg

    (I dunno why but I unable to upload any image file may be a bug thus used gifyu.com)

    Please help.

    Re-download this example, it should be more clear now:

    https://www.dropbox.com/s/oo4bpeo5gujxbzz/PortalSystem.c3p?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This should be incorporated as an action into C3.

    Of course it doesn't work - you didn't set array width to 0, you didn't insert new record to the end of the array, you didn't delete the last record when going back..

    See this fixed project:

    https://www.dropbox.com/s/l1le3x8zp3roth9/LayoutHistory.c3p?dl=0