1
Graphics / Drawing numbers to text
« on: December 06, 2010, 01:10:29 pm »
I'm trying to do SetText( with an int inside it, so for example saying how much hp there is.
I'm stumped, I tried atoi, and casting and some other code i found that was supposed to do it, but no luck.
Help please![Smiley :)](https://www.sfml-dev.org/forums/Smileys/default/smiley.gif)
for example i'd like the following string written "hp:100/100".
I'm stumped, I tried atoi, and casting and some other code i found that was supposed to do it, but no luck.
Help please
![Smiley :)](https://www.sfml-dev.org/forums/Smileys/default/smiley.gif)
for example i'd like the following string written "hp:100/100".