This PR makes it so if the player moves near the edge of the screen, it takes the player to the other side of the screen similar to a barrel.
Some thoughts:
I'd like to make this be able to scale to any map size so that we don't need to measure out the edges like I did here, but I didn't know how to get the boundaries of a Scene
It would also be cool to have partial rendering when the player peaks out near the edge. Currently it will transport the player completely, which is fine if the player is moving quickly, but can be jarring if it's slower movement
This PR makes it so if the player moves near the edge of the screen, it takes the player to the other side of the screen similar to a barrel.
Some thoughts: