Hi
How do we change the volume of a sound please?
as for some reason we are playing a sound on our effects channel and the volume doesn't change even if we set to 0.5f, 0.2f or whatever. Any help much appreciated.
A fast, easy to use, free, and community supported 2D game engine
Hi
How do we change the volume of a sound please?
as for some reason we are playing a sound on our effects channel and the volume doesn't change even if we set to 0.5f, 0.2f or whatever. Any help much appreciated.
Ignore me lol, found FAQ:
What values can I use for gain?
A value of 1.0 means un-attenuated/unchanged. Each division by 2 equals an attenuation of -6dB. Each multiplicaton with 2 equals an amplification of +6dB. A value of 0.0 is meaningless with respect to a logarithmic scale; it is interpreted as zero volume - the channel is effectively disabled.
You must log in to post.