Anyway, what has been done today? Well, two animations:
- Dog walk animation: the bad doggy doggy's can now walk, so they don't look they're performing in Holiday on ice. Additionally, they can also sit down.
- Simon run animation: Simon can run! That's handy for avoiding the dogs that can walk now. Everything is in balance, ying & yang :)
- A dog walk animation is not easy; all those legs that move at different angles. A human (biped?) animation is easier to do. The book Cartoon Animation written by Preston Blair helped me a lot with this task.
- Transforming all frames into one texture is stil a pain. Oh my ... it takes too much time:
- First I need to export every frame (= one layer) in Illustrator to a PNG file that is correctly scaled in the y dimension. So, a down walk frame could be 235 pixels high and a up walk frame could be 245 pixels high.
- Then one PhotoShop file is created in which all PNG's are pasted. That file should never be bigger than 2048x2048 pixels since some video cards will not accept formats above that.
- And finally, an XML configuration needs to be created/editerd with information about every frame for a particular figure's animation. An example of such an XML file is given below; it's the configuration file of the Dog.
I wonder if the XNA video playback support would also allow me to play animations? I guess there will not be granular control of the animation ... will try it out when there is some time. Additionally, the bounding box will then be static; now it grows and shrinks with every played frame.
Here are the textures that have been drawn today:
Geen opmerkingen:
Een reactie posten