Re: LZ: Best way to...
[Prev][Next][Index][Thread]
Frank wrote:
>
> What you think the best way to (in pacman) erase the dots pacman 'eats', if i
> just check the vmem and then erase it how can i tell when the level is done?
> Any other ideas?
I would create a counter variable that gets decremented everytime a dot
get's eaten. Set it initially to the total number of dots in the game,
you win when the number reaches zero
<pre>
--
_
(_
|_)teve
|eterson
mailto:stevep@comso.com
http://www.tco.net/~steve/
http://www.tco.net/~steve/hardware/
</pre>
References: