Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

3D Game Programming All In One (2004)

.pdf
Скачиваний:
140
Добавлен:
17.08.2013
Размер:
17.91 Mб
Скачать

788 Index

onConnectionTimedOut() function, 214 onConnectRequestRejected() function, 213–214 onConnectRequestTimedOut() function, 213 onDataBlockObjectReceived() function, 216 onDataBlocksDone() function, 216

onDrop() function, 215 onFileChunkReceived() function, 216 onGhostAlwaysObjectReceived() function, 216 onGhostAlwaysStarted() function, 217 setLagIcon() function, 215

GameDev.net Web site, 744

Gamer's Technical Resources Web site, 745 games

1st PPOV (First-Person Point-of-View), 3 3rd PPOV (Third-Person Point-of-View), 3

Attach & Defend, 3

Blackhawk Down, 22

Capture the Flag, 3 Center World, 6 Chain Reaction, 6 Death Match, 3 Delta Force, 22, 217

Dungeons & Dragons, 4 Everquest, 22

Falcon 4, 6

FPS (First-Person Shooter), 3, 662–663 genres

action games, 3 adventure games, 3–4 retail games, 2

RTS (Real-Time Strategy), 7 simulator games, 6

sports games, 7 strategy games, 7–8

Half-Life 2, 17

The Incredible Machine series, 6 King-of-the-Hill, 3 MarbleBlast, 5

Maximum Football, 7 mazes, 5–6

Myrmidon, 5 platforms, 8–11 puzzles, 5–6

Quake 3, 17

RPGs (role playing games), 4–5 SimCity series, 8

ThinkTanks, 3

Tribes 2, 17

Unreal II, 17

World War II Online, 22

gaps in map box mapping option, 411

gaps in map cylindrical cap mapping option, 412 gaps in map cylindrical mapping option, 412 gaps in map planar mapping option, 411

gaps in map spherical mapping option, 413 GarageGames Web site, 27, 742

genres

action games, 3 adventure games, 3–4 retail games, 2

RTS (Real-Time Strategy), 7 simulator games

overview, 6

strategic simulations, 8 sports games, 7

strategy games, 7–8 geometric center of objects, 90

GeoSphere button (MilkShape Model tab), 399 GetBoxCenter() function, 688 GetBuildString() function, 688 GetCompileTimeString() function, 688 GetControlObjectAltitude() function, 688 GetControlObjectSpeed() function, 688 GetDesktopResolution() function, 689 GetDisplayDeviceList() function, 689 GetField() function, 689

GetFieldCount() function, 689 GetFields() function, 690 GetFileCount() function, 690 GetFileCRC() function, 690 getGroup function, 652 getHelp function, 634 GetJoystickAxes() function, 690

GetMaxFrameAllocation() function, 690 getMissionDisplayName function, 646–647 GetModPaths() function, 691 GetRandom() function, 691 GetRandomSeed() function, 691 GetRealTime() function, 691

GetRecord() function, 691 GetRecordCount() function, 692 GetRecords() function, 692 GetResolution() function, 692 GetResolutionList() function, 692 GetServerCount() function, 692

Team LRN

GetSimTime() function, 693 GetSubStr() function, 693 GetTag() function, 693 GetTaggedString() function, 693 GetTerrainHeight() function, 693 getTransform() method, 109, 562 GetVersionNumber() function, 694 GetVersionString() function, 694

GetVideoDriverInfo() function, 694 GetWord() function, 652, 694 GetWordCount() function, 694 GetWords() function, 695

glass textures, 278 GLEnableLogging() function, 695 GLEnableMetrics() function, 695 GLEnableOutline() function, 695 global scope, 54

Gnometech Web site, 742

GNU General Public License, 754 GoAhead function, 175, 562–563 GoLeft function, 175

GoRight function, 175 GoToWebPage() function, 695 gouraud shading, 99–100

Graphical User Interface (GUI) controls

