March 12, 2012

An Immediate Connection

You can skip the first minute or so to get to the really good part. There are some ideas here which I think are worthwhile exploring. Some of them are not really new. The live editing, for instance, is something you can see in Notch's Ludum Dare videos. But Bret takes this idea several steps further.

Oh, and here is Bret's site.

March 03, 2012

007

Best rendition of the Bond theme. Ever. (It's all the way at the end though.)

February 24, 2012

How to put twenty clowns in a Volkswagen

Context: here.
public class You {
      private static Volkswagen vw;

      private static final class Popo extends Clown {
            private static int clowns = 0;
            private boolean unpacked = false;

            public Popo() { clowns++; }

            @Override
            public int hashCode() {
                  if (!unpacked && clowns < 20) {
                        unpacked = true;
                        vw.add(new Popo());
                  }
                  return super.hashCode();
            }
      }

      public static void main(String args[]) {
            vw = new Volkswagen();
            vw.add(new Popo());
            vw.done();
      }
}
Yes, I know, this can be made shorter. Don't really care. :-)

February 22, 2012

Mojam

Maybe you saw it, maybe you didn't, but this last week-end the Humble Bundle Mojam took place. (I'm sorry, I would have said something before the week-end, but I only found out myself on Sunday. Yeah, I'm tuned in to all the cool happenings on the interweb, I am...) In short: you could watch Mojang create a brand new game in only sixty hours. Something like a Ludum Dare, but then done by a whole team and with the proceeds going to charity. Apparantly you could even vote on the theme which, naturally, turned out as a steam-punk Egyptian themed multiplayer shooter.

I didn't get to watch much of the creation itself, but you can check out a previous post of mine on Notch taping his Ludum Dares to get an idea of the process. The difference that a bigger team brings ? Better art and multiplayer goodness, I would say.

Best of all, if you donated something, you not only get to download and play the game, you also got a copy of the final source code! Now that's a big bonus to a software geek like myself. I have only looked at it briefly, but the structure seems very similar to what I have seen Notch code in his Ludum Dares. In particular they are still juggling all the pixels themselves; no real hardware acceleration is used. It's basically writing to a back buffer and then blitting it to screen. Easy. (Right?) :-)

February 20, 2012

Julia

The Julia programming language seems really interesting. Julia has a combination of cool features: multimethods, coroutines, macros, meta-programming, generics, distributed computing (with cloud-computing in mind), etc.

She can even call Fortran code. What ever was wrong with Cobol as a target ? :-)

February 06, 2012

Make install: Rasp's game

Rasp is working on a 2D isometric roguelike using Slick, a Java 2D game library. And he's blogging about it. It's still in the early stages, but the graphics look good. His approach to lighting, with colour blending, makes for some nice screenshots. And he shows you how it's done.

Go check it out. And if you know of other programmer blogs please let me know!