We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9175af5 commit b78dd0eCopy full SHA for b78dd0e
main.py
@@ -409,6 +409,11 @@ def showGameOverScreen(crashInfo):
409
# draw sprites
410
SCREEN_blit(IMAGES['background'], (0, 0))
411
412
+ gameoverx = int((SCREENWIDTH - IMAGES['message'].get_width()) / 2)
413
+ gameovery = int(SCREENHEIGHT * 0.32)
414
+
415
+ SCREEN_blit(IMAGES['gameover'], (gameoverx, gameovery))
416
417
for uPipe, lPipe in zip(upperPipes, lowerPipes):
418
SCREEN_blit(IMAGES['pipe'][0], (uPipe['x'], uPipe['y']))
419
SCREEN_blit(IMAGES['pipe'][1], (lPipe['x'], lPipe['y']))
0 commit comments