RE: LZ: Best way to...


[Prev][Next][Index][Thread]

RE: LZ: Best way to...



thanx for responding on how to check for the end of the level ... but here is 
the probably... i am checking the vmem for the walls( to make sure that PM 
does cannot go throught them) so i was just going to have my sprite routine go 
over the dots and erase em(but that wont tell me when there all gone) ... so 
my real question is how or can i distinguish between the dots and the walls? 
Thanx


----------
From: 	owner-list-zshell@lists.ticalc.org on behalf of A.K.A. TheWiz
Sent: 	Tuesday, October 22, 1996 10:22 AM
To: 	list-zshell@lists.ticalc.org
Cc: 	Zshell
Subject: 	Re: LZ: Best way to...


> 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?


  Yes, have a list somewhere, and when one gets eaten, set the 
corresponding bit to zero (_and_ erase it from the screen); when the 
table's entries are all $00, it's over,


                     /***********************************
                     *           Daniel Knapp           *
                     *       FeatherWate Software       *
                     *     email: dankna@bergen.org     *
                     *                                  *
                     *      Whose account this is,      *
                     *         I think I know.          *
                     * The sysop is in Berkely, though. *
                     * She will not see me typing here, *
                     *        To watch this Mac         *
                     *          Refuse to go.           *
                     ***********************************/