Commit dd2250cd by BellCodeEditor

save project

parent daba31e8
Showing with 3 additions and 0 deletions
......@@ -5,7 +5,9 @@ pygame.init()
# 创建一个窗口
screen=pygame.display.set_mode((660,480))
background=pygame.imape.load('bg.png')
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
screen.blit(backgound,(0,0))
\ 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