Commit 30fcbe12 by BellCodeEditor

save project

parent 3c33d176
Showing with 6 additions and 0 deletions
......@@ -6,6 +6,9 @@ background=pygame.image.load("bg.png")
right=pygame.image.load("right.png")
apple=pygame.image.load("apple.png")
body=pygame.image.load("body.png")
left=pygame.image.load("left.png")
up=pygame.image.load("up.png")
down=pygame.image.load("down.png")
# 创建一个窗口
screen=pygame.display.set_mode((660,480))
while True:
......@@ -14,6 +17,9 @@ while True:
exit()
screen.blit(background,(0,0))
screen.blit(right,(240,120))
screen.blit(up,(60,390))
screen.blit(left,(90,390))
screen.blit(down,(120,390))
screen.blit(apple,(360,300))
screen.blit(body,(210,120))
screen.blit(body,(210,90))
......
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