Commit a73f3e43 by BellCodeEditor

auto save

parent be0c4a33
Showing with 46 additions and 3 deletions
......@@ -35,7 +35,7 @@ while True:
if event.key == locals.K_SPACE:
status="up"
if status=="up":
if y >150:
if y =30:
y -=5
else:
status="down"
......@@ -52,4 +52,48 @@ while True:
screen.blit(wukong, (150, y))
# 刷新画面
pygame.display.update()
FPS.tick(20)
\ No newline at end of file
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