SDL has a very hard time compiling on many platforms (snapshot or CPAN version) in most incarnations. It also has issues with hanging, etc, that are quite a problem.

Tk is definitely fun to play with, Mastering Perl/Tk is a great book, however I do not think Perl is really a good game development language for 2D. If you can get the OpenGL bindings to work (this may be a toss-up), OpenGL is a fine way to go. However Perl's OpenGL bindings are not well updated and tend to pose problems.

I've tried many times to make it such, but ultimately it never ends well. While Frozen Bubble is a masterfully beautiful game, the code isn't IMHO, and there is a lot of pixel manipulation and other routines done in extra libraries built on top of SDL. SDL is brutally low level and unforgiving.

I still maintain that game development was MUCH more fun back when we had GW-basic, simple C pixel routines, and mode 13h. Why? You made simple stuff and it worked.

OpenGL is fun, but there is a bit of a learning curve. 2D in OpenGL is doable, but sound is a bit of a problem.


In reply to Re^3: Perl TK books by Anonymous Monk
in thread Perl TK books by Anonymous Monk

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.