Commit 9fb2f97d by BellCodeEditor

auto save

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