Original Post
I'm pretty new and I know there must be an easier way to draw text with SDL. This is how I'm doing it. g_graphics->drawText(FONT_TYPE, "Press 'i' for instructions.", FONT_SIZE, 340,345,255,255,255,0,0,0); g_graphics is a class that deals with all the SDL graphics including drawing text. drawText is a function. The part that makes it complicated is the 340, 345, which are the x and y values for the screen. (The other numbers are the font color and background color.) Is there an easier way than trying to put the x and y for each line you type? I mean is there an easier way to center the text, write paragraphs, etc.?