Commit 56156e60 by BellCodeEditor

save project

parent 2ebbeb78
Showing with 13 additions and 2 deletions
......@@ -2,7 +2,18 @@ import pygame
from pygame import locals
pygame.init()
screen = pygame.display.set_mode((660,480))
right = pygame.image.load('right.png')
apple = pygame.image.load('apple.png')
body = pygame.image.load('body.png')
bg = pygame.image.load('bg.png')
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
\ No newline at end of file
exit()
screen.blit(bg,(0,0))
screen.blit(apple,(360,360))
screen.blit(right,(300,210))
screen.blit(body,(270,210))
screen.blit(body,(240,210))
screen.blit(body,(210,210))
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