New Version of AGS and sounds ( SOLVED )

Started by NickyNyce, Mon 11/07/2011 14:06:50

Previous topic - Next topic

NickyNyce

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

hedgefield

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.

NickyNyce


Khris

Just for reference (;)), there's a manual section called "Upgrading to 3.2" that explains the changes.

monkey0506

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. ;)

NickyNyce

Thank you guys,  all is well with previous sounds, good to know about the upgrade section, you guys are the best, thanks again

SMF spam blocked by CleanTalk