How to make full screen on mobile devices?

0 favourites
  • 5 posts
From the Asset Store
A futuristic device, can be used as radarscreen, optionscreen, infodisplay, research device, ...
  • Hi there, I'm trying to build a mobile application. Testing the app on mobile devices, it shows black bar on top and bottom of the device, to solve this and to support multiple screen size, is there anyway to stretch the layout to fill the whole screen instead of showing the black bar?

    I had some idea, but it doesn't really work..

    Set a global variable myScale,

    At start of layout,

    • set myScale = WindowWidth/LayoutWidth
    • set layout scale = myScale
    • set layer scale = myScale

    Can anyone share how they make fullscreen on mobile device please..?

  • Well, when I had a problem with full screen on mobile, I just put; Every tick - Set Fullscreen scaling to High Quality. And it worked perfectly.

  • nice! It's working perfectly, thanks dude!

  • Your very welcome

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, just in case you want to have your testing in fullscreen on Android, i have just found out this:

    • call your game within the browser. In Example at 192.xxx.xx.xx:50000
    • Once it is loaded call the browser menu and choose "Add to Home screen"

    An icon will be added to your smartphone homescreen

    • Click on it and it will appear in fullscreen without any bars or menus
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)