Commit 49f890d3 by BellCodeEditor

save project

parent 947c6992
Showing with 3 additions and 1 deletions
...@@ -26,12 +26,14 @@ while True: ...@@ -26,12 +26,14 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
if event.type==locals.KEYDOWN
if event.type == locals.K_SPACE:
mouhou=hero[0] mouhou=hero[0]
mouhou = hero[index] mouhou = hero[index]
index += 1 index += 1
if index==5: if index==5:
index=0 index=0
if event.type == locals.K_SPACE:
jS='up' jS='up'
if jS=='up': if jS=='up':
if y>150: if y>150:
......
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