How to have different screen orientations in each scene

I'm making a game with multiple mini games, however I want some of them to be portrait and some of them to be landscape. How can I assign different screen orientations to different scenes?

Best Answers

Answers

  • bernardo_chuecosbernardo_chuecos Member Posts: 24

    @bjandthekatz said:
    I'm not home but it u sound be under Scene - attributes - auto rotate. Select the ones you want for that scene

    Thank you!

  • bernardo_chuecosbernardo_chuecos Member Posts: 24

    @bjandthekatz said:
    I'm not home but it u sound be under Scene - attributes - auto rotate. Select the ones you want for that scene

    I just noticed it doesn't change anything in the preview, the scene stays the same. Does that mean it will be different when played in an actual phone?

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    Yes. When published the orientation will change.

    I can publish a quick ad-hoc build tomorrow if you would like to see it.

  • bernardo_chuecosbernardo_chuecos Member Posts: 24

    @bjandthekatz said:
    Yes. When published the orientation will change.

    I can publish a quick ad-hoc build tomorrow if you would like to see it.

    Thanks that would help a lot! Now I'm a little confused, should I develop the scene on the same orientation I'm doing the rest of the game on or should I flip everything 90 degrees?

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    I think you have to change the scene and camera size to the portrait specifications.

    IPhone 6+ example:
    Portrait- scene height is 768, width is 414
    Landscape- scene height is 414, width is 768

  • bernardo_chuecosbernardo_chuecos Member Posts: 24

    @bjandthekatz said:
    I think you have to change the scene and camera size to the portrait specifications.

    IPhone 6+ example:
    Portrait- scene height is 768, width is 414
    Landscape- scene height is 414, width is 768

    So if I set the game to be landscape but I want one scene to be portrait I just check the portrait boolean in the autorotate attribute and change the dimensions to portrait?

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    I believe so. Don't forget to uncheck the landscape options for that scene.

  • bernardo_chuecosbernardo_chuecos Member Posts: 24

    @bjandthekatz said:
    I believe so. Don't forget to uncheck the landscape options for that scene.

    what do you mean?

  • bernardo_chuecosbernardo_chuecos Member Posts: 24

    @The_Gamesalad_Guru said:
    There are four possible orientations. Portrait left, portrait right, landscape left, landscape right. Each scene will respond to any orientation selected in the scene attributes. Uncheck those unwanted and select all those wanted.

    Thank you!

Sign In or Register to comment.