I am developing a small game for Windows Phone which is based on silverlight animation. Some animations are using silverlight animation framework like Trandforms API and some animations are frame based. What I am doing is, I am running a Storyboard having very small duration and when it;s completed event fires, I am changing image frame there. So images get replaced every time completed event get fired. But I think it is causing memory leakage in my game and memory footprint is increasing with time.
- I want to ask is it a right way to do frame base animations or is there any better way to do this in silverlight???
- What I can do to reduce memory consumption so that it does not increase with time.