Commit 8269edad by BellCodeEditor

save project

parent 1ecedbcc
Showing with 8 additions and 1 deletions
......@@ -30,6 +30,13 @@ while True:
if jumpstate == "up":
if y > 150:
y-=5
else:
jumpstate="down"
if jumpstate == "down"
if y<400:
y+=5
else:
jumpstate="runing"
wukong = hero[index]
index +=1
......@@ -37,7 +44,7 @@ while True:
index=0
else:
jumpstate="down"
if y<400:
screen.blit(background, (0, 0))
screen.blit(road, (0, 500))
......
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