Playing sound

akolade I'm trying to make an AGI game in AGI Studio. I cannot get sound to work!
I thought all you had to do was load it then play it..like this:

load.sound(75);
sound(75, f205);

Now, I have an example game I've been looking at, and it works, yet mine never plays any sound.
The sound flag is on and everything.. anyone have a very simple example they can show me that works??

Thanks
-ako
Eigen You're loading the sound right, but it's probably that your example game has sound patched and yours not. Try the SB patch (attachement). Just copy it into your game folder and run it. if it doesn't work, then try with NAGI.



-Eigen
Martin Sticht
akolade wrote:

I'm trying to make an AGI game in AGI Studio. I cannot get sound to work!
I thought all you had to do was load it then play it..like this:

load.sound(75);
sound(75, f205);

Now, I have an example game I've been looking at, and it works, yet mine never plays any sound.
The sound flag is on and everything.. anyone have a very simple example they can show me that works??

Thanks
-ako


Perhaps the sound-command is executed every cycle. Be sure it will be executed only once and try it again.
akolade Thanks. Ya, the problem was my interpreter. It works now with an updated version.