discussed, 336–337 GuiButtonCtrl class, 340–341 GuiCheckBoxCtrl class, 341–342 GUIChunkedBitmapCtrl, 337–338 GUIControl class, 339 GuiScrollCtrl class, 342–343 GuiTextCtrl class, 339–340 GuiTextEditCtrl class, 344–345 GuiTextListCtrl class, 343–344

discussed, 335 overview, 19 Torque GUI Editor

Content Editor, 345–346 Control Inspector, 347 Control Tree, 346

creating interfaces using, 348–349 keyboard commands, 348 launching, 345

Tool Bar, 347 graphs

directed, 103 scene, 103–104

Index 789

gravityCoefficient property, 601 grep command

overview, 32

in UltraEdit-32, 39–41

Grid Size option (Preferences dialog box), 405 group nodes, scene graphs, 103

Group Selector Box button (MilkShape Groups tab), 401

Groups tab (MilkShape toolbox), 400–401 gtype parameter, 228

GUI (Graphical User Interface) controls

discussed, 336–337 GuiButtonCtrl class, 340–341 GuiCheckBoxCtrl class, 341–342 GUIChunkedBitmapCtrl, 337–338 GUIControl class, 339 GuiScrollCtrl class, 342–343 GuiTextCtrl class, 339–340 GuiTextEditCtrl class, 344–345 GuiTextListCtrl class, 343–344

discussed, 335 overview, 19 Torque GUI Editor

Content Editor, 345–346 Control Inspector, 347 Control Tree, 346

creating interfaces using, 348–349 keyboard commands, 348 launching, 345

Tool Bar, 347

GuiBitmapCtrl class, 639, 729 GuiButtonCtrl class, 340–341, 632 GuiCanvas class, 729 GuiCheckBoxCtrl class, 341–342

GUIChunkedBitmapCtrl class, 337–338 GuiContentProfile property, 163 GuiControl class, 639, 730 GuiDefaultProfile method, 578–579 GuiEditCtrl class, 730

GuiFilterCtrl class, 730 GuiFrameSetCtrl class, 730 GuiInspector class, 730 GuiMessageVectorCtrl class, 730 GuiNoMouseCtrl class, 639 GuiPopUpMenuCtrl class, 730 GuiScrollCtrl class, 224, 342–343 GuiSliderCtrl class, 731

Team LRN

790Index

GuiTerrPreviewCtrl class, 731 GuiTextCtrl class, 339–340 GuiTextEditCtrl class, 224, 344–345 GuiTextListCtrl class, 731 GuiTreeViewCtrl class, 732

gun creation

model building, 490–494 skins, 494–495

sound effects, 565–572 testing, 495–496

gunshot sound-effect wave form, 21

H

hair texture, player skin example, 327–328

Half-Life 2, 17

Half-Life command (MilkShape Tools menu), 395 Hall of Worlds Web site, 742

handles defined, 505 face, 505

objects, 125-126

hands, player skin example, 329 HardImpactSound command, 619 hardImpactSound property, 576 HardImpactSpeed command, 618 Hardness control (Paint Brush tool), 295 head animation

character modeling, 418–423

head and neck, player skin example, 322–326 head animation sequence, torque-supported,

444

head to torso model, character modeling, 429–430

skeletal animation, 447–448, 454–455 header blocks, 50

Heads Up Display (HUD), 19, 168

headside animation sequence, torque-supported,

444

Health Kit model, 479–481 height-maps, terrains, 367–368 height property, 164

Hello World program example, 49–51 help

Help feature, UltraEdit-32, 45 Help menu (UVMapper), 407, 409 Usage() function, 138

Hense, Michael (Center World), 6 hero rigging, skeletal animation, 451

hexadecimal systems, 46 hidden lines, 94

hidden surfaces, 94

Hide button (MilkShape Groups tab), 401

Hide Selection command

Edit menu, 389, 392, 425 World menu, 590

