[XNA 4.0] Music Volume Changing

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
426 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 21, 2011

In this tutorial, we take the XACT wave bank, sound bank, and engine from the last tutorial and load it in a XNA project. Since we did a build with the tool itself, I show you how to load the built files in to the game and how to change the settings. We change the music levels by using the categories we created in the previous tutorial. Finally, I show you how to map the volume level to a static float variable so it can be changed anywhere. For this tutorial, I decided to map the volume changes to key presses (Up arrow and Down arrow). You can map these changes to a slider in your options menu if you wish.

Download Project - http://www.phstudios.com/tutorials/xna/projects/MusicVolumeChange.zip

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • i'll need this tutorial very soon. thank you so much :)

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more