IOS Landscape Orientation

Get help using Construct 2

Post » Tue Oct 11, 2011 4:01 pm

Is there anyway in C2 to set the screen orientation to landscape so that we can have the game run in landscape mode on IOS rather than portrait?
B
71
S
22
G
8
Posts: 225
Reputation: 9,431

Post » Tue Oct 18, 2011 3:04 am

I've been looking into this, too, and from what I've found there's no real way to do this easily but there are some hackish ways to fake it. Here's one of many decent links I've found...

http://stackoverflow.com/questions/5298467/prevent-orientation-change-in-ios-safari
B
2
G
2
Posts: 4
Reputation: 1,033

Post » Tue Mar 20, 2012 3:44 am

With us hopefully starting to port games to mobile platforms (via AppMobi) I am also looking for a way to lock the orientation on mobile devices (especially android).

Has a way been introduced in C2 which allows this?

Jason
B
18
S
7
G
5
Posts: 62
Reputation: 4,410

Post » Tue Mar 20, 2012 4:19 pm

Apple prevent you forcing an orientation in Safari for web sites. However, using either PhoneGap (via export options) or appMobi (via the appMobi object) you can export as a native app with a fixed orientation.
Scirra Founder
B
383
S
224
G
86
Posts: 24,117
Reputation: 190,432


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, jmiller4180 and 11 guests