Infinite horizontal scroll with wrap

Get help using Construct 2

Post » Tue Jun 18, 2013 8:53 am

Having searched the forum, I hadn't seen an answer to this yet....

I am trying to do a horizontal scroller with a layout that wraps on itself. The player is always centered, flying through the environment. If you were to continue in one direction, an enemy you pass will reappear as you wrap around. I tried this using the Wrap To Layout behavior but there is a discontinuity at the wrap point. Enemies on the "other side" of the wrap don't appear until you cross over and then the ones on the other side disappear. Attached is my basic example...

The scolling at the discontinuity is not smooth either. There is a little glitch, particularly with physics involved. Am I doing something wrong? Is there a much better way? Note that whatever the solution is, the enemies need to be able to do there own motions and behaviors. Thanks for any help!
Posts: 8
Reputation: 414

Return to How do I....?

Who is online

Users browsing this forum: Anudev Softwares, Google [Bot] and 7 guests