Commit 66d52dc0 by BellCodeEditor

save project

parent 9910b0de
Showing with 4 additions and 0 deletions
......@@ -50,6 +50,10 @@ while True:
# 接收到退出事件后退出程序
exit()
if event.type == locals.KEYDOWN:
if gamestate == False:
for sprite in block_list:
sprite.kill()
gamestate = True
if jumpState == "runing":
if event.key == locals.K_SPACE:
jumpState = "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