Commit 24be6a27 by BellCodeEditor

save project

parent 2742489a
Showing with 1 additions and 1 deletions
......@@ -31,6 +31,7 @@ index = 0
y = 400
jumpState = "runing"
t = 30
road_x=0
aa=Block(bush,cacti,stone)
while True:
......@@ -42,7 +43,6 @@ while True:
if jumpState == "runing":
if event.key == locals.K_SPACE:
jumpState = "up"
if jumpState == "up": # 起跳状态
if t > 0:
y -= t
......
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