Tripbombs can be placed on a flat surface. Once placed, they emit a red laser beam. If any players or enemies are dumb enough to walk into this beam, the tripbomb will explode.
Place a TRIPBOMB
(#2566) on a wall, and resize it
realistically. Approximately two seconds after a tripbomb "sees" the
player, a red beam will shoot out and the tripbomb will be active. The
tripbomb itself is the source of the explosion, thus it is possible to
avoid the explosion's range simply by tripping the beam from a
distance. Also, the laser beam itself is actually a collection of
sprites, and these sprites are limited to a certain distance before
being cut short. For these reasons, limit the width of your
booby-trapped hallway.
Note: I've never seen this done before, but the MORTER
(#1650) is absolutely perfect for a proximity mine. Mortar shells are
affected by transparency, palettes, and can even be manually resized.