Commit 1654b342 by BellCodeEditor

auto save

parent ea7f2eb8
Showing with 4 additions and 3 deletions
......@@ -103,8 +103,8 @@ while True:
info = str(play_m) + ":" +str(play_s)
#歌曲的时间长度
music_m = music_lenght // 60
music_s = music_lenght % 60
music_m = music_len // 60
music_s = music_len % 60
if music_s < 10 :
music_s = "0" +str(music_s)
info2 = str(music_m) + ":" + str(music_s)
......@@ -125,7 +125,7 @@ while True:
screen.blit(next_img, (420, 350)) # 下一曲
scoreSurf = basic_font.render(info,True,(255,255,255))
screen.blit(scoreSurf,(120,440))
scoreSurf2 = basic_font.render("/" + info2,Ture,(0,0,0))
scoreSurf2 = basic_font.render("/" + info2,True,(0,0,0))
screen.blit(scoreSurf2,(170,440))
# 刷新画面
pygame.display.update()
\ No newline at end of file
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