Hi
(This is my first post on SFML, so please..be gentle
)
I have a class that contains:
sf::Texture mTexture;
sf::Sprite mSprite;
I need to create an image with some part that is invisible.
I've read that there is a method called "createMaskFromColor()"
But this method is only used for sf::Image's.
Since I don't have any image on my class (only a texture and a sprite), how can I set a transparent mask from a sprite?
Thank you!