Commit 0b314d86 by BellCodeEditor

auto save

parent 2f3bc966
Showing with 14 additions and 2 deletions
...@@ -32,4 +32,17 @@ while True: ...@@ -32,4 +32,17 @@ while True:
screen.blit(food, (360, 300)) screen.blit(food, (360, 300))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(3)
\ No newline at end of file background = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
food = pygame.image.load('apple.png')
body = pygame.image.load('body.png')
FPSCLOCK=pygame.time.Clock()
callable(4)
x,y=240,120
x,y=120,150
exit()
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