Touch.Gamma upper/lower value

Get help using Construct 2

Post » Thu Feb 28, 2013 6:41 pm

Hiya

I can't see anything anywhere which specifies what the value ranges are on Touch.Gamma

I know > 0 is tilt right and < 0 is left, but can I use the Touch.Gamma values to control how far my character moves?

Like does it go up to 300 or so (guess!) for a bigger tilt right than say 30?
B
20
S
6
G
2
Posts: 157
Reputation: 3,109

Post » Fri Mar 01, 2013 5:06 pm

Bump!

I tested what I did so far and it's too sensitive.

Do we have any documentation anywhere?
B
20
S
6
G
2
Posts: 157
Reputation: 3,109

Post » Sat Mar 02, 2013 10:31 am

I tested this and found the values do indeed have ranges. Seems to be roughly -180 to 180 for beta and gamma, and 360 for alpha. I think.

I'm having another problem now though, two different devices are working completely differently on "tilt down" (z axis). One changes beta. one changes gamma. NO IDEA what to do about that one so reported a bug.
B
20
S
6
G
2
Posts: 157
Reputation: 3,109

Post » Mon Jul 15, 2013 10:46 pm

Can you post you Capx?

I would like to see what you've done, maybe I can help. There's no tutorials about aplha, beta & gamma tilt functions surprisingly!
B
15
S
6
G
3
Posts: 87
Reputation: 4,304


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 25 guests