Commit 72ef4f19 by BellCodeEditor

save project

parent fb073721
Showing with 6 additions and 8 deletions
......@@ -32,17 +32,15 @@ while True:
if jumpS == "run":
jumpS = "up"
if jumpS == "up":
if y>150:
if yy>0:
y-=yy
yy-=2
if yy > 0:
y-=yy
yy-=2
else:
jumpS = "down"
if jumpS == "down":
if y<400:
if yy <=30:
y+=yy
yy+=2
if yy <= 30:
y+=yy
yy+=2
else:
jumpS = "run"
yy = 30
......
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