I’m making an endless obstacle avoiding 2D game which runs along the x axis,on a looping background(a set of consecutive frames running in a continuous loop). I have my enemy spawners on the extreme right. The game works fine until it reaches the spawn point,but once the player passes beyond the spawn point(as the scene is continuously moving towards the right), spawn objects cannot be seen as it is now behind the main camera(moving to its right). Is there any way to make the spawn points move continuously along the x axis such that its always in the view of the camera?
Any information is greatly appreciated! Thank you!