Make the 2D camera smoothly follow an entity.
The entity ID to follow
Optional
Smoothing speed (higher = snappier, default 5)
sg.cameraFollow(player, 8); Copy
sg.cameraFollow(player, 8);
Make the 2D camera smoothly follow an entity.