SFML community forums
Help => Graphics => Topic started by: Kordman916 on December 09, 2010, 02:37:06 am
-
Hey everyone,
I was working on a quick demo to help me learn SFML and C++ and I realized...
I have no idea on how to texture shapes.
All I want to do is apply a box texture to a box/rectangular shape.
Can anyone tell me how or direct me to a place that can instruct me?
Thanks in advance,
Kordman916
-
You can't texture shapes, but for a rectangular one you can use a sprite.
-
How would I go about doing that?
-
Take a look at the official tutorials, they explain how to work with sf::Sprite.