Commit cd731034 by BellCodeEditor

save project

parent a331d1d0
Showing with 5 additions and 2 deletions
......@@ -25,21 +25,24 @@ while True:
if event.type == locals.QUIT:
exit()
if event.type==locals.KEYDOWN:
if c=='run':
if event.key==locals.K_SPACE:
c='up'
if c=='up':
if t>0:
if t>=0:
y-=t
t-=2
else:
c='down'
if c=='down':
if t<30:
if t<=30:
y+=t
t+=2
else:
c='run'
t=30
w=b[a]
if c=='run':
a+=1
if a>4:
a=0
......
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