Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: barefoot on Thu 01/09/2011 12:33:26

Title: SOLVED: Sound file won't play yet room music ok
Post by: barefoot on Thu 01/09/2011 12:33:26
Hi

(forum search help still down)

I have music playing yet a sound won't play.

whilst music is playing and you shoot a missile a sound is supposed to play on contact with an enemy plane.


function room_AfterFadeIn()
{

aMusic3.Play();
       BLAH BLAH BLAH
}



function repeatedly_execute_always()
{

// MISSILES

if (cbullet.PPCollidesWithC(cplane1) == 1)

if (Game.DoOnceOnly("cplane1"))

{
        aBomb.Play();
cplane1.ChangeView(11);
cplane1.Walk(cplane1.x + 0, cplane1.y +200, eNoBlock,  eAnywhere);
Planes = (Planes + 1);
Total = (Total + 1);

}


aMusic -1
aBomb 3

The sound itself works.

EDIT: Maybe its an audio issue and it is too low to hear?

EDIT.. It is a sound volume issue.. I will have to record another with higher volume.

Any ideas?

cheers

barefoot