Computer Science Canada

Isu Maze game Points problem EDITED

Author:  godofquestions [ Wed Jun 13, 2007 3:01 pm ]
Post subject:  Isu Maze game Points problem EDITED

In the maze game that I'm creating and still working on Sad I am trying to put in points in the game.

I want it to be like pacman, when you eat the fruit in pacman, it disappears and your score goes up.
Any ideas on how I can create this in turing? without too much hassle.

EDIT:well i added the pellets and the score works the only thing I cant seem to figure out is when the player goes over the pellet, how I can get the pellet to disappear.

All ideas are welcome! Very Happy

Author:  Albrecd [ Wed Jun 13, 2007 8:29 pm ]
Post subject:  Re: Isu Maze game Points problem EDITED

You should hold the status of each dot in a boolean. If the boolean for said dot is true, then draw the dot. If the player moves over the dot, make said boolean := false.


: