Commit 033b641b by BellCodeEditor

save project

parent 81750804
Showing with 4 additions and 2 deletions
print("hello world")
\ No newline at end of file
...@@ -29,8 +29,8 @@ while True: ...@@ -29,8 +29,8 @@ while True:
if event.key==locals.K_SPACE: if event.key==locals.K_SPACE:
jumpState="up" jumpState="up"
if jumpState=="up": if jumpState=="up":
if y>150: if t>0:
y-=5 y-=t
else: else:
jumpState="down" jumpState="down"
if jumpState=="down": if jumpState=="down":
......
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