Browse Source

http://gogs.es-lab.de/ZhaoXue/PythonRepo.git

Xue Zhao 1 year ago
parent
commit
313d60b94a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      GameOver.py

+ 2 - 2
GameOver.py

@@ -26,13 +26,13 @@ def gameOver(spieler):
     pygame.display.update()
     pygame.time.wait(500)
     pygame.mixer.music.stop()
-    pygame.mixer.music.load("Sound/Gameover2.wav")
+    pygame.mixer.music.load("Sound/Gameover2.wav")                        #Wenn das Bild(GemeOver) aktiviert, der Musik wird auch aktiviert.
     pygame.mixer.music.play(-1, 0.0)
     pygame.mixer.music.set_volume(1)
     pygame.display.update()
     pygame.time.wait(2000)
     pygame.mixer.music.stop()
-    pygame.mixer.music.load("Sound/level.mp3")
+    pygame.mixer.music.load("Sound/level.mp3")                            #Nach der Aktivierung des Musiks und des Bilds wird normaler Musik aktiviert.
     pygame.mixer.music.play(-1, 0.0)
     pygame.mixer.music.set_volume(1)
     level = 0