high-constrasting shading, 351 high-level languages, 47 highlight maps, 100

highlighting, syntax highlighting, 31 holes, bump mapping, 101

home game consoles, 8 horizSizing property, 164 Host interface, 635, 647–648 hosted servers, 661–662

hot keys, UVMapper tool, 410

Hot keys command (UVMapper Help menu), 408 house structures, 508–511

hScrollBar property, 225, 343 HTTPObject class, 732

HUD (Heads Up Display), 19, 168 hybrids, character models, 417 Hydraulic Erosion function, 537

I

identifier token, 737 identifiers, variables, 54 iDevGames Web site, 745, 749

idle animation, skeletal animation, 451–452 idle engine sound, 576

if-else statements, 76–79 if keyword, 54, 735

if statement

nested if statements, 79–80 overview, 75–76

Illum flag (special materials, MilkShape), 462 image editing tools, 751

images

bitmap versus vector, 288–289 creating masks from, 302–303 cropping, 355–357

digital versus film, 352–353 rotating, 304–305

scaling, 303–304 sizes, changing, 305 tiling, 359–360

Team LRN

Import Audio command (Audacity Project menu),

548

Import command (File menu), 387, 392

Import Frame option (Preferences dialog box),

405

Import Labels command (Audacity Project menu), 548

Import MIDI command (Audacity Project menu),

548

Import Raw Data command (Audacity Project menu), 548

Import Terraform Data command (Mission Editor File menu), 588

Import Texture Data command (Mission Editor File menu), 588

Import UVs command (UVMapper File menu),

407

IncreaseFSAA() function, 696 IncreaseNPatch() function, 696 increment operators, 62

incremental polygon construction, 415–416 indenting, readability issues, 86

index of arrays, 56 infinite loops, 65

inheritedVelFactor property, 601 InitBaseClient() function, 143, 239 InitBaseServer() function, 143, 239 InitCanvas() function, 143 InitContainerRadiusSearch() function, 696 initialControlSet() function, 215 initialization

control code, 139–140 for loop, 65

overview, 58

program example, 141–143 script for, 235–240

InitializeClient() function, 143, 217–218, 642 InitializeServer() function, 143

input model, Torque Game Engine, 24 InputLog() function, 696

insert credit Web site, 745

Insert Silence command (Audacity File menu),

547 installing

Audacity tool, 540 MilkShape 3D, 381–382 Paint Shop Pro, 279 QuArK, 500

Torque, 29 UltraEdit-32, 32

Index 791

instance of objects, 125 instantiation, 125 Integration command, 618

interface module, finding servers, 218–223 interface sound, 578–579

interfaces

ChatBox, 636–640, 650–652

creating, using Torque GUI Editor, 348–349 FindServer, 635–636, 648–650

Host, 635, 647–648 MenuScreen, 632–634 MessageBox, 640–642, 652–655 SoloPlay, 634–635, 643

interior library, Torque Game Engine, 27 interior structures, 499

InteriorInstance class, 732 InteriorInstance object, 125 internal methods, terrains, 368

International Game Developers Center Web site,

745 interpolation, 28

Invert command (Audacity File menu), 549 irregular textures, 360

IsDemoRecording() function, 696 IsDeviceFullScreenOnly() function, 697 IsEventPending() function, 697

IsFile() function, 697 IsFullScreen() function, 697 IsJoystickDetected() function, 697 IsKoreanBuild() function, 698 isLooping property, 551 IsNameUnique function, 255 IsObject() function, 698 IsPackage() function, 698 IsPointInside() function, 698

IsWriteableFileName() function, 698 Item class, 732

iteration, loops, 65 iterators and loops, 56

J

JetEnergyDrain command, 619 JetForce command, 619 JetSound command, 619

joint animation, bone movement during, 445 Joint button (MilkShape Model tab), 400

Joint Photographic Experts Group (JPEG),

285–288

