I’m creating a basic animation class so I can create animations on-the-fly from the frames on a sprite sheet. That’s all easy, my only question is to what would be more efficient. Creating a timer to fire really often (depending on how many FPS I want the animation to be) or setting a function to run every frame and checking if the animation frame should progress?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Animation: Timer vs ENTER_FRAME event | 0 | 117 | July 10, 2011 | |
| Timer intervals in correlation to ENTER_FRAME | 0 | 91 | February 9, 2009 | |
| Which way is faster? | 0 | 84 | September 21, 2010 | |
|
Create 'internal clock' as alternative onEnterFrame()
|
0 | 123 | October 8, 2006 | |
|
Save code generated animation
|
0 | 60 | December 10, 2009 |