diff pytouhou/game/enemy.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 dbe6b7b2d3fc
children e1bc8c4cbb1a
line wrap: on
line diff
--- a/pytouhou/game/enemy.py
+++ b/pytouhou/game/enemy.py
@@ -187,7 +187,7 @@ class Enemy(object):
             if self._game.stage in [1, 2, 7]:
                 color = 3
         for i in range(number):
-            self._game.new_particle((self.x, self.y), color, 4., 256, delay=False) #TODO: find the real size.
+            self._game.new_particle((self.x, self.y), color, 4., 256) #TODO: find the real size.
 
 
     def set_pos(self, x, y, z):