Commit a4af3457 by BellCodeEditor

save project

parent 397c0677
Showing with 5 additions and 1 deletions
......@@ -12,6 +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') # 下一曲按钮
myfont=pygame.font.Font('neuropol.ttf',16)
music_list = []
path = "C:\\Users\\DELL\\Desktop\\新建文件夹"
......@@ -87,7 +88,8 @@ while True:
playtime=int(playtime/1000)
playm=playtime//60
plays=playtime%60
info=str(playm)':'+str(plays)
info=str(playm)+':'+str(plays)
text=myfont.render(info,True,(0,0,0))
new_logo = pygame.transform.rotate(logo_img, angle)
newroct=new_logo.get_rect(center=(320,200))
pos=(newroct[0],newroct[1])
......@@ -98,5 +100,6 @@ while True:
screen.blit(new_logo, pos)
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
screen.blit(text,(120,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