Camera as entity
Created by: christopho
The camera is an entity in 1.5. This issue keeps track of the remaining work to do.
-
map:get_camera() -
Add functions camera:start_tracking(entity) and camera:start_manual() -
Add function game:set_suspended() -
Test a scripted movement on the camera (#484 (closed)) -
Allow to resize the camera and set its coordinates on screen, for example to reserve a part of the screen to the hud like TLOZ or LA (#531 (closed)) -
Test an earthquake effect on the map (#531 (closed)) -
Add function camera:get_position_to_track(entity / x, y) to apply constraints (separators and/or map limits) to given coordinates. Useful to make movements. -
Automatically switch to manual mode when starting a movement on the camera -
Documentation -
Deprecate map:get_camera_position(), map:move_camera() and map:on_camera_back() -
Clean code