Commit 2f7fea1d by BellCodeEditor

auto save

parent 7d8ec924
Showing with 7 additions and 0 deletions
......@@ -7,6 +7,9 @@ background=pygame.image.load('bg.png')
screen=pygame.display.set_mode((800,600))
food=pygame.image.load('apple.png')
right=pygame.image.load('right.png')
up=pygame.image.load('up.png')
body=pygame.image.load('body.png')
left=pygame.image.load('left.png')
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
......@@ -14,5 +17,9 @@ while True:
screen.blit(background,(0,0))
screen.blit(food,(290,120))
screen.blit(right,(360,300))
screen.blit(up,(200,260))
screen.blit(body,(200,200))
screen.blit(left,(120,200))
screen.blit( )
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