Magtir's Recent Forum Activity

  • You do not have permission to view this post

  • You do not have permission to view this post

  • As a result, like many others, I wound up my crutches (I don't know how to say it in English) and lowered the content so that it did not go under the front camera.

    I have a lot of layout on all the pages and it's complicated. I did it through my custom anchors, lowered the parent elements through js, and all the others followed them.

    It seems to have worked, but first of all: this method does not take into account all sides. Secondly: This is clearly not what I paid the money for.

    Thanks to everyone who tried to help.

  • Hello. Are you making any progress?

  • Hello.

    Preface: so far I’ve only tried it on Android, but the problem is clearly common.

    For export to Android there is an option "Hide status bars", and it works great, but the front camera hides the header of all pages in my application

    All I found on the Internet were questions from many years ago with scary and complex solutions. Either few people are trying to export C3 to phones, or I'm a fool). The simplest solution is not to set the "Hide status bars" option, but in this case I am not happy with the fact that there is a nav bar at the bottom.

    In addition, I realized that PlatformInfo has the ability to find out the positions of the safe area. And on my Android SafeAreaInsetTop even gives the number 36, even with the "Hide status bars" option active.

    But two problems arise:

    1) how can I now dynamically (it may be different on different phones, but not at all on a PC) lower my entire layout and at the same time compress the canvas, taking into account the cutting off at the top? And at best, there’s some way to take into account the cutouts on other sides - but that’s not even in my head anymore

    2) My game has pixel graphics. Size settings: 120 x 240. And I generally don’t understand what I should do with this number 36.

    It's stupid, but I tried to change the size and position of the canvas using CSS, which ultimately worked very crookedly)

    Also my settings:

    Viewport fit: Cover/Auto

    Fullscreen mode: Scale out

    Orientations: Portrait

    Why can’t I immediately display the “safe area only” option when exporting? PlatformInfo is the official plugin from c3 and you can do what you need yourself

    This is clearly a problem. And it seems like it's been going on for a long time. This is critical for mobile applications. I'm waiting for a decision. Thank you

    PS: Google translate

  • You do not have permission to view this post

Magtir's avatar

Magtir

Member since 20 Dec, 2023

None one is following Magtir yet!

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

4/44
How to earn trophies