Tutorial
Page 2 of 9
Sprites
For our little game we use the following two sprites, which can be found in the Catch The Clown Assets folder that comes with this tutorial:
The clown:
The wall:
To add these sprites to the game we do this:
- Click 'Resources' (drop down menu at the top of the main GameMaker window), choose Create Sprite. You should see Sprite Properties, like this:
- Click on the Name field where it says sprite0 and rename it to "spr_clown".
- Click on the Load Sprite button. This opens a file browser.
- Find the Catch The Clown Assets folder that came with this tutorial and select the image file clown.png. The sprite properties should now look like this:
- Press the OK button to close the form.
Set the sprite origin to its center.
Next we will add the wall object in the same way:
- Click on the 'Resources' menu again, choose Create Sprite. Click on the Name field and rename it to "spr_wall".
- Click on the Load Sprite button and select the image file wall.png.
- Press the OK button to close the form.
No need to change the origin, nor the collision mask for this sprite as they are fine as they are.
© Copyright YoYo Games Ltd. 2014 - Updated for KS3, by Mr. Robinson