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.

Chapter 5: Background art<br />

Importing scanned artwork and artwork created in<br />

other paint programs<br />

Remember that you are not limited <strong>to</strong> creating your artwork in <strong>Flash</strong> alone. Figure 5.7 shows a<br />

background that has been hand painted with watercolours. Not a computer in site! The final result<br />

was scanned and imported as a bitmap. This technique has the feel of a children’s book illustration<br />

and gives a texture <strong>to</strong> the graphic that is sometimes missing in vec<strong>to</strong>r art. Of course there are<br />

numerous paint programs that allow you <strong>to</strong> create textured graphics directly on your PC if you<br />

prefer.<br />

Figure 5.7 Using a scanned painted background<br />

Using very simple designs when creating a scrolling<br />

background<br />

If your game is going <strong>to</strong> use a scrolling background then you must be very sparing with the<br />

detail <strong>to</strong> maintain a high frame rate. Scrolling backgrounds need a frame rate of at least 30 fps <strong>to</strong><br />

look smooth and 50 fps would be preferable. Getting the frame rate <strong>to</strong> be maintained at this level<br />

requires developers <strong>to</strong> use all their ingenuity <strong>to</strong> minimize screen redrawing. <strong>Flash</strong> will run faster<br />

65

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

Saved successfully!

Ooh no, something went wrong!