Commit dab0aaef by BellCodeEditor

save project

parent b18faf4c
Showing with 3 additions and 2 deletions
...@@ -63,8 +63,8 @@ while True: ...@@ -63,8 +63,8 @@ while True:
rect=obstacle.get_rect() rect=obstacle.get_rect()
rect.x=1000 rect.x=1000
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))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(60) 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