Accelerometer Option Problems

appleshowyouappleshowyou Member Posts: 31
edited November -1 in Working with GS (Mac)
Okay so for my game I am using the accelerometer to move gun cross hairs around the screen. Originally I had it so It was labrynth Style meaning you held the device flat and moved it from there.
When game accelerometer is > 0.03 Move UP, < -0.3 Move Down... and same for left and right.

Now I want to make it so that you can choose before the game starts if you want to hold the device flat... on a 45 degree angle... or erect at 90 degrees. So my question is what should I use for the accelerometer rule for the 45 and 90 degree device angles. When I say 45 degree angle I mean when the device is in between flat and on its side the cross hairs don't move.
Sign In or Register to comment.