rafhot
Member
im trying to play a sound as an announces speeching "Fantastic Four!" at the tittle screen of my game but i cannot make it to stop looping
im using in updated.c
those lines:
what i need to do in updated.c to increase my counter and make it stop play more than once?
im using in updated.c
those lines:
Code:
void main ()
{
int SFX1 = loadsample("data/sounds/FF.wav");
int count = 0;
if(openborvariant("in_titlescreen"))//||openborvariant("in_menuscreen")
{
while(count<=0)
{
playsample(SFX1, 0, 120, 120, 100, 0);
count=1; //count++;
}
}
}
what i need to do in updated.c to increase my counter and make it stop play more than once?