Jump to content
Search Community

Frame rate and ThrowProps

Big Bad Roo test
Moderator Tag

Recommended Posts

Hi

 

My project is set at 12fps as it's a blog type app, so no serious animation needed, except when scrolling the text.

 

Just wondering is that's a good rate when using throwprops? I see some examples are at 60fps - what's less taxing for, say, an iPhone?

 

Also, do you need to adjust (in mouseMoveHandler):

 

if (t - t2 > 50) {
                    y2 = y1;
                    t2 = t1;
                    y1 = mc.y;
                    t1 = t;
                }

 

...according to your frame rate?

 

Cheers

Link to comment
Share on other sites

No, you don't need to edit that code for various frame rates.

 

And as far as the optimal frame rate, it's really a decision you need to make on your own, factoring in performance vs. CPU demand. I personally think 12fps is far too low, and I'd recommend either 30 or 60. Typically clients would much rather have a smooth, responsive app rather than one that reduces the CPU load, but that's not always the case. 

 

Good luck!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...