C H A P T E R  3

Gathering User Input

So far, your work has lacked the interactivity of a game, chiefly because you have no means of letting players interact with the sprites and characters. In this chapter, you unlock several forms of input that you eventually use to control the look and actions that take place in the game. This is also where you get to unlock some of the amazing features of tablet game programming in Android 3.0. Previously, most of such work was applicable to older Android phones, but now programmers heavily rely on large touchscreens to gather touch input.

Unique to the tablet, the user can make large selections; and as a developer, you need to prepare for this. In addition to this obvious method of interaction, you look ...

Get Beginning Android Tablet Games Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.