Commit 18ac2158 by BellCodeEditor

auto save

parent 7d664762
Showing with 0 additions and 4 deletions
......@@ -19,7 +19,6 @@ while True:
exit()
volume = 0.2
pygame.mixer.music.set_volume(volume)
start = stop_img
click = 0
while True:
......@@ -46,13 +45,10 @@ while True:
else:
pygame.mixer.music.pause()
start = play_img
if volume <=0:
volume = 0
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(start, (270, 330)) # 暂停按钮
......
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