Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SDL_ttf Tutorial Request
#1
Can anyone post a tutorial or post a link to a tutorial that explains how to print text on a SDL surface at a designated location? Thanks
Reply
#2
The [tt]examples[/tt] folder in the distribution has a few SDL examples, including:
http://fbc.svn.sourceforge.net/viewvc/fb...iew=markup

Hope this helps.
stylin:
Reply
#3
thanks, this does. My next goal is for the text to wrap around in a certain area. I have ideas on how to do that with FB string manipulation. Do you know if there is any slick way of doing that with SDL or FB? I'm curious if there is a hexicode or something I can insert in the string that will cause a return. If you can think of anything, let me know, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)