The challenge for this chapter is simple; just create your own XACT project like the one that was shown in this chapter. It is important that you feel comfortable in XACT, otherwise you will spend a lot of time rewriting code that is not necessary or you have to search for functionality in XACT that is hidden somewhere you have never looked before.
Additionally, write your own Sound class for the XACT project you created and start with the unit test first. Then implement the constructor and load the XACT project and the wave and sound banks. Finally, implement the Play methods to make your unit test work. As an example of how it’s done you can check out the XnaShooterSoundProject for this chapter and the TestSounds unit test in there.
That’s it; you are now an experienced XACT user. For more details about XACT you can also visit the official XACT forum, which contains many tips and you can ask all the XACT experts for help if you run into trouble with your game code and XACT:
If available at the time you are reading this book try to use X3DAudio and check if there is a newer version of Rocket Commander XNA available to show how it’s done.