Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Stranga on Fri 28/04/2017 10:37:11

Title: SOLVED:(Strangely) Music sounds like a skipping Record.
Post by: Stranga on Fri 28/04/2017 10:37:11
Hello everyone, I am in need of help with a problem. I have a Narrator character that is invisible and is in every room with the player. I added this code to the Global rep_exe_always

Code (ags) Select
if (cNar.Room != player.Room)
{
   cNar.ChangeRoom(player.Room);
}


Now the code works fine. The reason I wanted this is to have the Narrator have a text box instead of just white words in the middle of the screen.

I know what is causing the problem, but have no idea how and why. What it is, is the Narrators speaking view. If I change it to an invisible sprite the text box appears, but the first track of music in my library plays like a skipping record. If I set the speech view back to zero the problem does not happen.

Any thoughts?

FIXED

I have solved this problem, but I still would like to find out why if anyone has any clues.

I found the fix but it is going to sound weird.
I had to make an invisible sprite and add it to a view then use that view in the cNarrator speech view.
Title: Re: SLOVED:(Strangely) Music sounds like a skipping Record.
Post by: Khris on Fri 28/04/2017 11:32:14
It sounds like you added the sound to one of the speech view's frames by accident.
Title: Re: SLOVED:(Strangely) Music sounds like a skipping Record.
Post by: Stranga on Sun 30/04/2017 06:19:12
Strangely enough, that was the first thing I checked and that wasn't the problem. It is weird, but when I added the invisible sprites to the Narrator character's speech view...it just worked. :confused: