Commit 5b88200d by BellCodeEditor

save project

parent c22b8b69
Showing with 7 additions and 1 deletions
......@@ -96,7 +96,9 @@ while True:
play_m = play_time//60
play_s = play_time % 60
info = str(play_m) + ":" + str(play_s)
music_m = music_length//60
music_s = music_length%60
info2 = str(music_m)+":"+str(music_s)
new_logo = pygame.transform.rotate(logo_img, angle)
newRent = new_logo.get_rect(center=(320,200))
......@@ -112,6 +114,10 @@ while True:
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
scoreSurf = basic_font.render(info,True,(255,255,255))
screen.blit(scoreSurf,(120,440))
scoreSurf2 = basic_font.render("/"+info2,True,(0,0,0))
screen.blit(scoreSurf2,(170,440))
pygame.display.update()
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