TL;DR
Render a part of the map on top of the map somewhere else.What?
Factorissimo 3 does something like this on mouse-over However, there are some restrictions:- has problems with sizing (I had it matching previously, might be a bug in the mod, but shows how tricky it is to get right in a mod)
- lags behind when moving the camera (as it has to adjust the position of the overlay via events)
- doesn't have recursion implemented
- non-rectangular areas
- areas that are of massive size (like a ribbon world that wraps around)
- recursive rendering of those portals (up to a max depth)
- user-defined rules for when it is visible (explicit switch, mouse-over, close to player, close to camera)
- dynamic visibility (as if looking into through a door), see video here:
