Compare commits

..

3 Commits

Author SHA1 Message Date
Arseshka Lu bfa231b748 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	bla.py
2024-03-03 18:08:10 +02:00
Arseshka Lu 75aae605fc Merge remote-tracking branch 'origin/main'
# Conflicts:
#	bla.py
2024-03-03 18:06:02 +02:00
Arseshka Lu a1f1b2a7da Settings 2024-03-03 18:05:28 +02:00
2 changed files with 1 additions and 8 deletions

9
bla.py
View File

@ -398,12 +398,5 @@ while running:
# Завершение работы Pygame # Завершение работы Pygame
pygame.quit() pygame.quit()
screen.blit(score_text, (10, 10))
score_rect = score_text.get_rect(topleft=(10, 10))
pygame.draw.rect(screen, (0, 255, 0), (score_rect.topleft, (score_rect.width, score_rect.height))) # Draw a green rectangle behind the score
screen.blit(score_text, score_rect.topleft)
pygame.display.flip()
clock.tick(FPS)
# Завершение работы Pygame # token: 8f195a885b18a96da6577884cc731f850f33a9e2
pygame.quit()

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB