Commit fd205e60 by BellCodeEditor

save project

parent 3f8e2bf0
Showing with 3 additions and 3 deletions
......@@ -7,7 +7,7 @@ pygame.init()
screen = pygame.display.set_mode((660, 480))
x=240
y=120
s=((180,90),(180,120),(210,120),(x,y))
s=[(180,90),(180,120),(210,120),(x,y)]
# 背景
background = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
......@@ -37,4 +37,4 @@ while True:
screen.blit(food, (360, 300))
# 刷新画面
pygame.display.update()
\ No newline at end of file
s.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