Team LRN

792Index

Joint Selector Box button (MilkShape Joints tab),

403

Joint Size option (Preferences dialog box), 406 Joint tool (MilkShape), 617

Joints tab (MilkShape 3D), 403

JPEG (Joint Photographic Experts Group),

285–288

jump animation sequence, torque-supported, 444 jumpEnergyDrain property, 184

jumpForce property, 154, 184 jumpSurfaceAngle property, 154, 184

K

kerning, text, 306 key binding, 148, 202 key mapping, 148

keyboard and mouse operations, 591 keyboard commands, 348

keyframe slider (Keyframer tool), 404 Keyframer tool (MilkShape toolbox), 403–404 keyframes, 403

keywords

break, 54, 735 case, 54, 735 continue, 54, 735 datablock, 735 default, 54, 735 defined, 53

do, 54, 735 else, 54, 735 false, 54, 735 for, 54, 735

function, 54, 735 if, 54, 735

new, 54, 735 package, 736 return, 54, 736 switch, 54, 736 true, 54, 736 while, 54, 736

kill tracking, event triggers, 629–630

King-of-the-Hill, 3 koob utility, 555–558

L

Label tool (Audacity tool), 544 lag, 133

lambert shading, 99

land animation sequence, torque-supported, 444 laps and checkpoints, scoring, 622–625

latency problems, 28 LaunchDedicatedServer() function, 699 LaunchGame() function, 161

layers

active, 293 adjustment, 292 background, 292 creating, 292 display options, 292

mask, 291–292, 301–302 merging, 306

naming, 292 raster, 291 saving, 294 shifting, 419 vector, 291

leading text, 306

leaf nodes, scene graphs, 103 left-handed coordinate system, 90 left property, 164

legs, character modeling, 430–432 lifetimeMS property, 600–601 lifetimeVarianceMS property, 600–601 light maps, 100

lighting photography, 355

SceneLightingCompleter function, 265 UpdateLightingProgress function, 266

Lightning class, 732 lightning effects, 529–531

light_recoil animation sequence, torquesupported, 445

LightScene function, 265 LightScene() function, 265, 699 lines

hidden lines, 94 straight, 294

Linux Game Development Center Web site, 745 Linux Game Tome Web site, 745

Linux operating systems discussed, 10–11 distributions, 11

Linux tool source Web sites, 749 listed files, Find in Files feature, 38

Load Model command (UVMapper File menu),

407

Team LRN

LoadMission function, 246, 250, 258 LoadMissionStage2 function, 246, 250 local scope, 54

Lock Selection command (World menu), 590 lockMouse() function, 699

logical expressions examples of, 74 AND operator, 73 overview, 73–74

look animation, 444–445, 455 loops

for, 65–66 bounded, 64 defined, 64 infinite, 65 iteration, 65 iterators and, 56 while, 64–65

lossy compression, 285 lost data packets, 28 ltrim() function, 699

M

mAbs() function, 699 machine code, 45–46 Machinima.com Web site, 746

Macintosh

Macintosh Linux distribution, 11 Macintosh tool sources Web sites, 749

mAcos() function, 700

macro commands, UltraEdit-32, 43 main() function, 51

main screen, Audacity tool, 542–543 main.cs module, 139–140 makeTestTerrain() function, 700 Mandrake Linux distribution, 11

Manual Edit command (MilkShape Vertex menu),

393

map size box mapping option, 411

map size cylindrical mapping option, 412 map size planar mapping option, 411 map size spherical mapping option, 413 map2dif, QuArK reference, 767–768 maps, 100

MarbleBlast, 5 mAsin() function, 700 mask layers, 291–292

Index 793

masks

creating, from images, 302–303 creating, from selections, 302 defined, 300

mask layers, creating, 301–302

Mass command, 618 mass property, 154, 184 MassBox command, 618

MassCenter command, 618

Master Gain tool (Audacity toolbar), 543 master servers, 217

