Commit d379a54e by BellCodeEditor

save project

parent 77f9d6bb
Showing with 7 additions and 2 deletions
......@@ -27,13 +27,18 @@ while True:
# 接收到退出事件后退出程序
exit()
if event.type==locals.KEYUP:
if event.type==locals.K_SPACE:
if event.key==locals.K_SPACE:
state="up"
if state=="up":
if y>150:
y-=5
else:
state=="down"
state="down"
if state=="down":
if y<400:
y+=5
else:
state="running"
wukong=hero[index]
if index<=3:
......
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