Currently, the camera
extension provides a few different camera styles ready to be used. Here are some samples:
camera.center(worldWidth, worldHeight)
- Watch in 60 fps here.
camera.lockOn(targetPosition)
- Watch in 60 fps here.
camera.lerpTo(targetPosition, lerp)
- Watch in 60 fps here.