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

About sound intervals

Sound intervals are much like the Func Interval, which lets a function or method be called as part of a Sequence or Parallel. They allow a sound to be played as part of an Interval. Unfortunately, they don't provide much functionality beyond that, and trying to loop a sound by putting it in a SoundInterval and looping the Interval doesn't work very well. Really, the only reason to use a sound interval is when we're using Sequence and Parallel to create long scripts that need sounds to play at certain parts in them, for example a cinematic sequence in a role-playing game. That's why we didn't use any in this chapter; we don't have any really complicated scripting going on. We already went over the sound interval constructor, ...

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