Commit 6e3fd883 by BellCodeEditor

save project

parent 147e9875
Showing with 4 additions and 2 deletions
...@@ -113,8 +113,9 @@ while True: ...@@ -113,8 +113,9 @@ while True:
prop.kill() prop.kill()
if pygame.sprite.collide_rect(wukong,sprite): if pygame.sprite.collide_rect(wukong,sprite):
gameover = pygame.image.load('gameover.pog') gameover = pygame.image.load('gameover.pog')
screen. screen.blit(gameover,(400,200))
gamestate = False
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(30) FPS.tick(30)
\ 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