Commit 399fd41c by BellCodeEditor

save project

parent f6d1668a
Showing with 8 additions and 5 deletions
......@@ -32,11 +32,14 @@ while True:
if volume <0:
volume = 0
play_music.set_volume(volume)
if pygame.mixer.muxic.get_busy() == False:
if iskegdown("鼠标")
if click % 2 == 0:
play_button = stop_img
pygame.mixer.music.unpauose()
else:
play_button = stop_img
pygame.mixer.music.pause()
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
# 绘制画面
screen.blit(bg_img, (0, 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