Commit 259cd80b by BellCodeEditor

save project

parent 71049ef7
Showing with 11 additions and 4 deletions
......@@ -41,9 +41,16 @@ while True:
else:
play_button=play_img
pygame.mixer.music.pause()
if x > and x < 220 and y < 400:
num -= 1
if num < 0
num = len(music_list)-1
pygame.mixer.music.load(path+"\\"+music.list[num])
pygame.mixer.music.play()
play_button=stop.play()
click=0
U
if pygame.mixer.music.get_busy()==False:
pygame.mixer.music.play()
# 绘制画面
......@@ -52,5 +59,5 @@ while True:
screen.blit(logo_img, (170, 60)) # 中间logo图
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
# 刷新画面
# 刷新画面
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