Thanks for comparison. I need more time to investigate possible solution because I can’t find any quick win for that. I’ve checked a couple of ideas. Nearest result was acquired when I added '--closure=1', '--closure-args=--compilation_level SIMPLE'
to compiler input. But js output was still non-minified but had similar file size (around 270 Kb).
So fixes regarding these bug should be landed in the next release (I hope).
Looks like something changed in the editor version 1.8.0 to work billboard shader for sprites component
Perhaps vertex attributes are no longer taken into account. At the same time the same shader for paricles still works in the editor.
In runtime everything works fine as before.
1.8.0:
1.7.0: The sprite turned towards the camera.
We’ve committed a fix for the billboard rendering issue in the editor, and it will make it into the release. Thanks for reporting!
Unfortunately, this new feature is a bit unfinished - there is a chance that dmloader.js will run the engine twice and the page freezes and cannot even be reloaded (in Chrome browser).
How to reproduce it? Create an empty project, build an HTML5 build and just reload with the “F5” button many times.
Great catch! Thank you!!!
solved in 1.8.0
Hello,
Could someone give me a straightforward answer how to make sprites face the camera? There is a bewildering amount of conflicting information. Just want them to always face the camera.
This is the wrong place to ask, but check out the latest posts from this thread:
My files created in previous versions work!
OS: Linux kernel 6.5.0
PG: Wayland
Version: Defold Engine 1.8.0 (fd3b8c6)
Thanks