Commit 4bac7a2a by BellCodeEditor

save project

parent e2a8aa72
Showing with 18 additions and 0 deletions
goto(-180,0)
speedy=0
speedx=0
while True:
changey(speedy)
speedy=speedy-2
if istouching("地面") or istouching("移动木桩"):
changey(-speedy)
speedy=0
if iskeydown("up") and speedy==0:
speedy=19
if iskeydown("left"):
speedx=speedx-2
if iskeydown("right"):
speedx=speedx+2
speedx=speedx*0.8
changex(speedx)
\ No newline at end of file
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