Commit 9482de7f by BellCodeEditor

auto save

parent 0d3fa191
Showing with 34 additions and 2 deletions
...@@ -26,4 +26,37 @@ while True: ...@@ -26,4 +26,37 @@ while True:
screen.blit(hero, (150, 400)) screen.blit(hero, (150, 400))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(60) FPS.tick(60)
\ No newline at end of file
if rect.x<=0-rect.windth:
obstacle = random.choi
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