7

AndEngine Accelerometer won't change sprite's X value

view full story
linux-howto

http://stackoverflow.com – I have been following two set's of tutorials trying to implement an Accelerometer in an AndEngine game to change the X value of a sprite. One of the tutorials is about AndEngine the other about Accelerometers in Android (not with AndEngine). I think I kind of made a mess with the code. I just want the accelerometer's x speed to change the x postion of the ball I put on the screen. Here's the code... public class MainActivity extends BaseGameActivity implements SensorEventListener{ Scene scene; protected static final int CAMERA_WIDTH = 1200; protected static final int CAMERA_HEIGHT = 72 (HowTos)