Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Gord10 on Mon 22/11/2004 14:22:56

Title: Interruption in ambient sounds while changing room (SOLVED)
Post by: Gord10 on Mon 22/11/2004 14:22:56
Ã,  Hello,
Ã,  I'm working on an AGS game. I have got a problem about the ambient sounds.
I'm using a rain ambient sound for a few rooms. But there's interruption at the sound when the player gets in a new room. It spoils the game atmosphere so much. How can I fix it?
Ã,  I don't think I could tell the problem well, so you can find the source rooms whick I talked about here. I'd glad if you check it. (a cut-scene that tells what the player does after waking up a nightmare level. Runs with hi-color).
http://www.2dadventure.com/ags/soundproblem.zip

Thank you :)

Title: Re: Interruption in ambient sounds while changing room
Post by: Radiant on Mon 22/11/2004 14:36:01
You could use a music file instead, for this particular ambient sound.
Title: Re: Interruption in ambient sounds while changing room
Post by: strazer on Mon 22/11/2004 15:23:17
Put

  game.ambient_sounds_persist = 1;

before starting the cutscene.
Title: Re: Interruption in ambient sounds while changing room
Post by: Gord10 on Mon 22/11/2004 16:19:07
Thank you much, strazer :) Solved.

@Radiant: No, I couldn't. Because I also had to use the real music with the scene, too.