Commit b4d22f49 by BellCodeEditor

save project

parent b2454d27
Showing with 20 additions and 2 deletions
......@@ -6,8 +6,27 @@ pygame.init()
screen = pygame.display.set_mode((660,480))
background = 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(background,(0,0))
pygame.display.updata()
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