Defold 1.2.150
We fixed a touch issue on HTML5 builds running on iOS, when activating the multitasking menu.
You can now send a message to you running (local) instance of the Defold engine,
to resize to a certain size. This is, for example, useful for developing gui’s.
We have updated the profiler documentation a bit, and we also created
a new video explaining the latest features in the profiler.
The exported live update package names now contain the corresponding platform name,
making them easier to maintain.
We have also made a change to our raycast function. We deprecated the old one, and instead created two new ones: physics.raycast and physics.raycast_async
The latter is an asynchronous implementation, using messages (as before). The former version is synchronous, and returns the result directly in the script.
DefoldSDK
We have added dmScript::CheckVector3/ToVector3/PushVector3 et al to the Defold SDK.
These are available for Vector3, Vector4, Quat and Matrix4.
Also, in order to support that, you now also have access to Sony’s vectormath library.
And there is now also a dmScript::JsonToLua() which can convert a previously loaded dmJson::Document directly to a Lua table.
Last version of Editor 1
This is the last update of the old editor (a.k.a Editor 1) we’ll ever release.
If you’re still using it, please download the new editor from d.defold.com.
Engine
DEF-3729- Added: Possibility to resize engine from message and exposed controls for it in EditorDEF-3870- Fixed: Touches get “stuck” when using multitasking on iPhoneXDEF-3846- Fixed: Atlas larger than 4k doesn’t work in GUIDEF-3830- Fixed: Include platform in liveupdate resourcepack nameDEF-3862- Fixed: Reduce profiler overhead on script function callDEF-3864- Fixed: Profiler documentation fixesDEF-3800- Fixed: Small cleanup of html5 manifest template propertiesDEF-3856- Fixed: Updated editor links on d.defold.comDEF-3868- Fixed: bob.jar now generates an error if there are duplicate files (i.e. library vs local files)
Editor
DEFEDIT-1600- Added: Display hovered tile index in tile source viewDEFEDIT-1587- Added: Added Abort Bundle optionDEFEDIT-1615- Added: Reuse build cache between editor sessionsDEFEDIT-1572- Added: Added progress indicator to Search Results tab when pressing Keep Results in Search in Files dialog before search completesDEFEDIT-1565- Changed: Improved debugger by making it more stable at handling circular referencesDEFEDIT-1566- Changed: Pretty-print Evaluate Lua resultsDEFEDIT-1622- Changed: Improved editor responsiveness on printing Evaluate Lua results of big values such as “_G”DEFEDIT-1568- Changed: Improved project load timesDEFEDIT-1589- Changed: Improved rendering performanceDEFEDIT-1637- Changed: Console no longer highlights tabs as rogue indentationDEFEDIT-1641- Changed: Improved performance of code editor on parsing big lua conditionsDEFEDIT-1604- Fixed: Fixed updater problem on Windows that didn’t allow to update to latest versionDEFEDIT-1605- Fixed: Fixed box selection exception in Outline viewDEFEDIT-1607- Fixed: Fixed scene picking not respecting z-orderDEFEDIT-1613- Fixed: Fixed mouse scroll being slow on macOSDEFEDIT-1496- Fixed: Fixed tilde key inserting unwanted characters on swedish keyboard layoutDEFEDIT-1623- Fixed: Fixed AABBs of particle emittersDEFEDIT-1632- Fixed: Fixed Enter behavior in bundle dialogDEFEDIT-1633- Fixed: Fixed exception in Curve ViewDEFEDIT-1634- Fixed: Fixed exception in empty tilesourceDEFEDIT-1635andDEFEDIT-1639- Fixed: Fixed inability to load PVRTexLib on some windows machines