Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Drawing numbers to text  (Read 2223 times)

0 Members and 1 Guest are viewing this topic.

jlebrech

  • Newbie
  • *
  • Posts: 2
    • View Profile
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 :)


for example i'd like the following string written "hp:100/100".

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Drawing numbers to text
« Reply #1 on: December 06, 2010, 01:42:20 pm »
Developer and Maker of rbSFML and Programmer at Paradox Development Studio


jlebrech

  • Newbie
  • *
  • Posts: 2
    • View Profile
Drawing numbers to text
« Reply #3 on: December 06, 2010, 02:08:42 pm »
thanks, ever so helpful.

 

anything