In this video I will explain how to extract individual images from a spritesheet in PyGame. I am going to explain how to load a spritesheet, create a function to extract an image from it and finally create a class that can be imported into project
Code and assets on github:
https://github.com/russs123/pygame_tu...
Credits for assets used:
https://arks.itch.io/dino-characters
Check out my other PyGame tutorials:
Space Invaders coding tutorial: • Pygame Space Invaders Beginner Tutori...
Flappy Bird coding tutorial: • PyGame Flappy Bird Beginner Tutorial ...