O'Reilly logo

Monkey Game Development by Michael Hartlef

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — creating the main source file and its folders

At the time of writing this book, Monk didn't create the needed folder structure for you. So, you need to manually set up the folder for our project:

  1. First, create a new folder for the game; name it chainreaction.
  2. Inside this folder, create a data folder for all the resources with the name chainreaction.data.
  3. Next, copy all the resource files from the chapter's chainreaction.data folder into your .data folder.
  4. Now, also copy the source file of fantomEngine from the book's chapter folder into your project folder. As before, the name is fantomEngine.monkey.
  5. All that is left is to create a new empty script file and save it under the name chainreaction.monkey.
  6. An empty script doesn't do much; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required