KoBeWi / Metroidvania-System

General-purpose framework for creating metroidvania games in Godot.

Home Page:https://godotengine.org/asset-library/asset/2301

Repository from Github https://github.comKoBeWi/Metroidvania-SystemRepository from Github https://github.comKoBeWi/Metroidvania-System

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.
metsys

In-game screen:
metsys2

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.
metsys3

Thank you again! :)

Thank you!

It worked out perfectly!
metsys4

Edited:

Sample project has an example of full game map under a button.

I went back and tested "M" and BLAM it opens up the map.

Love this plug in and again thank you for your time! :)