Requesting Clarification on Mobile Tilt (Alpha, Beta, Gamma)

Get help using Construct 2

Post » Fri Dec 04, 2015 9:40 am

Good day, C2izens!

After reading up on the Touch controls a bit more and messing around with a test program, I'm still needing some clarification or affirmation on my understanding of the mobile tilt parameters of Touch.
The game I'm working on doesn't require the use of Alpha, but in case comes into play and I am not aware of it, I'm bringing it into my inquiry here.

So far, this is my present understanding of the three...
ALPHA: Using the mobile motion sensors, it detects the compass facing direction or adjusts the output of the operating program based on the compass rotation of the phone. Is generally not affected by Beta or Gamma tilting of the phone (I may be wrong about that...).

BETA: Front-to-back tilt of the phone on a horizontal axis.

GAMMA: Left-to-right tilt of the phone assuming an axis running from the bottom-to-top of phone

What I'm not sure about is if this XYZ axis is constant in its orientation even as the phone moves around.

So, let's say I lay the phone flat on the table.
If the very center of the phone is 0, then...
X = Alpha = horizontal from left side of phone to right side
Y = Gamma = like a spear from front face of phone to back side.
Z = Beta = from top edge to bottom edge

As the phone moves around, are these axes consistent in their orientation or do they remain fixed to the physical orientation of the phone (so that it would look like the 90* angles between each axes where they intersect are no longer 90*)?

I HOPE that made sense. However you could help me to be sure I understand would be greatly appreciated. THANKS!
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
141
S
23
G
8
Posts: 790
Reputation: 15,017

Post » Fri Dec 04, 2015 4:13 pm

Try it out with your phone with this capx.

go to www.sizzle-games.com/tilt

capx is here

https://www.scirra.com/tutorials/4840/g ... wn-compass
Bushy Ball\Boatman Bill\Sticky Web\Snake

Image ImageImageImage

During the gold rush it was a good time to be in the pick and shovel business
B
46
S
14
Posts: 252
Reputation: 5,352

Post » Fri Dec 04, 2015 9:51 pm

@sizcoz - Well THAT explains a lot! I did totally misunderstand the Beta parameter.
It's the left/right tilt of the phone as you're holding it straight up, facing you.
I was assuming the phone was laying flat on a surface and that the Beta had to do with how you tilted the phone towards or away from you.
Thank you for the help!
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
141
S
23
G
8
Posts: 790
Reputation: 15,017


Return to How do I....?

Who is online

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