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; it won't even compile. Let's add a few lines.
Strict #rem Script: chainreaction.monkey Description: Sample script from chapter #5 of the book "Monkey Game Development Beginners guide" by PacktPub Author: Michael Hartlef #end Import...