Commit 442272a9 by BellCodeEditor

save project

parent dd6118b7
Showing with 5 additions and 3 deletions
......@@ -22,14 +22,16 @@ while True:
if event.type == locals.QUIT:
# 接收到退出事件后退出程序
exit()
pio=hero[index]
if jump=="running":
pio=hero[index]
if index<4:
index+=1
else:
index=0
if event.type == locals.KEYDOWN:
if event.key == locals.K_SPACE:
jump="up"
if jump=="running":
if event.key == locals.K_SPACE:
jump="up"
if jump=="up":
if t>0:
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