musicvol effects sound?

Non-platform specific questions.

musicvol effects sound?

Postby DilloDude » Sat Mar 29, 2008 12:44 pm

I've nearly got BETA 3 of Super-Human ready, but I've discovered something wierd with the sound. It doesn't seem to matter whether I set the music volume with setVolume or musicvol - whenever I play a sound, the sound's volume is effected by musicvol, as well as it's own volume. Which is annoying, because I want to have the option to turn the music completely off, or just quiet, but still have sound fx full volume. But instead, the sound go quieter too.
:?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :!: :?: :?: :!:
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: musicvol effects sound?

Postby stevenp » Sat Mar 29, 2008 12:48 pm

ya i have noticed this on my vista laptop also

its like the sound volume is parented or dependant to the music volume lol
User avatar
stevenp
 
Posts: 403
Joined: Sat Dec 22, 2007 12:49 pm
Location: canada, ontario
Score: 16 Give a positive score

Re: musicvol effects sound?

Postby Game A Gogo » Sat Mar 29, 2008 6:32 pm

use
Code: Select all
setVolume(0,1);
to change your sfx volume
use
Code: Select all
setVolume(1,1);
to change your music volume
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron