http://www.perlmonks.org?node_id=137641


in reply to Re: Games in Perl
in thread Games in Perl

I mostly agree, but what's wrong with Perl/Tk, what with its GUI widgets and Canvas for drawing stuff on? Of course, while you might have fun in Tk with vector drawings and static bitmaps (remember how we all loved mostly low-rez Wizardry on our Apple IIs?) you probably won't find an interface to OpenGL in Perl. Oh wait. You will. *grin* (and no, I've never used it, so I can't actually say that it's worth a look).

And if those engines exist with C interfaces and you gots skillz, maybe you'll be the hero by writing the XS to make them accessible to Perl. But frankly, I doubt a scripting language is a good place to write "action" oriented games with polygonz running all amok. But Perl makes a great place to implement an interface to GNU chess or a networkable or mildly AI'ed strategy or card game.

Besides I seem to recall a recent article I read where the most popular computer games were Minesweeper and Solitaire, so maybe the interface isn't that big of a deal.

Replies are listed 'Best First'.
Re: (ichimunki) Re x 2: Games in Perl
by jepri (Parson) on Jan 10, 2002 at 13:49 UTC
    Tk was kinda what I was referring to above. It's OK for basic stuff, but even GTK+ ain't got great gaming libraries.

    I pumped Nebula a little bit because it is a combination of fast C and easy to use Tk - could just as easily be perl. The Tk does the high level scene arrangment, and the C makes it go fast. Quite cool.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.