Commit 1e194f33 by BellCodeEditor

save project

parent d1138517
Showing with 2 additions and 2 deletions
...@@ -30,11 +30,11 @@ while True: ...@@ -30,11 +30,11 @@ while True:
exit() exit()
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.key == locals.K_w and state == "runing": if event.key == locals.K_w and state == "runing":
y = 400
state = "up" state = "up"
if event.key == locals.K_s: if event.key == locals.K_s:
y = 500 y = 500
if event.key == locals.K_d:
y = 400
if state == "up" : if state == "up" :
if t > 0: if t > 0:
y -= t y -= t
......
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