mAtan() function, 700 material animation, 27

Material Preview button (MilkShape Materials tab), 402

Material Selector Box button (MilkShape Materials tab), 402

MaterialList property, 519 materials

special (MilkShape), 460–463 storm effects, 528–529

Materials palette (Paint Shop Pro), 290–291 Materials tab (MilkShape toolbox), 400, 402 MathInit() function, 701

MathWorld Web site, 746 MatrixCreate() function, 701 MatrixCreateFromEuler() function, 701 MatrixMulPoint() function, 701 MatrixMultiply() function, 702 MatrixMulVector() function, 702 maxBackwardSpeed property, 154, 184 maxbots parameter, 228

MaxDamage command, 618 maxDamage property, 154, 184 maxdrag property, 154, 184 MaxEnergy command, 619 maxEnergy property, 154, 184 maxForwardSpeed property, 154, 184

Maximum Football, 7 maxInv property, 184

maxJumpSpeed property, 154, 184 maxLength property, 340 maxplayers parameter, 228 maxSlideSpeed property, 154, 184 MaxSteeringAngle command, 618 maxVelocity property, 532 MaxWheelSpeed command, 619 mazes, 5–6

Team LRN

794Index

mCeil() function, 702 mCos() function, 702 mDegToRad() function, 702

Meade, Ian D. (UltraEdit-32), 31 member functions, 127 member variables, 127

menus

Audacity tool

Edit menu, 545, 547 Effect menu, 545, 549 File menu, 545–546 Project menu, 545, 548 View menu, 545, 547

GUI, 335 MilkShape 3D

Animate menu, 394 Edit menu, 391–392 Face menu, 393–394 File menu, 391–392 Tools menu, 395 Vertex menu, 391, 393

Mission Editor Camera menu, 589 Edit menu, 588 File menu, 588

UVMapper tool

Edit menu, 407–408 File, 407

Help menu, 407, 409 Window (MilkShape), 397 World (World Editor), 590

MenuScreen interface, 632–634

Merge command (File menu), 392, 429 merging layers, 306

mesh animation, 27, 94 Mesh Factory Web site, 746

mesh option flags (MilkShape special materials),

462–463 message module

client-side, 266–268 server-side, 241–242

Message Panel (MilkShape 3D), 406 MessageBox interface, 640–642, 652–655 MessageDialog object, 174 MessageVector class, 732

messaging direct

CommandToClient function, 207–209

CommandToServer function, 206–207 discussed, 205

online cheating, fighting against, 209 GameConnection messages, 211–212 GameConnection object, 211–212

initialControlSet() function, 215 onConnect() function, 213 onConnectionAccepted() function, 213 onConnectionDropped() function, 214 onConnectionError() function, 214 onConnectionRequest() function, 212 onConnectionTimedOut() function, 214 onConnectRequestRejected() function,

213–214 onConnectRequestTimedOut() function,

213

onDataBlockObjectReceived() function, 216 onDataBlocksDone() function, 216 onDrop() function, 215 onFileChunkReceived() function, 216 onGhostAlwaysObjectReceived() function,

216

onGhostAlwaysStarted() function, 217 setLagIcon() function, 215

metallic textures, 277, 362 methodologies, testing, 660 methods. See also functions

checkDismountPoint, 616 CheckProgress, 624 Close, 655

DoScore, 624 Eval, 655 exec(), 566

getTransform(), 562 GuiDefaultProfile, 578–579 mountObject, 614 mountPose, 611

of objects, 126 OnEscape, 655 onMount, 614

onServerQueryStatus, 650 OnWake, 642

Open, 654

Push, 171

Query, 650 schedule, 562 setAction, 615 SetImageTrigger, 629

Team LRN

setTransform(), 111 SpamMessageTimeout, 242 SpawnPlayer, 151 ToggleState, 655

Update, 650 UpdateLap, 621

