Commit 2c5f92df by BellCodeEditor

auto save

parent 4549c118
Showing with 5 additions and 1 deletions
......@@ -12,7 +12,7 @@ stop_img = pygame.image.load('stop.png') # 暂停按钮
last_img = pygame.image.load('last.png') # 上一曲按钮
next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
my_font = pygame.font.Font("neuropol.ttf")
music_list = []
path = "C:\\Users\\Administrator\\Desktop\\text"
filelist = os.listdir(path)
......@@ -91,6 +91,10 @@ while True:
angle += 1
else:
angle += 0
play_time = pygame.mixer.music.get_pos()
play_time = int(play_time/1000)
play_m = play_time
# 绘制画面
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