O'Reilly logo

Panda3D 1.6 Game Engine by Dave Mathews

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

  1. 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.
  2. Open the Config.prc file in the etc folder in Notepad++.
  3. Scroll down to the following line:
    audio-library-name p3fmod_audio
    
  4. Edit this line so that it looks similar to the following line of code:
    audio-library-name p3openal_audio
    
  5. That's it. Resave the file and close it.

What just happened?

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required