Commit 0be6b45c by BellCodeEditor

save project

parent 29ec10d1
Showing with 8 additions and 3 deletions
......@@ -5,11 +5,17 @@ a=pygame.image.load('bg.png')
b=pygame.image.load('right.png')
c=pygame.image.load('apple.png')
screen=pygame.display.set_mode((660,480))
FPSCLOCK=pygame.time.Clock()
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
screen.blit(a,(0,0))
screen.blit(b,(290,120))
screen.blit(c,(360,300))
pygame.display.update()
\ No newline at end of file
screen.blit(300)).
screen. blit(body,())
screen. blit(body,())
screen. blit(body,())
pygame.dc,(360,
scisplay.update()
FPSCLOCK.tick(3)
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