Commit 829b669a by BellCodeEditor

save project

parent 6e5b2b27
Showing with 4 additions and 1 deletions
......@@ -4,9 +4,12 @@ from pygame import locals
pygame.init()
# 创建一个窗口
backgound = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
backgound = pygame.image.load(bg.png)
pygame.display.set_mode((660,480))
while True:
for event in pygame.event.get()
print(event)
if event.type == locals.QUIT
if event.type == locals.QUIT:
exit()
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