Re: Cuing sounds in bgt
I've solved this by using timer which holds the length of the sound file. Example:
if(sound_timer.elapsed>=my_sound_file.length)
{
sound_timer..restart();
my_sound_file.stop();
next_sound_file.load("somefile.ogg");
next_sound_file.play();
}
HTH
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector