Commit 9ce7954f by BellCodeEditor

auto save

parent f8e34a5c
Showing with 6 additions and 0 deletions
......@@ -20,6 +20,10 @@ index = 0
jumpState = "runing"
y = 400
t = 30
obstacle = random.choice
rest
rest
while True:
for event in pygame.event.get():
......@@ -54,6 +58,8 @@ while True:
screen.blit(road, (0, 500))
screen.blit(wukong, (150, y))
# 刷新画面
pygame.display.update()
FPS.tick(60)
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