Computer Science Canada Sprite Animation |
Author: | chaos [ Fri Aug 05, 2011 11:07 am ] |
Post subject: | Sprite Animation |
I am trying to create a game and I understand the basics of sprites. I was wondering if there is an easier way to animate sprites for many frames rather than using Sprite.Animate each and every time? |
Author: | Insectoid [ Fri Aug 05, 2011 11:17 am ] |
Post subject: | RE:Sprite Animation |
Well, "many frames" does not mean "use sprite.animate a lot". You should only really use Sprite.Animate once per sprite per frame. If you have a lot of sprites, you can use an array and for loop to cut down on the number of times you have to call Sprite.Animate. |