Mobile - Full Screen - Portrait

1 favourites
  • 6 posts
From the Asset Store
a ready made template of Mobile Advert, Google Play and Mobile IAP Plugin,
  • Hi all,

    I'm struggling to get my game to be full-screen in Portrait mode. It keeps putting black bars at the top and bottom; I've tried all the full-screen modes. I want it to fill the entire screen, like most games you play today.

    Any ideas on how I can do this? I don't mind paying for a good add-on if it works.

    Viewpoint 1080 x 1920

    Regards.

  • i use this event for Fullscreen for mobile devices

  • If you are left with black bars, then you are using the "Letterbox scale" mode.

    This mode is optimal for beginners.

    To take up the whole screen, you need to do more actions.

    Select the "Scale inner" mode and set the positions of the control buttons when you start the layout.

    This can be done with the command

    "System On start of layout ->key Set Y to ViewportTop(0)+50"

    Or Anchor behavior.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I have updated my project to scale inner. However, as you can see below, objects are out of view. Is there a way I can get this to work without having to anchor all my objects correctly (it will take ages)?

  • Put your HUD/UI items on a new layer and change the parallax to 0,0. Make sure your HUD/UI layer is higher than your background and game sprite layers

    And keep your HUD/UI within the viewport

  • Android has a huge number of devices with different screen resolutions and pixel densities.

    If you want to take up 100% of the screen you need to work with that.

    It is very convenient to check everything in the chrome browser DevTools mode (F12).

    Add devices with different resolutions and test.

    It's fast and you can check the position of buttons and menus right from the construct3 engine.

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