Camera follow
Related terms: dead zone, smoothing, look-ahead, screen shake
Game cameras rarely stay glued to the player. A dead zone is an area in the middle of the screen where the player can move without the camera reacting. Smoothing makes the camera glide toward its target with a lerp each frame.
Look-ahead shifts the view toward where the player is heading. Screen shake adds a short random offset on impacts.
- Further reading
- Godot: Camera2D