Defold 1.2.86
This release is smaller than usual because most of the team has been away on summer vacation.
This time, we have fixed the sound performance issue on Android that was introduced in version 1.2.84.
The audio performance is now back to normal.
We also fixed an issue with the way we handled certain messages, which could lead to crashes.
And, we’ve added a new lua module called “window”. For instance, it lets the user set an event listener.
The currently supported events are window.WINDOW_EVENT_FOCUS_LOST
, window.WINDOW_EVENT_FOCUS_GAINED
and window.WINDOW_EVENT_RESIZED
.
The window module also allows you to control the dim mode of the screen via window.set_dim_mode
/window.get_dim_mode
.
The game.project editor now expose the max number of Spine instances.
We’ve updated the SSDP handling in the editor, it should now be easier to find and connect to your target devices.
Engine
DEF-1146 - Added: New “window” lua module, with event listener
DEF-1260 - Added: Ability to block device from going to sleepmode
DEF-2007 - Added: Spine max count exposed in game.project editor
DEF-1999 - Fixed: Sound performance bug on Android
DEF-2006 - Fixed: Improved our device detection (SSDP) handling
DEF-2011 - Fixed: Unaligned memory (simd) in message passing
Documentation
DEF-2027 - Clarified condition for vectors in vmath.quat_from_to