Mirrors in Duke Nukem 3D

image


Sometime in 1998, I got hold of a level editor for Duke Nukem 3D, and the first thing I did was create my own level, where I put two mirrors opposite each other, a mirror corridor. I booted into this card, entered between the mirrors and the game froze.



Recently, an enthusiast decided to test all the properties of mirrors in Duke Nukem 3D. I found a lot of fun and interesting things.



image



There is a toilet on the first level. One. Means common for boys and girls. With a huge opening without a door and with urinals. Hmm ... And with a sofa.



image




There were both male and female toilets in the beta .



image




Perhaps the main reason for the existence of the toilet is the mirror. To demonstrate the coolness of the engine. So cool that even a mirror can.



image




Monsters are displayed in the mirror.



image




You can shoot at the mirrors, traces of bullets remain on them, but they will break from an explosion or if you just throw a grenade at them.



image




But the fun begins when you enter the cheat code to pass through walls ... and go through a mirror.



The engine is designed in such a way that the same room is generated on the other side of the mirror and a little "magic" for the sprites to work.



image




In the looking glass, as in the real room, there is a telephone number on the wall, but it is "turned out".



There are bombs with a remote detonator in the game. What if…



image




... enter the looking glass, leaving the bomb outside and detonating it?



image




Hmm.



image




The game does not display the looking glass area on the map.



image




If you go far into the looking glass, then you will die, even with the code for immortality.



image




This is what the level editor looks like. The red line on top is a mirror.



image




If you enter the "preview", we will see the filling with the letters "S". A special effect called Sector Effector.



Question: should the developer draw the "through the looking glass" with pens or the engine automatically copies the "reality"?



Copies.



image




But at the same time, the center of the map crawled away. Why?



image




If you zoom out, you will see a huge room.



image




If we enter it, looking around, we will see a toilet.



image




But this is a large empty room.



The engine copies reality, but at the moment the level is loaded. It finds all mirrors and copies the "reflection" to the reserved area.



If you go outside this room through the looking glass, you die.



image




And if you specifically reduce this "room"? What's going to happen?



Answer
image




. , .



image




— . — .



image




, .






All Articles