O'Reilly logo

Learning Android Game Programming: A Hands-On Guide to Building Your First Android Game by Richard A. Rogers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8. User Input

There wouldn’t be much point to a computer game if there weren’t user input to the game. Android and AndEngine together have a particularly rich set of input capabilities that developers can take advantage of to make their games more interesting. Let’s first take a look at each of the user input features and see how AndEngine makes use of the underlying Android features. You might also want to use Android features that are not directly supported by AndEngine (EditText Views, for example), so we’ll take a look at those capabilities as well.

Android and AndEngine Input Methods

Android has a very flexible user interface, anticipating a wide variety of Android devices with different styles of user input. It is likely that the users ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required