Jump to content

Sound

Sounds in games have obvious effects to the atmosphere of the game, and can make or break the gaming experience. Therefore, the commands in Leadwerks Engine 2 allow complete access to sounds, including modifying the sounds with EAX effects. Listener entities tell the engine how to spatialize 3D sounds. Although you can create as many listeners as you want, only one will be used by the engine. Hiding a listener will disable it. You should make sure you only have one unhidden listener entity at any given time.

Commands

CreateListener
CreateSource
EAXEffect
EAXSupported
EmitSound
GetSourceState
LoadSound
PauseSource
PlaySound
PlaySource
ResumeSource
SetSourcePitch
SetSourcePosition
SetSourceRange
SetSourceVolume
StopSource
  • You cannot add records