Commit 7162cc97 by BellCodeEditor

save project

parent b0c831b2
Showing with 1 additions and 1 deletions
...@@ -7,8 +7,8 @@ pygame.init() ...@@ -7,8 +7,8 @@ pygame.init()
# 创建一个窗口 # 创建一个窗口
screen = pygame.display.set_mode((660, 480)) screen = pygame.display.set_mode((660, 480))
x,y=240,120 x,y=240,120
fpsclock=pygame.time.Clock() fpsclock=pygame.time.Clock()
position=[(150,120),(180,120),(210,120),(x,y)]
background = pygame.image.load('bg.png') background = pygame.image.load('bg.png')
right = pygame.image.load('right.png') right = pygame.image.load('right.png')
food = pygame.image.load('apple.png') food = pygame.image.load('apple.png')
......
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