Commit 8ce58ad0 by BellCodeEditor

save project

parent 7d89733c
Showing with 7 additions and 1 deletions
...@@ -5,7 +5,13 @@ from pygame import locals ...@@ -5,7 +5,13 @@ from pygame import locals
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
screen = pygame.display.set_mode((660,480),0,32) screen = pygame.display.set_mode((660,480))
blackground = pygame.image.load()
right = pygame.image.load()
food = pygame.image.load()
body = pygame.image.load()
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
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