Al: Sorry about the confusion, I'm still trying to decide whether or not I should use pixel units in the examples, or if I should try adding a layer of abstraction so the end user can use pixel units but use meter units in the simulation without bothering them with the physScale variable.
This should answer your question armage:
raigan wrote:
t_anjan wrote:
I just noticed that the PhysTest.fla has a frame rate of 120 fps. The flash player uses 90% of CPU power continuously (as seen in the task manager). Normal flash movies and games run at 12 fps, if I'm not mistaken.
What's the guarantee that the swf will run smoothly on older computers?
I don't think many games run at 12fps -- that's just the default setting in the authoring environment. I always use 60,90, or 120fps and use code internally to keep the game running as smoothly as possible.
Basically, Flash doesn't try hard enough to keep up with the framerate you set, so you have to use a much higher framerate, and limit it yourself by wasting cycles.
It helps a lot with performance, especially in the browser, but it does have the tradeoff of potentially making other applications unresponsive while it's running in the standalone player.