I can’t seem to make a portal, as in the game Portal. If I could get a little help, I would be very grateful since it is a school project.
Sorry no one has responded yet. I made a quick example of one way you could do it.
A, D keys to move
Mouse Aim at right wall
Spacebar = Shoot portal gun
http://www.flowlab.io/game/play/522458
Collision with right wall without shooting the gun will not cause anything to happen.
I know @jngthree had made a fleshed out version of this mechanic, just couldn’t find it to refernece it as the better example.