Sunday, February 17, 2008

Pay attention to the man behind the curtain

After a second playthrough, I must say Call of Duty 4 is hands-down one of the finest games you could buy in 2007. It really puts the focus on certain points which have an enormous impact on a player's perception of the game, points where other game developers usually beat around the bush or hide behind the proverbial big white 'look, we've got Next-Gen' rabbit.

Let's start with the graphical presentation for instance. Even when playing on a fairly low-end system (an experience which has been a constant throughout my young life), one only has to play the opening sequence (on a cargo ship in the middle of an atlantic storm) to get the picture: whew, what happened ? How did they pull this off ?

It's very simple. Nobody cares whether or not every drop of water splashes the way Newton would have predicted. Nobody cares whether or not the floor they're walking on has that certain griddy bump-mapped feel to it. Nobody cares whether or not every light in the environment interferes dynamically with every model. The bottom line is not 64-bit floating point specular lighting, it's good old whatever-bit spectacular lighting. It scales down well, too. Don't go for that perfect approximation of real life - it would be a hard sell.

Another aspect CoD 4 brilliantly nails is this: Scripted sequences done right. No matter how twisted your gameplay style is, you never get the impression that you're linearly traversing a level, crossing invisible triggers that spawn baddies. The same point gets stressed here: don't waste your time on cross-map AI that's too subtle to notice - at least for a FPS - and just make sure the local, in-your-face presentation makes sense.

Buy it ! :)

Monday, February 11, 2008

Autoviewer XML Generator

For my webdesign activities, I sometimes use the great Autoviewer, which is a handy flash application to quickly display images in a slideshow fashion. Recently, I implemented this in a small website for a company.

They were going to add photo's every day, and don't know how to edit XML files to include the new pictures. I added a handy python script to generate an XML file based on all the images contained in a folder. All comments are left blank, so if you want comments on every picture, you still have to edit the XML. Alltogether, it's better than nothing. Enjoy, hope it's of good use somewhere.

Update Dec 30 2008:

This script seems to be very popular. Possible enhancements are proper image scaling using the python image library. Let me know if you have implemented this.