I want to allow the player to teleport whenever they desire, as in, regardless of what exact square of the map they are on. I also want them to be able to switch between worlds, just like channels of a TV, back and forth and again, landing on the exact same position they were in initially. It's mainly because i want to give the illusion of switching between states of mind. The map layouts of the worlds will be exactly the same shape and size to give the illusion of being on the same map but in a different state, one that looks completely different style wise.
Obviously the way I thought of doing this is to simply make a teleport script on every possible walkable square and when the player presses a number, they can "switch". But that would make everything overloaded with events. Is there an easier way to do it? Some way of making only one teleporting event sense the coordinates the sprite is on?
I hope it's easy to understand what I mean.
Obviously the way I thought of doing this is to simply make a teleport script on every possible walkable square and when the player presses a number, they can "switch". But that would make everything overloaded with events. Is there an easier way to do it? Some way of making only one teleporting event sense the coordinates the sprite is on?
I hope it's easy to understand what I mean.