I marked this response as off-topic because it won't help answer the original question. (But a co-worker has modified OpenGL.pm enough to get it to compile with more recent opengl headers -- go to the link below for info on that.)

But I just wanted to throw in a "me, too!" for the people wondering if anyone is writing games in perl. My company does a real-time interactive display (LCD projector + camera + code), and I have integrated Perl into our "effects engine" as a scripting language. Recently, we've been using it to write simple games to add to our usual reactive effects. The system is proprietary and not what you're looking for anyway, since the scripting really just manipulates scenegraph-ish nodes and doesn't do any drawing or direct image manipulation itself, but it is certainly an example of using Perl to implement games. The graphics code is all C++ OpenGL code (we use a bare minimum of SDL, but mostly straight OpenGL calls). Mostly 2D so far, but with bits of 3D in already.

And please forgive the commercial note, but we're looking for a Perl programmer right now. So if you want a job, or the previously-mentioned OpenGL.pm modifications, go to that link. (Actually, given the OSS stuff I work on, come join us and help me convince people that we should be using Parrot as the underlying VM for the scripting extension. Though you'll have to convince me first; Parrot isn't quite ready just yet!)


In reply to (OT) Re: 2D realtime pixel graphics options in Perl by sfink
in thread 2D realtime pixel graphics options in Perl by flyingmoose

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.