Commit ead1cd0a by BellCodeEditor

save project

parent aca76f84
Showing with 0 additions and 3 deletions
......@@ -59,13 +59,11 @@ while True:
rect.x = 1000
rect.y = 500 -rect.height
rect.x -= 8
rect.x2 -= 8
# 将背景图画上去
screen.blit(background, (0, 0))
screen.blit(road, (0, 500))
screen.blit(wukong, (150, y))
screen.blit(obstacle, (rect.x, rect.y))
screen.blit(obstacle2, (rect.x2, rect.y2))
# 刷新画面
pygame.display.update()
FPS.tick(20)
\ 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