|
|
|
|
 |
| 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 |
|
|
|
| Introduce yourself to the Microsoft Cross-Platform Audio Creator Tool, or XACT, which will help you make high-quality audio for your game. |
|
|
|
|
|
Step 2 |
|
|
|
| Once inside XACT, create a new project, and add a Wave Bank and a Sound Bank to hold your audio data. |
|
|
|
|
|
Step 3 |
|
|
|
| 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. |
|
|
|
|
|
Step 4 |
|
|
|
| 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 |
|
|
|
| Write the code necessary to initialize the XACT audio engine in your game, and load the Sound Banks and Wave Banks for your project. |
|
|
|
|
|
Step 6 |
|
|
|
| With the audio engine loaded, call SoundBank.PlayCue to make a sound each time you launch a missile. |
|
|
|
|
|
|
|