# Prototype Portals implemented (Was Non-Euclidean Level design?)

**URL:** <https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607>\
**Category:** The Drawing Board\
**Created:** [March 26, 2014, 6:39pm UTC](https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607 "2014-03-26T18:39:48Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![GlyphGryph](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/glyphgryph/32/847_2.png) [@GlyphGryph](https://discourse.cataclysmdda.org/u/GlyphGryph)\
**Post date:** [March 27, 2014, 4:49pm UTC](https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607/21 "2014-03-27T16:49:51Z")

</div>

And you shot me down when I suggested this! Admittedly, I honestly couldn’t have pulled it off, I’m glad you decided to do it yourself. :V

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [March 28, 2014, 2:33am UTC](https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607/22 "2014-03-28T02:33:51Z")

</div>

I honestly didn’t think it was possible until yesterday, not without totally hosing performance. But I read this thread and everything clicked into place how it would work, to the point where now I’m seriously wondering if it will be able to handle recursive portals.

---

<div class="post-metadata">

**Author:** ![Belteshazzar](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@Belteshazzar](https://discourse.cataclysmdda.org/u/Belteshazzar)\
**Post date:** [March 28, 2014, 7:59pm UTC](https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607/23 "2014-03-28T19:59:31Z")

</div>

Now the question rises, is it foreseeable that this function would still work in 3d?

Hell, I’m shocked it worked so beautifully in the first place. It looks as though the proper arrangement of portals would allow us to do insane shit like shoot ourselves.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)\
**Post date:** [March 28, 2014, 8:21pm UTC](https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607/24 "2014-03-28T20:21:08Z")

</div>

For ∞ corridors that are symmetrical and don’t have any changes throughout we can just TP the player back to the start?

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [March 29, 2014, 4:32am UTC](https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607/25 "2014-03-29T04:32:07Z")

</div>

Good question.  
There’s no reason this should interfere with multi-z levels. I had this in mind when implementing it, and would have shelved it if it would have interefered with z-level expansion.  
Recursive portals (active portals on the other side of a portal) do not work in the current implementation, and there might be issues with making it work. I’ll have to see how that develops as I finish the implementation.

[Previous page](https://discourse.cataclysmdda.org/t/prototype-portals-implemented-was-non-euclidean-level-design/5607.md?page=1)
