Not sure if this has been asked before, but I haven't been able to find any type of support of any kind in the past few days, so here I am.
What I would like to know, is how do you animate individual files in XNA? Currently I am using Cocos2D-XNA as a framework, and so far it's working pretty well, but it is not letting me animate individual files.
I have these files that I need to animate together (and no I will NOT use a SpriteSheet):
How do I make it so that the framework animate these files; without them having to be SpriteSheet (that I completely 100% refuse to use.)?
What I've tried so far:
- List<Texture2D> with each file frame in it. Outcome: Game freezes then unfreezes once the last animation is shown.
- using a foreach statement. Outcome: freezes the game.
- using do/while statement. Outcome: freezes the game.
- using for statement. Outcome: freezes the game.