That was quite a chapter! And what did we learn? We created the game RocketCommander. During its development, we covered the following:
- Lists: Storing objects inside lists, iterating through them, and removing objects from a list.
- Lines and text: We learned how to draw lines, changed colors, and learnt how to draw text.
- Collision detection: We talked about simple collision detection that calculates the distance between two points. Once you put a radius into the calculation, you have a simple circle-collision check.
That's all for this chapter, but not all for this book. If you have completed this chapter as well as the previous one, Chapter 2, Getting to Know your Monkey—a Trip to the Zoo, you have now a good background on how you can work ...