Commit 5ea56563 by BellCodeEditor

auto save

parent 74ba66ec
Showing with 3 additions and 2 deletions
......@@ -84,8 +84,8 @@ while True:
rect = obstacle.get_rect()
rect.x = 1000
rect.y = 500 - rect.height
rect.x -= 8
screen.blit(obstacle, (rect.x, rect.y))
obstacle.rect.x -= 8
screen.blit(obstacle.image, (obstacle.rect.x,rect.x, rect.y))
# 刷新画面
pygame.display.update()
FPS.tick(30)
\ 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