Commit cd33ca5d by BellCodeEditor

auto save

parent ad56b0e4
Showing with 2 additions and 2 deletions
...@@ -16,7 +16,8 @@ volume = 0.2 ...@@ -16,7 +16,8 @@ volume = 0.2
pygame.mixer.music.set_volume(volume) pygame.mixer.music.set_volume(volume)
click = 0 click = 0
play_button = stop_img play_button = stop_img
if
open dow (exit)
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
...@@ -45,7 +46,6 @@ while True: ...@@ -45,7 +46,6 @@ while True:
pygame.mixer.music.play() pygame.mixer.music.play()
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_img, (270, 330)) screen.blit(play_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