LaurenceBedford's Forum Posts

  • Construct isn't an appropriate tool for making a website. There is no good answer, because it's designed for making games, not responsive websites. I'd advise sticking to HTML.

    Ok no worries

  • Hi guys I want to make a website using a construct layout as my website, but what viewport size would I use so I can support mobile website etc as well as a normal PC screen sized website?

  • Is there a reason you're not starting with the official documentation? This is all covered in the tutorial iOS application development and publishing with Xcode.

    As It states you need a mac.

    Is testing on ios not as simple as android. As with android we just export to a debug APK and then load it onto a device. Is it not the same with IOS?

  • After 2 mounts you should provide at least explanation or suggestion for this, why those PlatformInfo functions don't work for notch/cutout area. This is must have features for any mobile game...

    Ashley

    Or we have to buy plugin like this constructcollection.com/construct-mobile-notch

    ciko

    I have asked the same on my post:

    construct.net/en/forum/construct-3/how-do-i-8/support-notch-phone-151201

    I think an example on how to use these expressions to adapt your layout to the notch would be useful!

  • construct-mobile-notchfix (which uses the full screen area) is only applied if you tick "Hide status bar", since it is assuming you want to use the full screen display area. You can untick that to leave the default notch handling behavior (shrinking to avoid it) instead.

    If you do use the full display area, the Platform Info object safe area expressions tell you where to move anything important so it's not obscured by the notch.

    Ashley

    Are there any examples on how to use theses expressions to avoid the notch?

  • Thanks for the help!

  • You can export the Project as IOS and then onto an IOS device and test it :)

    BaconSwagg

    Are you sure that is the only step - as I've seen in a lot of tutorials you need to use Xcode?

  • Hi, Guys how do I test my app on IOS?

  • Hi, guys a lot of people have suggested a dark mode for my app. How can this be done? I get that it's possible with android studio. But is there a plugin or anybody willing to make a plugin that makes this possible?

  • > tarek2 It only cuts from the top (my game runs in portrait mode), and I only tried it on Android.

    Awesome I will give it a try, I hope it works for ios too, Thanks very much for the tutorial ))

    tarek2

    Let me know how it goes as I'm planning on releasing to apple but I haven't yet due to the notch bug with c3 exports.

  • 1. Export to Cordova, download the zip.

    2. Unzip to an empty folder and edit files config.json and config.xml with Notepad.

    3. Remove these lines (make sure to remove the comma in JSON):

    4. Zip all the files.

    5. Open Export Manager in Construct 3, upload the updated zip and build an apk.

    I haven't tried building for iOS, but I'm guessing it'll be the same.

    Thank you I will try this now!

  • dop2000

    Is this right for removing the plugin as i have no clue when it comes to anything to do with android studio :)

    1) Export c3p to android Cordova project

    2) Open in android studio

    3) remove plugin from the config.json and config.xml

    4) Then you say "build an apk with C3." Do you mean build with android studio?

    Sorry Im really confused

    also where is config.json and config.xml located?

    --If you could I think a tutorial on this would really help out a lot of others when it comes to the notch?

    Also how do i do this for apple devices?

  • tarek2 Yeah, the problem I had with my game a few weeks ago was that I couldn't detect if the screen had a notch. Nor was I able the position and size of the notch. You are right saying that the notch support in C3 is very limited, it's basically not existing.

    Setting "Viewport Fit" to "Auto" or "Cover" doesn't seem to make any difference. And the "construct-mobile-notchfix" plugin that's automatically added to all exports simply ignores the notch, stretching the viewport to the entire screen, which may cause problems in many games.

    LaurenceBedford Yeah, if you remove the plugin, there will be a black area where the notch is. So your viewport will be smaller than the screen, but at least it will not cover your graphics.

    Ok thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The only solution that worked for me was removing "construct-mobile-notchfix" plugin from the export. Export to Cordova, remove plugin from the config.json and config.xml, then zip and build an apk with C3.

    Hi,

    dop2000

    What does this do for you though?

    Does it make the screen go below the notch?

  • I would like to know this as well!