Commit f75ee067 by BellCodeEditor

auto save

parent 44c70ecc
Showing with 2 additions and 2 deletions
...@@ -14,8 +14,8 @@ logo_img = pygame.image.load('logo.png') # 中间logo ...@@ -14,8 +14,8 @@ logo_img = pygame.image.load('logo.png') # 中间logo
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type==locals.Qult if event.type==locals.QUIT:
exit exit()
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(stop_img, (270, 330)) # 暂停按钮 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