i've got some issues with my program:
minimap = pygame.Surface((100, 100))
background = pygame.Surface((minimap.get_width(), minimap.get_height()))
background.fill((0, 0, 0))
background.set_alpha(0)
minimap.blit(background, (0, 0, minimap.get_width(), minimap.get_height()))
pygame.image.save(minimap, "minimap.png")
the thing is, I want the background to be transparent because I display it on something else later on and i want to see behind it, so I've used another surface where I've set a color and put the alpha to 0, after that the background is set to minimap.
If you have any clue please let me know