Pages: [1]
  Print  
Author Topic: Bug: Panning of Damsel's Idle Yell  (Read 3554 times)
DariusK
Bulb
*
Posts: 97



View Profile WWW
« on: January 06, 2010, 04:08:25 PM »

The panning on the damsel's idle state yell has always been off for me -- when I'm standing to the right of the damsel, I hear her on the right channel, and when I'm standing to the left of the damsel, I hear her on the left channel.

Basically, in this scenario, when she yells, I hear it on the left channel.

 Spelunky Dude      Spelunky Damsel
 Spelunky WallSpelunky WallSpelunky WallSpelunky WallSpelunky Wall

In the oDamsel step function, line 199, we see the following code:

Code:
       if (oPlayer1.x < x) SS_SetSoundPan(global.sndDamsel, -10000);
        else if (oPlayer1.x > x) SS_SetSoundPan(global.sndDamsel, 10000);
        else SS_SetSoundPan(global.sndDamsel, 0);
        playSound(global.sndDamsel);
What that says is, "if the player is to the left of the damsel, pan her yelling sound hard left." (See SS_SetSoundPan, which says at the top of the script that -10000 is full left pan.) Which is what I've observed, and it's the opposite of what we want!
Logged

Arucard
Mossy
*
Posts: 2811


Hey! Is that CANDY?!?!?

Arucard.Tepes
View Profile Email
« Reply #1 on: January 07, 2010, 03:07:08 AM »

this has been around and reported forever, I don't know why Derek never changed it. Maybe he wants it as if the echo is what you hear?
Logged

Oh, they look like monsters to you?

There's a light in the darkness of everybody's life.
marsgreekgod
Big Bossy
Mossy
*
Posts: 9806


The will of the Galaxy.


View Profile WWW Email
« Reply #2 on: January 07, 2010, 10:48:57 AM »

You know before this topic was posted I didn't even know this effect existed, much less that it was wrong
Logged

Show your power, Gun Del Hell! Show them their fate! Yes! Yes! Yes! Yes! Yes! Here we go! Let's go, go, go, go, Django! Light and Dark! It comes down to this! Be afraid, Sun!
DariusK
Bulb
*
Posts: 97



View Profile WWW
« Reply #3 on: January 07, 2010, 10:59:25 AM »

You know before this topic was posted I didn't even know this effect existed, much less that it was wrong
It took me many months before I noticed that you could listen for a damsel in a level! Not sure what version it was implemented in.
Logged

Arucard
Mossy
*
Posts: 2811


Hey! Is that CANDY?!?!?

Arucard.Tepes
View Profile Email
« Reply #4 on: January 07, 2010, 11:01:45 AM »

Yeah the sound is so similar to something else. A caveman dying maybe?
Logged

Oh, they look like monsters to you?

There's a light in the darkness of everybody's life.
marsgreekgod
Big Bossy
Mossy
*
Posts: 9806


The will of the Galaxy.


View Profile WWW Email
« Reply #5 on: January 07, 2010, 11:04:29 AM »

You know before this topic was posted I didn't even know this effect existed, much less that it was wrong
It took me many months before I noticed that you could listen for a damsel in a level! Not sure what version it was implemented in.
I still can't hear it? must be the headphones... (I have cheap ones on right now)
Logged

Show your power, Gun Del Hell! Show them their fate! Yes! Yes! Yes! Yes! Yes! Here we go! Let's go, go, go, go, Django! Light and Dark! It comes down to this! Be afraid, Sun!
Sudonimus
Mossy
*
Posts: 2743


Stop staring.


View Profile
« Reply #6 on: January 07, 2010, 02:23:11 PM »

I should start turning on my speakers,
or maybe something's wrong with mine.

I can't hear the music for Spelunky
(not yet) so I see no point in listening
to some dumb sound effects.
Logged

How is there no such thing as non-existence?!
Arucard
Mossy
*
Posts: 2811


Hey! Is that CANDY?!?!?

Arucard.Tepes
View Profile Email
« Reply #7 on: January 10, 2010, 07:20:49 AM »

Mars: Remember there are volume sliders in the config file. If you set the music lower you might hear it.
Logged

Oh, they look like monsters to you?

There's a light in the darkness of everybody's life.
Pages: [1]
  Print  
 
Jump to: