Other mobile inputs
When designing for mobile, it’s important to remember that the input works a little differently than it does with a computer or console game. Most of the input on a mobile is controlled by the touchscreen, accelerometer, or gyroscope. This opens up a different set of design choices for you when creating mobile games.
Touchscreen devices can generally access multiple touches. You can use multi-touch for different types of interactions, but the most common usage of multi-touch allows the player to pinch-to-zoom. In Chapter 8, we will discuss how to use multi-touch input to create pan and pinch-to-zoom functionality in a game.
Most mobile devices have a built-in accelerometer and many also have a gyroscope. Without getting too technical in describing how they actually work, the difference between the accelerometer and the gyroscope is what they measure. The accelerometer measures acceleration within the 3D coordinate system and the gyroscope measures rotation...