Summary

We achieved lots in this chapter, and indeed it would be simple to quickly add more game objects. Perhaps, an occasional UFO like in the original arcade classic.

In the next chapter we will use what we learned in previous projects to set up collision detection and finish off the game. However, a game with precise, clean, smooth moving lines deserves much more accurate collision detection than we used so far.

So, we will concentrate solely on implementing precise, efficient collision detection that will make our Asteroids simulator complete.

Get Android Game Programming by Example 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.