Commit a04474ac by BellCodeEditor

save project

parent 863b74a4
Showing with 6 additions and 6 deletions
...@@ -6,9 +6,9 @@ pygame.init() ...@@ -6,9 +6,9 @@ pygame.init()
screen = pygame.display.set_mode((660,480)) screen = pygame.display.set_mode((660,480))
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == 12: if event.type == 256:
exit() exit()
screen.blit(bg,(0,0)) screen.blit(bg,(0,0))
screen.blit(bg,(290,120)) screen.blit(right,(290,120))
screen.blit(bg,(360,300)) screen.blit(apple,(360,300))
pygame.display.update() pygame.display.update()
\ No newline at end of file \ 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