Data for animation

Posted by saadtaame on Game Development See other posts from Game Development or by saadtaame
Published on 2012-09-20T10:34:58Z Indexed on 2012/09/28 15:51 UTC
Read the original article Hit count: 202

Filed under:
|
|

Say you are using C/SDL for a 2D game project. It's often the case that people use a structure to represent a frame in an animation. The struct consists of an image and how much time the frame is supposed to be visible. Is this data sufficient to represent somewhat complex animatio? Is it a good idea to separate animation management code and animation data? Can somebody provide a link to animations tutorials that store animations in a file and retrieve them when needed. I read this in a book (AI game programming wisdom) but would like to see a real implementation.

© Game Development or respective owner

Related posts about animation

Related posts about sdl