acron.camera_2d¶
Camera2D – limits + smoothing over the Canvas2D camera.
Godot semantics: the camera follows a target position (Godot pixels, y down),
clamped so the VIEW never leaves the limit_* rect, with optional
position-smoothing (exponential approach at position_smoothing_speed).
Call update() per render frame with the interpolated target.
|
Follows a target point (Godot px), clamped to limits, optionally smoothed. |