pong - text
This commit is contained in:
@@ -19,7 +19,7 @@ odleglosc = ship.distance_to(sprite)
|
||||
def napis():
|
||||
winner_txt = f"Odległość: {odleglosc} w pixelach"
|
||||
screen.draw.text(
|
||||
winner_txt, (WIDTH // 3, HEIGHT // 2), color="red", fontsize=60
|
||||
winner_txt, (WIDTH // 3, 20), color="red", fontsize=60
|
||||
)
|
||||
# Najważniejsze funkcje sterujące
|
||||
def update():
|
||||
|
||||
Reference in New Issue
Block a user