1
Fork 0

Changed background colour from testing

This commit is contained in:
Jake Howard 2015-05-09 22:41:12 +01:00
parent b4d835fe70
commit f08a12d577

View file

@ -81,7 +81,7 @@ def play(window):
target_movement_timeout = target_movement_timeout_default target_movement_timeout = target_movement_timeout_default
while PLAYING_GAME: while PLAYING_GAME:
window.fill((13,123,123)) window.fill((0,0,0))
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == pygame.QUIT: if event.type == pygame.QUIT:
@ -120,7 +120,7 @@ def play(window):
if bullet.type == "TARGET": continue if bullet.type == "TARGET": continue
target_group.remove(target) target_group.remove(target)
bullet_group.remove(bullet) bullet_group.remove(bullet)
logging.info("Hit Target!") logging.debug("Hit Target!")
player.score += 1 player.score += 1
hit_list = pygame.sprite.spritecollide(bullet, player_group, True) hit_list = pygame.sprite.spritecollide(bullet, player_group, True)