diff pytouhou/game/player.py @ 193:9f58e2a6e950

Fix particles, fix "random" item popping, change update order to match the original game's more closely.
author Thibaut Girka <thib@sitedethib.com>
date Fri, 28 Oct 2011 12:38:26 +0200
parents d2b58a26c908
children 1e501e3b6645
line wrap: on
line diff
--- a/pytouhou/game/player.py
+++ b/pytouhou/game/player.py
@@ -79,7 +79,7 @@ class Player(object):
             self.death_time = self._game.frame
             self._game.new_death((self.state.x, self.state.y), 2)
             for i in range(16):
-                self._game.new_particle((self.state.x, self.state.y), 2, 4., 256, delay=True) #TODO: find the real size and range.
+                self._game.new_particle((self.state.x, self.state.y), 2, 4., 256) #TODO: find the real size and range.
 
 
     def collect(self, item):