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

Author Topic: Update Text without appending  (Read 1948 times)

0 Members and 1 Guest are viewing this topic.

efeXor

  • Newbie
  • *
  • Posts: 10
    • MSN Messenger - Steam:BrokenGlassX
    • View Profile
Update Text without appending
« on: December 02, 2008, 09:00:43 am »
Well, I have "attempted" an FPS counter, but whenever i call SetText in my game loop it just creates a bunch of strings instead of updating just one. Am i doing something wrong or can SFML not update a string?

Wizzard

  • Full Member
  • ***
  • Posts: 213
    • View Profile
Update Text without appending
« Reply #1 on: December 02, 2008, 09:04:10 am »
I don't quite get the problem. You should probably post your code.

efeXor

  • Newbie
  • *
  • Posts: 10
    • MSN Messenger - Steam:BrokenGlassX
    • View Profile
Update Text without appending
« Reply #2 on: December 02, 2008, 08:33:13 pm »
I gutted it, basically i was  trying to draw an fps counter using sf::String but it wouldn't update the value it just kept creating more strings.