TIME TO MAKE OUR FIRST INTERACTIVE SPRITE!
description
Transcript of TIME TO MAKE OUR FIRST INTERACTIVE SPRITE!
TIME TO MAKE OUR FIRSTINTERACTIVE SPRITE!
LAST WEEK WE WERE MAKING SPRITES, or simple PIXELATED Graphics of our favorite CHARACTERS. Feel
free to spend some time creating more SPRITES.
As cool as the SPRITES that we painted on CELS are, we really Want to take those designs and create a small photoshop document, Generally 32 pixels wide, with
limited color choices, as well as another SPRITE that is just will be our BARRIER for now…
GAMEMAKER!
Gamemaker is a wonderful tool for starting out. First load the SPRITES and then create OBJECTS using those sprites
that we will attach VARIABLES to.
THE BARRIER
The Barrier is easy we just set that OBJECT to be a SOLID.Basically the other object will not be able to move
over it at all.
LEFT and RIGHT
Our movable object will need to:-Move Left
-Move Right-Jump
USER CONTROLS
First we will make the object move LEFT and RIGHT. Remember we need to create a ROOM in order for it to
move left and right in.Anyhow, we will be ADDING EVENTS which are all about the CONTROLLER. We can drag certain ACTIONS into the
CONTROLLER once it is set.
SCREEN SHOTS
ACTION for LEFT and RIGHT-IF a position is collision free
-JUMP to a given position
JUMP
ACTION for LEFT and RIGHT-IF a position is collision free
-JUMP to a given position
COLLISIONS
The SPRITE we made will come into contactWith the barrier, so we have to tell it what
To do.
STEP & GRAVITY
The last few screens are about making the STEP actionFunction correctly. Try and thing out why the
Commands are making our SPRITE do what weAsk it to!