소스 검색

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

Xue Zhao 2 년 전
부모
커밋
313d60b94a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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