Commit d13fb2a8 by BellCodeEditor

save project

parent 45a94c3b
Showing with 7 additions and 0 deletions
...@@ -5,3 +5,10 @@ while True: ...@@ -5,3 +5,10 @@ while True:
for i in pygame.event.get(): for i in pygame.event.get():
if i.type==pygame.QUIT: if i.type==pygame.QUIT:
exit() exit()
a.blit(pygame.image.load('bg.png'),(0,0))
a.blit(pygame.image.load('apple.png'),(90,120))
a.blit(pygame.image.load('left.png'),(210,150))
a.blit(pygame.image.load('body.png'),(240,150))
a.blit(pygame.image.load('body.png'),(270,150))
a.blit(pygame.image.load('body.png'),(270,180))
pygame.display.update()
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