Question: How do we show map viewer in-game?
dragoonreign opened this issue · comments
Amazing plug-in!
What I've done:
- I've read instruction wiki and played the sample project but I couldn't find a way to show the map viewer in-game.
What I'm trying to do:
- When I press a button I want to show a map in-game. Is there a way to accomplish this?
Thank you in advance!
There is a minimap node that you can add to your scene: https://github.com/KoBeWi/Metroidvania-System/wiki/Other-Components#minimap
In a similar way, you can draw map manually using draw_cell()
method: https://github.com/KoBeWi/Metroidvania-System/wiki/Basic-Map-Features#drawing-the-map
Sample project has an example of full game map under a button. You can use either of the both methods to draw it.
Currently I'm working on a new map system (the recently added MapView), but it's work in progress and not documented yet.
Thank you for the quick reply!
Sorry for my lack of words. I have created my own map using the Metsys plug-ins "map editor" tab and also applied scenes. As image shown below.
Going back to my question, Is there a way to show the zoomed out map in game?
Such as pressing "M" to open map like image below.
Thank you again! :)