tylero3h's Forum Posts

  • 3 posts
  • I've got a bit of an odd use case where I need to show a game full screen and then at some point switch it to only show on the bottom half of the screen. It's running on mobile inside a webview iframe. I've tried all sorts of combinations of changing canvas/layout/viewport size and I can't figure out a way to get the behaviour I want.

    The closest I've gotten so far it so set the iframe size directly, but when I change the padding to get it to move to the bottom of the screen it seems like the button hit boxes are not updated to reflect the new position.

    Anyone have an idea of how to achieve this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Perfect, it's working in the beta version. Thanks

  • I'm trying to import a module into a javascript file using the await import() syntax as described in the documentation, but I get an unexpected token error on the "import". Is there something I need to do to get that to work?

  • 3 posts