mFloatLength() function, 703 mFloor() function, 703

MilkShape 3D

Box tool, 479–480 cylinder shapes, 384–386 Cylinder tool, 485 frames, 382

installing, 381–382 Joint tool, 617 menus

Animate, 394

Edit menu, 391–392 Face menu, 393–394 File menu, 391–392 Tools menu, 395 Vertex menu, 391, 393 Window menu, 397

Message Panel, 406 plug-ins, list of, 395–396

Preferences dialog box, 404–406 Scale tool, 493

special materials, 460–463 Sphere tool, 481

Texture Coordinate Editor, 406 toolbox

Groups tab, 400–401 Joints tab, 403 Keyframer tool, 403–404 Materials tab, 400, 402 Model tab, 398–400

Vertex tool, 488 views, 382–384 windows, 382

working environment, 382 zoom options, 383

MinAlpha/MaxAlpha property, 535 mincpu parameter, 228

minExtent property, 338 MinImpactSpeed command, 184, 618 MinJetEnergy command, 619 minJumpEnergry property, 184 minJumpSpeed property, 154, 184

Index 795

minplayers parameter, 228 minRunEnergy property, 184 minVelocity property, 532 mipmapping, 102

MipZero flag (special materials, MilkShape), 462 Mirror button (Mission Area Editor), 594 mirroring

objects, 393 terrains, 594

Misc tab (Preferences dialog box), 404 Mission Area Editor, 593–594 Mission Editor, 587–589

mission module, client-side, 261–262 missiondownload module

client-side, 262–266 server-side, 246–250

MissionInfoObject control, 647 missionload module, server-side, 242–246 MissionStartPhase function, 250

mLog() function, 703

Model tab (MilkShape toolbox), 398–400 models

character animation arbitrary extrusion, 417 arms, 433–437

arms to torso, integrating, 438 axial extrusion, 416

blended animation, 445 continuous-mesh model, 417 head, 418–423

head to torso, matching, 429–430 hybrids, 417

incremental polygon construction, 415–416 joint animation, bone movement during,

445

legs, 430–432

legs to torso, integrating, 432 rigging, 444 segmented-mesh model, 417 shape primitives, 415 skeletal animation, 446–458 skins, 438–443

topographical shape mapping, 417 torque-animation sequences, 444–445 torso models, 423–429

discussed, 19 Health Kit, 479–481 terrains, 20

Team LRN

796 Index

vehicle models

body of vehicle, 467–472 collision mesh, 476 fenders, 473–474

mount nodes, 475–476 mounting, 611 sketches, 466–467 skins, 476

testing, 477–478

WheeledVehicleData property, 618–619 wheels, 476–477

module header blocks, 50 modules

client modules

Canvas modules, 259–261 discussed, 258–259 functions, list of, 269–270 messages module, 266–268 mission module, 261–262

missiondownload module, 262–266 ClientConnection, 250–256 control/client/client.cs, 160–164 control/client/interfaces/menuscreen.gui, 162 control/client/interfaces/playerinterface.gui,

165–168 control/client/misc/presetkeys.cs, 171–174 control/client/misc/screens.cs, 169–171 control/client.cs, 144–148 control/main.cs, 159

control/player.cs, 151–153 control/server/misc/item.cs, 197–202 control/server/players/player.cs, 180–186 control/server/server.cs, 175–180 control/server/weapons/crossbow.cs, 190–197 control/server/weapons/weapon.cs, 186–190 control/server.cs, 149–151

defined, 132 main.cs, 139–140

missiondownload, 246–250 server modules

discussed, 240–241 functions, list of, 270–272 Game module, 256–258 message module, 241–242 missionload, 242–246

Monster Studios Web site, 746 mood, textures, 351

mount nodes, vehicle models, 475–476

mount points, 465 mountObject method, 614 mountPose method, 611 mouse

keyboard operations and, 591 shift-clicking, 346

