Stange behaviour with scale outer

0 favourites
  • 1 posts
From the Asset Store
Platformer tileset for games with robot, cyborg, mecha, outer space, and futuristic theme
  • Hi all,

    I have a game that is set to scale outer and is loaded into an iframe. On the desktop this works fine but when I load the game on an iPad the game has trouble determining the correct size to load at and the canvas size grows from 492px to over 1000px in height. The issue manifests as the iFrame's height slowly increasing and then stopping. It is a very strange behaviour to say the least.

    Has anyone encountered anything like this in the past? Any ideas on how to fix it?

    What I am trying to accomplish in general (perhaps I've gone about things in the wrong manner) is to have the game load inside of an iFrame on both the desktop and the iPad but have the game load at retina resolution when its on the ipad. I tried to accomplish this with letterbox scaling but it was leaving a white border on the edge of the display so now I've switched to scale outer and have encountered the issue above.

    Any direction on this is appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)