- Added level musix

master
Steve Clement 2014-08-30 23:15:35 +02:00
parent ce515a898d
commit f0d6fe8784
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class TheGame:
pygame.mixer.music.load("""audio/level1.wav""") pygame.mixer.music.load("""audio/level1.wav""")
elif lvl == 2: elif lvl == 2:
pygame.mixer.music.load("""audio/level2.wav""") pygame.mixer.music.load("""audio/level2.wav""")
elif lvl == 3: elif lvl >= 3:
pygame.mixer.music.load("""audio/level3.wav""") pygame.mixer.music.load("""audio/level3.wav""")
pygame.mixer.music.play() pygame.mixer.music.play()
@ -119,6 +119,7 @@ class TheGame:
timeleft = time timeleft = time
avocados = [] avocados = []
print('DEBUG :: Level ' + str(level)) print('DEBUG :: Level ' + str(level))
game.playLevel(level)
# Let's add the lawyer # Let's add the lawyer
fullegast.blitme() fullegast.blitme()