How to make a scrolling screne wrap seamlessly
hiddevandijk
Member Posts: 17
Hi all,
I'll ask for your patience as I am new at this. I hope I am not asking too questions to the obvious things:
I have a scene that scrolls left to right (approx. 8000+ pixels wide) with the camera set to 1024 pixels wide. My actor, in this case a car, can move left to right and is able to leave the scene at the right entering at the left side. Now for the tricky part.
At the end of the scene my camera stops moving and the car drives off screen to re-enter on the left. But is there a way to wrap the scene around, so that you can drive endlessly without noticing the wrap?
Thanks for your help.
Hidde.
I'll ask for your patience as I am new at this. I hope I am not asking too questions to the obvious things:
I have a scene that scrolls left to right (approx. 8000+ pixels wide) with the camera set to 1024 pixels wide. My actor, in this case a car, can move left to right and is able to leave the scene at the right entering at the left side. Now for the tricky part.
At the end of the scene my camera stops moving and the car drives off screen to re-enter on the left. But is there a way to wrap the scene around, so that you can drive endlessly without noticing the wrap?
Thanks for your help.
Hidde.
Best Answer
-
Goodnight Games NYCPosts: 184I did this on mine by just making the background repeatable on the y axis and moving it so when it hits x position you just spawn the background piece over and over again.