Commit 2098e2d6 by BellCodeEditor

save project

parent e8877158
Showing with 6 additions and 6 deletions
...@@ -28,14 +28,14 @@ while True: ...@@ -28,14 +28,14 @@ while True:
pygame.mixer.music.play() pygame.mixer.music.play()
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.type == locals.K_ if event.type == locals.K_
volume += 0.1 volume -= 0.1
volume > 1 volume > 1
if event.type == locals.MOUSEBUTTONDOWN:
click += 1
if click % 2 == 0:
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(, (270, 330)) # 暂停按钮 screen.blit(, (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