Commit 5f185709 by BellCodeEditor

save project

parent 8ad5147f
Showing with 2 additions and 0 deletions
...@@ -80,6 +80,8 @@ while True: ...@@ -80,6 +80,8 @@ while True:
num += 1 num += 1
if num > len(music_list)-1: if num > len(music_list)-1:
num = 0 num = 0
music1=pygame.mixer.sound()
music_length=music
pygame.mixer.music.load(path + "\\" + music_list[num]) pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play() pygame.mixer.music.play()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment