Commit 8c72a085 by BellCodeEditor

auto save

parent e82b83c6
Showing with 3 additions and 2 deletions
...@@ -64,7 +64,8 @@ while True: ...@@ -64,7 +64,8 @@ while True:
click += 2 click += 2
else: else:
click += 1 click += 1
music=pygame.mixer.sound(path + "\\" + music_list[num])
pygame.
if x > 120 and x < 220 and y > 350 and y < 400: # 上一曲 if x > 120 and x < 220 and y > 350 and y < 400: # 上一曲
num -= 1 num -= 1
if num < 0: if num < 0:
...@@ -104,4 +105,3 @@ while True: ...@@ -104,4 +105,3 @@ while True:
screen.blit(text,(120,440)) screen.blit(text,(120,440))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
\ No newline at end of file
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