Set Axis & Accelerometer

Get help using Construct 2

Post » Wed Jan 08, 2014 6:15 pm

Ok, I don't understand why are you setting startbeta to touch.beta every tick?

Set startbeta to touch.beta at start of layout.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 08, 2014 7:52 pm

Yeah I just finished doing that - I set the startbeta to touch.beta on start of layout - I still have to hold the phone flat to move. The controls work fine I just dont know which expressions determine the angle/position the phone is being held.

Event sheet: https://www.dropbox.com/s/nmksygz76e6ya2o/axis.PNG

Example with flat zero point: https://www.dropbox.com/s/ytn6oqzn5k6irst/Accelerometer.capx
B
6
S
2
Posts: 151
Reputation: 1,366

Post » Wed Jan 08, 2014 8:07 pm

Is there a way I can use the cos & sin system expressions to set the zero point to the phones position/angle?
B
6
S
2
Posts: 151
Reputation: 1,366

Post » Wed Jan 08, 2014 8:21 pm

Please remove the every tick action.
It makes the action on start of layout pointless.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 08, 2014 8:48 pm

Okay will do.
B
6
S
2
Posts: 151
Reputation: 1,366

Previous

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 34 guests