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 />

if it is only drawing a small section of the screen as opposed <strong>to</strong> the whole stage. Sometimes the<br />

best technique for achieving a high frame rate is <strong>to</strong> have a background where most of the design<br />

remains static. Figure 5.8 shows an overhead view of a section of road. This background was used<br />

for a game with a man running along the pavement. In the black and white version shown here it<br />

may be difficult <strong>to</strong> see the image as a road and you are advised <strong>to</strong> look at the colour version on the<br />

CD, which is much easier <strong>to</strong> understand. The narrow double line forms the edge of the road; two<br />

yellow lines indicate a no-parking zone in the UK where this game was first used. The strip <strong>to</strong> the<br />

left is green grass. Reading from left <strong>to</strong> right, the stripes are grass, pavement, road markings and<br />

road. None of these elements would change if you were flying over the road in a helicopter, so <strong>to</strong><br />

give the illusion of movement we need an item <strong>to</strong> move down the screen. In the game we used<br />

a fence between houses, fire hydrants and post boxes. These moved down as the player stayed in<br />

the middle of the screen, suggesting movement along the road. Because only a small area of the<br />

screen is changing the frame rate is maintained even on a slower computer.<br />

Figure 5.8 Keeping it simple <strong>to</strong> allow for scrolling<br />

Using abstract imagery<br />

Another interesting technique for creating backgrounds is <strong>to</strong> use abstract imagery or imagery<br />

derived from type. Figure 5.9 shows the background of a game that featured the pop group<br />

‘Steps’. At first glance you may well have missed that the shapes at the <strong>to</strong>p of screen form the word<br />

steps. A second look makes it easy <strong>to</strong> see the letters. The graphic that forms the word was used<br />

repeatedly with a fading effect <strong>to</strong> create the remainder of the background design.<br />

66

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

Saved successfully!

Ooh no, something went wrong!