Magic Frame Rate Flash Player

Once upon a time (5+ years), I read an article about optimal frame rates for Flash Player. Some calculations were calculated in the article, according to which 31 frames per second was the optimal fps for running your films and seemed logical to me at that time and since then has used 31 fps.

However, I forgot the reasoning from this article, and I was wondering if 31 fps is still considered good or optimal fps to run your swf.

What fps do you prefer for your swf and why?

+6
actionscript flash frame-rate
source share
5 answers

The reason for 31 fps was that during Flash 5/6 there was a problem with the Mac version of the Flash player, where it would be a plateau with a certain frame rate. That is, if you ran into 12-17 FPS, it rarely happened 12. However, if you set fps to 18, this will work great for 18.

The Sweet Spot plateau was 31 fps because it offered the smoothest animation (assuming you weren’t performing frame animation, 31 was too time consuming in this case), although it wasn’t nearly as intense as the processor intensity as the following the plateau, which I believe was 61 fps.

Despite the fact that these days are behind us, it’s still important for us to strike such a balance between smooth animation and the processor. Make sure you set aside some time at the beginning of your project (especially if it has some kind of manual work) to find out where sweetness is for your purposes.

+9
source share

I'm not a Flash expert, but it sounded interesting enough to do anything at Google. This forum topic implies that the “industry standard” 31 fps comes from Flash 5 error. Since Flash 5 was recently, people seem to agree that you can freely choose the frame rate these days, you don’t have to do everything using 31 fps.

+2
source share

Also remember that you can set the dynamic frame rate at runtime by setting the Stage.frameRate property. Some people have implemented reduced frame rates when the application does not focus on saving on CPU usage or increased it before performing more intensive data processing.

+2
source share

Usually for animation 12-16, and for coding - 25-30.

Also, take a look at this class: http://www.gskinner.com/blog/archives/2009/05/idle_cpu_usage.html

It allows you to use high frame rates without the consequences of using a high frequency processor! In addition, it is easily adaptable for non-ether material. (just comment out everything that gives you a compiler error).

+2
source share

31-33 FPS was the magic number for AS2.

You can smoothly run 50-60 FPS with AS3, and you will notice a huge improvement.

+1
source share

All Articles