Slashdot Mirror


Developing Games with Perl and SDL

segphault writes "Andy Bakun has written an excellent 20 page guide to game development with SDL_Perl for Ars Technica. The tutorial, which includes extensive code examples and plenty of screenshots, walks readers through the process of building a clone of the original Atari Kaboom! game." From the article: "One of the biggest benefits of using SDL is that it allows portable media applications to be written without having to be concerned with specific implementations of media libraries for each target platform. Bringing Perl into the picture takes the portability one step further, allowing media-rich applications to be written in a high-level language that can be targeted to a number of platforms. While programming using SDL requires knowledge of C and access to a C compiler, using SDL_perl does not. This greatly decreases the amount of time it takes to get something up on the screen and working."

7 of 248 comments (clear)

  1. A 286 Emulator? by joevai · · Score: 2, Funny

    Ideal. I always wanted my 4ghz pc to simulate the clock speed of a 286!

  2. Wait a minute by eclectro · · Score: 4, Funny


    I thought perl was already a game.

    --
    Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
  3. Yes, but where is my Perl module to create by antifoidulus · · Score: 1, Funny

    Korean women?
    Do I win a prize?

  4. Games in Perl? by cablepokerface · · Score: 2, Funny

    What's up next?
     
      Enhancing gui user experience with Oracle Forms
      HowTo: Brute Force numbercrunching in Visual Basic
    or
      Windows 98 Security 101

    1. Re:Games in Perl? by Anne+Thwacks · · Score: 2, Funny
      Please can I have a game written in Oracle Forms?

      Any game will do!

      In return, I will give you a number crunching program in Visule Basic. Unfortunately, the only number it crunches is '4' :-)

      --
      Sent from my ASR33 using ASCII
  5. Re:Python has been used for this. by impossiblerobot · · Score: 2, Funny

    Yes, but in the two hours I spent learning Python, I would have already finished writing the game in Perl (and would have been playing it for an hour and a half).

    --
    Impossible Robot
  6. Re:Easy by Fizzog · · Score: 2, Funny

    "keep in mind the 80/20 rule of thumb. 80% of the time is spent in 20% of the code."

    But you also need to remember that the remaining 80% of the code takes the other 80% of the time.