Commit ce1181fe by BellCodeEditor

save project

parent 72f5fd6c
Showing with 4 additions and 2 deletions
...@@ -34,8 +34,10 @@ while True: ...@@ -34,8 +34,10 @@ while True:
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(3)
elif event.type == locals.KEYDOWN:
if event.key == locals.K_RIGHT and setheading="right"
setheading="right"
setheading=right
......
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