Commit 00f5c9ae by BellCodeEditor

auto save

parent a79b5ad3
Showing with 5 additions and 1 deletions
......@@ -30,7 +30,7 @@ index = 0
y = 400
jumpState = "runing"
t = 30
x=0
# obstacle = random.choice([bush, stone, cacti])
#new_road=road.get_rect()
......@@ -60,6 +60,7 @@ while True:
if t <= 30:
y += t
t += 2
input(x)
else:
jumpState = "runing"
t =30
......@@ -95,3 +96,5 @@ while True:
# 刷新画面
pygame.display.update()
FPS.tick(60)
x+=1
\ 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