how can i use the gyroscope

0 favourites
  • 2 posts
  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)