Commit 1d6878c6 by BellCodeEditor

auto save

parent a57d99a0
Showing with 0 additions and 11 deletions
...@@ -5,14 +5,3 @@ pygame.init() ...@@ -5,14 +5,3 @@ pygame.init()
# 创建一个窗口 # 创建一个窗口
screen=pygame.display.set_mode((660,840)) screen=pygame.display.set_mode((660,840))
while True:
for event in pygame.event.get():
print(event)
if event.type==locals.QUIT:
exit()
background=pygame.image.load(bg.png)
a=pygame.image.load(apple.png)
b=pygame.image.load(body.png)
c=pygame.image.load(down.png)
screen.blit(background,(0,0))
pygame.display.update()
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