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 basic file structure

So, let's set up our development folder. Follow the given steps:

  1. Create a new project folder with a name you choose.
  2. Load the baseScript.monkey file, which holds the basic structure for our game.
  3. Change the information at the top of the script to your data, and save it under a name you choose and inside the new folder you created before.
  4. Create a new yourGameName.data folder inside the project folder.
  5. Copy the resources from the ballsout.data folder within your own data folder.
  6. Now, build and run an HTML5 project.

That's all for now!

What just happened?

We have set up the directory and file structure to start developing our game. The fact that we've already built an HTML5 project, will help us in the ...

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