Livl-Corporation / livl-pacman

Insane Pac-Man clone from © Livl Corporation 🕹️
MIT License
0 stars 1 forks source link

Increasing game speed #54

Closed FranckG28 closed 1 year ago

FranckG28 commented 1 year ago

See here ! https://www.gamedeveloper.com/design/the-pac-man-dossier

jvondermarck commented 1 year ago

Speed

The game starts with Pac-Man at 80% of his maximum speed. By the fifth level, Pac-Man is moving at full speed and will continue to do so until the 21st level. At that point, he slows back down to 90% and holds this speed for the remainder of the game. Every time Pac-Man eats a regular dot, he stops moving for one frame (1/60th of a second), slowing his progress by roughly ten percent-just enough for a following ghost to overtake him.

Eating an energizer dot causes Pac-Man to stop moving for three frames. The normal speed maintained by the ghosts is a little slower than Pac-Man's until the 21st level when they start moving faster than he does. If a ghost enters a side tunnel, however, its speed is cut nearly in half.

When frightened, ghosts move at a much slower rate of speed than normal and, for levels one through four, Pac-Man also speeds up. The table below summarizes the speed data for both Pac-Man and the ghosts, per level. This information is also contained in Table A.1 in the appendices.

![Image](https://github.com/Livl-Corporation/livl-pacman/assets/62793491/2fb118c6-f265-4fca-ab5e-8123d47f523b)