how can i use the gyroscope

Get help using Construct 2

Post » Fri Feb 21, 2014 4:35 pm

hi, i am doing a app for iphone and tablet in C2 so i need to know how i can use the gyroscope what king of pluig in i need if is the case. i read some parameters that i need, like beta,gama and alpha but i don`t now how use it.
B
4
Posts: 3
Reputation: 268

Post » Sat Feb 22, 2014 11:36 am

Check out the touch Compare orientation.

From the manual:
Compare orientation
Compare the device's current orientation, if the device has a supported inclinometer. Alpha is the compass direction in degrees. Beta is the device front-to-back tilt in degrees (i.e. tilting forwards away from you if holding in front of you). A positive value indicates front tilt and a negative value indicates back tilt. Gamma is the device left-to-right tilt in degrees (i.e. twisting if holding in front of you). A positive value indicates right tilt and a negative value indicates left tilt.
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,552


Return to How do I....?

Who is online

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