Mercurial > fife-parpg
comparison demos/shooter/scripts/scene.py @ 489:0324a3533988
Updated the Shooter demo credits.txt file and added the LICENSE file for all media included in the demo.
Cleaned up some print statements in the shooter demo.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 05 May 2010 14:29:37 +0000 |
parents | 7f1c42b66aa4 |
children | c4168eb47a44 |
comparison
equal
deleted
inserted
replaced
488:23d01971e9c2 | 489:0324a3533988 |
---|---|
155 enemy.scenenodeid = nodeindex | 155 enemy.scenenodeid = nodeindex |
156 self._nodes[nodeindex].spaceobjects.append(enemy) | 156 self._nodes[nodeindex].spaceobjects.append(enemy) |
157 | 157 |
158 for instance in powerups: | 158 for instance in powerups: |
159 objectName = instance.getId() | 159 objectName = instance.getId() |
160 | |
161 print objectName | |
162 | 160 |
163 if objectName == "cannonspread5": | 161 if objectName == "cannonspread5": |
164 powerup = CannonSpread5PU(self, 'cannonspread5', instance, False) | 162 powerup = CannonSpread5PU(self, 'cannonspread5', instance, False) |
165 elif objectName == "extralife": | 163 elif objectName == "extralife": |
166 powerup = ExtraLifePU(self, 'extralife', instance, False) | 164 powerup = ExtraLifePU(self, 'extralife', instance, False) |