Re: [Magicor-devel] rev 89 : level issues - die after win continued
Status: Beta
Brought to you by:
petgeb
From: Peter G. <pe...@us...> - 2006-11-15 18:55:42
|
> if a fire begins to fall, increment can_propagate > if an entity activates other, increment can_propagate > if an entity activated cannot activate another, Would it not be easier to check that no blocks, no fires and no player is= =20 falling? If all those objects are stationary you can finish the level, bu= t=20 if one of them is moving you have to wait. We would have to make a special check on lava to see if it's currently=20 igniting. When nothing is moving, falling or igniting we can finish. How's that? > decrement can_propagate > if a fire stops to fall, after chek for posible > neighbor activation , decrement > etc for ice falling, ice cracking and wathever > Then we change player.finished() > from > def finished(self): > if not self.dead and not self._finished and > self.canMove(): > to: > def finished(self): > if not self.dead and not self._finished and > self.canMove() and not can_propagate: >=20 > How you see this ? >=20 > cya > Claudio >=20 > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam =A1gratis!=20 > =A1Abr=ED tu cuenta ya! - http://correo.yahoo.com.ar >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Magicor-devel mailing list > Mag...@li... > https://lists.sourceforge.net/lists/listinfo/magicor-devel >=20 |