Replaced game_lost_sound.wav with Kuni

This commit is contained in:
ben 2022-07-26 14:26:42 -05:00
parent ddac591131
commit ff059ff162
2 changed files with 6 additions and 6 deletions

View file

@ -122,15 +122,15 @@ class Scoreboard(Turtle):
self.__spawn_time = self.level_data[self.levels[self.current_level]]['SpawnTime']
SoundAndMusic.play_change_level_sound()
count = 5
countDown = Turtle()
countDown.hideturtle()
countDown.penup()
countDown.goto(0, 0)
count_down = Turtle()
count_down.hideturtle()
count_down.penup()
count_down.goto(0, 0)
SoundAndMusic.pause_music()
while count >= 0:
countDown.write(f'{count}', align=self.CENTER_ALIGN, font=self.GAME_OVER_FONT)
count_down.write(f'{count}', align=self.CENTER_ALIGN, font=self.GAME_OVER_FONT)
time.sleep(1.0)
countDown.clear()
count_down.clear()
count -= 1
SoundAndMusic.unpause_music()
self.draw_scoreboard()