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.

outline, 17<br />

sections, 17, 21–8<br />

usage methods, 2–6, 18–29, 35, 113–14<br />

Top-down approaches, concepts, 137–40<br />

Trace action, concepts, 46, 55–9, 83–4, 88, 90–100,<br />

143, 144–7, 153–60, 236–9, 261–75<br />

Trace Bitmap selection, 55–9<br />

Transform selection, 54–5<br />

Transpose, vec<strong>to</strong>r, 147<br />

Trees, background art, 60–1<br />

Triangles:<br />

concepts, 103–4, 147, 288–91, 294–5<br />

Pythagoras theorem, 103–4, 147, 288–9<br />

True evaluations, 9, 90, 106–7, 114–17, 121–2,<br />

160–1, 260–4<br />

Truth tables, ‘if ’ statements, 106<br />

Turn animation, sprite characters, 43–5<br />

TurnLeft function, mazes, 240–1<br />

TurnLeft label, platform games, 260–80<br />

TurnRight function, mazes, 241<br />

TurnRight label, platform games, 260–80<br />

TV see Television<br />

Tweening, 29–30, 35–8, 78–9, 395–410<br />

Two-player board games, concept, 244–59, 322–4<br />

Typewriter font, 189<br />

Uniform Resource Identifier (URI), 365–6<br />

Uniform Resource Loca<strong>to</strong>rs (URLs), 168, 171, 173,<br />

175–6, 192<br />

Up key:<br />

concepts, 260–3, 292–3, 326<br />

platform games, 260–3<br />

sport simulations, 292–3<br />

Up-and-down positions, simple cut-out animation,<br />

37–41, 53–4<br />

UPDATE command, SQL Server, 213–15, 341–3<br />

Update function, sports simulations, 295–305<br />

URI see Uniform Resource Identifier<br />

URLs see Uniform Resource Loca<strong>to</strong>rs<br />

User input:<br />

see also Inputs<br />

board games, 245–6, 248–54, 259<br />

concepts, 78, 137<br />

mazes, 239–42<br />

mobile devices, 78<br />

planning considerations, 137<br />

platform games, 260–75<br />

sports simulations, 282–95<br />

User-defined classes, concepts, 94–5<br />

UserAction function, platform games, 263–75<br />

UserJump function, platform games, 266<br />

UserLeft function, platform games, 265<br />

UserRight function, platform games, 265<br />

Users, databases, 207–9<br />

Variables, 8–9, 13, 83–100, 135<br />

arithmetic opera<strong>to</strong>rs, 10, 88–91, 118–35, 315–17<br />

arrays, 97–8, 138–50, 198–200<br />

Index<br />

assignment opera<strong>to</strong>r, 10, 86–100, 123–4<br />

Boolean variables, 90, 111, 114–17, 121–2, 160–1,<br />

260–4<br />

breakpoints, 163–7<br />

class definitions, 93–5, 144–50<br />

concepts, 8–9, 13, 83–100, 135<br />

counting variables, 118–35, 156–7<br />

creation, 86–7, 90–1<br />

database connections, 212–25, 337–8, 342–3<br />

declarations, 86–7, 153–8<br />

definition, 86–7<br />

errors, 152–7, 162, 258–9<br />

examples, 89, 91–5<br />

fscommand, 179–81, 325–6, 376–7, 384–5<br />

functions, 93–4, 104–17<br />

initialization, 118–19, 123–30, 144, 162<br />

Internet, 169–75, 228–9<br />

loadVariables, 175–6, 189, 200–1, 219–24, 228,<br />

341–2, 346<br />

logical opera<strong>to</strong>rs, 9–10, 102–17, 123–4, 315–17<br />

MIME-encoded variable forms, 217–18, 221, 227,<br />

342–4, 346<br />

mode variables, 237–42<br />

names, 98–100<br />

objects, 93, 98–9<br />

operations, 86–100, 123–4<br />

private variables, 149–50<br />

query strings, 172–5, 212–13, 341<br />

scope errors, 13, 156–7, 258–9<br />

small games, 185–204<br />

string variables, 87, 90–2, 98–100, 152–3, 156,<br />

201–3, 217–18, 221, 227, 309–10, 334–46<br />

telephone-number analogy, 86<br />

types, 8–9, 87, 90–2<br />

VB see Visual Basic<br />

Vec<strong>to</strong>r class conventions, 146–8<br />

Vec<strong>to</strong>r-based packages:<br />

concepts, 2–4, 60, 64–5<br />

speed issues, 60, 64<br />

texture shortcomings, 65<br />

Vec<strong>to</strong>rs, 2–4, 60, 64–5, 131–5, 146–8, 269–71, 282,<br />

294–5, 297–9, 306<br />

Vectra3D, 46, 54<br />

Velocities, 131–5, 269–71, 282, 294–5, 297–9<br />

Vertex maps, concepts, 52<br />

View section, Toolbox, 17<br />

Visual Basic, 176, 179–80, 346, 375–8<br />

concepts, 176, 179–80, 346, 375–8<br />

embedding <strong>Flash</strong>, 375–8<br />

examples, 375–8<br />

frame setting, 375–6<br />

messages, 376–7<br />

variables, 375<br />

Visual C++, 348–59, 385–8<br />

WalkLeft label, platform games, 260–80<br />

WalkRight label, platform games, 260–80<br />

427

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

Saved successfully!

Ooh no, something went wrong!