Game Guides > Game FAQ >  

How do you make a warp on game maker 8

How do you make a warp on game maker 8
Are you asking how to make a teleporter?


It's rather simple:

Collision with obj_teleport_entrance:
x = obj_teleport_exit.x; y = obj_teleport_exit.y;

This makes a one-way portal. To make it so your character can go back to the other side, make another obj_teleport_entrance nearby the exit. You'll need to link them then though, so that it knows which obj_teleport_exit to send it to. Doing that is complex.

Now if you want portals like in Portal 2 / 1, I have no idea how. It's very complex.

If you're asking how to make the screen wrap around, there's a drag & drop block for it.