Commit 894e11dd by BellCodeEditor

save project

parent ff25ad5f
Showing with 7 additions and 2 deletions
......@@ -5,6 +5,7 @@ pygame.init()
bg=pygame.image.load("bg.png")
right=pygame.image.load("right.png")
apple=pygame.image.load("apple.png")
body=pygame.image.load("body.png")
# 创建一个窗口
screen=pygame.display.set_mode((660,480))
while True:
......@@ -15,4 +16,8 @@ while True:
screen.blit(bg,(0,0))
screen.blit(right,(120,240))
screen.blit(apple,(240,120))
\ No newline at end of file
screen.blit(body,(120,210))
screen.blit(body,(90,210))
screen.blit(body,(60,210))
screen.blit(body,(30,210))
screen.blit(body,(30,240))
\ 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