Commit 43fe0fcf by BellCodeEditor

save project

parent 45b57dfe
Showing with 9 additions and 1 deletions
......@@ -84,6 +84,13 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
play_time = pygame.mixer.music.get_pos()
play_time = int(play_time/1000)
play_m = play_time//60
play_s = play_time%60
info = str(play_m)+":"+str(play_s)
vvv=pygame.font.Font(sss.ttf,18)
www = sss.ran(info,True,(255,255,255))
new_logo = pygame.transform.rotate(logo_img, angle)
new_rect = mew_logo.get_rect(center=(320,300))
pos = (new_rect[0],new_rect[1])
......@@ -94,6 +101,7 @@ while True:
screen.blit(new_logo.pos)
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
screen.blit(www(400,200))
pygame.display.update()
clok.tick()
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