Chad Carter0672329646, 9780672329647
Table of contents :
Microsoft XNA Unleashed:……Page 1
Table of Contents……Page 5
Introduction……Page 18
Part I: Get Up and Running with XNA on Your PC and Xbox 360……Page 22
What Is the XNA Framework?……Page 24
Installing Visual C# Express……Page 27
Installing the DirectX Runtime……Page 31
Installing XNA Game Studio Express……Page 32
Summary……Page 34
Creating Spacewar Xbox 360 Project……Page 36
Buying the XNA Creators Club Subscription……Page 37
Connecting the Xbox 360 to the PC……Page 39
Deploying on the Xbox 360……Page 40
Creating a Test Demo for the Xbox 360……Page 42
Programming for Dual Platforms……Page 45
Summary……Page 50
Measure, Measure, Measure……Page 52
Managing Memory……Page 57
Understanding the Garbage Collector……Page 58
Optimization Suggestions……Page 60
Summary……Page 71
Part II: Understanding XNA Basics……Page 74
Vectors……Page 76
Transformations Reloaded……Page 77
Creating a Camera……Page 78
Vertex Buffers……Page 80
Effects……Page 83
Textures……Page 85
Index Buffers……Page 86
XNA Game Components……Page 89
Checking Performance……Page 92
Transformations Revolutions……Page 96
Summary……Page 100
Creating a Game Service……Page 102
Starting a Library……Page 105
Working with Input Devices……Page 108
Creating a Stationary Camera……Page 117
Creating a First Person Camera……Page 120
Creating a Split Screen……Page 123
Summary……Page 127
Part III: Content Pipeline……Page 128
Understanding the Content Pipeline……Page 130
Loading 3D Models……Page 131
Texturing 3D Models……Page 137
Summary……Page 138
Microsoft Cross-Platform Audio Creation Tool (XACT)……Page 140
Wave Banks……Page 141
Understanding Variations……Page 142
Updating Our Input Handlers……Page 151
Plugging In Our Sound Manager……Page 157
Creating a Sound Demo……Page 164
Summary……Page 168
Creating a Skybox……Page 170
Using the Skybox……Page 182
Debugging the Content Pipeline Extension……Page 184
Summary……Page 185
Part IV: 2D in XNA……Page 186
Sprite Batches……Page 188
Practical Sprite Batches……Page 192
Using Sprite Fonts……Page 205
Summary……Page 207
Cel Animation……Page 208
Rotating and Scaling……Page 218
Blending Mode Example……Page 220
Fade to Color……Page 221
Making Fire Old School Style……Page 223
Explosions……Page 231
Summary……Page 233
Setting Up the Game Skeleton……Page 234
Creating Parallax Scrolling……Page 237
Switching States……Page 246
Drawing Our Hero……Page 247
Drawing Our Enemies……Page 252
Handling Collision Detection……Page 258
Winning and Losing……Page 260
Adding Transitions……Page 261
Adding Explosions……Page 264
Summary……Page 269
Part V: High Level Shader Language……Page 270
12 HLSL Basics……Page 272
Understanding the Shader Process……Page 274
HLSL Syntax……Page 275
Vertext Shaders……Page 284
Pixel Shaders……Page 285
Passes……Page 286
HLSL Demo……Page 287
Summary……Page 291
Vertex Displacement……Page 292
Postprocessing……Page 294
More Postprocessing Examples……Page 298
Summary……Page 302
Part VI: Physics and Artificial Intelligence……Page 304
Kinesmatics……Page 306
Force……Page 311
Collisions……Page 312
Summary……Page 322
Finite State Machine……Page 324
Object-Oriented Design……Page 325
Managing Game States……Page 326
Managing Game States Demo……Page 329
Summary……Page 352
Setting Up Our Demo……Page 354
Chase Algorithm……Page 359
A Better Chase Algorithm……Page 360
Random Movement……Page 361
Creating a Finite State Machine……Page 363
Summary……Page 366
Part VII: 3D Effects……Page 368
3D Lighting……Page 370
Bump Mapping……Page 381
Normal Mapping……Page 382
Parallax Mapping……Page 386
Relief Mapping……Page 389
Texture Animation……Page 393
Summary……Page 395
Transitions……Page 396
Making Fire……Page 407
Summary……Page 413
Particle System Defined……Page 414
Creating the Particle Class……Page 415
Creating the VertexPointerSprite Struct……Page 421
Creating the Particle System Engine……Page 422
Point Sprite Effect File……Page 431
Particle System Demo……Page 434
Creating Particle Effects……Page 437
Summary……Page 447
Part VIII: Putting It Into Practice……Page 448
Creating the Tunnel Vision Game……Page 450
Creating the Game Logic……Page 452
Creating the Crosshair……Page 473
Creating the Game-Specific Camera……Page 474
Summary……Page 478
Creating the Radar……Page 480
Creating the Tunnel……Page 482
Creating the Level Timer……Page 486
Creating the HUD……Page 488
Adding Scoring……Page 489
Keeping Track of High Scores……Page 491
Summary……Page 495
Updating the Title Screen……Page 496
Updating the Start Menu……Page 500
Creating the High Score Screen……Page 504
Updating the Options Menu……Page 509
Using the Particle System……Page 512
Adding Sound……Page 514
Suggested Improvements……Page 516
Summary……Page 517
Index……Page 518
A……Page 519
C……Page 521
D……Page 523
F……Page 524
G……Page 525
H……Page 527
I……Page 528
L……Page 529
M……Page 530
P……Page 532
S……Page 535
T……Page 538
V……Page 540
X-Y-Z……Page 541
Reviews
There are no reviews yet.