First, I load my icon image:
icon = pygame.image.load ('apple2.png')
Then I set the icon by using set_icon method:
pygame.display.set_icon (icon)
I run the script, and my icon is not visible.
It shows this instead:
First, I load my icon image:
icon = pygame.image.load ('apple2.png')
Then I set the icon by using set_icon method:
pygame.display.set_icon (icon)
I run the script, and my icon is not visible.
It shows this instead: