Loerbeek, Nederland
carving@nielsbrouwers.com

Animationtool finished (well, almost finished!)

Animationtool finished (well, almost finished!)

I was watching a documentary about SKA Studios the other day and noticed they’ve got a great custom tool to edit animations for their games. As I was struggling with the animations for my game as well, I figured something like what they have would be a solution for me.

You see, memory is a constraint in XBLIG games in the sense that once your game grows over 50Mb you are unable to price it at the lowest price point. Also, being an oldschool programmer I tend to use the most efficient code and memory usage whenever possible. So, if you have a player animation, and he is running then you might just draw a lot of frames for his animation (=lots of memory consumption) OR you get smart and draw his legs moving and leave everything above the chest unchanged (=saves nearly half of the memory required). If you decide to chop the chest off from the lower part of the body you need to take care how these two parts match up against eachother. Typically, the one is draw with an offset to the other. Other things like a glow could also be done in a separate sprite and drawn as an overlay to the main sprite. So you have all these frames to manage for a single character and doing this in-game gets tedious quickly, you know: adjust the offset in code, run the game, move the offset another pixel to the left etc.

So that’s why I build this animationtool for my game! It easily lets me handle many frames for one object and adjust the offset in real-time, plays the animation to see how it is going to look etc. Also, by having this tool, it kind of forces me to have the animation completely data-driven and the game-engine just be that: a game engine! It’s just good programming architecture, I like that! 

Right now, one small thing is missing: a save button…

 

 

Geen reacties

Je reactie toevoegen