1
Fork 0

added sprites that shoot back

This commit is contained in:
Jake Howard 2015-05-07 20:06:10 +01:00
parent 265f886b23
commit 36d6e309ff
1 changed files with 5 additions and 2 deletions

View File

@ -132,8 +132,11 @@ def play(window):
target_movement_timeout = target_movement_timeout_default
for target in target_group:
if target.type == "SHOOTING":
temp = Bullet(target)
temp.speed = -3 #So it shoots down!
bullet_group.add(temp)
update_score(window, player.score)
player_group.update()