O'Reilly logo

Beginning Android Tablet Games Programming by Jeremy Kerfs

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

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 ...

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