Macromedia Flash MX 2004 Game Programming (Premier Press Game Development)

D

data

hiding, 523

loading, event handler, 146

data types

classes, 521 “523

functions, 522 “523

properties, 521 “522

Date object, 277

date/time, 277

declaring. See creating

decremental operators, 44 “45

default keyword (case clauses), 64

defining

classes, 507 “510, 513 “518

functions, 88 “89, 335

degrees (trigonometry), 440 “446

delete operator, 255

deleting

clips, 136

objects, 255

depths

clips, 134 “138, 319 “320

objects ( Critter Attack ), 335

designing

Blow 'Em Up , 456 “461

button menu, 164 “166

games

flexibility, 380

function stubs, 393

OOP, 505 “506

scripts, 398

steps, 108 “109

marbles , 597

Pachinko , 625 “626, 634 “635

scoreboards, 681 “690

Shoot 'Em Up , 391 “395, 399 “405

state machines, 375 “378, 399 “405

Tic Tac Toe , 546 “548

Web sites, 721

destructive functions, 192

Developmental Panels command (Window menu), 28

dialog boxes

Create New Symbol, 8

Linkage Properties, 131

Substitute Font, 113

Director, 615

directories, classes, 510 “511, 529 “530

disabling buttons , timelines , 310

distance. See also moving; speed

formula, 432 “437

objects, 434

collision detection, 435 “437

relative, 435 “437

vectors

adding, 584 “585

components , 583 “584

component-wise multiplication, 588

dot product multiplication, 588 “590

initial points, 584

magnitude, 583

normalizing, 586 “587

overview, 582 “584

scalar multiplication, 585 “586

scaling, 587 “588

subtracting, 584 “585

terminal points, 584

do while loops , 67 “68

dot (.) operator, 96

dot product multiplication, 588 “590

double shots ( Blow 'Em Up ), 454 “455, 461, 488 “491

Drawing API, 321 “327. See also images

duplicating clips, 136 “137

dynamic classes, 519 “521

dynamic instances, 130 “134

dynamic text fields, 12

Категории