Commit 6c89f870 by BellCodeEditor

save project

parent 8e5ffd81
Showing with 8 additions and 3 deletions
......@@ -5,6 +5,7 @@ pygame.init()
a=pygame.image.load('bg.png')
b=pygame.image.load('apple.png')
c=pygame.image.load('right.png')
d=pygame.image.load('body.png')
# 创建一个窗口
screen=pygame.display.set_mode((660,480))
while True:
......@@ -13,5 +14,9 @@ while True:
if event.type==locals.QUIT:
exit()
screen.blit(a,(0,0))
screen.blit(b,(,0))
screen.blit(c,(0,0))
\ No newline at end of file
screen.blit(c,(360,240))
screen.blit(b,(630,420))
screen.blit(d,(330,240))
screen.blit(d,(300,240))
screen.blit(d,(300,210))
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