PLEASE HELP US! (Pacman)

edited February 2016 in Programming Questions

Hello everyone, we are a group of students who are working on processing to try to do a pacman game (it's a school project). As the original one, we were thinking about setting up a labyrinth, with a pacman and ghosts inside. However, we have some problems when trying to do the program in processing:

-How could we manage to make the pacman going through the labyrinth (white path) without getting a out of it (black stroke). I mean, the path would be colored in white, while the walls would be colored in black.

-How could we manage to know the ubication of a pixel ?(is there a processing fonction/reference that allows us to know it?)

We would be gratefull if you could help us.

Tagged:

Answers

Sign In or Register to comment.