Is anyone aware of Global Events behaving oddly with audio files or particularly OGG Files? I'm having a strange error and I can't figure out what the problem is.
I have the 4 level tracks playing one after the other in sequence, 1,2,3,4 and back to 1 again. It works perfectly fine on the computer, no hassles. As soon as I put it on the Android phone, it just keeps looping track 1 and won't change track. I have tried rebuilding it several times and doing a few different things to problem solve it, but it honestly works fine on the PC then stops on the phone. Here's a quick version of the code, all global events:
If Track Changer(Global Variable) = 1
&& Track 1 is not playing
&& Track 2 is not playing
&& Track 3 is not playing
&& Track 4 is not playing
Then : Play Track 1
If Track Changer = 1
&& Track 1 IS playing
Then : Change Track Changer to 2
Then when Track 2 is playing it changes the track to 3, etc. So the idea is when one song is playing, it changes the track changer so that as soon as it stops, the next one starts. It works fine on the PC, but not on the phone.
Any idea's?
EDIT
****
The way I check if a track is playing is I use the 'Is a Sample not playing?' condition and then negate it, so if a sample is not not playing, then it is playing, so to speak. Perhaps Android doesn't deal with one of these conditions / events so well? It seems pretty straight forward though.








Reply With Quote