Commit 95edfb70 by BellCodeEditor

save project

parent 51b02adf
Showing with 2 additions and 3 deletions
...@@ -53,10 +53,9 @@ while True: ...@@ -53,10 +53,9 @@ while True:
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
# 载入音乐 # 载入音乐
num+=1 num+=1
if num > len(filelist)-1: if num > len(music_list)-1:
num = 0 num = 0
pygame.mixer.music.load(filelist[num]) pygame.mixer.music.load(music_list[num]) # 载入音乐
pygame.mixer.music.load('歌曲4.ogg') # 载入音乐
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