Questions tagged [accelerometer]

An accelerometer is a sensor, usually embedded in smartphones, that detects the orientation of the device. Accelerometers are commonly used in racing and flying games as a primary input source.

Filter by
Sorted by
Tagged with
1
vote
2answers
1k views

Moving sprites using the accelerometer (Android)

In my previous game, I was moving my sprite like so: ...