Jump to content

Fixing Orientation on startup


Recommended Posts

I'm working on a game which will be played in landscape. Unfortunately having to take into account the toolbar I have to rescale the dimensions a bit which is all good. The major problem I'm having at the moment is if the game starts in Portrait mode. Switching over to landscape keeps the portrait mode dimensions. I use game.scale.incorrectOrientation to check, but when I try to resize (after switching to landscape) using the game.renderer.resize function it hangs.


Any ideas?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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