Jump to content

Phaser inside iframes, rotation/scaling issues?


jflowers45
 Share

Recommended Posts

Need my game to run inside of an iFrame on an external domain.  Seems to work quite nicely, except the rotation/scaling aspect of it - I'm planning to dig deeper but wondering if anyone has already gone down this path and has any advice?  

 

Basically I'm trying to force the game to be landscape.  When I do that using forceOrientation and the game's not in an iFrame, it works beautifully.  When it's inside an iFrame, the orientation sprite never shows and the scaling gets a bit wacked out.  I'm doing this on an iPad.  I wind up having to double tap to zoom out to get the game to show completely on the screen again

 

Thanks!

 

-Joe

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...