Summary

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 with the features of Monkey. In the next chapter, we will make use of third-party modules, so we can type less. Remember, modules are nothing more than extra classes and functions that give you specific extra functionalities.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.249.158