Gamle supporting all Orientations but at different times

As toppic i wonder if its possible to make a game that uses the 2 landscape modes and at a later point only the 2 portrait modes. And the other way around
If its possible how would i do that ? [import]uid: 134049 topic_id: 29311 reply_id: 329311[/import]

You could do something like that if you were manually handling all rotations - I believe there’s an example in CoronaSDK > SampleCode :slight_smile: [import]uid: 52491 topic_id: 29311 reply_id: 117858[/import]

Indeed you can, Alltho the soundbar when you lower the sound wont be rotated, and how will the coordinates react to that? wont X, Y still be landscape when goin to portrait that way? [import]uid: 134049 topic_id: 29311 reply_id: 117864[/import]

Good question; you might support all orientations in that case and then manually code it to stay looking like it’s in landscape/portrait where suitable despite actually orientation - the bar would then show in the expected position. [import]uid: 52491 topic_id: 29311 reply_id: 117990[/import]

Yes that would work, alltho its not optimal since i would change 80ish lua files. But if thats the way to solve it i guess i have no choice rly. I will look into it and post here if i come up with something clever [import]uid: 134049 topic_id: 29311 reply_id: 118127[/import]