
From Emanuele Feronato: "Did you enjoy my posts about the circular endless runner prototype?
When I was playing with it, a doubt came into my mind: how to create endless obstacles? Or coins?
In ordinary horizontal or vertical endless runners, itÔÇÖs quite easy because they appear from the right or the top of the stage, then disappear to the opposite side.
Troubles knocks your door when you have a circular endless runner, where obstacles ÔÇô spikes in this case ÔÇô wonÔÇÖt leave the stage.
So this is what I made: when a spike is placed on the stage ÔÇô or reused, if you love object pooling ÔÇô a custom property called approaching is set to false."
