Summary

We covered quite a few Monkey basics here and also programmed our first little game, Pongo. So what did we learn about exactly in this chapter?

  • We opened Monk, the code editor, and learned how to create a project. This is something you will use very often, later on.
  • While we created our first script, we learned how to print messages into the browser during the development of our first game, Pongo.
  • We learned how to read input from the keyboard and draw basic shapes, such as circles and rectangles.
  • In Pongo, we created a very simple computer AI and used a simple algorithm to check for collisions.

Now you know quite a few things about Monkey. But do yourself a favour; also study the documentation of Monkey, and study the sample scripts in the bananas folder. They are a fountain of information.

Next stop, next game!

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

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