Skip to content
Francisco Cunha edited this page Jul 22, 2017 · 2 revisions

Currently, the camera extension provides a few different camera styles ready to be used. Here are some samples:

Camera Styles

camera.center(worldWidth, worldHeight) - Watch in 60 fps here.

gif

camera.lockOn(targetPosition) - Watch in 60 fps here.

gif

camera.lerpTo(targetPosition, lerp) - Watch in 60 fps here.

gif

Clone this wiki locally