diff pytouhou/ui/gamerenderer.pyx @ 274:f037bca24f2d

Partially implement lasers. “Launch animations”/“energy circles” are missing, aswell as collision and grazing.
author Thibaut Girka <thib@sitedethib.com>
date Sun, 05 Feb 2012 23:41:55 +0100
parents 80e73b8245a4
children 4838e9bab0f9
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.pyx
+++ b/pytouhou/ui/gamerenderer.pyx
@@ -86,7 +86,7 @@ cdef class GameRenderer(Renderer):
             self.render_elements(chain(game.players_bullets,
                                        game.players,
                                        *(player.objects() for player in game.players)))
-            self.render_elements(chain(game.bullets, game.cancelled_bullets, game.items))
+            self.render_elements(chain(game.bullets, game.lasers, game.cancelled_bullets, game.items))
             #TODO: display item indicators
             glEnable(GL_FOG)