So I have a nice game coming along, it's a platformer with local multi-player. The controls and events are all set up and it runs perfectly. Currently I have it set to scroll to both players, and when one player leaves the screen, they are teleported to the other player. It works, but I'd rather have them be unable to leave the screen at all. Like in the New Super Mario games.
I want them to just get stuck at the edge of the screen rather than be able to leave it. Any suggestions? Otherwise I might just go with Player 2 having no camera influence.