Metroidvania-System icon indicating copy to clipboard operation
Metroidvania-System copied to clipboard

Multiple maps

Open massey-mo opened this issue 10 months ago • 3 comments

I was wondering if multiple maps are possible. I have tried to figure it out myself, but with no luck. Many metroidvanias have this feature. SOTN has the inverted castle. Others have a prelude area that you never return to.

My use case would be each map is a larger area, but represent moving in 3 dimensions. So entering a door behind the player could enter a new area and the door would appear to their left almost like the camera had gone through a 90 degree rotation. I hope that makes sense.

I know layers and portals exist, and could probably work for this, but would be hard to manage I think..

massey-mo avatar Jan 26 '25 00:01 massey-mo

The layers are exactly for that, what makes them hard to manage? You can even give them names.

KoBeWi avatar Jan 26 '25 11:01 KoBeWi

Actually, you are quite correct. I was tired while looking at it and my brain wasn't at 100%.. One thing that would help is the layer list being a dropdown though. clicking through many layers to find the one you want is, not hard, but inconvenient. A minor thing though

massey-mo avatar Jan 26 '25 13:01 massey-mo

You can already click layer name for a dropdown (for named layers at least).

KoBeWi avatar Jan 26 '25 13:01 KoBeWi

This is already implemented, so closing. Aside from layers, there is also load_map_data() method that allows dynamically replacing map data.

KoBeWi avatar Oct 04 '25 11:10 KoBeWi