Archive for March, 2007

AnimTest

Monday, March 19th, 2007

Well I checked all of my updates back into my Subversion repository, and made a new branch called animtest. I stripped everything game play related out of it in order to solely test character artwork, and made modifications so that the artwork can be loaded from the CLI. Oh, I also dug around a little in my image loader and got it to convert paletted/rgb PNG’s to rgba PNG’s. The portions that ought to be transparent are obviously not transparent, but if an end-user screws up and improperly saves a PNG, at least the program won’t segfault. I’ll release it under the GPLv2 soon.

Now to talk a little about the image format. Each PNG is really a sheet consisting of 24×24 pixel sprites. Each row of sprites consists of one directional animation. You can have as many frames in that animation that you want. As of right now, the format has:

  • row 1: moving north
  • row 2: moving south
  • row 3: moving west
  • row 4: moving east

We can extend that however we wish. For instance, it would not be unreasonable to have moving north in row 1, and moving north while thrusting in row 2. Or even have them in the same row, where the first half is just walking and the second half is walking while thrusting.

To give you something to work with and demonstrate what I’m talking about, I’ve attached a sheet of Link to this post. Pay particular attention to the embedded transparency. The shadows under link are aproximatly 65% opaque, giving a nice (in my opinion) blended shadow.

Link with alpha+shadows

WindEngine Testing (soon)

Tuesday, March 13th, 2007

Okay, I’m getting close to a point where I can issue an alpha build of WindEngine for wider testing. By close I mean within the next month. If you’d like to get in on the alpha, send me an email (ojuice[at]gmail[dot]com), and let me know what operating system you use. I expect to issue this alpha for: Windows, GNU/Linux, FreeBSD, and Mac OS X. For the OS X port, stock has volunteered to try and compile it, so thank him if you’re so inclined.