Commit 0be02c4a by BellCodeEditor

save project

parent 0e4edc8c
Showing with 5 additions and 1 deletions
...@@ -32,7 +32,11 @@ while True: ...@@ -32,7 +32,11 @@ while True:
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
if click % 2 == 0:
pygame.mixer.music.urpause()
else:
pygame.mixer.music.pause()
if pygame.mixer.music.get_busy()==False: if pygame.mixer.music.get_busy()==False:
pygame.mixer.music.play() 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