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:
  1. Click 'Resources' (drop down menu at the top of the main GameMaker window), choose Create Sprite. You should see Sprite Properties, like this:



  2. Click on the Name field where it says sprite0 and rename it to "spr_clown".

  3. Click on the Load Sprite button. This opens a file browser.

  4. 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:



  5. 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:

  1. Click on the 'Resources' menu again, choose Create Sprite. Click on the Name field and rename it to "spr_wall".

  2. Click on the Load Sprite button and select the image file wall.png.

  3. 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