Commit 49b115a0 by BellCodeEditor

save project

parent ed5a1591
Showing with 5 additions and 2 deletions
......@@ -102,12 +102,14 @@ while True:
play_time=play_time//1000
play_a=play_time//60
play_b=play_time%60
if play_b < 10:
play_b="0"+str(play_b)
music_length_a=music_length//60
music_length_b=music_length%60
play_c=str(play_a)+":"+str(play_b)
music_length_c="/"+str(music_length_a)+":"+str(music_length_b)
music_length_c="/"+"0"+str(music_length_a)+":"+str(music_length_b)
wcc=font.render(music_length_c,True,(0,0,0))
wee=font.render(play_c,True,(0,0,0))
new_logo=pygame.transform.rotate(logo_img,angle)
......@@ -122,7 +124,7 @@ while True:
screen.blit(new_logo, pos) # 中间logo图
screen.blit(last_img, (120, 350)) # 上一曲
screen.blit(next_img, (420, 350)) # 下一曲
screen.blit(wee,(120,440))
screen.blit(wee,(110,440))
screen.blit(wcc,(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