Let's theoretically say one were to make a feature, quite similar to the portals in, what is in my opinion, one of the coolest games made, Portal by Valve... But in 2D
How would one do so? It exceeds my own current capabilities, as I would like for the player to be able to stand half in one portal and half through the other, if you have an idea of what I mean. Also I'd like to maintain physics like jumping through one portal and falling out through the other.
I'm not asking for a final product, just guidelines - is it at all doable? and where would I even start?
And how would I make my cake a lie?