SFML community forums
Help => General => Topic started by: dabo on October 04, 2007, 10:41:18 am
-
Hi, I hope this is the right place to put this...
I'm thinking of starting a manager game project (a lite version of Football Manager, Eastside Hockey Manager etc.). Those kind of games show a lot of info on the screen at the same time, how would you do it? It feels like I'm gonna need a million :) instances of the String class.
For example when you show the roster, for each player I would need to show name, birthdate and year, length, weight, morale, all his atributes(shooting, skating, passing etc.) the list goes on.
All thoughts are welcome.
-
Personally I use just one instance of the String thing, using SetText for the textchange. But it probably would be wise to use a few different string instances if you plan to use more than one type of font. :>
-
Personally I use just one instance of the String thing, using SetText for the textchange. But it probably would be wise to use a few different string instances if you plan to use more than one type of font. :>
How do I achieve that? using only one string instance to draw all the text?
-
I got it working now, thanks for the tips.