Skip to content

Mercrist/PacMan

Repository files navigation

Pac-Man++

C++ Ver OF Ver

Pac-Man game written and coded in C++ using the OpenFrameWorks library. The player controls Pac-Man and must attempt to eat all of the white dots on the screen while dodging the incoming ghosts. The base game has been enhanced with added ghosts and power ups.

Gameplay

Controls

Keys Actions
WASD The four keys that move Pac-Man up, down, left, or right.
Spacebar Activates a Power Up based on what ghost Pac-Man has eaten.
P Pauses the screen when in game.

Special Ghosts and Power Ups

Ghosts                                          Description
Random Ghost When Pac-Man reaches 500 points, a ghost is spawned on a random dot on the map. Eating this ghost spawns another random ghost on another dot on the map.
Peek A Boo Ghost Spawns when Pac-Man reaches 1000 points. This ghost is invisible until Pac-Man gets close to said ghost.
Power Ups                                     Effect
RandomPowerUp When activated, teleports Pac-Man to a random dot on the map. Pac-Man gains this Power Up when a Random Ghost is eaten.
InvincinbilityPowerUp When activated, for a brief amount of steps, makes Pac-Man invincible and invisible so that he may dodge any incoming ghosts. Can't be activated if Pac-Man is too close to a ghost. Pac-Man gains this Power Up when a Peek A Boo ghost is eaten.

Downloading and running

After downloading and extracting bin.rar from the releases page, double click on the exectuable to run the program.

About

Custom PacMan project developed in C++ utilizing version 0.11.2 of OpenFrameWorks.

Resources

Stars

Watchers

Forks

Packages

No packages published