Time for action - selecting an audio library
Config.prc
is just a text file, so we don't need anything more than Notepad++ to change our audio library.
- Open a Windows Explorer window and navigate to our Panda3D installation folder. In that folder, there will be a folder called
etc
. The default path is C:\Panda3D-1.6.2\etc
. Open the etc
folder. - Open the
Config.prc
file in the etc
folder in Notepad++. - Scroll down to the following line:
- Edit this line so that it looks similar to the following line of code:
- That's it. Resave the file and close it.
Since we aren't using any audio in the game yet, there won't be any sort of difference in the game as a result of this change. All we've done is alter the audio library, which we're making use of, to play sounds.