Commit 97101b6c by BellCodeEditor

auto save

parent 7f684756
Showing with 4 additions and 2 deletions
......@@ -14,7 +14,7 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
c=0
music_list = []
path = "C:\\Users\\5\\Desktop\\test"
path = "C:\\Users\\5\\Desktop\\text"
filelist = os.listdir(path)
num = -1
for i in filelist:
......@@ -87,7 +87,9 @@ while True:
e=n.get_rect(center=(320,200))
pos=(e[0],e[1])
c+=1
if play_button==stop_img:
c+=1
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮
......
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