Camera
global instance
The Camera library allows you to move the main game camera around - you can use it to point of areas of interest to the player, for example. Also available are functions to convert world points to screen points so that you can add user interface labels at the correct point.
Functions and Enumerations
- Instance Functions
Functions that are called with an instance of the Camera class.
- center( entity )
Focus the camera on an Entity
- center( position )
Focus the camera on a world position
- center( path, index )
Focus the camera on a path
- zoom( amount )
Set the zoom level of the camera
- project( point )
Project a worldspace point into screenspace
- center( entity )