Commit e820080b by BellCodeEditor

save project

parent d57ad405
Showing with 1 additions and 1 deletions
......@@ -99,7 +99,7 @@ while True:
if obstacle.rect.x <= 0- obstacle.rect.width:
obstacle.kill()
if pygame.sprite.collide_rect(wukong,obstacle):
gameOver=pygame.image.load('gameover.png'
gameOver=pygame.image.load('gameover.png')
gameState=False
# 刷新画面
pygame.display.update()
......
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