Link is modified with the functioning portal! Thanx to Yann's tips!
Edit: Capx is removed from server.
I am trying to build a portal in my "sortof" pinball meets angrybirds game and i want to do it by using the wrapping behaviour.
Im intending on having a invisible wall on the left and right side of the layout that moves in sync with the Y axes of the ball.
When the walls then overlap a portal sprite that are also on the left and right side of the screen, i intend to set the walls to some other position so that the ball can go offscreen and wrap around it.
This way i can keep the angle and speed of motion intact.
And thus i create the illusion of a portal.
To do this however i need the green ball to wrap around the play area and as u can see in the capx it doesnt.
Any idears on why it wont wrap so i can fix it?
Thanx in advance!
I really enjoy learning C2 <img src="smileys/smiley32.gif" border="0" align="middle">