Wow, that is impressive, but can you tell me what Trailing in positionText does?
And I know this may be dumb, but where does the actual calculation of position go? I am not sure at all. (And you nailed the positioning, I could not tell if it was one Text, or two without looking at the code)
Wow, that is impressive, but can you tell me what Trailing in positionText does?
In positionText, trailing is a reference to the sf::Text object that "trails" the first object (text.)
And I know this may be dumb, but where does the actual calculation of position go?
The position of each text object is set/calculated on line 44. The position used for that call is obtained on lines 39 and 40. So, the calculation goes in the "update" portion of your main loop.