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  6

A Ball and Paddle Game

In Chapter 5, you built a simple game in which a player dodged moving bombs. This gave you an excuse to use many of features and programming concepts central to creating games on an Android tablet. In this chapter, you build a more sophisticated game.

Your big task for this chapter is to build a pong-type game in which players use a paddle to keep a ball bouncing as they attempt to hit and destroy blocks with the ball. My first experience with a mobile game was on an old Blackberry where the only offering was this simple game. I had to control the paddle with the clumsy Blackberry trackball, and the small screen size and low resolution made the effort less than satisfying. Surprisingly, that game was ...

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