Commit 415ea1dc by BellCodeEditor

save project

parent 0c06f6cd
Showing with 3 additions and 0 deletions
...@@ -77,6 +77,8 @@ while True: ...@@ -77,6 +77,8 @@ 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()
s=pygame.mixer.Sound(path + "\\" + music_list[num])
len=s.get_length()
loge=pygame.transform.rotate(logo_img,angle) loge=pygame.transform.rotate(logo_img,angle)
if play_button == stop_img: if play_button == stop_img:
angle += 1 angle += 1
...@@ -94,3 +96,4 @@ while True: ...@@ -94,3 +96,4 @@ while True:
screen.blit(f, (400, 450)) screen.blit(f, (400, 450))
pygame.display.update() pygame.display.update()
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