Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: Performance Issues (was changing FPS), newbies should read this |
| From: | Gahlord Dewald |
| Date: | Tue, 21 Nov 2000 04:14:17 GMT |
On 11/20/00 at 7:11 PM, Renee Pearson <renee
> i've noticed in my movie that the frames-per-second (which i set to 15)
> changes over the course of the movie. is this to be expected? this is when
> i'm running within the stage, by the way, with no considerations like
> download or network considerations.
>
> thanks!
>
> renee
> http://www.fertilepress.com
FPS will vary depending on the processor load you are putting out with your
animations. In general, the more pixels you shove around, the more alpha tweens
you have going on at once, and when you get a zillion movie clips out there,
your processor will bog down and play slower. Also, if you're trying to animate
at film/video speeds your processor will probably choke on that too.
Check out where your movie starts to bog down and I'll bet you a six pack of
Magic Hat that you have:
a) one or more alpha tweens,
b) one quarter or more of your movie image area changing/animated,
c) more than 5 movie clips (2 if the movie clips contain their own animation),
d) something with a _lot_ of points (ornate vector) being animated
e) all of the above
I highly recommend you check out Moock.org's FPS Speedometer to help figure out
how the clip is playing. This tool rocks so hard that I should just send the six
pack to Moock.
Also, keep in mind that your machine is most likely (and I'm making an
assumption that you have a pro or semi-pro rig) way better at handling animation
than the lowest common denominator; your movie may slow to a crawl on the
average machine.
With Flash there are a variety of things which affect performance:
1. Download: just like regular old HTML, folks still have to download it. Even
vectors can add up (especially if there are a lot of points; if you imported
from illustrator be certain to optimize in flash).
Tool:
Use the report from publish settings to help identify where the big files are in
your movie. This tool is invaluable for optimizing for download.
2. Bandwidth: Flash can stream, so start your project with low mass,
quick-loading stuff (simple vectors, no bitmaps, very short audio loops if any
audio at all) to keep your audience attention while things load in the
background. Design note: a bar that says "loading" doesn't hold anyone's
attention. Think of this parameter like download, but over time.
Tool:
Use the bandwidth profiler from test movie to check how your movie streams.
Learning to read that little graph can help a great deal.
3. Processor Load: this is what you're facing right now, you have an animation
and it's chugging slow slow slow. Even though Flash is great, it has limits. And
so does everyone's computer.
<Geek> Basically the way vector art works is that instead of a one to one map
(bitmap) used to draw an image, there is a mathematical equation that is used to
draw the image. The equation is much smaller than the bitmap in terms of file
size, but requires the computer to work out the equation, using up processor
time. Moving this object takes up processor time as well. Moving it at a higher
rate (faster FPS) takes up even more processor time.
Sooner or later all the moving equations take up so much processor time that the
machine starts to slow down. Think of standing in the express checkout line at
the grocery store: even though everyone has only 10 items the line gets
reallllly long and everyone still waits the same amount as if they went to a
regular line, sometimes even longer.</Geek>
<Normal> Basically, animating a lot of pixels at a time and _especially_ alpha
tweens can really take up a lot of processor time and can bog down
computers.</Normal>
Tool:
This one takes some time learning what can slow things down. Luckily, you just
made a great example for yourself to learn from! :) Also, use Moock's FPS
Speedometer to actually check out the speeds you're getting (this can help if
you think you're going insane). The more you use this tool the better you will
get at learning what sort of animations work and what sort of animations bog
down the processor.
Well that was a long winded reply and I apologize for length. But these issues
took me awhile to grok (especially processor load) and I imagine a few other
folks out there could use this info. I'm also going to keep it to repost because
this sort of question gets asked a lot.
Take care and let me know if I owe you beer,
g
Gahlord Dewald
Weeds Media Consortium
Hoops of Fire. Dancing Bears.
Interactive Designers.
http://www.weedsmedia.com
v: 802.658.4267 x 1
f: 800.863.9606
e: gahlord
Weeds Media Consortium
416 Pine Street
Burlington, VT 05401
USA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: changing fps, Renee Pearson
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

