Page 2 of 15 Adding Sprites Our game needs images for the walls, the fruits, and the ghosts. Such images are called sprites in Game Maker. So the first step is to add some sprites. To add a sprite click on the Resources menu and press Create Sprite or click on the button with the Pacman symbol:
A rather empty form will appear. In this form, press the button Load Sprite.
In the file selector that appears open the folder `Tutorial1` and in there double click on the image `wall.png`. (If you do not see the folder `Tutorial1` you should navigate in the file selector to the folder where Game Maker was installed. There you find a folder `Sprites` and in it you find the `Tutorial1` folder with the sprites.)
The sprite form should now show the wall block image. You might want to give the sprite an appropriate name, e.g. `spr_wall`.
Now press the OK button to close the form. At the left of the Game Maker window you should now see the sprite you just added. In the same way add sprites for the apple, banana, bomb, cherry, and strawberry and give them appropriate names. The list at the left of the window should now look as follows:
Before continuing you might want to save your work. Click on the File menu, press Save, and select an appropriate location and file name. Note that the file will get the extension `.gmk`. All files created with Game Maker will have that extension.
Click on the Next button to go to the next page of the tutorial.