Commit 3acf57c5 by BellCodeEditor

save project

parent 2406373e
Showing with 6 additions and 0 deletions
...@@ -79,6 +79,12 @@ while True: ...@@ -79,6 +79,12 @@ while True:
num = 0 num = 0
pygame.mixer_music.load(path+"\\"+music_list[num]) pygame.mixer_music.load(path+"\\"+music_list[num])
pygame.mixer_music.play() 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)
new_logo = pygame.transform.rotate(logo_img,angle) new_logo = pygame.transform.rotate(logo_img,angle)
......
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