Commit 9530e6f3 by BellCodeEditor

auto save

parent 42619412
Showing with 11 additions and 1 deletions
...@@ -71,7 +71,7 @@ while True: ...@@ -71,7 +71,7 @@ while True:
pygame.mixer.music.load(path+'\\'+p[a]) pygame.mixer.music.load(path+'\\'+p[a])
pygame.mixer.music.play() pygame.mixer.music.play()
click=2 click=2
play_button = stop_img play_button = stop_img
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
a+=1 a+=1
if a > len(p)-1: if a > len(p)-1:
...@@ -87,3 +87,13 @@ while True: ...@@ -87,3 +87,13 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲 screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
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