Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gamemaker Essentials

You're reading from   Gamemaker Essentials Learn all the essential skills of GameMaker: Studio and start making your own impressive games with ease

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784396121
Length 154 pages
Edition 1st Edition
Arrow right icon
Toc

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

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime