XNA Creators Club Online

beginner's guide

3D Lessons

1 Introducing the 3D Tutorial
2 Creating the Game Project
3 Adding Assets
4 Drawing Terrain
5 Drawing a Game Object
6 Making a Missile Launcher
7 Firing Missiles
8 Making Sounds
9 Creating Enemies
10 Destroying Enemies

8. Making Sounds

Use the Microsoft Cross-Platform Audio Creation Tool (XACT) to create sound effects that will be triggered when you fire your missile launcher.

Step 1

Watch Video
Introduce yourself to the Microsoft Cross-Platform Audio Creator Tool, or XACT, which will help you make high-quality audio for your game.
More Details

Step 2

Watch Video
Once inside XACT, create a new project, and add a Wave Bank and a Sound Bank to hold your audio data.

Step 3

Watch Video
Add waves to your new Wave Bank and turn them into Cues that you can play in your game. Save your project and return to XNA Game Studio.
More Details

Step 4

Watch Video
Add your XACT project to the Solution Explorer for your game in XNA Game Studio so your audio will be processed by the Content Pipeline.

Step 5

Watch Video
Write the code necessary to initialize the XACT audio engine in your game, and load the Sound Banks and Wave Banks for your project.
More Details

Step 6

Watch Video
With the audio engine loaded, call SoundBank.PlayCue to make a sound each time you launch a missile.
Download source code
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG