> Wouldn't you know that the key capability I need is to be able to print > text to SDL. I would prefer to use perl and not C or C++. This should > be doable, shouldn't it?
I don't suppose you're on windows? on windows, all systems of sdlperl go without a hitch, it's restricted to perl 5.6 though (I think?? Been a while since i checked a version number)
support for ttf in sdlperl is incredibley easy (just like everything else), sdlperl really takes a lot of the grunt work out for you. If you need the link to the old release of the windows installer, let me know.
use SDL; use SDL::Rect; use SDL::Surface; use SDL::App; use SDL::TTfont;
my $arialbig= new SDL::FontTool
-ttfont => "arial.ttf",
-bold => 0,
-size => 18,
-fg => $SDL::Color::white,
-bg => $SDL::Color::blue;$arial10->print($app, 250, 250, "Draw some text at x:250 y:250 on whatever surface is in \$app");
etc. etc. I just noticed i was using the FontTool... not sure why i was doing that :) But SDL::TTfont should work along the same lines.
_________________________________________________________________
Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx
