May-15-2023, 06:14 PM
The Sprite class is just a class that i created to store all the sprite of my game
it just store a dict that contain sprite name and Sprite and some classmethod to get a part of a sprite loaded in Sprite or the complete sprite, with some size
And I found a solution, after setting the surface's colorkey i just blit the surface onto itself, even it's not elegant that work
it just store a dict that contain sprite name and Sprite and some classmethod to get a part of a sprite loaded in Sprite or the complete sprite, with some size
And I found a solution, after setting the surface's colorkey i just blit the surface onto itself, even it's not elegant that work