Set angle layer with tilt mobile device

Get help using Construct 2

Post » Mon Jan 20, 2014 8:23 pm

As I can rotate a layer depending on the inclination of the mobile device?


ImageWenaptic2014-01-20 20:24:11
B
46
S
11
G
5
Posts: 124
Reputation: 6,771

Post » Mon Jan 20, 2014 9:02 pm

You can try with:

Every tick -> set layer 0 angle to Touch.Gamma degrees


Check here for more info. (Look for Alpha, Beta, Gamma expressions)

Here's a simple capxJohnnySheffield2014-01-20 21:36:50
Be nice until it's time to not be nice
B
36
S
9
G
9
Posts: 293
Reputation: 6,662

Post » Wed Jan 29, 2014 11:32 am

Thank you very much! JohnnySheffield

I will read the manual entry and study the example :)
B
46
S
11
G
5
Posts: 124
Reputation: 6,771


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests