Skip to content

Class "SFXManager"⚓︎

Constructors⚓︎

SFXManager ()⚓︎

SFXManager SFXManager ( )⚓︎

Returns a SFXManager object.

Example Code

Example usage:

1
SFXManager():Stop(SoundEffect.SOUND_1UP)


Functions⚓︎

Adjust·Pitch ()⚓︎

void AdjustPitch ( SoundEffect ID, float Pitch )⚓︎

mostly useful for repeating sounds


Adjust·Volume ()⚓︎

void AdjustVolume ( SoundEffect ID, float Volume )⚓︎

mostly useful for repeating sounds


Get·Ambient·Sound·Volume ()⚓︎

float GetAmbientSoundVolume ( SoundEffect ID )⚓︎


Is·Playing ()⚓︎

boolean IsPlaying ( SoundEffect ID )⚓︎


Play ()⚓︎

void Play ( SoundEffect ID, float Volume, int FrameDelay, boolean Loop, float Pitch )⚓︎


Preload ()⚓︎

void Preload ( SoundEffect ID )⚓︎


Set·Ambient·Sound ()⚓︎

void SetAmbientSound ( SoundEffect ID, float Volume, float Pitch )⚓︎


Stop ()⚓︎

void Stop ( SoundEffect ID )⚓︎


Stop·Looping·Sounds ()⚓︎

void StopLoopingSounds ( )⚓︎



Last update: June 9, 2021