Commit afc63e07 by BellCodeEditor

save project

parent 3cfaf868
Showing with 11 additions and 2 deletions
......@@ -7,8 +7,17 @@ pygame.init()
# 创建一个窗口
carry=pygame.display.set_mode((660,480))
apple=pygame.image.load("apple.png")
bg=pygame.image.load("bg.peg")
body=pygame.image.load("body.peg")
right=pygame.image.load("right.peg")
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
\ No newline at end of file
exit()
carry.blit(bg,(0,0))
carry.blit(apple,(360,300))
carry.blit(body,(210,120))
carry.blit(body,(180,120))
carry.blit(body,(180,90))
\ 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