Commit 544867a3 by BellCodeEditor

auto save

parent 176c2389
Showing with 4 additions and 0 deletions
......@@ -30,6 +30,10 @@ while True:
if volume <0:
volume =0
pygame.mixer.music.set_volume(volume)
if event.type ==locals.:
click == 1
if click
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