Module baal::effect::short
[−]
[src]
this module allow to play short sound effects
volume = global_volume * effect_volume * distance(position,listener_position)
but once a sound effect is played at a volume it doesn't change its volume anymore
this can lead to weird effects for not so short sound effects and with moving source
Functions
play |
play the sound effect at the volume: |
play_on_listener |
play the sound effect at the position of the listener
i.e. volume is |
stop_all |
stop all short sound effects |