Commit a891200a by BellCodeEditor

save project

parent 13b00e92
Showing with 3 additions and 3 deletions
...@@ -5,9 +5,9 @@ from pygame import locals ...@@ -5,9 +5,9 @@ from pygame import locals
# 初始化pygame,为使用pygame做准备 # 初始化pygame,为使用pygame做准备
pygame.init() pygame.init()
background=pygame.image.Ioad("bg.ang") background=pygame.image.Ioad("bg.png")
right=pygame.image.Ioad("right.ang") right=pygame.image.Ioad("right.png")
Food=pygame.image.Ioad("Food.ang") Food=pygame.image.Ioad("apple.png")
# 创建一个窗口 # 创建一个窗口
screen = pygame.display.set_mode((660,480)) screen = pygame.display.set_mode((660,480))
......
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