main.py aktualisiert
This commit is contained in:
1 parent
443f3ee05f
commit
79d0e88f0d
1 file changed
+1
-1
@@ -638,7 +638,7 @@ async def show_game_over(score):
|
||||
overlay.fill((0, 0, 0))
|
||||
screen.blit(overlay, (0, 0))
|
||||
font_big = pygame.font.SysFont(None, 72)
|
||||
message = f"Spiel beendet! Punkte: {int(score)}%"
|
||||
message = f"Spiel beendet! Punkte: {int(score)}%. Drücke die Leertaste um deine Punkte zu übermitteln."
|
||||
text = font_big.render(message, True, (255, 255, 255))
|
||||
screen.blit(text, (SCREEN_WIDTH // 2 - text.get_width() // 2, SCREEN_HEIGHT // 2 - text.get_height() // 2))
|
||||
pygame.display.flip()
|
||||
|
||||
Reference in new issue
Block a user