Help => Graphics => Topic started by: Charsmud on December 22, 2014, 03:34:02 am
Title: Drawing text over a period of time
Post by: Charsmud on December 22, 2014, 03:34:02 am
I am trying to get text to draw one character at a time over an indeterminate period of time. However, it seems there isn't a way to append strings using sf::Text; any suggestions of how to do this?
Title: Re: Drawing text over a period of time
Post by: Hapax on December 22, 2014, 03:42:53 am
sf::Text text; ... std::string showThisString; // change showThisString here (accumulate how much text you wish to show) text.setString(showThisString); ... window.draw(text);