Commit d1cfb6d4 by BellCodeEditor

save project

parent 081f22b4
Showing with 1 additions and 0 deletions
...@@ -22,6 +22,7 @@ while True: ...@@ -22,6 +22,7 @@ while True:
if event.type == locals.QUIT: if event.type == locals.QUIT:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
if event.type == locals.KEYDOWN:
if event.key==locals.K_W and c!="down": if event.key==locals.K_W and c!="down":
c="up" c="up"
d=up d=up
......
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