The following files have been attached to this tutorial:
This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.
This example shows how to limit the camera's movement to a specified area. This is useful for limiting the player's view to the room they're currently in, similar to Zelda and Castlevania.
Demo