Mercurial > touhou
diff pytouhou/game/player.py @ 248:77b83064b57e
Use the correct animation for player death.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 21 Jan 2012 21:03:53 +0100 |
parents | 741860192b56 |
children | 0aab9b34299e |
line wrap: on
line diff
--- a/pytouhou/game/player.py +++ b/pytouhou/game/player.py @@ -91,7 +91,7 @@ class Player(object): def collide(self): if not self.state.invulnerable_time and not self.death_time and self.state.touchable: # Border Between Life and Death self.death_time = self._game.frame - self._game.new_death((self.state.x, self.state.y), 2) + self._game.new_effect((self.state.x, self.state.y), 17) self._game.modify_difficulty(-1600) for i in range(16): self._game.new_particle((self.state.x, self.state.y), 2, 4., 256) #TODO: find the real size and range.