Skip to content

Releases: britzl/defold-orthographic

Orthographic Camera API 2.10.2

23 Jul 12:19
Compare
Choose a tag to compare

FIX: Handle when window width and height is zero

Orthographic Camera API 2.10.1

21 Jun 13:08
Compare
Choose a tag to compare

FIX: Improved handling of window resize

Orthographic Camera API 2.10.0

05 Mar 12:50
Compare
Choose a tag to compare

NEW: Added camera.follow_offset(camera_id, offset)
NEW: Added check that the follow target exists. The camera module will log if the target doesn't exist.
NEW: Added separate example of camera bounds
CHANGE: Removed support for old message signature of camera.follow()

Orthographic Camera API 2.9.2

07 Oct 20:25
Compare
Choose a tag to compare

FIX: Handle the case where two cameras with the same id are registered and unregistered at the same time

Orthographic Camera API 2.9.1

06 Jun 13:51
Compare
Choose a tag to compare

CHANGE: Using camera.set_zoom() will now immediately update the zoom level so that a call to for instance camera.screen_to_world_bounds() immediately after a zoom change will return the proper values.

Orthographic Camera API 2.9.0

06 Jun 13:01
Compare
Choose a tag to compare

NEW: The camera can now be configured to immediately position itself on the target it is assigned to follow even when lerp is enabled.

camera.follow("/camera", "/target", { lerp = 0.1, immediate = true })

Or:

msg.post("/camera", "follow", { target = "/target", lerp = 0.1, immediate = true })

Orthographic Camera API 2.8.0

28 Mar 07:40
Compare
Choose a tag to compare

NEW: camera.world_to_screen() now takes an optional adjust mode. Useful when positioning gui nodes on world coordinates.
FIX: camera.project() didn't use current window dimensions

Orthographic Camera API 2.7.3

13 Feb 07:20
be15c0f
Compare
Choose a tag to compare

FIX: Removed deprecated call to render.draw_debug2d()

Orthographic Camera API 2.7.2

07 Feb 08:26
Compare
Choose a tag to compare

FIX: Don't require a callback function to be specified when calling camera.shake()

Orthographic Camera API 2.7.1

25 Jan 05:37
Compare
Choose a tag to compare

FIX: camera.follow() didn't work properly after changing from explicit arguments to options table