This sprint we’ve fixed a sound crash, added some physics improvements, and some optimizations.
Also note that summer has started, so the tempo of support and fixes might drop a little.
iOS storyboards
We’ve added support for iOS storyboards, and we’ve added a default (black) storyboard to the new setting ios.launch_screen.
To create your own storyboard, follow the guide in the iOS manual.
EDIT: If you’re using a custom Info.plist, don’t forget to update it with this change. Note that we are no longer copying the launch images to the bundle.
Vulkan support
We’re finally ready to let you try out the new Vulkan graphics backend.
Our main goal was to support Metal for iOS/OSX, and we do that now by using MoltenVK, as a wrapper.
On Android, it also enables you to have two backends active. It first checks if Vulkan is supported, otherwise it falls back on the OpenGL backend.
Our current implementation is written to work “as before”, in the same manner as our OpenGL backend, so that no changes are needed on your part.
To enable the Vulkan support, add the extension-vulkan to your dependencies and set the property shader.output_spirv in game.project.
You can of course remove the OpenGL backend as well, to further slim down the executable size. See the manifestation tool
Engine
Issue-4856 - Added: Added gamepad name to input connected event
Issue-3771 - Added: Added support for iOS storyboard
Issue-4977 - Fixed: Fix bug with new Apple provisioning profile
The update does not work for me. When I press “update” and then “download”, the download starts and stops at once and the “update” message appears again. Tried multiple times.
2020-07-20 11:50:59.275 371350 [Timer-1] INFO editor.updater - {:line 295, :message “Checking for updates”, :url “https://d.defold.com/editor2/channels/editor-alpha/update-v3.json”}
2020-07-20 11:50:59.689 371764 [Timer-1] INFO editor.updater - {:line 301, :message “New version found”, :sha1 “a98007b48691529b59fb099fc369d81518059d00”}
2020-07-20 11:51:25.792 397867 [clojure-agent-send-off-pool-14] INFO editor.updater - {:line 122, :message “Downloading update”, :url “https://d.defold.com/archive/a98007b48691529b59fb099fc369d81518059d00/editor-alpha/editor2/Defold-x86_64-darwin.zip”, :file “/private/var/folders/sp/ww4d9c_n27vds6cxkhpd0bth0000gn/T/defold-update1172897694840655661.zip”}
2020-07-20 11:51:26.031 398106 [clojure-agent-send-off-pool-14] INFO editor.updater - {:line 147, :message “Extracting update”, :dir “/Users/roccochirivi/Library/Application Support/Defold/update”}
2020-07-20 11:51:26.032 398107 [clojure-agent-send-off-pool-14] INFO editor.updater - {:line 210, :message “Update download failed”}
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.commons.compress.archivers.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:958)
at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:883)
at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:621)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:295)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:218)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:201)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:162)
at editor.updater$extract_BANG_.invokeStatic(updater.clj:147)
at editor.updater$download_and_extract_BANG_$fn__74864.invoke(updater.clj:206)
at clojure.core$binding_conveyor_fn$fn__5739.invoke(core.clj:2030)
at clojure.lang.AFn.call(AFn.java:18)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
The reason for the issue is that we now copy the release files to a different location on Amazon S3 and symlink/redirect old URLs to the new location. The editor did until this release not follow redirects which caused the update to fail.
Tried just now: closed Defold, open it again and tried the update but I see the same problem. Here the log:
2020-07-20 12:03:35.240 13544 [clojure-agent-send-off-pool-0] INFO editor.updater - {:line 210, :message “Update download failed”}
java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.commons.compress.archivers.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:958)
at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:883)
at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:621)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:295)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:218)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:201)
at org.apache.commons.compress.archivers.zip.ZipFile.(ZipFile.java:162)
at editor.updater$extract_BANG_.invokeStatic(updater.clj:147)
at editor.updater$download_and_extract_BANG_$fn__74864.invoke(updater.clj:206)
at clojure.core$binding_conveyor_fn$fn__5739.invoke(core.clj:2030)
at clojure.lang.AFn.call(AFn.java:18)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Something to note here: If you were using a custom Info.plist, don’t forget to update it with the Storyboard change. Your old launch images won’t get copied on 1.2.171.
After talking to @AGulev today I realised that we didn’t announce that linear and angular velocity of dynamic collision objects are no longer read only. We made this change in 1.2.171 but it never made it into any release notes:
And the documentation wasn’t updated until this beta release: