Commit ad9a8c52 by BellCodeEditor

save project

parent dde9e9d4
Showing with 10 additions and 5 deletions
......@@ -7,7 +7,12 @@ food=pygame.image.load('food.pny')
body=pygame.image.load('body.pny')
while True:
for event in pygame.event.get():
if event.type:
screen.blit(backround,(0,0))
screen.blit(right,(240,120))
\ No newline at end of file
if event.type==locals.QUIT:
exit()
screen.blit(backround,(0,0))
screen.blit(right,(240,120))
screen.blit(body,(210,120))
screen.blit(body,(180,120))
screen.blit(body,(180,90))
screen.blit(food,(360,300))
pygame.dispiay.update()
\ 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