Re: bgt, last sound won't stop after time is reached

2019-11-30 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached @6 I figured out that there was an extra entry that had default values, and that was screwing my length over by 1.@7 Ah yes. That should work, thank you. If it does not, which I think it should, I have a boolian variable to fix

Re: bgt, last sound won't stop after time is reached

2019-11-30 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached @6 I figured out that there was an extra entry that had default values, and that was screwing over.@7 Ah yes. That should work, thank you. If it does not, which I think it should, I have a boolian variable to fix the problem. I will edit

Re: bgt, last sound won't stop after time is reached

2019-11-29 Thread AudioGames . net Forum — Developers room : Rastislav Kiss via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached Hi there,problem is with the very first line:if(pb.is_empty()==false and track.position>=pb[pb_index].pt)if you let the index to go out of range, you'll get error here. If you won't, it will play forever because of the inter

Re: bgt, last sound won't stop after time is reached

2019-11-28 Thread AudioGames . net Forum — Developers room : ogomez92 via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached make sure you got pb length and index right. pb length is 1 based (3 items) but pb index is 0 based (items 0, 1, and 2 if you have 3 items).So, that's why you're getting a runtime error, I think. URL: https://forum.audiogames.net/post

Re: bgt, last sound won't stop after time is reached

2019-11-28 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached here is my codeif(pb.is_empty()==false and track.position>=pb[pb_index].pt)//if playback array is not empty, and music track is less than time for next sound{if(pb_index//pb is playback array{if(pb[pb_index].ks=="?")p.pl

Re: bgt, last sound won't stop after time is reached

2019-11-28 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached here is my codeif(pb.is_empty()==false and track.position>=pb[pb_index].pt)//if playback array is not empty, and music track is less than time for next sound{if(pb_index//pb is playback array{if(pb[pb_index].ks=="?")p.pl

Re: bgt, last sound won't stop after time is reached

2019-11-28 Thread AudioGames . net Forum — Developers room : Rastislav Kiss via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached Hi,hmm, I have no idea of what is the program's purpose, as I never played Rhithm rage or did levels for it. But from what you're writing, I'd guess you have problems with stopping your systems.Check out which part of program

Re: bgt, last sound won't stop after time is reached

2019-11-28 Thread AudioGames . net Forum — Developers room : ogomez92 via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached if you are using playStationary you are using soundPool are you not? that thing was part of soundPoolalso, why don't you do a check before checking the array to see if you've reached array length? That way it won't runtime error outi

Re: bgt, last sound won't stop after time is reached

2019-11-27 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
Re: bgt, last sound won't stop after time is reached I hate to be an asshole butThis error is getting in the way of testing any modifications I make in listening mode and it's driving me crazy! I don't usually bump topics back up for help but this one is very annoying when I am trying

bgt, last sound won't stop after time is reached

2019-11-25 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
bgt, last sound won't stop after time is reached Hi. This is for my rhythm rage level creator. I changed my playback system from a mess to using a class, and it works great. But the same issue I once had is back again.Every sound will play once, except for the last sound in the level. When

bgt, last sound won't stop after time is reached

2019-11-25 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
bgt, last sound won't stop after time is reached Hi. This is for my rhythm rage level creator. I changed my playback system from a mess to using a class, and it works great. But the same issue I once had is back again.Every sound will play once, except for the last sound in the level. When

bgt, last sound won't stop after time is reached

2019-11-25 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
bgt, last sound won't stop after time is reached Hi. This is for my rhythm rage level creator. I changed my playback system from a mess to using a class, and it works great. But the same issue I once had is back again.Every sound will play once, except for the last sound in the level. When

bgt, last sound won't stop after time is reached

2019-11-25 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
bgt, last sound won't stop after time is reached Hi. This is for my rhythm rage level creator. I changed my playback system from a mess to using a class, and it works great. But the same issue I once had is back again.Every sound will play once, except for the last sound in the level. When