Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 24 — Coming August 2012

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary
[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]
[ View All 1402 Games (Compo Only, Jam Only) | Warmup ]


FLUDONG – Po(ng)etry in Motion

Posted by
March 22nd, 2010 5:29 am

Image7

There’s a few buggy bits, I somehow got it crashing when you try to do smooth scaling, the code became a beast and I have no idea how well it’ll run on other computers. Many more tweaks that could be made, but it’s done enough to throw it out there. It’s pong with fluid dynamics, kind of like plasmapong in that I used the same paper for the fluid dynamics code, however I tried to actually make the game side more pong-like and fun to play (I always found that plasmapong was beautiful to look at, but the game wasn’t exactly ‘fun’).

I did find out pretty quickly that even at low res, it’s probably not the best idea to do fluid dynamic simulation in a scripting language. Luckily the LuaJIT version of the engine that sfernald posted in this comment (you can download a bare version here, minus the example game) actually did provide a huge speedup and made it playable on my compy.

You can download the actual game code here, just throw the files in the same folder as the LuaJIT executable and run that. More tasty pixel fluid dynamics after the jump.

(EDIT: replaced rar after fixing a small problem, where it told you you lost when you won, and added 2 more palettes. On a side note, sometimes when running it goes very slow for me, in which case if I close and start again it’ll normally be fine)

Image0

Image1

Image5

Image6

Image2

Image3

Image4

P.S. SEKRIT CODE!

6 Responses to “FLUDONG – Po(ng)etry in Motion”

  1. allen says:

    Wow this is pretty cool. It’s like a retro version of plasma pong.

    I played a couple of games and it didn’t slow down on me.

  2. thedaian says:

    Pretty nifty. Though I thought it froze up when I scored, it turns out I just needed to press ‘start’ again.

    • Six says:

      Yeah, I wanted to show a frozen frame of how the field looked after a point was scored, but really couldn’t be bothered writing another message with drawRect’s. Might have been better to have a ‘press start’ message there to reset it, then to have the game start moving when you pressed any key.

  3. Gopher says:

    I had the same reaction, thedaian. The fluid effect looks great! I felt compelled to keep playing until I won, and apparently I’m terrible at pong, so that took a while…

    • Six says:

      Yeah, when I’ve had a bit of time to kill I’ve actually found myself going back to play a game or two. Don’t remember ever making a game before that I’ve wanted to go back and play :P

  4. Tenoch says:

    Awesome! A 48h Plasmapong. It’s true that the low resolution was a good context for heavy field dynamics. And as the others said, it is actually fun to play.
    Great work!

Leave a Reply

You must be logged in to post a comment.


All posts, images, and comments are owned by their creators.

[fcache: storing page]