Commit 74c98fc6 by BellCodeEditor

save project

parent a540c187
Showing with 5 additions and 2 deletions
......@@ -5,4 +5,7 @@ screen = pygame.display.set_mode((660,480))
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
\ No newline at end of file
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