Hacker News new | ask | show | jobs
by vitaflo 763 days ago
Huh I never knew that. I just knew you couldn’t have two floors directly above each other while also having both floors visible to the player at the same time. All of my Mara 1 maps I built would crash when I tried this. I wonder if what you just explained is why.
1 comments

I don't know how they actually did it but conceptually I thought about it as traversing the map's segments depth first in 2D starting at one edge of the viewport & the currently occupied polygon. Simple, and allows freedom like overlapping rooms, but would go sideways in cases like the one you describe.