EricDB has asked for the wisdom of the Perl Monks concerning the following question:

I've been looking at sdlperl and licking my chops. I'm a game programmer and a Perl fanatic so yeah. Anyway, sdlpl.org is perpetually "under construction", and there don't seem to be any SDL PPM's available for ActiveState Perl.

I've seen a couple of posts about people working with sdlperl, but they don't seem to be in a Windows environmenet. Has anyone done this?

Update: I finally managed to piece together the required components, and I have sdlperl working, for the most part. Now I'm just looking for some decent docs!
  • Comment on SDL and Perl and Win32 -- does it exist?

Replies are listed 'Best First'.
Re: SDL and Perl and Win32 -- does it exist?
by DaveH (Monk) on Dec 07, 2003 at 16:03 UTC

    Hi.

    A bit of Google turned up these links:

    http://bloodgate.com/perl/sdl/sdl_perl.html

    http://homepage.ntlworld.com/wayne.keenan/sdl/perl/win32/

    It would seem that the "official" sourceforge SDL Perl is indeed rather dead, so these are forked versions from that codebase.

    Use at your own risk, since I have absolutely no idea about their stability or suitability for what you are trying to do, and I've never even used them before.

    I hope that this helps.

    Cheers,

    -- Dave :-)


    $q=[split+qr,,,q,~swmi,.$,],+s.$.Em~w^,,.,s,.,$&&$$q[pos],eg,print
Re: SDL and Perl and Win32 -- does it exist?
by PodMaster (Abbot) on Dec 07, 2003 at 16:25 UTC
    Dang! Luckily I got some stuff on my harddrive (I'll upload soon).
    06/13/2003  01:44a           2,417,095 SDL_Perl-1.19.1.win32.1.exe
    06/13/2003  01:33a             719,314 SDL_perl-1.19.1.win32.1.zip
    06/13/2003  02:03a           1,481,299 SDL_perl-1.20.win32-AS802.exe
    08/21/2003  06:03a             871,905 SDL_perl-2.0.1-BETA1.win32.redist.zip
    08/20/2003  08:00p             696,888 SDL_perl-2.0.2.tar.gz
    
    I also got
    SDL-1.2.0-win32.zip
    SDL-sdlpl-1.08.tar.gz
    SDL-sdlpl-examples-1.02.tar.gz
    SDL_image-1.1.0.tar.gz
    SDL_mixer-1.1.0.tar.gz
    SDL-1.2.6-win32.zip
    SDL-1.2.6.tar.gz
    SDL-devel-1.2.6-VC6.zip
    
    somewhere in my cd collection, but I won't bother with those.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: SDL and Perl and Win32 -- does it exist?
by limburgher (Initiate) on Dec 07, 2003 at 17:12 UTC
    Absolutely!

    Ever play Frozen Bubble? Uses Perl, SDL, and is available on just about everything. It's a practical real-world application, and someday my wife may stop playing it.

    NOT! :)

Re: SDL and Perl and Win32 -- does it exist?
by chromatic (Archbishop) on Dec 08, 2003 at 05:11 UTC

    The maintainer took a sabbatical, so we're making plans to host the code elsewhere and find another maintainer. I'm not sure we can get the old code out of CVS, but we have a current snapshot. It'll probably be a few weeks before anything comes together though.

      Well, it's very nice to know that the project hasn't fallen off the face of the Earth (or at least not permanently). I'm incredibly excited at what I've seen so far.
Re: SDL and Perl and Win32 -- does it exist?
by halley (Prior) on Dec 08, 2003 at 15:26 UTC
    I have a few scripts I wrote for perl/SDL/OpenGL on Linux, to do some basic 3D geometry stuff. (I wrote them to test my CPAN Math::Polyhedra module.) A basic event loop, a shaded, lit, materialized, display-listed set of polyhedra, and some camera control.

    Please /msg me if you want me to email a copy of my scripts to you once I get home. They'd serve as a starting point for some experiments of your own.

    I was planning on a much larger project, but I could never get a texture applied to a 3D polygon (even following the usual OpenGL references), which would be critical for the project. If more recent builds can do that properly, I'd be interested in doing more perl/SDL/OpenGL work.

    --
    [ e d @ h a l l e y . c c ]