Commit 2dcc1d28 by BellCodeEditor

save project

parent ed799095
Showing with 6 additions and 3 deletions
...@@ -10,9 +10,12 @@ while True: ...@@ -10,9 +10,12 @@ while True:
print(event) print(event)
if event.type==locals.QUIT: if event.type==locals.QUIT:
exit() exit()
background=pygame.image.load("bg.png")
right=pygame.image.load("right.png")
food=pygame.image.load("apple.png")
screen.blit(background,(0,0))
screen.blit(right,(240,120))
screen.blit(food,(360,120))
......
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