Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

7. Game #6, At The Docks > Time for action — creating the basic file structure

Time for action — creating the basic file structure

Ok, set up the development folder with the following steps:

  1. Create a new project folder with a name you choose, such as At the docks, for example.
  2. Load the baseScript.monkey file, which holds the basic code 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, inside the new folder you created before.
  4. Create a new yourGameName.data folder inside the project folder.
  5. Copy the resources from the atthedocks.data folder inside your own data folder.
  6. Now, build and run an HTML5 project.

What just happened?

You have set up the directory and file structure for the game. And you have built an HTML5 project that will help you further on. But wait, we need to do something so we can test conveniently on your development machine.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial