Commit 7e974568 by BellCodeEditor

save project

parent 911bad66
Showing with 3 additions and 2 deletions
......@@ -29,17 +29,18 @@ while True:
if event.key == locals.K_SPACE:
c="up"
if c=="up":
if t < 30:
if t > 0:
y-=t
t-=2
else:
c="down"
if c=="down":
if t > 400:
if t <= 30:
y+=t
t+=2
else:
c="runing"
t=30
b=hero[a]
a+=1
......
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