Contents

Camera Parallax

Dusk supports parallax scrolling on a per-layer bases through the xParallax and yParallax properties. These can be set through either Tiled layer properties or programmatically. Parallax is specified as a ratio of original movement; a parallax level of 0.5 will make the layer move at half the speed of normal movement, or a parallax level of 2 will make the layer move at twice the speed.