Thank you for your reply.This worked however since it shows the outside of the layout I don't think this is optimal. Is there a better way?
Develop games in your browser. Powerful, performant & highly capable.
Trying me make a 2D sidescrolling platformer. I want the camera to follow the player like in a game like Mario. But the scroll to behaviour is delayed and the player goes off the screen. Does anyone know how to fix this issue. Any help would be appreciated