hey guys i am at a loss with my pacman game
im trying to make it like the original where the 4 ghosts have different attributes such as
clyde (yellow) = tracks directly towards the player until he is 4 tiles away then runs away
Blinky (red) = tracks the player and speeds up once half of the pellets have been collected
pinky (pink (duh)) = tracks to 2 spaces ahead of pacman
inky (blue) = tracks to 2 spaces behind pacman
but i have no clue where to start
i have created my world useing an 2D array and intend to keep it that way there are 31x28 tiles in the world (each tile is 30x30)
i have also created a new layout for the game
anyone know what i need to be doing to get the ghosts to follow their attributes and seek pacman and not go through the walls

