Skip to main content

Module camera

Module camera 

Source
Expand description

The tile camera: which map tiles the viewport shows. How many tiles that is (the view’s size) comes from the grid skin (game ADR-0038).

Structs§

Camera
The map tile shown in the viewport’s top-left corner. It can be negative (or run past the map) when the map is smaller than the viewport: the map is then centred and the cells around it are left blank.