Commit 6dd9939f by BellCodeEditor

save project

parent 4058902e
Showing with 7 additions and 2 deletions
......@@ -87,10 +87,14 @@ while True:
newrect=new_logo.get_rect(center=(320,200))
pos=(newrect[0],newrect[1])
angle += 1
time=int(pygame.mixer.music.get_pos()/1000)
m=time//60
s=time%60
info=str(m)+':'+str(s)
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(new_logo,pos)
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
screen.blit(next_img, (420, 350))
print(info)
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