Answers for "how to change game icon pygame"

1

how to change pygame window icon

pygame.display.set_icon(pygame.image.load('icon.png'))
Posted by: Guest on August-11-2021
1

how to change icon in pygame

programIcon = pygame.image.load("icon.png")

pygame.display.set_icon(programIcon)
Posted by: Guest on July-02-2021

Python Answers by Framework

Browse Popular Code Answers by Language