Commit 45e60493 by BellCodeEditor

save project

parent ce7bed9b
Showing with 6 additions and 6 deletions
...@@ -52,12 +52,12 @@ while True: ...@@ -52,12 +52,12 @@ while True:
play_button = play_img play_button = play_img
pygame.mixer.music.pause() pygame.mixer.music.pause()
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
list_number += 1 list_number += 1
if list_number>len(music_list)-1: if list_number>len(music_list)-1:
list_number=0 list_number=0
pygame.mixer.music.load(music_list[list_number]) pygame.mixer.music.load(music_list[list_number])
pygame.mixer.music.play() pygame.mixer.music.play()
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 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