Set the 2D camera position and optional zoom level.
Camera center X in world space
Camera center Y in world space
Optional
Zoom multiplier (default 1, higher = zoomed in)
sg.setCamera(player.x, player.y, 2); Copy
sg.setCamera(player.x, player.y, 2);
Set the 2D camera position and optional zoom level.