O'Reilly logo

Sams Teach Yourself Android Game Programming in 24 Hours by Jonathan S. Harbour

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

Hour 24. Ball and Paddle Game

The purpose of this hour is to demonstrate how you can quickly and easily make a complete game using the simple Android engine developed over the past few hours of this book. It will also provide a nice break from the space shoot-’em-up style game from the last two hours. This is a single game, developed in one hour, and kept to a minimum on gameplay to show how useful the engine is for other game genres. Because we have barely touched portrait-oriented games in this book, the ball and paddle game will run in portrait mode.

Creating the Ball and Paddle Game

The ball and paddle game is shown ...

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