Commit 2b8930f3 by BellCodeEditor

auto save

parent 6d9fbe66
Showing with 0 additions and 10 deletions
...@@ -5,12 +5,3 @@ pygame.init() ...@@ -5,12 +5,3 @@ pygame.init()
# 创建一个窗口 # 创建一个窗口
pygame.display.set_mode((800600)) pygame.display.set_mode((800600))
background = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
food = pygame.load('apple.png')
screen =pygame.display.set_mode((660,480))
while True:
for event in pygame.event.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