Commit 97101b6c by BellCodeEditor

auto save

parent 7f684756
Showing with 3 additions and 1 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,6 +87,8 @@ while True:
e=n.get_rect(center=(320,200))
pos=(e[0],e[1])
if play_button==stop_img:
c+=1
# 绘制画面
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