Task 2.4: Add a Game Title and App Icon
- Change the text that appears at the very top of your game window use a Pygame function
pygame.display.set_caption("My game")
. - Load an image using
icon = pygame.image.load("images/game_icon.png")
- Use the Pygame function
pygame.display.set_icon(icon)
to set the image.
🚩 Checkpoint
- Have your customised game title
- Have your customised icon