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

Get Sams Teach Yourself Android Game Programming in 24 Hours 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.