I’m trying to think of a design for a 2D animation file format. I’ve decided to store the information in an XML file, the frames each on separate images, and it’ll all be archived in with 7-Zip or something, but given a different extension as to give the impression I invented something from the ground up. 😛
Given the intended structure of my animation files, how do you suggest I make the animation able to be accelerated if needed (a spell that makes time go faster/slower, etc)? Should I just have a FrameDuration field in my XML and multiply or divide that by whatever amount I want to slow down or speed up time? Is there another way of doing this?
Depending on how many fps you’re rendering, I think you have three options:
So, it all depends on how you’re engine handles frame-switching. Personally, I prefer to have the render engine act as the controller, so I’d go with either #2 or #3…