About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Small bug with sound?
Author Message
Harry Offline
Member

Post: #1
Small bug with sound?
I found that in tutorial Volume Groups when I set all sounds to 0 and then go to another application using alt+tab for example Paint or i explore folders and then go back to tutorial some music themes is playng. I have the same problem in Forest Valley - when I minimalize game (all sounds are off) and then go back all music themes or 3d sounds are playing.
03-08-2010 08:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Small bug with sound?
I've checked this but I don't have this problem (volume groups tutorial)
this must be an issue of your sound card / sound drivers
03-09-2010 02:54 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: Small bug with sound?
Ok. It's good to know that problem is only on my computer smile I'll check for newer drivers, maybe it will help.
(This post was last modified: 03-09-2010 05:34 PM by Harry.)
03-09-2010 05:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #4
RE: Small bug with sound?
1. I'm not sure is it again my sound drivers fault or I have sometnihg wrong in code, but when I set my application to state game I hear sounds which I create in create method for a few seconds. When game shows (I see player, buildings etc.) some sounds are muted as they should and another plays from it's sources (pos()). Could somebody check me this:

Code:
__super::create(obj); // default create

radio[1].create("sound.ogg",pos(),2.0f,true,0.0f); // volume is set to 0
radio[2].create(....)
....

Small fragment from update:
Code:
if(__super::update())
{
    if(Players.elms() && pos()!=Vec(0))
    {
                if(number==1 && !change)
        {
            radio[1].volume(1.0f);
            radio[2].volume(0.0f);
            radio[3].volume(0.0f);
        }
        REPA(radio)if(!radio[i].playing())radio[i].play();
       }
}

2. When I have Mesh Editor or World Editor window open in background and I use scroll on the mouse (and browse folders), viewport in both editors is zoom in/out. Could you enable zooming only when editors windows are active?
(This post was last modified: 04-20-2010 03:04 PM by Harry.)
04-20-2010 02:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply