Commit a73f3e43 by BellCodeEditor

auto save

parent be0c4a33
Showing with 45 additions and 1 deletions
...@@ -35,7 +35,7 @@ while True: ...@@ -35,7 +35,7 @@ while True:
if event.key == locals.K_SPACE: if event.key == locals.K_SPACE:
status="up" status="up"
if status=="up": if status=="up":
if y >150: if y =30:
y -=5 y -=5
else: else:
status="down" status="down"
...@@ -53,3 +53,47 @@ while True: ...@@ -53,3 +53,47 @@ while True:
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(20) FPS.tick(20)
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