Commit 9416d7e5 by BellCodeEditor

save project

parent 72986b98
Showing with 3 additions and 2 deletions
......@@ -13,8 +13,8 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 下一曲按钮
# 载入音乐
pygame.mixer.music.load('M500000IDn2a2qPSCg.mp3
') # 载入音乐
pygame.mixer.music.load('M5000023FqLy3lZYI0.mp3') # 载入音乐
volume = 0.2
pygame.mixer.music.set_volume(volume) # 初始播放音量
......@@ -47,6 +47,7 @@ while True:
pygame.mixer.music.pause()
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
# 绘制画面
......
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