I'm trying to display text on the screen which is being pulled from a string. Of course the string is long and I'm looking to wrap it after a length or word count.
Any ideas?
sf::Text text;
text.setFont(font);
text.setCharacterSize(12);
text.setColor(sf::Color::White);
text.setPosition(20, 20);
text.setString(string);