Commit 8d1ce6fc by BellCodeEditor

save project

parent 293adb83
Showing with 12 additions and 1 deletions
...@@ -87,7 +87,18 @@ while True: ...@@ -87,7 +87,18 @@ while True:
timel=str(play_m)+
print(timel)
music1=pygame.mixer.Sound(path + "\\" + music_list[num])
music1_s=int(music1.get_length())
music1_m=music_length//60
music1_s=music_length%60
if music1_s=music1_s<10:
music1_s="0"+str(music1_s)
time2=str(music1_m)
new_logo = pygame.transform.rotate(logo_img,angle) new_logo = pygame.transform.rotate(logo_img,angle)
new_rect=new_logo.get_rect(center=(320,200)) new_rect=new_logo.get_rect(center=(320,200))
pos=(new_rect[0],new_rect[1]) pos=(new_rect[0],new_rect[1])
......
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