also if you synchronized the wait value in explodeffect and the main loop wait value , it works , the timing at which things happen overun at the wrong times ?

quite strange


Compulsive compiler