Weapon-Specific Switches

Beyond the basic switch-in-a-wall

I was bored a few days ago, so I decided to whip up a quick demo level showing how to create switches that can only be hit by one or two types of weapon. Included are Wave-only, Super Pellet-only, Homing-only, and Super Beam-only (unfortunately, the Beam and Wave guns have basically the same range, so you can't get a true Beam-only switch), along with a couple of switches that can be hit with two or three different weapons.

Note that the Beam-only switch method uses a not-officially-documented quirk of Enemy Shot sprites that are placed directly in a map to block pellet and homing shots from reaching the switch, and is thus not guaranteed to keep working in future versions of the game. However, it doesn't look like it's an outright bug, so it might not get disabled.

Edwards

Attached File(s)