Commit 73573f5f by BellCodeEditor

save project

parent fdaf55d6
Showing with 8 additions and 0 deletions
......@@ -50,6 +50,14 @@ while True:
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
if pygame.mixer.music.get_busy() == False:
num += 1
if num > len(filelist)-1:
num = 0
pygame.mixer.music.load(filelist[num])
pygame.mixer.music.play()
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
......
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