Sprite Animation
Author |
Message |
chaos
|
Posted: 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? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
|
|