Releases: britzl/defold-orthographic
Orthographic Camera API 3.4.1
Orthographic Camera API 3.4.0
BREAKING CHANGE: The camera.go
now uses a standard Defold camera component
CHANGE: The camera.set_dpi_ratio()
function has been deprecated. The camera will use window.get_display_scale()
instead.
Migration guide:
- The
projection
field has been removedFIXED_AUTO
- CheckAutomatic zoom
FIXED_ZOOM
- Set theZoom
property to desired zoom
Orthographic Camera API 3.3.2
FIX: Issue with vertical screenshake using the wrong window dimension
Orthographic Camera API 3.3.1
FIX: Check window width and height in render script and ignore frames when width or height is 0
Orthographic Camera API 3.3.0
NEW: Added camera.world_to_window()
(Thanks @dri-richard for the contribution)
Orthographic Camera API 3.2.1
FIX: Set stencil mask (Fix for https://forum.defold.com/t/orthographic-strange-gui-stencil-behaviour/69799)
Added support for frustum culling
NEW: The render script now calculates the view frustum per camera and passes this to the draw call. Thanks @8bitskull
Clamp follow lerp to within 0.0 and 1.0
Make sure to keep follow lerp within 0 and 1 Fixes #51
Fixed issues with aspect ratio and custom viewports
FIX: Make sure the camera renders with the correct aspect ratio when the a custom viewport with another aspect ratio than the one in game.project is used
Disable stencil test at the end of the render script
3.1.3 Clip node clips the profiler if we don't disable stencil test. So dis…