Commit 333c8b4c by BellCodeEditor

save project

parent 47a78a89
Showing with 3 additions and 1 deletions
......@@ -6,7 +6,7 @@ pygame.init()
# 创建一个窗口
screen = pygame.display.set_mode((660, 480))
FPSLOCK = pygame
# 背景
background = pygame.image.load('bg.png')
right = pygame.image.load('right.png')
......@@ -30,3 +30,4 @@ while True:
screen.blit(food, (360, 300))
# 刷新画面
pygame.display.update()
\ 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