Commit efe8503f by BellCodeEditor

save project

parent a04474ac
Showing with 6 additions and 1 deletions
......@@ -2,6 +2,7 @@ import pygame
bg = pygame.image.load("bg.png")
right = pygame.image.load("right.png")
apple = pygame.image.load("apple.png")
body = pygame.image.load("body.png")
pygame.init()
screen = pygame.display.set_mode((660,480))
while True:
......@@ -9,6 +10,9 @@ while True:
if event.type == 256:
exit()
screen.blit(bg,(0,0))
screen.blit(right,(290,120))
screen.blit(right,(300,120))
screen.blit(apple,(360,300))
screen.blit(body,(270,120))
screen.blit(body,(240,120))
screen.blit(body,(240,90))
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