Summary

You’ve finally completed your first game. Congratulations! You also created code that you can use in future games. Adding sprite states is exactly the functionality you need to give your players much greater control over their characters. Almost any 2D game is now within your grasp to create. Your future projects will make heavy use of the efficient collision-detection method.

The next couple of chapters survey several different game genres that take advantage of the tablet’s screen real estate, processing power, and input features. Chapter 6 covers a more complex game in which the player can use a paddle to hit a ball into blocks: the famous Breakout game. The major issue there is dealing with physics.

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.