August 19, 2020
Camera Follow System
A system for moving the player’s sprite based on user input was implemented in the Running Animation post. Here we will implement a system that has the game camera follow the moving sprite around.
The Amethyst project actually has a sprite_camera_follow example. The main part of this implementation is attaching a Parent component to an entity that also has a Camera component attached. This entity will be referred to as the “camera entity” throughout this writing.
Read more