02.02.2013 Views

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Flash</strong> <strong>MX</strong> <strong>2004</strong> <strong>Games</strong><br />

A higher setting will delete more curves. The curves are all checked and reduced based on a<br />

sophisticated algorithm. If the animation is usually shown at a small size then optimizing the frames<br />

will make a great difference <strong>to</strong> the size of the file and improve the performance. The final result is<br />

shown in Figure 4.20 and can be seen as ‘Scene 2’ of ‘Examples/Chapter04/FatCatCG.fla’. The<br />

file size for this version is 188 K, huge by comparison <strong>to</strong> the bitmap version. Bitmaps traced in<br />

this way often result in large file sizes.<br />

Figure 4.20 Trace Bitmap animation sequence<br />

Hand tracing a computer animation<br />

The slowest method for getting data out of a computer animation program is <strong>to</strong> import the bitmaps<br />

as before, then in a new layer hand trace the images one by one. This is a very slow process but<br />

results in by far the smallest files. Once the images have all been traced and coloured remember <strong>to</strong><br />

delete the bitmap layer. A single image in the cat animation uses just 2634 bytes when hand traced<br />

and 12 274 when Trace Bitmap is used. If file size is the most important issue and production time<br />

is available then hand tracing cannot be bettered.<br />

58

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!