- fade out when gameOvering
parent
b7c34c429f
commit
9149c5201f
1
game.py
1
game.py
|
@ -73,6 +73,7 @@ class TheGame:
|
||||||
def gameOver(self,screen,gameOverImage):
|
def gameOver(self,screen,gameOverImage):
|
||||||
screen.blit(pygame.transform.scale(gameOverImage, (800, 600)), (0, 0))
|
screen.blit(pygame.transform.scale(gameOverImage, (800, 600)), (0, 0))
|
||||||
pygame.display.flip()
|
pygame.display.flip()
|
||||||
|
self.fade()
|
||||||
pygame.time.wait(3000)
|
pygame.time.wait(3000)
|
||||||
|
|
||||||
def keepPinned(self, avocado):
|
def keepPinned(self, avocado):
|
||||||
|
|
Loading…
Reference in New Issue