Time for action — create the main source file and its folders
As this is the first time, we will work with the resources files and will need to set up the folder of our project in a slightly different manner:
- Create a new folder for the game, and give it the same name as your main source file.
- Then inside that folder, create another folder with the name of your main source file and the extension
- Copy all the resource files from the chapter's
cometcrusher.data folder into your
- Copy the source file of fantomEngine from the chapter's folder into your project folder. Its name is
- Create a new, empty script file and save it under the name you have chosen.
Inside the new script add the following lines; by now you ...