The teleporter is a widely used and simple effect. It teleports a player to another area when the teleporting sector is stepped on.
Make the sectors that you want to teleport between. They do not have to be the exact same size or shape. Texture them however you like. The most popular texture is BRICK(#626).
Place an S[Channel,7]
in each teleportation sector. The angle of the S
sprite determines the direction that the player will face upon teleporting to that sector. The S
sprite's palette determines the teleporter's behaviour. A palette of 0 is normal/default. If the palette is anything greater than 0, the teleporter won't flash or play sound effects when it is used.
Note: If the S
sprite is off of the ground, the player will only be able to teleport if his waist is at the same height as the S
.