Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: LupaShiva on Mon 20/12/2010 12:36:24

Title: Music not playing
Post by: LupaShiva on Mon 20/12/2010 12:36:24
Hi, i wanted to put an ambient sound of a city in a scenario, but when game runs it just doesnt sound, alread renamed file to Music1 and its on the folder, the script i used is

function Room1_AfterFadeIn ()
{

SetMusicRepeat(1);
PlayMusic(1);

}

but it just doesnt sound nothing plz help me and thank you all
Title: Re: Music not playing
Post by: LupaShiva on Mon 20/12/2010 13:44:57
Ok i discovered the problem was in function Room1_AfterFadeIn () because i tested playing the music in a hotspot and it worked, but cant make it work after the room fade in  >:(
Title: Re: Music not playing
Post by: LupaShiva on Mon 20/12/2010 16:49:28
AHHHH nvm after i searched a lot in Web i discovered it was because i did it manually not with the thunder script  ;D