How to have different screen orientations in each scene
bernardo_chuecos
Member Posts: 24
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
-
bjandthekatz Orlando, FlPosts: 1,375
I'm not home but it u sound be under Scene - attributes - auto rotate. Select the ones you want for that scene
Need Help? Email Me | Templates | Full Game Source Code
-
The_Gamesalad_Guru Posts: 9,922
@bernardo_chuecos said:
what do you mean?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.
Answers
Thank you!
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?
Yes. When published the orientation will change.
I can publish a quick ad-hoc build tomorrow if you would like to see it.
Need Help? Email Me | Templates | Full Game Source Code
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?
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
Need Help? Email Me | Templates | Full Game Source Code
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?
I believe so. Don't forget to uncheck the landscape options for that scene.
Need Help? Email Me | Templates | Full Game Source Code
what do you mean?
Thank you!