cara mengambil tangkapan layar jendela pygame dan menempelkannya
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")