Commit 6c6cb6ba by BellCodeEditor

auto save

parent a337a0a9
Showing with 4 additions and 14 deletions
......@@ -19,6 +19,8 @@ abcd=1
xx=0
yy=0
FPS=pygame.time.Clock()
sss=pygame.font.Font('neuropol.ttf',20)
for i in filelist:
if i[-4:] == ".wav" or i[-4:] == ".ogg":
music_list.append(i)
......@@ -96,21 +98,9 @@ while True:
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
screen.blit(new_logo, (pos))# 中间logo图
text=sss,render(info,True,(0,0,0))
text=sss.render(info,True,(0,0,0))
screen.blit(text,(120,440))
# 刷新画面
pygame.display.update()
FPS.tick(60)
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