Commit 2b8930f3 by BellCodeEditor

auto save

parent 6d9fbe66
Showing with 2 additions and 11 deletions
...@@ -4,13 +4,4 @@ import pygame ...@@ -4,13 +4,4 @@ import pygame
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
pygame.display.set_mode((800600)) pygame.display.set_mode((800600))
background = pygame.image.load('bg.png') \ No newline at end of file
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