Friday, July 25, 2008

Why so serious?

Saw The Dark Knight today. Awesome movie! I'm still digesting it, but it feels like a solid *****/***** for me. Now, just waiting for the dvd release.. :)

Sunday, July 20, 2008

Somewhere Back In Time 2008


Just a short post, for a change: Went to see Iron Maiden yesterday, it was great! \m/ Above is a photo I took - one of the few that actually turned out alright..

In addition, I managed to wash my cell phone in 40 degrees Celcius two days ago. It doesn't work any more. :(

Oh, and PolyAnim now has some Java Web Start demos up at http://code.google.com/p/polyanim/wiki/WebStartDemos..

Sunday, July 13, 2008

Inkscape to the rescue!

You know what, after starting to write a simple editor to be used before the proper animation editor gets finished (not anytime soon..), I started to think - what am I doing? Why to make a crappy editor, while I could use something else to do the job, and way better (yet I hope and believe that the custom made editor will be the most comfortable way of creating the animations).

Once again, Inkscape proved its worth. SVG was relatively easy to parse (except the damn transformation matrix - I wasted hours searching for clues how to decompose the original scaling and rotation from the matrix, finally got it working though..), and the Inkscape layers turned nicely into animation key frames. It requires quite a lot of patience, and my conversion tool is dodgy to say the least, but it will enable the creation of animations for PolyAnim!

So I wasted more hours, and created the very first proper PolyAnim animation, in Inkscape. After seeing the animated dude moving on the screen, I felt very pleased about how it all turned out. :) Rare moments, those. Hell, I even made a video to celebrate the event! ;) In case anyone would want to try the Inkscape route, I also wrote a tutorial about it.

Check out this screen shot from the demo, and compare it to the earlier shot a post or two back.. The biggest dude is the original, the others are rendered using the various render modifiers.

Friday, July 11, 2008

PolyAnim progress..


Well, I've made a logo. See? ;)

Okay, there's a bit more. The core library itself is in (somewhat arbitary) versi0n 0.5. Most of the important functionality is in there already. Anchors and different blending modes are still missing. Read more about the current state of features here.

There's still a big mystery in this project, for I have no idea if the code is fast enough for the intended usage (which is game sprites)! The tests I have made are composed only of a few polygons, which is not very demanding.. Therefore I've started the work on the animation editor, using Qt Jambi. But alas, I have bumped into a severe bug, which unfortunately crashes the Java VM. While waiting for that to be solved (the bug fix is scheduled for the next Qt Jambi patch release), I'm wondering what I'm going to do in the mean time.

Should I hack a quick and dirty editor in Swing? Or work on the other (unimportant) parts of the real editor? Implement more features to the library? I don't know, I'd rather not add more stuff to the lib, because in that case the editor's going to have a lot of catching up to do.. :P Perhaps I could throw together a stress test using lots of random shapes.. Hmm..

Or I could succumb to the goodness that is (J)Box2D, like I momentarily did about a week ago. I made some platformer physics tests with it. Good stuff. :) All this is obviously for a grand purpose: finally making a (platformer) game that's perhaps a bit more than just nice and simple 10-30 minutes fun. That's my intention anyway, we'll see what happens.

Friday, July 4, 2008

Introducing PolyAnim!

I decided to unveil the project I've been working on lately. It's a polygonal (i.e. vector) animation library called PolyAnim, now up at Google Code. First things first: I'm not trying to compete with Flash, this thing is mainly meant as a game sprite replacement. :)

Too bad there's still not anything nice to show yet.. :P The stuff I have so far is a few hard coded animations consisting of couple of triangles and squares, it's not very sexy to look at, mmkay? But all that will change once I get the editor going and can finally make something cool with this thing. So, be patient. ^^

Just to prove I've achieved *something*, here's an ugly screenshot of the test program. I'd say it looks better when it's animating... I mean, really. Hey, it really does.. *sigh*