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

Chapter 11: What's that Noise? Using Sound

Making music

Question number

Answer

1

A grouping object for sounds that allow multiple sounds to be controlled at once.

2

A list of sound effects AudioManagers with one AudioManager in the list and a music AudioManager. We can conveniently control these AudioManagers with methods of base.

3

getSound().

4

Using the setLoop() method like so: mySound.setLoop(True).

Sounding off

Question number

Answer

1

A wrapper for an AudioManager that causes the sound to emit from a specific location within the Panda3D world.

2

We must use the loadSfx() method.

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