Commit cc1f20c3 by BellCodeEditor

save project

parent 19fe1e15
Showing with 1 additions and 5 deletions
......@@ -8,8 +8,7 @@ pygame.init()
screen = pygame.display.set_mode((660, 480))
x= 240
y=120
# ,
# 背景
background = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
food = pygame.image.load('apple.png')
......@@ -32,7 +31,5 @@ while True:
# 将果实画上去
screen.blit(food, (360, 300))
# 刷新画面
a=[180,90 18090 210,120 x,y]
screen.but(right,(a[-1]))
pygame.display.update()
p.tick(1)
\ 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