Build a functional house.
Edit me

Connecting an instance to a map

We’ve made an example map, but how do we connect maps to eachother? This particular page will go over connecting an instance to a map. Recall that instances are “submaps” that are contained within a standalone map. We’ll go over connecting a house to the map it’s located in.

These are my two maps:

Outside and a house

Portal regions

Regions are handy little objects that mark zones on the ground. When any entities (such as the player) enter a region or leave a region they fire an action, allowing something to happen. In our case we want something to happen when the player walks on top of the door and exit tiles. Normally you have to program the action triggered by the region yourself, but as this is a special behaviour that is used a lot you should use the prefabricated “Portal” region instead.