The Demo Camera is used to record gameplay in a level and save it to a DMO
file. DMO
files play in the background during the main menu.
Place an S[ViewingDistance,27]
at the location and height which you want the camera to view from. I usually give the sprite a palette value of 10 to make it easily distinguishable from other SectorEffectors. You will have to experiment with the ViewingDistance
(a value of 7000 works good). Any areas out of camera range will be recorded from a first-person perspective. While recording a demo, all S
sprites will appear as floating cameras (they do not appear at all during non-recorded gameplay). Recording stops the moment a player dies, or when the level is completed.
Note: Don't let two cameras "see" each other. They are also incapable of displaying mirrors (resulting in the HOM effect).