GameMaker+Game+Fruit

Your First Game Welcome to //Game Maker//. This tutorial shows you how to create your first game. It will take just 30 minutes to complete and will teach you the important basics of //Game Maker//. We assume you run //Game Maker// in **Simple** mode. (You can see this in the window caption.) If not, click on the **File** menu and press **Advanced Mode** to remove the checkmark:



In the game we create, some pieces of fruit move around. The player must click on the fruits with BLA BLA BLA .... BLA! SCOUT99 AND RIN 16 ARE AWSOME!!!!

AWSOE!

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:

image/ 01_spriteadd.png

A rather empty form will appear. In this form, press the button **Load Sprite**.

image/ 01_spriteload.png

In the file selector that appears open the folder and in there double click on the image. (If you do not see the folder you should navigate in the file selector to the folder where //Game Maker// was installed. There you find a folder  and in it you find the  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..

image/ 01_spritename.png

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. All files created with //Game Maker// will have that extension.