Commit ec7ee911 by BellCodeEditor

save project

parent e01085f1
Showing with 3 additions and 3 deletions
......@@ -32,12 +32,12 @@ while True:
hiehie += 0.1
if hiehie > 1:
hiehie = 1
pygame.mixer.music.set_volume(hiehie)
pygame.mixer.music.set_volume(hiehie)
if event.key == locals.K_DOWN:
hiehie -= 0.1
if hiehie < 0:
hiehie = 0
pygame.mixer.music.set_volume(hiehie)
hiehie = 0.1
pygame.mixer.music.set_volume(hiehie)
# 绘制画面
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