Commit f81c3dfe by BellCodeEditor

save project

parent 62696035
Showing with 8 additions and 0 deletions
......@@ -85,6 +85,14 @@ while True:
num = 0
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
playtime = pygame.mixer.music.get_pos()
playtime = int( playtime / 1000 )
fen = playtime//60
miao = playtime % 60
info = str(fen) + ":" + str(miao)
print(info)
new_logo = pygame.transform.rotate(logo_img, angle)
newRect = new_logo.get_rect(center=(320,200))
if click%2 == 0:
......
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