Commit 5b88200d by BellCodeEditor

save project

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