Commit 089c19db by BellCodeEditor

save project

parent 1c3f0cc1
Showing with 8 additions and 2 deletions
...@@ -84,9 +84,15 @@ while True: ...@@ -84,9 +84,15 @@ 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)
pygame.transfrom.rotate(new_logo,-90) pygame.transfrom.rotate(new_logo,angle)
Surface.get_rect(center=(320,220)) angle += 1
Surface.get_rect(center=(320,200))
FPS.tick() FPS.tick()
pygame.time.Clock.tick(60) pygame.time.Clock.tick(60)
......
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