Connecting Locations

ADRIFT 5 Help ›› Creating Games ›› The Map ››
Parent Previous Next

Connecting locations using the Map

If you click the mouse in on a location on the map, it becomes selected, changing its colour to yellow.


The location can now be dragged to a different position on the map using the left mouse button, or deleted with the Delete key on the keyboard.


The eight anchor points that appear as small orange boxes around the edge are used to resize the location rectangle.


If you move the mouse over one of the anchors, it will change to a double-headed resize arrow, and you can hold down the left mouse button to drag that edge or corner, changing the size of the location rectangle.



Click on the map background to de-select the location.


If you move the mouse to the position of one of the anchors, then that one box becomes visible.



You can't use it to resize the rectangle for a location that's not selected, but you can double-click on it to create a new link.


Each anchor corresponds to one of the compass directions listed on the directions tab of the location, with north at the top.


If you double-click on the right-hand anchor then it creates a link heading east from that location.  This is shown as an arrow pointing away from the location:



Notice that when you move the mouse, the end of the link follows it:



Move the end of the link to the desired anchor on the location you want to link to.  Here we have moved the mouse over the left side of the location until the anchor appears (so we are joining to its west direction).



Single-clicking on the destination anchor joins the link to it, and the line colour will change from orange to grey.  This creates the appropriate entries on the direction tabs of both locations, which you can see by editing the location (which you can do by double-clicking on the location).



The player will now be able to walk east from the TV Room into the Lounge and west from the Lounge to the TV Room.


If we drag either location, the link says attached at both ends and will stretch and bend as required.



It is not necessary to always connect west to east, you can create a curved link that goes north from one location and enters the second location from the west:



If you move the mouse over either end of a link then the anchor's at both ends will become visible.  Right-click on an anchor to display the context menu:



The context menu options are as follows:





Extra anchors are used when you have links that cross-over other locations or are hard to follow:



If you select Add Anchor from the context menu, then an anchor will be added mid-way along the link.  By dragging this anchor with the mouse, the curve of the link can be altered to go around the obstruction:



You can add as many anchors as you want, so quite complex paths are possible:



NB. You can only right-click on one of the end anchors, not one of the new anchors.


Anchors are added along the link in the reverse direction to which the link was drawn, so start at the end that was attached last, create an anchor, move it into position, then do the next anchor working back towards the start.