Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: NickyNyce on Mon 11/07/2011 14:06:50

Title: New Version of AGS and sounds ( SOLVED )
Post by: NickyNyce on Mon 11/07/2011 14:06:50
To make a long story short...kinda...I was making my game using 3.1 when my computers motherboard went busto, I bought a new computer, transfered all files and data. I downloaded the newest version of AGS and am currently having a problem playing sounds. I was using Playsound(57); when playing sounds, I'm pretty sure this is obsolete now with the new version of AGS, as this does not give an error but does not play the sound.

I named the soundfile Footsteps in the sound folder.I have tried using aFootsteps.Play(); to no avail. AGS does not recognize this.  I'm wondering what is going wrong, whether it's me placing the sound in the wrong folder, something to do with switching versions? scripting problem?  

anyone with some info for me would be appreciated
Title: Re: New Version of AGS and sounds
Post by: hedgefield on Mon 11/07/2011 14:26:59
There is now an Audio tab in the editor, so you will have to actually import a sound file into that first if you want to use it in AGS, it will no longer automatically absorb audio files you place in the game folder anymore.
Title: Re: New Version of AGS and sounds
Post by: NickyNyce on Mon 11/07/2011 14:42:59
Thanks so much, works perfect.
Title: Re: New Version of AGS and sounds ( SOLVED )
Post by: Khris on Tue 12/07/2011 01:34:31
Just for reference (;)), there's a manual section called "Upgrading to 3.2" that explains the changes.
Title: Re: New Version of AGS and sounds ( SOLVED )
Post by: monkey0506 on Tue 12/07/2011 01:46:04
If you upgraded a project then any existing sounds and music should be automatically imported, but anything you add from that point on you have to import manually yourself. ;)
Title: Re: New Version of AGS and sounds ( SOLVED )
Post by: NickyNyce on Tue 12/07/2011 02:15:46
Thank you guys,  all is well with previous sounds, good to know about the upgrade section, you guys are the best, thanks again