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

Author Topic: Best way to draw a lot of text  (Read 6491 times)

0 Members and 1 Guest are viewing this topic.

dabo

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • http://www.dabostudios.net
Best way to draw a lot of text
« 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.

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Best way to draw a lot of text
« Reply #1 on: October 05, 2007, 12:02:02 am »
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. :>

dabo

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • http://www.dabostudios.net
Best way to draw a lot of text
« Reply #2 on: October 05, 2007, 12:25:37 pm »
Quote from: "Srejv"
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?

dabo

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • http://www.dabostudios.net
Best way to draw a lot of text
« Reply #3 on: October 07, 2007, 11:59:10 am »
I got it working now, thanks for the tips.