Commit a1c844d5 by BellCodeEditor

save project

parent 359ef1c0
Showing with 3 additions and 5 deletions
...@@ -88,23 +88,21 @@ while True: ...@@ -88,23 +88,21 @@ while True:
if IM=='up': if IM=='up':
if y>150: if y>150:
y-=2*G y-=2*G
y=wukon.rect.y wukon.rect.y=y
G-=0.1 G-=0.1
else: else:
IM='down' IM='down'
if IM=='dup': if IM=='dup':
y=wukon.rect.y
if G>=0: if G>=0:
y-=G y-=G
y=wukon.rect.y wukon.rect.y=y
G-=0.15 G-=0.15
else: else:
IM='down' IM='down'
if IM=='down': if IM=='down':
y=wukon.rect.y
if y<=400: if y<=400:
y+=2*G y+=2*G
y=wukon.rect.y wukon.rect.y=y
G+=0.2 G+=0.2
else: else:
G=5 G=5
......
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