Defold 1.2.175 BETA
The latest beta is now released, and we invite those interested in beta testing the new features in the editor and engine to join now.
The beta period will be 2 weeks and the next planned stable release is two weeks from now.
We hope this new workflow will highlight any issues earlier, and also get valuable feedback from our users. And please comment if you come up with ideas on improving on this new workflow.
Please report any engine issues in this thread or in issues using Help -> Report Issue
Thx for helping out!
Disclaimer
This is a BETA release, and it might have issues that could potentially be disruptive for you and your teams workflow. Use with caution. Use of source control for your projects is strongly recommended.
Access to the beta
Download the editor or bob.jar from http://d.defold.com/beta/
Set your build server to https://build-stage.defold.com
Release notes
This sprint we’ve fixed more issues regarding bundling for both Android and iOS.
Also, there are some further improvements on the loading progress bar for Html5.
And, there are several improvements to the documentation.
http.request
We’ve also added a new parameter to the http.request() that lets you to download the file to a file on disc directly.
local path = sys.get_save_file("test", "/save.html")
http.request("http://www.google.com", "GET", http_callback, nil, nil, {path = path})
Work in progress
We’re also planning to release a new feature for live update in this beta. We’ll release a new beta in a day or two.
This new feature will make is possible for the app to download the entire live update .zip file, as opposed to downloading lots of smaller files, one by one.
Engine
-
Issue-5200
- Fixed: Fixed gui particle crash after deletion -
Issue-5215
- Fixed: Fixed restarting engine service after second reboot -
Issue-5245
- Fixed: Added optionsound.use_thread
-
Issue-5275
- Fixed: Destroy particle fx callback early if we failed to invoke it -
Issue-5284
- Fixed: Http request download to file on disc -
Issue-5292
- Fixed: Added more verbose progress info to bob’s resolve command -
Issue-5288
- Fixed: Invoke the gui callback before removing the animation -
Issue-5147
- Fixed: iOS: Add support for app store icon -
Issue-5213
- Fixed: iOS: Removed log spam during touches -
Issue-5249
- Fixed: Android: sys.exit() works again on Android -
Issue-5250
- Fixed: Android: Update AndroidBundler.java -
Issue-5257
- Fixed: Android: Patch the bundled JDK to include jarsigner -
Issue-5240
- Fixed: Android: Compile and link resources on the build server -
Issue-5277
- Fixed: Android: Use the KeyStore class to get the first keystore alias -
Issue-5185
- Fixed: Win: Auto select high perf gpu on windows -
Issue-5211
- Fixed: Html5: Progress bar fixes (gzip+engine load) -
Issue-5223
- Fixed: NE: Added defines DM_RELEASE, DM_DEBUG and DM_HEADLESS to builds -
Issue-5248
- Fixed: Doc: Improved license summary -
Issue-5291
- Fixed: Doc: Fix doc for buffer.create
UPDATE 2020/10/30:
- Issue-5189 - Added: LU: Added support for downloading entire live update zip file
- Issue-5295 - Fixed: bob.jar doesn’t resolve dependencies unnecessarily
- Issue-5303 - Fixed: The game can now use both OpenGL / Vulkan graphics adapters again
Live Update
We’ve added the functionality to download the entire liveupdate zip file to disc, and register it to the live update system.
This will help fix projects that want to download all assets at once. It will also reduce Lua temporary memory overhead to a minimum.
In order to make this work we’ve had to add several smaller features.
http.request()
http.request now takes two extra options:
-
path
: the path to which the file should be saved -
ignore_cache
: don’t write the data to the http cache
The ignore_cache
is useful in the specific case of only testing for a HTTP 304, and not wanting to actually get the data in the Lua callback.
resource.store_archive()
This function takes a file path, verifies it against the game manifest, and then moves the file into the live update folder. Next time the app reboots, it will load this as the live update archive. See full example in the documentation.
resource.is_using_liveupdate_data()
Returns true if the game if liveupdate data is present and loaded