Portait to Landscape

NMansellNMansell Member Posts: 143
edited November -1 in Working with GS (Mac)
I know you can set the Portrait on Landscape mode in the main screen of the project file but is there a way to set when the user turns the iphone/ipad and automatically change the veiw from portrait/landscape, etc

Comments

  • InLikeFlynnInLikeFlynn Member Posts: 171
    You can do that by picking a scene then clicking on the 'scene' tab above the inspector, then clicking to expand 'autorotate' in the menu, then checking all 4 boxes, which are all four portrait/landscape orientations.

    I'm pretty sure you have to check these boxes for each scene you want to enable the autorotate feature for.
  • NMansellNMansell Member Posts: 143
    thanks but how do i set the different screen modes (actual screens) - say I have a main menu named 'MainMenu' - how do I make it so it has two main menu showing portrait and landscape please.
  • InLikeFlynnInLikeFlynn Member Posts: 171
    I've never tried that, but the 2 ways I can think of would both involve using rules to check the rotation of the device.

    You'll want to make a rule that says: if device.screen.DeviceOrientation= Landscape Left (for example)

    Then you can either tell it to go to a scene you constructed with landscape in mind or program each actor to move to the spots you want them to. For a menu, I'd probably just make 2 menu scenes, then tell it to go to the one you want. If you wanted to be fancy you could use move and rotate on all your menu items to change on the fly, but that's more work.
Sign In or Register to comment.