These monsters will creep along the walls, slower than the other monsters.
Monster ALL Moving
Go into the monster ALL object, and add a Create event:
- Move Fixed – in all 4 directions (up + down + left + right),
speed “4” (needs to be slower, it’s hard to avoid this one)


Add an event Collision with wall and add the following action:
- Move Free: direction = direction+90, speed “4”


Duplicate the action 2x ..

…change the other ones to direction+180 and direction-90; speed should not change, stay 4.


Add the Check Empty action with x = hspeed, y = vspeed, objects (default, only solid), relative

Duplicate the Check Empty action.

Change the order of the Check Empty actions so it’s like this…

Then add the Exit Event action after each Check Empty action like this…

Room: Testing #3
Test it out, making sure they creep along the walls like this…

If something is not working, you can quickly see what’s wrong by going into Show Information.

If you don’t see this option, save your game and then go to File > Advanced Mode.

Then go to File > Recent Files … to open your game again quickly.
To get out of this view, click on the green checkmark at the top left…

Losing Lives
Go into your person object and duplicate either of the collision with monster events.

Set it to Collision with monster ALL (you don’t have to change anything).

Test it out, make sure monsters kill you.
Facing Directions
First change the sprite to the “monster3_nice”.

Start by adding the End Step event…

After hits a wall, let’s check if it starts …
Going Left?
If hspeed smaller than 0, then subimage “3”


So you should have these 2 actions to start …

Going Right?
If hspeed larger than 0, then subimage “2”


So you should have these actions at the bottom…

Going Up?
If vspeed smaller than 0, then subimage “1”


So you should have 2 more actions at the bottom…

Going Down?
If vspeed larger than 0, then subimage “0”


So you should have 2 more actions at the bottom…

Check that you have the actions in the right order. Click on Show Information button…

Make sure the order of subimages is 3, 2, 1, 0. To go back to normal view, click on the green checkmark.

Test your game
Make sure they all face the direction they’re moving like this.

Keep it open in the testing level to get checked off.

Playing Level
Continue the game – hit ‘N‘ key to go to the playing level with these monsters.

You must play this game until you’ve collected all the diamonds without losing all your lives.
