Continuing our Box2D camera tutorials, we will now look at creating a specific camera, that being the “Platform Camera”. The platform camera is similar to the follow camera, except that the camera will not always necessarily pan the world to keep the target in the centre of the screen. Instead, we will set invisible margins on the sides of the screen and only when the target crosses these boundaries will the camera pan to prevent the target from disappearing off the screen. Read more