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