C/C++: 2D animation library -


i need write application (among other things) renders 2d animated images, let's suppose it's videogame.

figured out videogame-like images can have quite complex structure depends little on program logic, on image itself:

  • it can have several animations (one each state object draw can on)

  • to pass state there acyclic animation too.

  • each animation can made of several frames, each of has got duration.

and way store images on disk can complex:

  • the above properties of image, of states , of frames should stored on data file bound image, not hardcoded in program source.

  • the different frames put in same image file, or on different layers of image file, or on different image files.

  • background pixels indicated via separated bitmask or using specific color.

and guess actual videogames need lot more parameters don't (don't know, bitmask identify pixels replaced team color or whatever).


this makes me think there must library of this. half hour on google didn't me.

is there opensource 2d animation library c++ or c?

otherwise, if need write one, can link 2d animation library other languages (or closed source ones)? i'll happy give loop api , way work.

sdl excellent games. check out http://www.sdltutorials.com/sdl-animation/


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -