Commit e31db4a6 by BellCodeEditor

save project

parent 957d7e70
Showing with 2 additions and 2 deletions
...@@ -11,11 +11,11 @@ body=pygame.image.load('body.png') ...@@ -11,11 +11,11 @@ body=pygame.image.load('body.png')
apple=pygame.image.load('apple.png') apple=pygame.image.load('apple.png')
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type==locals.QUIt: if event.type==locals.QUIT:
exit() exit()
screen.blit(background,(0,0)) screen.blit(background,(0,0))
screen.blit(right,(240,120)) screen.blit(right,(240,120))
screen.blit(body,(210,0)) screen.blit(body,(210,120))
screen.blit(body,(180,120)) screen.blit(body,(180,120))
screen.blit(body,(180,90)) screen.blit(body,(180,90))
screen.blit(apple,(360,270)) screen.blit(apple,(360,270))
......
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