I am trying to implement a Metroid-style map in my hud. I want it to looks and behave similar to this one.
The way I currently have it implemented is like this.
I have a
Map object which is essentially just a
Cells. A cell is just a
ColorRect with a couple of attributes (for example,
In my level scene, I have another
GridContainer which contains
MapChunks. These are macroscopic
Area2Ds which, when my player enters them, send signals to the corresponding cells in the
The result looks pretty good so far.
I would now like to add scrolling to this map, but don't know how.
Do I need to create another Viewport? What about another Camera2D? Probably not the latter since you can only have one active camera in a scene at a time.