I'm making an endless runner, and I'm trying to use sprites to indicate when blocks should be created or destroyed.
I set up a for each loop to check the position of each block, and spawn or destroy blocks dependent upon there positions compared to the 'startline' and 'endline' sprites.
Problem is, I only ever get a few new blocks spawning, and then nothing! Can anyone tell me where I'm going wrong? I've added a capx, and my block spawn and destroy events are numbers 5, 6 and 7.
Thanks for any advice you can offer.
<img src="smileys/smiley1.gif" border="0" align="middle">