Very similar to D3, except a light lowers from the ceiling and lights up the room.
Create two rooms and a door joining them. The door will be the light which lowers from the ceiling, and the other two rooms will be lit up (place columns for high quality lighting effects).
Create valid player space sectors behind the columns. These sectors will remain dark when the rest of the room lights up (which adds realism to the effect).
Texture your rooms so they look good.
Use shading to make the rooms as dark as you want them to be when there is no light source.
Tag the door sector [0,20]
. Place the following sprites inside the door sector: S[Channel,9], M[DoneSound,MovingSound]
(S[Delay,10], Sp[0,Speed]). Lower the ceiling a bit so you can texture the door with lights, and tag both of it's walls [1,0]
. Now you can raise the ceiling back up again. Place an S[Channel,9]
in all of the sectors which you want to be brightened when the door closes. Set the shade of the S[Channel,9]
to how bright you want that sector to be when the door is closed.
Now your door will work in the game!