Commit 322c5cad by BellCodeEditor

save project

parent 50dce9d8
Showing with 5 additions and 1 deletions
......@@ -4,7 +4,7 @@ from pygame import locals
pygame.init()
backgroud = pygame.image.load('bg.png')
right = pygame.image.load('apple.png')
apple = pygame.image.load('right.png')
apple = pygame.image.load('up.png')
# 创建一个窗口
screen = pygame.display.set_mode((660,480))
while True:
......@@ -12,6 +12,10 @@ while True:
# print(event)
if event.type==locals.QUIT:
print("菜就多练")
print("菜就多练")
print("菜就多练")
print("菜就多练")
print("菜就多练")
exit()
screen.blit(backgroud,(0,0))
screen.blit(apple,(360,300))
......
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