SOLVED: Sound file won't play yet room music ok

Started by barefoot, Thu 01/09/2011 12:33:26

Previous topic - Next topic

barefoot

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.

Code: ags

function room_AfterFadeIn()
{
	
	aMusic3.Play();
        BLAH BLAH BLAH
}


Code: ags

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




I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk