Switching DeviceOrientation Between Scenes.

I’m using storyboard from main to a menu screen that I want to be portrait. After I select an option the rest of the game will be in landscape mode. How do I get this to function? Right now my config.lua has default landscapeRight. [import]uid: 20272 topic_id: 35093 reply_id: 335093[/import]

Hello,
You could achieve this with a orientation-change event listener…

But let me ask, does the menu screen need to be in portrait? From a user standpoint, I would be really annoyed if I had to turn my device around during the app running. I don’t mind turning it around once, initially, at the start of the app, or even using tilt and the accelerometer… but turning the app from menu to play and back? That would really turn me off from the game…

Just something to think about. :wink:

Brent [import]uid: 200026 topic_id: 35093 reply_id: 139544[/import]

Hello,
You could achieve this with a orientation-change event listener…

But let me ask, does the menu screen need to be in portrait? From a user standpoint, I would be really annoyed if I had to turn my device around during the app running. I don’t mind turning it around once, initially, at the start of the app, or even using tilt and the accelerometer… but turning the app from menu to play and back? That would really turn me off from the game…

Just something to think about. :wink:

Brent [import]uid: 200026 topic_id: 35093 reply_id: 139544[/import]