I have a timer, it is set to about 30. The FPS of my movieclip is set to 50 FPS.
Now I have a set of objects that interact with each other every ‘tick’ of the timer. You can visualise them as a random assortment of circles flying about on a 2d plane.
Thier interaction means they speed up to the point where they might move 15 px every tick.
Now what happens is that these objects are rendered to the screen but are very flickery
as they are jumping like frogs in pixels increments across the screen, even though they are following a snooth enough path.
This has rammifications in that objects that actually cross each others path dont interact, as they may miss each other due to their tick-tock-tick movement across the stage.
Should I be using onenterframe style animation instead for smoother results or are there other methods of simulation i could be using?
A second issue i have thats related is that I would like to have a slider that effects the speed of how fast my animation runs.
My initial attempt at this was connecting a slider to the timer speed, while i could reduce the speed of the animation, what happens is that the jerkiness just gets worse.
I am developing something similar to this, everythings is fine at low speeds in my animation too but once objects start moving very quickly it gets messy.
http://phet.colorado.edu/sims/my-solar-system/my-solar-system_en.html