Commit 65fdd578 by BellCodeEditor

save project

parent e514f2a9
Showing with 2 additions and 0 deletions
......@@ -5,11 +5,13 @@ screen = pygame.display.set_mode((660,480))
background = pygame.image.load('bg.png')
head = pygame.image.load('up.png')
food = pygame.image.load('apple.png')
body= pygame.image.load('body.png')
while True:
screen.blit(background,(0,0))
screen.blit(head,(120,120))
screen.blit(food,(120,90))
screen.blit(body,(120,150))
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
......
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