Skip to content

Tags: britzl/defold-orthographic

Tags

3.6.2

Toggle 3.6.2's commit message
Only update the camera if called from the same world

3.6.1

Toggle 3.6.1's commit message
Do not shake if delta time is 0

Fixes #72

3.6.0

Toggle 3.6.0's commit message
Update README.md

3.5.0

Toggle 3.5.0's commit message
Updated docs

3.4.1

Toggle 3.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: check for GO existence before sending message (#80)

The camera was calling `msg.post(sender, MSG_SHAKE_COMPLETED) without
checking if sender is still present at that point. Since this is a
callback, the shake can end at a point in time where the sender is no
longer alive.

Sample error produced when this happens below :
`ERROR:GAMEOBJECT: Instance '/instance80' could not be found when
dispatching message 'shake_completed' sent from game:/camera#script`

Co-authored-by: berru <berru@riseup.net>

3.4.0

Toggle 3.4.0's commit message
Removed set_window_scaling_factor from docs

3.3.2

Toggle 3.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Updated camera.lua (#73)

Sorted a issue where it used DISPLAY_WIDTH instead of DISPLAY_HEIGHT for vertical camera shaking

Co-authored-by: Mobjunk <34821598+Mobjunk@users.noreply.github.com>

3.3.1

Toggle 3.3.1's commit message
Check window width and height in render script

Fixes #68

3.3.0

Toggle 3.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add world_to_window function (#64)

3.2.1

Toggle 3.2.1's commit message
Set stencil mask