Friday, July 29, 2005

Friday 29th

The last couple of days have been spent laying the foundations for tile animation; I already had a very rough navigation system in place, but today I booted up the trusty PhotoShop and mocked up a more detailed version. There's a lot of information to include, and it's always difficult trying to create an interface that a) is user friendly, and b) ties in with the rest of the package.

A good deal of time - perhaps too much time - was spent sorting out the actual frame navigation, which shows the animation sequence as a continuous strip of tiles. The cursor control logic on this section alone caused more than a few sweary words to fill the air. :)

As well as the navigation, I also added the code which adds or deletes a tile from the sequence and, as a happy extension of this idea, a function to replace the current frame with the current tile (as opposed to adding to the length of the sequence).

To round things off, I wrote a small piece of temporary code to play the animation sequence, as well as plot animated tiles to the map. It's surprising how a tiny little addition can make all the difference, and seeing the animation in action has given me the motivation I need to get this section of the Editor done and dusted.