Commit dfa2bc08 by BellCodeEditor

save project

parent 72cf1e7e
Showing with 1 additions and 2 deletions
......@@ -26,7 +26,6 @@ while True:
if event.type == locals.QUIT:
exit()
# 按键,控制声音大小
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play()
if event.type == locals.KEYDOWN:
......@@ -40,7 +39,7 @@ while True:
if volume < 0:
volume = 0
pygame.mixer.music.set_volume(volume)
# 按下鼠标
if event.type == locals.MOUSEBUTTONDOWN:
# 次数增加
......
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