davidmachadosf / beginning-android-games

Automatically exported from code.google.com/p/beginning-android-games
0 stars 0 forks source link

Super Jumper accelerometer orientation issue #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When playing Super Jumper on my tablet (xoom android 3.1) the accelerometer 
orientation is wrong. Moving the tablet up and down makes the game move left 
and right. Is there a way of detecting the default accelerometer's orientation 
as I guess it's different on all tablets to phones.

Original issue reported on code.google.com by david.D...@googlemail.com on 6 Jan 2012 at 6:00

GoogleCodeExporter commented 9 years ago
did you solved ?? i have too some problem

Original comment by mobilon...@gmail.com on 11 Aug 2014 at 1:06

GoogleCodeExporter commented 9 years ago
I've tried switching to detecting Y-axis acceleration instead (because of the 
different orientation of a tablet), but that by itself is not the whole answer. 
 Also have to account for the normal level of acceleration of gravity on the 
current orientation of the device which doesn't seem to be something that is 
done.  Still missing something though...

Original comment by michael....@gmail.com on 4 Feb 2015 at 3:07