S


screens, border texture, 220

ScreenshotCapturer class, 141–142

scrolling, background textures, 18–19

scrollPosition variable, 19

Shader Model, XNA Game Studio Express

support, 8

Shader Model 4.0, 175

ShaderEffect class, 191–193

Asteroid unit test, 201–203

custom processors, 197–201

Normal Mapping unit test, 195–197

TangentVertext format, 193–195

ShaderEffect SetParameters method, 192

shaders, 441.

See also post-screen shaders

compiling, 167–168

example games, 150–151

glass shader, 204

history of, 148–149

importing, to engine, 166–172

introduction, 147

loading, 6

Normal Mapping, 176

offset mapping and, 203–204

parameters, 168–169

reflection, 205

rendering with, 169–170

testing, 171–172

tutorials

FX Composer, 153–155

fx files, 155–156

parameters, 157–159

pixel shader, 163–166

setup, 152

vertex input format, 159–161

vertex shader, 161–163

vertex shaders, 187–188

vertices, formats, 169

water, 205

shadow mapping, 428–434

ShowLives method, Pong game, 41

SimpleCamera class, 140–141

SimpleEffect class, 149

SimpleShader.fx, 152

FX Composer, 153–155

sky cube mapping, 210–216

SkyCubeMapping class, 6

software development, Agile Methodology, 30–32

sound

menu sounds, 265–266

.wav files, 247–249

XNA Shooter, 299–300

Sound Banks (XACT), creating, 53

Sound class, 100–101, 261–266

Sound Cues (XACT), 54

sound files

loading, 6

Pong game, 34

XACT and, 52–55

supported formats, 63

unit testing, 55

SpaceCamera class, 290–293

specular color component, calculating, 190

splash screen, 415–418

spot lights, 158

spring physics, 390–393

SpriteBatch, textures, rendering, 17

SpriteBatch class, Pong game, 34–35

SpriteHelper class, 77–79

sprites

compression and, 17

Pong, coding, 34–35

StartTest, coding, 37

static unit tests

Assert method, 36

compared to dynamic, 28

street racing games, 336

StringHelper class

filenames, extracting, 75–76

lists, creating, 76–77

methods compared to Path methods, 76

overview, 74–75

timestamps, 69

swizzle, 189

synchronization, network games, 5

system requirements

Visual C# Express, 8

XNA Game Studio Express, 8




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