views
66
likes
2

Comments

What do you think?
No comments yet.

Pacman

written by Mark Overmars

images by Billy McQuown

Goal

A traditional game like pacman should of course be present. The goal of this game is to remove all dots by eating them with your pacman. Monsters try to eat you so you should avoid them. The stars will help you. When you eat one of those the monsters temporarily become afraid and can be chased for points. Also sometimes a bonus appears. Get the highest score and don't be eaten.

Playing

You steer your pacman using the arrow keys. You can already press the correct key before you reach the corridor (but keep it pressed).

Levels

The game has four levels. They become increasingly harder.

Design

Pacman is obviously not a trivial game to make. Still it is not too difficult. Here are a few issues that I had to deal with:

There are five different pacman sprites because paman should look different depending on the direction of movement. In the keyboard events, the correct sprite is choosen.

To create a nice looking background, the walls are actually drawn on the background image. There is just one wall object that is placed on top of them to make them block the pacman and the monsters. This wall object is invisible such that you don't see it (but it is there!).

The monster sprite consists of 4 different images. In the creation event, a random subimage is choosen to get a random color.

The most difficult thing is the motion of the monsters. They sometimes have to move into a side-corridor but there is no event that can trigger this. So there is a little script that is called in the step event of the monsters to achieve this. In this version the monster don't try to go towards pacman.

To get wrap-around when the monsters or the pacman go off the screen, a standard script is used.

Made With Gamemaker 8.1 Standard #arcade #gamemaker



all-ages
Nothing has been posted to this project page yet. Check back later!