C


C#, suitability for game development, 20–21

CalculateTangentFrames, 198–199

cameras, 289

SpaceCamera class, 290–293

car collision, XNA Racing Game, 397–401

CarPhysics class, unit test, 377

challenges

DiffusePerPixel, 172

edge detection shader, 239–240

free camera class, 294

NextBlock game component, 113

parallax mapping, 206

road collision, 401–402

unit test track, 367–368

write game component, 145

write game with your engine, 330–331

write mod, 444–449

XACT project, 266

classes.

See also helper classes

ColladaCombiMode, 358

ColladaLoader, 358

ColladaTrack, 358

Game, 5, 94–95

GameComponent, 5

Game1.cs, 5

helper, usefulness of

Input, 99–100, 270–272

Update method, 272–274

Log, 68–69

PhysicsAsteroidManager, 394–397

ScreenshotCapturer, 141–142

SimpleCamera, 140–141

SimpleEffect, 149

SkyCubeMapping, 6

Sound, 100–101

SpaceCamera, 290–293

SpriteBatch, Pong game, 34–35

StringHelper, time stamps, 69

TangentVertex, 193–195

TextureFont, 97–99

TrackLine, 352

Clear method, 15

coding. See programming

Collada, 357

helper classes, 358

Collada files, support for, 64

ColladaCombiMode class, 358

ColladaLoader class, 358

ColladaTrack class, 358

collision detection, XNA Racing Game, 393–394

collision testing, Breakout game, 89–90

collision unit testing, Pong game, 47–51

color

background, setting with Draw method, 14–15

correction, post-screen shaders, 230–233

specular color component, calculating, 190

ColorHelper class, 80

community involvement, 6

compiling

3D models, 6

disadvantages of XNA, 64–65

shaders, 6, 167–168

sound files, 6

textures, 6

troubleshooting errors, 24

xnb files and, 7

Components property, 95

GameComponent class, 6

compression

DTX format, 16–17

music data, 254–256

sprites and, 17

textures, 67

ComputeTangentMatrix method, 188

Configuration, xbox 360, 11–13

content pipeline, 4, 6

compiling content, disadvantages, 64–65

content directories, 65–66

dlls, 7

loading time, 65

overview, 6, 62

supported file formats, 63–64

contnet files, importing, 66–68

Contnet Importer property, 16

Contnet Processor, textures, 66–67

Contnet Processor property, 16

controllers. See game controllers

CPU, system requirements, XNA Game Studio Express, 8

custom file formats, support for, 64




Professional XNA Game Programming
Professional XNA Programming: Building Games for Xbox 360 and Windows with XNA Game Studio 2.0
ISBN: 0470261285
EAN: 2147483647
Year: 2007
Pages: 138

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net