× Home Design Doc Phase 0 Phase 1 Phase 2 Phase 3
Phase 4 Phase 5 Phase 6 Comics About Contact
pacman

CODE

Creating Your First Ghost

In this section we'll create our first ghost. Then we'll make him move around the screen on his own.

Go to Level 8 >>>

Giving the Ghost AI

In this section we will give our ghost some basic AI so that he can chase Pacman around the maze.

Go to Level 9 >>>

Giving the Ghosts a Home

In this section we will give our ghost some basic AI so that he can chase Pacman around the maze.

Go to Level 10 >>>

Freight and Spawn Modes

Everything is set up for the ghosts. All we need to do now is define the freight and spawn modes. Remember that the freight mode is the state the ghosts are in when Pacman eats a power pellet. The spawn mode is the state the ghosts are in when Pacman eats them. These are major components of the game, so let's figure it out in this section.

Go to Level 11 >>>

Back Top Next