hi
i'm trying to build little shooting game. so, i'm trying to adding a scope/sight.
I want to remove the white background so the target can be seen.
I'm using this simple code:
_sight_object_image.loadFromFile("sight.png");
_sight_object_image.createMaskFromColor(sf::Color::White);
_sight_object_texture.loadFromImage(_sight_object_image);
_sight_Object_sprite.setTexture(_sight_object_texture);
But what happend is that in all the 'round' place, the function doesn't seem to work properly..
Any ideas???