Skip to content

2. Design

cla4d1aa edited this page Mar 10, 2024 · 4 revisions

Page Content

Background of the videogame

Level analysis

Gameplay

Background of the videogame

The background of the video game revolves around a magical world where Pac-Man is the main character. He is round and yellow, and he finds himself in a maze filled with white dots called pills that he must eat. However, this won't be so easy because there are enemies known as ghosts trying to trap him. Pac-Man must dodge the ghosts while eating all the pills to advance to the next level.

Level analysis

The difficulty level of the first two levels is relatively easy compared to the following levels, as it's easier to evade the ghosts. The more levels you pass, the more challenging it will be to dodge them.

The main elements are the player, which is Pac-Man, the pellets, and the four ghosts, each with a different behaviour. Blinky has an aggressive and pursuing personality, and he's the only one who speeds up with levels. Pinky's function is to ambush and assist Blinky in catching Pac-Man. Clyde is the calmest of all; he'll only approach if Pac-Man is within 8 squares. Finally, Inky has unpredictable behaviour as he's programmed to mimic the other ghosts' movements. We also have power pellets that allow Pac-Man to eat the ghosts for a limited time. Additionally, there are extra points such as fruits; in the first two levels, we can find a cherry and a strawberry.

Collisions in this game are essential as they determine whether Pac-Man is caught by the ghosts or has managed to evade them. Therefore, it is implemented precisely so that encounters between the player (Pac-Man) and the ghosts are fair and consistent.

Gameplay

Mechanics:

The game mechanics of the game are that the player must control Pac-Man through the map, which is a maze in order to eat all the pills while avoiding the ghost so as not to be caught when Pac-Man eats a power pill the ghost turn blue, indicating that the player can eat them and send them back to their den.

Rules:

The game has three main rules,eat all the pills on the map, avoid being caught by the ghosts, and strategically eat the power pill to be able to eat the ghost and thus obtain additional points. The game ends when Pac-Man is trapped by ghosts or runs out of lives.

Objects:

The objects and events that we have to define are:

Characters of the player:

  • Pac-Man is the main character co-controlled by the player.

Characters not player:

  • Ghosts (Blinky, Pinky, Inky, Clyde), the main enemies of Pac-Man, chase him.

Map obtects/score/health:

  • Small points, these are obtained by eating pills.
  • Super points, these are obtained by eating power pills, allowing Pac-Man to eat the ghosts.
  • Fruits, they appear occasionally and grant extra points.
  • Lives, Pac-Man starts with a limited number of lives.

Controls:

The player will use the keyboard plushes to move it through the maze.

  • Arrow up: Pac-Man moves up.
  • Arrow down: Pac-Man moves down.
  • Left arrow: Pac-Man moves to the left.
  • Right arrow: Pac-Man moves to the right.

Clone this wiki locally