Commit 44e04be1 by BellCodeEditor

auto save

parent 858576bc
Showing with 2 additions and 1 deletions
...@@ -13,7 +13,7 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮 ...@@ -13,7 +13,7 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮
last_img = pygame.image.load('last.png') # 上一曲按钮 last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮 next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮 logo_img = pygame.image.load('logo.png') # 下一曲按钮
basic_font=pygame.font.Font('neuroprl',14) basic_font=pygame.font.Font('neuroprl.ttf',14)
#music_list = [] #music_list = []
#path = "C:\\Users\\bellcode\\Desktop\\test" #path = "C:\\Users\\bellcode\\Desktop\\test"
#filelist = os.listdir(path) #filelist = os.listdir(path)
...@@ -81,6 +81,7 @@ while True: ...@@ -81,6 +81,7 @@ while True:
else: else:
click += 1 click += 1
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
num += 1 num += 1
if num > len(music_list)-1: if num > len(music_list)-1:
......
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