SDL Perl based games

[email protected] (Garry Taylor)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Hi all,
     I hadn't checked this newsgroup in a while and was happy to see 
that it still alive and well.  I saw that some people had been sharing 
some SDL Perl games online, and I had a few to share as well. At 
"http://home.comcast.net/~g.f.taylor/GarrysGames.html" you can find four 
games I have written as well as a simple flip book program to let a 
child play at making animation on the computer.  The games are "Toad" (a 
Frogger wanna be), "RabbitHat" (like Centipede), "BunnyHunt" (sort of 
like Pac-Man) and "Bonk The Buggies".  All (with the exception of Toad 
which in its very first incarnation was a game I wrote in TRS-80 Basic 
back in 1981) were written originally to run on my Windows 3.11 PC for 
my little girl so that she could play games which were not quite so 
violent as games were starting to become at the time.

     A few years ago I got the idea of trying to get them to run again 
by rewriting them in Perl.  The downloads are Windows XP/Vista installs 
which include a bare bones Perl environment for running the games (the 
installs put the code into its own separate place, and shouldn't 
interfere with your existing Perl setups).  I did this so that I could 
share the games with friends and family who either don't have SDL 
installed, don't have Perl installed, or don't do any programming and 
just needed something that will run.  The code as it currently stands 
was not written for general publication, so there are probably places 
where the Perl code itself is not always the best looking it could be, 
but the games themselves work pretty well.  Also, it is worth noting 
that I wound up being lazy and made a few additions to the Perl SDL code 
that I was using to add an additional function or two for printing text 
onto the screen that was centered or right aligned.

      While I have not made any Unix installs for the code, I have 
actually run the games on a few Linux machines that I have access to, 
where I also had installed SDL.  I have not updated my SDL installs in 
several years now, so there may be complications that arise if running 
it with  a new version of SDL.

      I hope you enjoy the games (or at least aren't too mean about it 
if you don't &^> ).
             Garry Taylor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.