Commit 48b2465e by BellCodeEditor

save project

parent be536dd5
Showing with 4 additions and 2 deletions
......@@ -24,6 +24,7 @@ while True:
# 将背景图画上去
x+=30
p.append((x,y))
p.pop(0)
screen.blit(background, (0, 0))
......@@ -36,4 +37,5 @@ while True:
screen.blit(food, (360, 300))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick(3)
\ No newline at end of file
FPSCLOCK.tick(3)
\ No newline at end of file
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