Here's how to make a really simple camera. Just move the world in the opposite direction your target is moving. To keep the target centered in the view, the path should be at least 1/2 a screen away from the edge of the world.    I didn't do that in this demo, and you'll notice when the bee gets close to the edge of world because it has to move away from the center of the screen.      See the Pen WZmWOV by osublake (@osublake) on CodePen
    • Like
    4