Commit 6bdd6e10 by BellCodeEditor

auto save

parent 5c597a31
Showing with 2 additions and 1 deletions
......@@ -78,7 +78,7 @@ while True:
# 创建障碍物对象
obstacle = Block(bush, stone, cacti)
obstacle.rect.x -= 8
screen.blit(obstacle, (rect.x, rect.y))
screen.blit(obstacle.image, (obstacle.rect.x,obstacle.rect.y))
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ 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