Jak zrobić zrzut ekranu okna Pygame i wkleić
pygame.image.save(screen,"screenshot.jpg")
Aggressive Anteater
pygame.image.save(screen,"screenshot.jpg")
rect = pygame.Rect(25, 25, 100, 50)
sub = screen.subsurface(rect)
pygame.image.save(sub, "screenshot.jpg")