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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 20.4 Layout problems from a direct port of a desk<strong>to</strong>p game<br />

Chapter 20: Using <strong>Flash</strong> on a PocketPC<br />

3 Edit the new symbol by selecting it from the Library or the drop-down ‘Edit Symbols’<br />

but<strong>to</strong>n.<br />

4 Paste the frames in<strong>to</strong> the new symbol.<br />

5 Place your new symbol on the root-level timeline and resize while maintaining the aspect<br />

ratio by clicking on the ‘Scale’ option but<strong>to</strong>n for the ‘Free Transform Tool (Q)’.<br />

You should now resize your movie <strong>to</strong> 240 × 234 using the Document Properties panel, which<br />

is accessed by clicking in a non-occupied part of the stage and pressing the Size but<strong>to</strong>n in the<br />

Properties window.<br />

In the original version of the game we had just one but<strong>to</strong>n on screen and two highlighting<br />

panels displaying who the current player is. The aim of the reshaping is <strong>to</strong> maximize the board<br />

area. If users have the Address bar hidden then the layout shown on the left in Figure 20.5 is<br />

ideal. This uses a movie area of 240 × 268 pixels allowing room for the but<strong>to</strong>ns below the board.<br />

Unfortunately surveys indicate that the majority of users have the Address bar active, therefore it<br />

is recommended that the shape of the game is restricted <strong>to</strong> 240 × 234. The screenshot on the right<br />

of Figure 20.5 shows how we achieved this.<br />

Using panels <strong>to</strong> display additional data<br />

The screen space available on a PPC is easily big enough for a crossword puzzle. In Chapter 13 we<br />

looked at developing a crossword puzzle game. The game used the additional screen space available<br />

323

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

Saved successfully!

Ooh no, something went wrong!