Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Sektor 13 on Mon 02/01/2012 11:09:55

Title: Moving sound
Post by: Sektor 13 on Mon 02/01/2012 11:09:55
Hi

Just couldn't find anything that would help me.

I have a long room that has moving cars. So i need a sound effect to follow the car (fade in-fade out when car passes by (engine sound)).
Engine sound is couple of seconds long, so it must play and than repeat itself and follow the object across the screen.

Thanks
Title: Re: Moving sound
Post by: cat on Mon 02/01/2012 11:17:35
Im not sure if you can emulate this by simply fading in/out. A driving car is affected by the Doppler effect wich results in change of frequency of the sound. Im not sure if AGS' supports stereo sound, you might want to use that too.
Title: Re: Moving sound
Post by: Khris on Mon 02/01/2012 12:27:32
Alan v. Drake made a version of the engine (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=44502.0) that among other things pans characters' walking sounds.

If you time it right and implement the driving sound as footstep sound, this might do the job.