Commit 473eed48 by BellCodeEditor

save project

parent baeef1fe
Showing with 1 additions and 0 deletions
...@@ -90,6 +90,7 @@ while True: ...@@ -90,6 +90,7 @@ while True:
rect.y = 500 - rect.height rect.y = 500 - rect.height
rect.x -= 8 rect.x -= 8
screen.blit(obstacle, (rect.x, rect.y)) screen.blit(obstacle, (rect.x, rect.y))
if
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(30) FPS.tick(30)
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