If I may ask how does the minimap work?
Viewing post in Moth's Magic Movement Mock-up jam comments
Minimap Code: https://pastebin.com/WLtcJMcg
Basically all it does is find specific types of Collision in tilemaps to determine pixel color. Does all collision, makes a huge image, then uses an atlas texture to move around it.