Defold 1.2.163
First off, I’d like to thank our beta testers for making sure our new features are working as they should.
It’s a great benefit to us, and we hope to make this a recurring thing.
This sprint we’ve made iOS/OSX SDK updates, and added new features to the Defold SDK.
We moved the iap and iac modules out of the engine into separate extensions.
We’ve also optimized the font glyph compression. Result may vary but we’ve seen a ~1mb+ package decrease in one of our games.
Resource properties
We’ve now released the resource properties feature which allows you to set multiple resources on a script and then assign to your components at runtime. These properties are hashes, so you can safely pass them via messages.
More detailed documentation will come this week! For now, there’s go.property().
Native extensions
SDK updates
We’ve updated the extender server to support the iOS 13.0 and MacOSX 10.15 sdks, and Xcode 11.0.
Pre/Post render callback
We’ve added the possibility to register pre or post render callbacks, via the dmExtension::RegisterCallback(CallbackType callback_type, extension_callback_t func).
dstrings.h
We also added <dmsdk/dlib/dstrings.h> with functions:
BREAKING CHANGES
In order to support the new sdks, we had to update to use Clang 9.
This affects iOS/OSX and Win32 builds.
Unfortunately the upgrade of the system didn’t go so smoothly as expected, and we now build all extensions (old and new) with Clang 9.
This may mean that you suddenly get a new compiler or linker error when building an extension that previously worked. We are sorry for the inconvenience.
Ask on the help thread if you bump into any issues.
WIP
Our Vulkan track is still going strong and we’re making good progress.
Engine
DEF-2918- Added: Added script resource propertiesIssue-4289- Added: Adding a post render callback to extensions viadmExtension::RegisterCallback()Issue-4468- Added: Added dlib/dstrings.h to Defold SDK.Issue-4431- Fixed: Removediacmodule into a separate extensionIssue-4450- Fixed: Removediapmodule into a separate extensionIssue-4239- Fixed: Font glyphs are now always compressed with lossless WebPIssue-4430- Fixed: Tilemap now pre allocates the correct number of render objectsIssue-4445- Fixed: Tilemap physics layers are now disabled with the visibility of a tilemap layer (DEF-3572)Issue-4441- Fixed: Doc fix added missing sound speed optionIssue-4458- Fixed: Build fails on Windows when building with appmanifestIssue-4461- Fixed: Removed Defold Analytics tracker.Issue-4464- Fixed: The engine+multidex java classes always end up in the first dexIssue-4476- Fixed: Removed stuff left behind related topushandgpsextensions
Editor
DEFEDIT-4407- Fixed: Remember code signing identity in iOS bundle dialogDEFEDIT-4409- Fixed: Fix inverted mouse wheel zoom when using perspective cameraDEFEDIT-4436- Fixed: Fix disappearing tile map editor gridDEFEDIT-4456- Fixed: Fix SingularMatrixException when opening a scene featuring a zero-height cone emitter
EDIT: Updated dstrings.h documentation links