Commit d883a7f0 by BellCodeEditor

save project

parent 09a04706
Showing with 5 additions and 2 deletions
...@@ -7,11 +7,13 @@ scren=pygame.display.set_mode((660,480)) ...@@ -7,11 +7,13 @@ scren=pygame.display.set_mode((660,480))
a=pygame.image.load("bg.png") a=pygame.image.load("bg.png")
b=pygame.image.load("right.png") b=pygame.image.load("right.png")
c=pygame.image.load("apple.png") c=pygame.image.load("apple.png")
d=pygame.image.load("body.png")
while True: while True:
for event in pygame.event.gat(): for event in pygame.event.gat():
if event.type==locals.QUIT(): if event.type==locals.QUIT():
exit() exit()
scrern.blit(a,(0,0)) scrern.blit(a,(0,0))
scrern.blit(r,(0,0)) scrern.blit(r,(240,150))
scrern.blit(l,(0,0)) scrern.blit(l,(180,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