Commit 4ee438b5 by BellCodeEditor

auto save

parent 446956d9
Showing with 1 additions and 0 deletions
...@@ -14,6 +14,7 @@ right = pygame.image.load('right.png') ...@@ -14,6 +14,7 @@ right = pygame.image.load('right.png')
food = pygame.image.load('apple.png') food = pygame.image.load('apple.png')
body = pygame.image.load('body.png') body = pygame.image.load('body.png')
fp=pygame.time.Clock() #创建变量帧数 fp=pygame.time.Clock() #创建变量帧数
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
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