Detecting the Orientation of a Device

Get help using Construct 2

Post » Tue Apr 10, 2012 7:09 am

Hey guys,

Just wondering if there's a way to actually have Construct 2 detect the way a device is oriented (all 4 possibilities). I'd rather not have to lock off the orientation, but I will if I have to. The game's control scheme is entirely based on the gyros, and their values don't change based on orientation. Therefore I need to make different forumlas for the different orientations. Any ideas?
B
70
S
10
G
9
Posts: 300
Reputation: 8,962

Post » Tue Apr 10, 2012 4:32 pm

Try publishing via appMobi and using the appMobi object's orientation expressions.
Scirra Founder
B
382
S
223
G
86
Posts: 24,003
Reputation: 189,833


Return to How do I....?

Who is online

Users browsing this forum: Emac, imhotep22, kiko2015, Monkin8r and 10 guests