Autorotate on iPad ?

Get help using Construct 2

Post » Sun Mar 25, 2012 8:40 am

Hi, as the topic says..

Apple requires that all apps on iPad autorotates when the iPad is turned.
Is there a way that we do that in C2 or is it done i the exporters (Appmobi, Phonegap) ?
And is it possible to use the accellerometer of your device in C2 ?

Cheers !!

B
12
S
2
G
5
Posts: 31
Reputation: 3,494

Post » Sun Mar 25, 2012 11:55 am

For the second question, be sure to check the "Touch" section of the how do I FAQ, accelerometer is treated in the last item listed.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Mar 25, 2012 4:08 pm

Thanks Kyatric..
Anyone have a clue about the autorotate "issue" ?
B
12
S
2
G
5
Posts: 31
Reputation: 3,494

Post » Sun Mar 25, 2012 6:48 pm

PhoneGap gives you an option to limit rotation on export, and the appMobi plugin can disable auto-rotate and force an orientation by events. If you're running in the Safari browser by itself, there's no way to force an orientation.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sun Mar 25, 2012 7:01 pm

@Ashley

Don't know if i made myself clear, my question was this..

Apple requires all their native apps to be autorotate when you turn your iPad, either in portrait or horizontal mode..

Does phonegap or appmobi support this as an option ?

Cheers !!
B
12
S
2
G
5
Posts: 31
Reputation: 3,494

Post » Sun Mar 25, 2012 7:08 pm

Yes, by default auto-rotate is enabled... have you tried it?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sun Mar 25, 2012 7:11 pm

@ASHLEY, thanks alot mate.
no haven't tested it yet, wanted to know before getting to far in my project ;)
And how long have you come with the Appmobi canvas thingy ?

Cheers !!
B
12
S
2
G
5
Posts: 31
Reputation: 3,494


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 17 guests