Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Update Text without appending
Print
Pages: [
1
]
Author
Topic: Update Text without appending (Read 2491 times)
0 Members and 1 Guest are viewing this topic.
efeXor
Newbie
Posts: 10
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?
Logged
Wizzard
Full Member
Posts: 213
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.
Logged
efeXor
Newbie
Posts: 10
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.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Update Text without appending