Move button (MilkShape Model tab), 399 movement

basic functions, 175

programmed, example of, 107–111

simple direct movement example, 105–106

MoveShape() function, 109, 117 moving structures, 606 mPow() function, 703 mRadToDeg() function, 703 msg() function, 704

mSin() function, 704 mSolveCubic() function, 704 mSolveQuadratic() function, 704 mSqrt() function, 705

mTan() function, 705 mtype parameter, 228

multiplication (*) operator, 62 music, as story line mood, 21 Mute tool (Audacity tool), 544

Myrmidon, 5

N

name spaces, 126–127 nameTolD() function, 705

navigating between bookmarks, 42 navigation keys, Emaga4, 154 nCycleExec function, 656

neck and head, player skin example, 322–326 NeHe Productions, 746

networking

direct messaging

CommandToClient function, 207–209 CommandToServer function, 206–207 discussed, 205

online cheating, fighting against, 209 GameConnection object messages, 211–217 servers, dedicated, 230–232

servers, finding

code module, 225–229 InitializeClient function, 217–218 interface module, 218–223

triggers, 209–211

Team LRN

networking design, Torque Game Engine, 27–28

New Audio Track command (Audacity Project menu), 548

New button (MilkShape Materials tab), 402

New command (File menu)

Audacity tool, 546 MilkShape, 392

New Image dialog box (Paint Shop Pro), 279 new keyword, 54, 735

New Label Track command (Audacity Project menu), 548

New Mission command (Mission Editor File menu), 588

New Model command (UVMapper File menu),

407

New UV Map command (Edit menu), 387, 408 newline character (n), 124

NeXe Web site, 746 nextResolution() function, 705 nextToken() function, 706 Nintendo GameCube, 8 node/bone animation, 27 nodes, scene graphs, 103

Noise Removal command (Audacity File menu),

549

NoMip flag (special materials, MilkShape), 462 Nonplayer Characters (NPCs), 322 noRenderBans property, 520

normals, gouraud shading, 99–100 Note tool (Audacity tool), 544 nothing parameter, 229

NPCs (Nonplayer Characters), 322 null strings, 255

number comparisons, 61 number token, 737

O

OBJ export options values, UVMapper tool, 388 object-oriented programming (OOP), 47 objects

3D

coordinate systems, 90–91 overview, 89

shapes, 94–95 transformation, 95–98

ActionMap, 174 controlling, 126 creating new, 125

Index 797

defined, 47 flipping, 393 functions, 126

GameConnection, 211–212 initialControlSet() function, 215 onConnect() function, 213 onConnectionAccepted() function, 213 onConnectionDropped() function, 214 onConnectionError() function, 214 onConnectionRequest() function, 212 onConnectionTimedOut() function, 214 onConnectRequestRejected() function,

213–214

onConnectRequestTimedOut() function, 213 onDataBlockObjectReceived() function, 216 onDataBlocksDone() function, 216 onDrop() function, 215 onFileChunkReceived() function, 216 onGhostAlwaysObjectReceived() function,

216

onGhostAlwaysStarted() function, 217 setLagIcon() function, 215

geometric center of, 90 handles, 125–126 instantiation, 125 InteriorInstance, 125 MessageDialog, 174 method of, 126 mirroring, 393

object space, 90 rotating, 606 scaling, 606

shapes, as dynamic objects, 104 simulation, 24

offset cylindrical cap mapping option, 412 offset spherical unwrapping option, 413 OffsetSpeed property, 532 onChatMessage function, 268 onConnect() function, 213 onConnectionAccepted() function, 213 onConnectionDropped() function, 214 onConnectionError() function, 214 onConnectionRequest() function, 212 onConnectionTimedOut() function, 214

onConnectRequestRejected() function, 213–214 onConnectRequestTimedOut() function, 213 onCyclePauseEnd function, 656 onDataBlockObjectReceived() function, 216, 265

Team LRN