Commit fa25a3e8 by BellCodeEditor

auto save

parent 20ea320d
Showing with 2 additions and 2 deletions
...@@ -12,13 +12,13 @@ und = pygame.image.load('bg.png') ...@@ -12,13 +12,13 @@ und = pygame.image.load('bg.png')
ght = pygame.image.load('right.png') ght = pygame.image.load('right.png')
ood = pygame.image.load('apple.png') ood = pygame.image.load('apple.png')
ody = pygame.image.load('body.png') ody = pygame.image.load('body.png')
x,y=240,120 x,y=240,120
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(und,(0,0)) screen.blit(und,(0,0))
screen.blit(ght,(240,120)) screen.blit(ght,(x,y))
screen.blit(ody,(210,120)) screen.blit(ody,(210,120))
screen.blit(ody,(180,120)) screen.blit(ody,(180,120))
screen.blit(ood,(360,300)) screen.blit(ood,(360,300))
......
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