Commit 361577ea by BellCodeEditor

save project

parent 3a438242
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ from pygame import locals ...@@ -4,7 +4,7 @@ from pygame import locals
pygame.init() pygame.init()
background=pygame.image.load('bg.png') background=pygame.image.load('bg.png')
# 创建一个窗口 # 创建一个窗口
pygame.display.set_mode((660,480)) screen=pygame.display.set_mode((660,480))
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
print(event) print(event)
......
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