Commit 64d99af6 by BellCodeEditor

save project

parent 7f2884e5
Showing with 6 additions and 8 deletions
...@@ -12,13 +12,11 @@ down = pygame.image.load("down.png") ...@@ -12,13 +12,11 @@ down = pygame.image.load("down.png")
left = pygame.image.load("left.png") left = pygame.image.load("left.png")
right = pygame.image.load("right.png") right = pygame.image.load("right.png")
up = pygame.image.load("up.png") up = pygame.image.load("up.png")
screen.blit(bg,(0,0))
screen.blit(right,(90,90))
screen.blit(apple,(150,150))
pygame.display.update()
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(bg,(0,0)) \ No newline at end of file
screen.blit(right,(90,90))
screen.blit(apple,(150,150))
pygame.display.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