Commit a0f5951d by BellCodeEditor

save project

parent 0f512296
Showing with 1 additions and 8 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') # 下一曲按钮
a=pygame.font.Font('neuropol.ttf',14)
music_list = []
path = "C:\\Users\\Administrator\\Desktop\\test"
filelist = os.listdir(path)
......@@ -88,13 +88,6 @@ while True:
pos=(newRect[0],newRect[1])
if pygame.mixer.music.unpause:
angle += 1
time=pygame.mixer.music.get_pos()
time1=int(time/1000)
time2=time1//60
time3=time1%60
time4=str(time2)+':'+str(time3)
test=a.render('time4',True,(255,255,255))
screen.blit(test, (120, 440))
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(logo_img, (170, 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