Book Image

Gamemaker Essentials

4 (1)
Book Image

Gamemaker Essentials

4 (1)

Overview of this book

Table of Contents (16 chapters)

Making the sprites


For this game, we are going to start by getting our sprites ready. We will keep things simple so we can move on to the actual game creation faster.

We need at least three sprites for this game. The first sprite we need is for the player's character, the second is for the player to collect and get points, and the final sprite is the wall that will keep the player inside the game view.

Let's create these now.

We will start off with the wall. Create a new sprite and make it a simple 32 x 32 black solid square. Name it spr_Wall and center its origin.

Next is the collect sprite. This sprite will be used for our collection object. The player's goal will be to collect these to earn points.

To keep things simple, we will just use another square sprite. We can change this later on if we want. Create another new sprite and make it a 16 x 16 yellow/gold square. Name it spr_Collect and center its origin.

We will now make the player sprite. Once again, we will keep things simple and make...