Commit 07668522 by BellCodeEditor

save project

parent 309d68e8
Showing with 3 additions and 1 deletions
......@@ -25,7 +25,6 @@ volume = 0.2
pygame.mixer.music.set_volume(volume) # 初始播放音量
click = 0
play_button = stop_img
music_length = 0
while True:
for event in pygame.event.get():
......@@ -93,6 +92,9 @@ while True:
pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play()
music1 = pygame.mixer.Sound(path+"\\"+music_list[num])
music_length = music1.get_length()
music_length = int(music_length)
new_logo = pygame.transform.rotate(logo_img,angle)
newRect = new_logo.get_rect(center=(320,200))
pos = (newRect[0],newRect[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