Commit c393093a by BellCodeEditor

save project

parent 7acd03de
Showing with 0 additions and 4 deletions
......@@ -16,7 +16,6 @@ pygame.mixer.music.load('test.wav')
pygame.mixer.music.play()
volume=1
pygame.mixer.music.set_volume(volume)
click=0
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......@@ -34,9 +33,6 @@ while True:
volume=0
if pygame.mixer.music.get_busy()==False:
pygame.mixer.music.play()
if clic
pygame.mixer.music.pause()
pygame.mixer.music.unpause()
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(stop_img, (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