Commit 74c98fc6 by BellCodeEditor

save project

parent a540c187
Showing with 4 additions and 0 deletions
...@@ -6,3 +6,6 @@ while True: ...@@ -6,3 +6,6 @@ while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
background = pygame.image.load('bg.png')
screen.blit(background,(0,0))#载入图片
pygame
\ 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