The background pieces are desynchronising and can get stuck on the edges of the background. I suspect these issues are being caused by background pieces looping around from one side to the other, then once on the other side looping back to the side it came from. Any suggestions on how to fix these problems?
#I'm trying to make a scrolling background for a 2D game, but I'm having some issues
1 messages · Page 1 of 1 (latest)
This is way too complicated, there' s no reason you need multiple GameObjects here
make a single object with a tiled material and just modify the texture offset
your code is also borderline unreadable because of the 10x repeated BGPieces[i].transform.position