Tag Info

New answers tagged

3

What's happening is you're clearing the screen after drawing the text. So this window.draw(text); window.clear(sf::Color::Green); should be this window.clear(sf::Color::Green); window.draw(text); If it still doesn't display anything, you definitely need to set a font!



Top 50 recent answers are included