Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The Marathon 1+2 engine back in the 90s allowed for "5D space", ie. "Spatial" Rooms that were capable of overlapping each other, because the engine only defined the floor polygon with a given height and these floor polys were connected to each other at the vertices to create the actual level spaces.

So even though you were in the same absolute space coordinate as another player, you were not necessarily in the same room.

Good times. <:o)



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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: