Commit e2f615dc by BellCodeEditor

auto save

parent 331bac15
Showing with 2 additions and 1 deletions
......@@ -92,7 +92,7 @@ while True:
obstacle.rect.x -= 8
screen.blit(obstacle.image, (obstacle.rect.x,obstacle.rect.y))
if obstacle.rect.x <= 0- obstacle.rect.width:
obstacle.kill()
obstacle.killvv ()
# 刷新画面
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