Commit d7fdb1e2 by BellCodeEditor

auto save

parent 54a25a51
Showing with 4 additions and 2 deletions
...@@ -87,7 +87,8 @@ while True: ...@@ -87,7 +87,8 @@ while True:
if i[0]>=25: if i[0]>=25:
center[0]-=1 center[0]-=1
break break
# 将背景图画上去 # 将背景图画上去
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
# 计算出所有小方块的行、列位置 # 计算出所有小方块的行、列位置
...@@ -106,4 +107,4 @@ while True: ...@@ -106,4 +107,4 @@ while True:
screen.blit(text_surface, (350,70)) screen.blit(text_surface, (350,70))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
clock.tick(FPS) clock.tick(FPS)
\ No newline at end of file
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