Hi guys. Long time without participating here!
I have a snake-like character (If you ever played Megaman X, it should be like those Eel like enemies from Launch octopus stage)
Its head moves on a invisible tile that server as a "rail" to it. Its body is divided in 5 parts. all of them pinned one to another as "Rope".
<img src="http://i10.photobucket.com/albums/a126/shinobi_br/rails_zps72d0e27a.png" border="0" />
I would like to have this snake wrap around the screen boundaries, but I am facing the problem below:
<img src="http://i10.photobucket.com/albums/a126/shinobi_br/wrap_problem_zpsed260f50.gif" border="0" />
Is there any clever way to make it wrap around the screen without this weird stuff happening?
Thanks in advance!